@remnic/core 9.69.5 → 9.69.6
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/access-cli.js +7 -7
- package/dist/active-recall.js +2 -2
- package/dist/{chunk-VSWRJQQW.js → chunk-KJUWWN3T.js} +2 -1
- package/dist/{chunk-V3KLIYTW.js → chunk-M4MNLPO7.js} +2 -2
- package/dist/{chunk-YNF4ZT3X.js → chunk-QA6H4PIO.js} +2 -2
- package/dist/{chunk-EJF6AV2U.js → chunk-WAPSYHNR.js} +2 -2
- package/dist/{chunk-QDBG45NK.js → chunk-X3DTN2RC.js} +2 -2
- package/dist/{chunk-7TCISOAJ.js → chunk-YTCE2JQL.js} +45 -5
- package/dist/chunk-YTCE2JQL.js.map +1 -0
- package/dist/{chunk-5C4LXMSK.js → chunk-ZIZUB6VB.js} +4 -4
- package/dist/cli.js +5 -5
- package/dist/config.js +2 -2
- package/dist/index.d.ts +13 -1
- package/dist/index.js +9 -7
- package/dist/operator-toolkit.js +3 -3
- package/dist/orchestration/maintenance.js +2 -2
- package/dist/orchestrator.js +7 -7
- package/dist/resume-bundles.js +3 -3
- package/package.json +2 -2
- package/src/activity/index.ts +1 -0
- package/src/activity/journal-vault-provenance.test.ts +120 -0
- package/src/activity/journal-vault-provenance.ts +67 -0
- package/dist/chunk-7TCISOAJ.js.map +0 -1
- /package/dist/{chunk-VSWRJQQW.js.map → chunk-KJUWWN3T.js.map} +0 -0
- /package/dist/{chunk-V3KLIYTW.js.map → chunk-M4MNLPO7.js.map} +0 -0
- /package/dist/{chunk-YNF4ZT3X.js.map → chunk-QA6H4PIO.js.map} +0 -0
- /package/dist/{chunk-EJF6AV2U.js.map → chunk-WAPSYHNR.js.map} +0 -0
- /package/dist/{chunk-QDBG45NK.js.map → chunk-X3DTN2RC.js.map} +0 -0
- /package/dist/{chunk-5C4LXMSK.js.map → chunk-ZIZUB6VB.js.map} +0 -0
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
buildResumeBundleFromState,
|
|
102
102
|
getResumeBundleStatus,
|
|
103
103
|
recordResumeBundle
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-M4MNLPO7.js";
|
|
105
105
|
import {
|
|
106
106
|
getWorkProductLedgerStatus,
|
|
107
107
|
recordWorkProductLedgerEntry,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
runOperatorInventory,
|
|
135
135
|
runOperatorRepair,
|
|
136
136
|
runOperatorSetup
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-X3DTN2RC.js";
|
|
138
138
|
import {
|
|
139
139
|
analyzeSessionIntegrity,
|
|
140
140
|
applySessionRepair,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
} from "./chunk-6TBIWIAG.js";
|
|
204
204
|
import {
|
|
205
205
|
parseConfig
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-QA6H4PIO.js";
|
|
207
207
|
import {
|
|
208
208
|
EngramAccessHttpServer,
|
|
209
209
|
MeetingsInputError
|
|
@@ -8862,4 +8862,4 @@ export {
|
|
|
8862
8862
|
listMemoryMarkdownFilePaths,
|
|
8863
8863
|
registerCli
|
|
8864
8864
|
};
|
|
8865
|
-
//# sourceMappingURL=chunk-
|
|
8865
|
+
//# sourceMappingURL=chunk-ZIZUB6VB.js.map
|
package/dist/cli.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
runWorkProductStatusCliCommand,
|
|
92
92
|
runWorkProjectCliCommand,
|
|
93
93
|
runWorkTaskCliCommand
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ZIZUB6VB.js";
|
|
95
95
|
import "./chunk-MMACM5G2.js";
|
|
96
96
|
import "./chunk-54BGIBCR.js";
|
|
97
97
|
import "./chunk-H4CKS5B2.js";
|
|
@@ -128,13 +128,13 @@ import "./chunk-HL4DB7TO.js";
|
|
|
128
128
|
import "./chunk-OJP3N7UK.js";
|
|
129
129
|
import "./chunk-R4FPBSFD.js";
|
|
130
130
|
import "./chunk-EVLHZ6F3.js";
|
|
131
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-M4MNLPO7.js";
|
|
132
132
|
import "./chunk-NRLELHAY.js";
|
|
133
133
|
import "./chunk-AM4T6CHX.js";
|
|
134
134
|
import "./chunk-X5PIDJ3L.js";
|
|
135
135
|
import "./chunk-3T74IZB3.js";
|
|
136
136
|
import "./chunk-2LA3H54D.js";
|
|
137
|
-
import "./chunk-
|
|
137
|
+
import "./chunk-X3DTN2RC.js";
|
|
138
138
|
import "./chunk-IHFN3JTR.js";
|
|
139
139
|
import "./chunk-KFY3SGN7.js";
|
|
140
140
|
import "./chunk-CMTINOFS.js";
|
|
@@ -163,10 +163,10 @@ import "./chunk-YBPYIAA5.js";
|
|
|
163
163
|
import "./chunk-6TBIWIAG.js";
|
|
164
164
|
import "./chunk-C6WMSXCJ.js";
|
|
165
165
|
import "./chunk-B7RWBZXW.js";
|
|
166
|
-
import "./chunk-
|
|
166
|
+
import "./chunk-QA6H4PIO.js";
|
|
167
167
|
import "./chunk-ZKOPY4WW.js";
|
|
168
168
|
import "./chunk-62OKGIJA.js";
|
|
169
|
-
import "./chunk-
|
|
169
|
+
import "./chunk-KJUWWN3T.js";
|
|
170
170
|
import "./chunk-TEZ2HTC7.js";
|
|
171
171
|
import "./chunk-JHTF22NQ.js";
|
|
172
172
|
import "./chunk-SN4JXNLL.js";
|
package/dist/config.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
isOpenaiApiKeyDisabled,
|
|
5
5
|
parseConfig,
|
|
6
6
|
resolveEnvVars
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QA6H4PIO.js";
|
|
8
8
|
import "./chunk-ZKOPY4WW.js";
|
|
9
9
|
import "./chunk-62OKGIJA.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KJUWWN3T.js";
|
|
11
11
|
import "./chunk-TEZ2HTC7.js";
|
|
12
12
|
import "./chunk-JHTF22NQ.js";
|
|
13
13
|
import "./chunk-SN4JXNLL.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -8339,6 +8339,18 @@ declare function checkVaultJournalPrerequisites(input: {
|
|
|
8339
8339
|
journalSection?: unknown;
|
|
8340
8340
|
}): VaultJournalPrereqResult;
|
|
8341
8341
|
|
|
8342
|
+
interface JournalMemoryProvenance {
|
|
8343
|
+
tags: string[];
|
|
8344
|
+
structuredAttributes: Record<string, string>;
|
|
8345
|
+
validAt: string;
|
|
8346
|
+
}
|
|
8347
|
+
declare function buildJournalMemoryProvenance(input: {
|
|
8348
|
+
/** Journal source; must be one of the journal-source allow-list values. */
|
|
8349
|
+
source: string;
|
|
8350
|
+
/** Journal day, YYYY-MM-DD. */
|
|
8351
|
+
date: string;
|
|
8352
|
+
}): JournalMemoryProvenance;
|
|
8353
|
+
|
|
8342
8354
|
/**
|
|
8343
8355
|
* Strip Remnic-owned regions from a vault journal section (issue #1987).
|
|
8344
8356
|
*
|
|
@@ -9387,4 +9399,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
|
|
|
9387
9399
|
*/
|
|
9388
9400
|
declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
|
|
9389
9401
|
|
|
9390
|
-
export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, ANALYSIS_METADATA_MAX_FIELD_LENGTH, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityFeatureGate, type ActivityGateSet, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalSeedCard, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MIN_RECURRENCE_MIN_DAYS, MS_PER_DAY, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultRegionResult, type PublisherCapabilities, RECAP_SOURCE_KINDS, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapMarkdownOptions, type RecapSection, type RecapSelection, type RecapSourceKind, type RecapWindowCard, type RecurringPattern, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PUBLISH_OUTCOMES, type ValidateRegionNameResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, type WeekDayOccurrence, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAnalysisRunMetadata, buildAudioWindows, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };
|
|
9402
|
+
export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ANALYSIS_FAILURE_KINDS, ANALYSIS_METADATA_MAX_FIELD_LENGTH, type ActivityAnalysisStatus, ActivityConfig, ActivityDayDigest, ActivityDayMeta, type ActivityDeleteCandidate, type ActivityDeletePlan, type ActivityDeleteScope, type ActivityFeatureGate, type ActivityGateSet, type ActivityHealthSnapshot, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, type ActivityPrivacyPolicy, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineQaConfig, ActivityWearablesMeetingsDaySource, type AnalysisFailure, type AnalysisFailureKind, type AnalysisPromptObservation, type AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledOffTheRecordMarkers, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapOptions, type DeterministicWeek, type DeterministicWeekDay, type DeterministicWeekOptions, DiscoveredExtension, type DocFile, DriftDetectionConfig, type DriftRankInput, type DriftRankOutput, type DriftRecallFrontmatter, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type ExportSkillsResult, FallbackLlmClient, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, INJECTION_SCREEN_THRESHOLD, type ImportSkillsResult, type IngestionPlan, type InjectionScreenFinding, type InjectionScreenResult, type InsertVaultRegionResult, JOURNAL_DIR_NAME, type JournalMemoryProvenance, type JournalSeedCard, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MIN_RECURRENCE_MIN_DAYS, MS_PER_DAY, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, MemoryDriftState, type MemoryEntry, type MemoryExtensionPublisher, type MergeRecapEditsResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OffTheRecordMarkerInput, OffTheRecordMarkerSettings, type OnboardOptions, type OnboardResult, type OriginClass, PUBLISHERS, type PackReviewContextStructuralInput, type ParseClaimObservationIdResult, ParsedSkillBundle, type PersistDeterministicJournalInput, type PersistDeterministicJournalResult, type PersistWeeklySnapshotInput, type PersistWeeklySnapshotResult, type PipelineResult, PluginConfig, type PreferenceDriftClassification, type PreferenceDriftDependencies, type PreferenceDriftEvidence, type PreferenceDriftFinding, type PreferenceDriftMarker, type PreferenceDriftReport, type PreferenceDriftResolutionOptions, type PreferenceDriftResolutionResult, type PreferenceDriftSkipReason, type PrivacyWindowItem, type PrivacyWindowOptions, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublishVaultRegionResult, type PublisherCapabilities, RECAP_SOURCE_KINDS, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapMarkdownOptions, type RecapSection, type RecapSelection, type RecapSourceKind, type RecapWindowCard, type RecurringPattern, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, ReviewDeckSnapshot, ReviewDeckSourceRow, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, type ScriptHint, SealedMemoryEnvelope, type SeedJournalInput, type SeedJournalResult, SemanticDedupLookup, type SessionSummaryDraft, type SessionSummaryExcerpt, SkillBundle, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TIMELINE_ANALYSIS_BATCH_OVERLAP, TIMELINE_ANALYSIS_BATCH_SIZE, TIMELINE_ANALYSIS_DEFAULT_TIMEOUT_MS, TIMELINE_ANALYSIS_PROMPT_VERSION, TIMELINE_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, Taxonomy, type TimelineAnalysisComplete, type TimelineAnalysisCompleteInput, TimelineAnalysisConfigError, type TimelineAnalysisInput, type TimelineAnalysisResult, type TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, type TimelineCard, type TimelineCardKind, type TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, type TimelineCorrection, TimelineCorrectionStore, type TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, type TimelineEvidenceRange, type TimelineManualEdit, type TimelineObservation, type TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PUBLISH_OUTCOMES, type ValidateRegionNameResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, type WeekDayOccurrence, type WeekSnapshotDay, type WeekSnapshotOptions, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, activityDayWindow, activityDigestPath, analyzeTimelineCards, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertValidTimezone, batchObservations, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAnalysisRunMetadata, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineAnalysisPrompt, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyAnalysisFailure, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, detectScriptHints, driftAgeNote, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, exportDeterministicRecap, exportDeterministicWeek, exportSkillBundles, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, insertMarkersUnderHeading, isAnalysisFailureKind, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidActivityDate, isValidTranscriptDate, joinVaultSegments, journalPath, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseActivityPrivacy, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publishVaultRegion, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, serializeActivityDigest, serializeDayTranscript, serializeTimelineDay, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timelineCorrectionDatabasePath, timezoneOffsetIso, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, watchForChanges, weeklySnapshotPath, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory };
|
package/dist/index.js
CHANGED
|
@@ -61,6 +61,7 @@ import {
|
|
|
61
61
|
buildAnalysisPrompt,
|
|
62
62
|
buildAnalysisRunMetadata,
|
|
63
63
|
buildAudioWindows,
|
|
64
|
+
buildJournalMemoryProvenance,
|
|
64
65
|
buildMeetingRecordsForDay,
|
|
65
66
|
buildProcedureRecallSection,
|
|
66
67
|
buildTimelineAnalysisPrompt,
|
|
@@ -192,7 +193,7 @@ import {
|
|
|
192
193
|
weeklySnapshotPath,
|
|
193
194
|
writeManifest,
|
|
194
195
|
writeMeetingEpisodeMemory
|
|
195
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-YTCE2JQL.js";
|
|
196
197
|
import {
|
|
197
198
|
WEARABLE_SOURCE_PREFIX,
|
|
198
199
|
buildExtractionTurns,
|
|
@@ -237,7 +238,7 @@ import {
|
|
|
237
238
|
resolveActivitySyncDates,
|
|
238
239
|
runActivitySyncOnce,
|
|
239
240
|
syncActivitySource
|
|
240
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-WAPSYHNR.js";
|
|
241
242
|
import "./chunk-I74SUMNI.js";
|
|
242
243
|
import {
|
|
243
244
|
PEERS_DIR_NAME,
|
|
@@ -518,7 +519,7 @@ import {
|
|
|
518
519
|
runOkfCliCommand,
|
|
519
520
|
runWearablesCliCommand,
|
|
520
521
|
screenCandidateFact
|
|
521
|
-
} from "./chunk-
|
|
522
|
+
} from "./chunk-ZIZUB6VB.js";
|
|
522
523
|
import "./chunk-MMACM5G2.js";
|
|
523
524
|
import "./chunk-54BGIBCR.js";
|
|
524
525
|
import "./chunk-H4CKS5B2.js";
|
|
@@ -568,7 +569,7 @@ import "./chunk-HL4DB7TO.js";
|
|
|
568
569
|
import "./chunk-OJP3N7UK.js";
|
|
569
570
|
import "./chunk-R4FPBSFD.js";
|
|
570
571
|
import "./chunk-EVLHZ6F3.js";
|
|
571
|
-
import "./chunk-
|
|
572
|
+
import "./chunk-M4MNLPO7.js";
|
|
572
573
|
import "./chunk-NRLELHAY.js";
|
|
573
574
|
import "./chunk-AM4T6CHX.js";
|
|
574
575
|
import {
|
|
@@ -579,7 +580,7 @@ import {
|
|
|
579
580
|
parseStrictCliDate
|
|
580
581
|
} from "./chunk-3T74IZB3.js";
|
|
581
582
|
import "./chunk-2LA3H54D.js";
|
|
582
|
-
import "./chunk-
|
|
583
|
+
import "./chunk-X3DTN2RC.js";
|
|
583
584
|
import "./chunk-IHFN3JTR.js";
|
|
584
585
|
import "./chunk-KFY3SGN7.js";
|
|
585
586
|
import {
|
|
@@ -719,7 +720,7 @@ import {
|
|
|
719
720
|
parseMeetingsConfig,
|
|
720
721
|
parseWearablesConfig,
|
|
721
722
|
resolveEnvVars
|
|
722
|
-
} from "./chunk-
|
|
723
|
+
} from "./chunk-QA6H4PIO.js";
|
|
723
724
|
import {
|
|
724
725
|
BUILT_IN_OFF_THE_RECORD_END,
|
|
725
726
|
BUILT_IN_OFF_THE_RECORD_START,
|
|
@@ -745,7 +746,7 @@ import {
|
|
|
745
746
|
defaultActivityConfig,
|
|
746
747
|
parseActivityConfig,
|
|
747
748
|
validateActivityBaseUrl
|
|
748
|
-
} from "./chunk-
|
|
749
|
+
} from "./chunk-KJUWWN3T.js";
|
|
749
750
|
import "./chunk-TEZ2HTC7.js";
|
|
750
751
|
import {
|
|
751
752
|
PRE_ACTION_FINGERPRINT_VERSION,
|
|
@@ -1926,6 +1927,7 @@ export {
|
|
|
1926
1927
|
buildExtractionTurns,
|
|
1927
1928
|
buildFocusedListRecallSection,
|
|
1928
1929
|
buildGraphFromMemories,
|
|
1930
|
+
buildJournalMemoryProvenance,
|
|
1929
1931
|
buildMeetingRecordsForDay,
|
|
1930
1932
|
buildMemoryWorthCounterMap,
|
|
1931
1933
|
buildObserveRequestFingerprint,
|
package/dist/operator-toolkit.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
summarizeProvenanceCoverage,
|
|
15
15
|
summarizeTierDistribution,
|
|
16
16
|
summarizeTombstoneStatus
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-X3DTN2RC.js";
|
|
18
18
|
import "./chunk-IHFN3JTR.js";
|
|
19
19
|
import "./chunk-KFY3SGN7.js";
|
|
20
20
|
import "./chunk-CMTINOFS.js";
|
|
@@ -25,10 +25,10 @@ import "./chunk-MCA2X4WH.js";
|
|
|
25
25
|
import "./chunk-2DQ2XREU.js";
|
|
26
26
|
import "./chunk-DUAJKRR2.js";
|
|
27
27
|
import "./chunk-YBPYIAA5.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-QA6H4PIO.js";
|
|
29
29
|
import "./chunk-ZKOPY4WW.js";
|
|
30
30
|
import "./chunk-62OKGIJA.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-KJUWWN3T.js";
|
|
32
32
|
import "./chunk-TEZ2HTC7.js";
|
|
33
33
|
import "./chunk-JHTF22NQ.js";
|
|
34
34
|
import "./chunk-SN4JXNLL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MaintenanceScheduler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WAPSYHNR.js";
|
|
4
4
|
import "../chunk-666A3MOW.js";
|
|
5
5
|
import "../chunk-3X7Z467X.js";
|
|
6
6
|
import "../chunk-7VA7PARC.js";
|
|
@@ -8,7 +8,7 @@ import "../chunk-IHFN3JTR.js";
|
|
|
8
8
|
import "../chunk-6JYTP3JP.js";
|
|
9
9
|
import "../chunk-KJTKLXTH.js";
|
|
10
10
|
import "../chunk-2DQ2XREU.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-KJUWWN3T.js";
|
|
12
12
|
import "../chunk-W6V2XVUO.js";
|
|
13
13
|
import "../chunk-SZ3SRRYZ.js";
|
|
14
14
|
import "../chunk-SZZGVXKC.js";
|
package/dist/orchestrator.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
blendGraphExpandedRecallScore,
|
|
4
4
|
graphPathRelativeToStorage,
|
|
5
5
|
mergeGraphExpandedResults
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YTCE2JQL.js";
|
|
7
7
|
import "./chunk-3TSU662L.js";
|
|
8
8
|
import "./chunk-DD2BKHSD.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WAPSYHNR.js";
|
|
10
10
|
import "./chunk-I74SUMNI.js";
|
|
11
11
|
import "./chunk-ILNPU5W5.js";
|
|
12
12
|
import "./chunk-7HYPN2GC.js";
|
|
@@ -108,7 +108,7 @@ import "./chunk-VY47VI2T.js";
|
|
|
108
108
|
import "./chunk-PYIR4SSB.js";
|
|
109
109
|
import "./chunk-DFEODULB.js";
|
|
110
110
|
import "./chunk-FGV7V2N4.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-ZIZUB6VB.js";
|
|
112
112
|
import "./chunk-MMACM5G2.js";
|
|
113
113
|
import "./chunk-54BGIBCR.js";
|
|
114
114
|
import "./chunk-H4CKS5B2.js";
|
|
@@ -145,13 +145,13 @@ import "./chunk-HL4DB7TO.js";
|
|
|
145
145
|
import "./chunk-OJP3N7UK.js";
|
|
146
146
|
import "./chunk-R4FPBSFD.js";
|
|
147
147
|
import "./chunk-EVLHZ6F3.js";
|
|
148
|
-
import "./chunk-
|
|
148
|
+
import "./chunk-M4MNLPO7.js";
|
|
149
149
|
import "./chunk-NRLELHAY.js";
|
|
150
150
|
import "./chunk-AM4T6CHX.js";
|
|
151
151
|
import "./chunk-X5PIDJ3L.js";
|
|
152
152
|
import "./chunk-3T74IZB3.js";
|
|
153
153
|
import "./chunk-2LA3H54D.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-X3DTN2RC.js";
|
|
155
155
|
import "./chunk-IHFN3JTR.js";
|
|
156
156
|
import "./chunk-KFY3SGN7.js";
|
|
157
157
|
import "./chunk-CMTINOFS.js";
|
|
@@ -196,10 +196,10 @@ import "./chunk-MI2OTWV5.js";
|
|
|
196
196
|
import "./chunk-43HUVDTD.js";
|
|
197
197
|
import "./chunk-4RA3C3EV.js";
|
|
198
198
|
import "./chunk-YFLLGRXO.js";
|
|
199
|
-
import "./chunk-
|
|
199
|
+
import "./chunk-QA6H4PIO.js";
|
|
200
200
|
import "./chunk-ZKOPY4WW.js";
|
|
201
201
|
import "./chunk-62OKGIJA.js";
|
|
202
|
-
import "./chunk-
|
|
202
|
+
import "./chunk-KJUWWN3T.js";
|
|
203
203
|
import "./chunk-TEZ2HTC7.js";
|
|
204
204
|
import "./chunk-JHTF22NQ.js";
|
|
205
205
|
import "./chunk-SN4JXNLL.js";
|
package/dist/resume-bundles.js
CHANGED
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
recordResumeBundle,
|
|
5
5
|
resolveResumeBundleDir,
|
|
6
6
|
validateResumeBundle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M4MNLPO7.js";
|
|
8
8
|
import "./chunk-NRLELHAY.js";
|
|
9
9
|
import "./chunk-AM4T6CHX.js";
|
|
10
10
|
import "./chunk-KFY3SGN7.js";
|
|
11
11
|
import "./chunk-NOB2T2FC.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QA6H4PIO.js";
|
|
13
13
|
import "./chunk-ZKOPY4WW.js";
|
|
14
14
|
import "./chunk-62OKGIJA.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KJUWWN3T.js";
|
|
16
16
|
import "./chunk-TEZ2HTC7.js";
|
|
17
17
|
import "./chunk-JHTF22NQ.js";
|
|
18
18
|
import "./chunk-SN4JXNLL.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.69.
|
|
3
|
+
"version": "9.69.6",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
"core"
|
|
3218
3218
|
],
|
|
3219
3219
|
"peerDependencies": {
|
|
3220
|
-
"@remnic/coding-graph": "^9.69.
|
|
3220
|
+
"@remnic/coding-graph": "^9.69.6"
|
|
3221
3221
|
},
|
|
3222
3222
|
"peerDependenciesMeta": {
|
|
3223
3223
|
"@remnic/coding-graph": {
|
package/src/activity/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./timeline/index.js";
|
|
|
18
18
|
export * from "./journal.js";
|
|
19
19
|
export * from "./journal-vault-read.js";
|
|
20
20
|
export * from "./journal-vault-prereq.js";
|
|
21
|
+
export * from "./journal-vault-provenance.js";
|
|
21
22
|
export { stripRemnicOwnedRegions } from "./journal-strip.js";
|
|
22
23
|
export * from "./memory-gen.js";
|
|
23
24
|
export * from "./privacy.js";
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import test from "node:test";
|
|
3
|
+
|
|
4
|
+
import { buildJournalMemoryProvenance } from "./journal-vault-provenance.js";
|
|
5
|
+
|
|
6
|
+
test("vault source produces the documented tags, attributes, and validAt", () => {
|
|
7
|
+
assert.deepEqual(
|
|
8
|
+
buildJournalMemoryProvenance({ source: "vault", date: "2026-08-01" }),
|
|
9
|
+
{
|
|
10
|
+
tags: ["journal", "journal-day:2026-08-01"],
|
|
11
|
+
structuredAttributes: { journalSource: "vault" },
|
|
12
|
+
validAt: "2026-08-01T00:00:00.000Z",
|
|
13
|
+
},
|
|
14
|
+
);
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
test("file source differs only in the attribute value", () => {
|
|
18
|
+
const vault = buildJournalMemoryProvenance({ source: "vault", date: "2026-08-01" });
|
|
19
|
+
const file = buildJournalMemoryProvenance({ source: "file", date: "2026-08-01" });
|
|
20
|
+
assert.deepEqual(file.structuredAttributes, { journalSource: "file" });
|
|
21
|
+
assert.deepEqual(file.tags, vault.tags);
|
|
22
|
+
assert.equal(file.validAt, vault.validAt);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
test("every structured attribute value is a string", () => {
|
|
26
|
+
for (const source of ["file", "vault"] as const) {
|
|
27
|
+
const { structuredAttributes } = buildJournalMemoryProvenance({
|
|
28
|
+
source,
|
|
29
|
+
date: "2026-08-01",
|
|
30
|
+
});
|
|
31
|
+
for (const [key, value] of Object.entries(structuredAttributes)) {
|
|
32
|
+
assert.equal(typeof value, "string", `${key} must be a string`);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
test("unknown source throws RangeError naming source", () => {
|
|
38
|
+
for (const source of ["memoryDir", "vault ", "Vault", ""]) {
|
|
39
|
+
assert.throws(
|
|
40
|
+
() => buildJournalMemoryProvenance({ source, date: "2026-08-01" }),
|
|
41
|
+
RangeError,
|
|
42
|
+
);
|
|
43
|
+
assert.throws(
|
|
44
|
+
() => buildJournalMemoryProvenance({ source, date: "2026-08-01" }),
|
|
45
|
+
/source/,
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
test("non-string source is rejected, not defaulted", () => {
|
|
51
|
+
assert.throws(
|
|
52
|
+
() =>
|
|
53
|
+
buildJournalMemoryProvenance({
|
|
54
|
+
source: undefined as unknown as string,
|
|
55
|
+
date: "2026-08-01",
|
|
56
|
+
}),
|
|
57
|
+
RangeError,
|
|
58
|
+
);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
test("malformed date throws RangeError naming date", () => {
|
|
62
|
+
for (const date of [
|
|
63
|
+
"2026-8-1",
|
|
64
|
+
"2026-02-30",
|
|
65
|
+
"2026-13-01",
|
|
66
|
+
"2026-02-29",
|
|
67
|
+
"",
|
|
68
|
+
" 2026-08-01",
|
|
69
|
+
"2026-08-01 ",
|
|
70
|
+
"0026-01-01",
|
|
71
|
+
]) {
|
|
72
|
+
assert.throws(
|
|
73
|
+
() => buildJournalMemoryProvenance({ source: "vault", date }),
|
|
74
|
+
RangeError,
|
|
75
|
+
);
|
|
76
|
+
assert.throws(
|
|
77
|
+
() => buildJournalMemoryProvenance({ source: "vault", date }),
|
|
78
|
+
/date/,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
test("non-string date is rejected, not defaulted", () => {
|
|
84
|
+
assert.throws(
|
|
85
|
+
() =>
|
|
86
|
+
buildJournalMemoryProvenance({
|
|
87
|
+
source: "vault",
|
|
88
|
+
date: 20260801 as unknown as string,
|
|
89
|
+
}),
|
|
90
|
+
RangeError,
|
|
91
|
+
);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
test("real leap day is accepted", () => {
|
|
95
|
+
assert.equal(
|
|
96
|
+
buildJournalMemoryProvenance({ source: "vault", date: "2024-02-29" }).validAt,
|
|
97
|
+
"2024-02-29T00:00:00.000Z",
|
|
98
|
+
);
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
test("tags are exactly two entries in order", () => {
|
|
102
|
+
const { tags } = buildJournalMemoryProvenance({ source: "vault", date: "2026-08-01" });
|
|
103
|
+
assert.equal(tags.length, 2);
|
|
104
|
+
assert.deepEqual(tags, ["journal", "journal-day:2026-08-01"]);
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
test("two calls are deep-equal and share no mutable state", () => {
|
|
108
|
+
const first = buildJournalMemoryProvenance({ source: "vault", date: "2026-08-01" });
|
|
109
|
+
first.tags.push("mutated");
|
|
110
|
+
first.structuredAttributes.journalSource = "mutated";
|
|
111
|
+
first.validAt = "mutated";
|
|
112
|
+
assert.deepEqual(
|
|
113
|
+
buildJournalMemoryProvenance({ source: "vault", date: "2026-08-01" }),
|
|
114
|
+
{
|
|
115
|
+
tags: ["journal", "journal-day:2026-08-01"],
|
|
116
|
+
structuredAttributes: { journalSource: "vault" },
|
|
117
|
+
validAt: "2026-08-01T00:00:00.000Z",
|
|
118
|
+
},
|
|
119
|
+
);
|
|
120
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build provenance for journal-derived memories (issue #1987).
|
|
3
|
+
*
|
|
4
|
+
* Pure: no I/O, no clock — the day comes from the caller. The source is
|
|
5
|
+
* validated through the journal-source parser, so `structuredAttributes.
|
|
6
|
+
* journalSource` is always a canonical journal source value ("file" |
|
|
7
|
+
* "vault"), never a re-declared copy of the allow-list. Exported helper;
|
|
8
|
+
* caller wiring into journal memory generation is a later slice.
|
|
9
|
+
*/
|
|
10
|
+
import { resolveJournalSource } from "./journal-source.js";
|
|
11
|
+
|
|
12
|
+
export interface JournalMemoryProvenance {
|
|
13
|
+
tags: string[];
|
|
14
|
+
structuredAttributes: Record<string, string>;
|
|
15
|
+
validAt: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
|
|
19
|
+
|
|
20
|
+
export function buildJournalMemoryProvenance(input: {
|
|
21
|
+
/** Journal source; must be one of the journal-source allow-list values. */
|
|
22
|
+
source: string;
|
|
23
|
+
/** Journal day, YYYY-MM-DD. */
|
|
24
|
+
date: string;
|
|
25
|
+
}): JournalMemoryProvenance {
|
|
26
|
+
if (typeof input.source !== "string") {
|
|
27
|
+
throw new RangeError("journal provenance source must be a string");
|
|
28
|
+
}
|
|
29
|
+
const resolved = resolveJournalSource({
|
|
30
|
+
source: input.source,
|
|
31
|
+
// Provenance never consumes the heading; vault mode just requires a
|
|
32
|
+
// non-empty one to resolve.
|
|
33
|
+
heading: "journal",
|
|
34
|
+
});
|
|
35
|
+
if (!resolved.ok) {
|
|
36
|
+
throw new RangeError(
|
|
37
|
+
`journal provenance source must be one of "file", "vault": ${JSON.stringify(input.source)}`,
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
if (typeof input.date !== "string" || !DAY_PATTERN.test(input.date)) {
|
|
42
|
+
throw new RangeError(
|
|
43
|
+
`journal provenance date must be exactly YYYY-MM-DD: ${JSON.stringify(input.date)}`,
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
const [year, month, day] = input.date
|
|
47
|
+
.split("-")
|
|
48
|
+
.map(Number) as [number, number, number];
|
|
49
|
+
// Round-trip through UTC rejects non-calendar days (2026-02-30) and the
|
|
50
|
+
// two-digit-year Date.UTC remap (0026 -> 1926) without reading a clock.
|
|
51
|
+
const utc = new Date(Date.UTC(year, month - 1, day));
|
|
52
|
+
if (
|
|
53
|
+
utc.getUTCFullYear() !== year ||
|
|
54
|
+
utc.getUTCMonth() !== month - 1 ||
|
|
55
|
+
utc.getUTCDate() !== day
|
|
56
|
+
) {
|
|
57
|
+
throw new RangeError(
|
|
58
|
+
`journal provenance date must be a real calendar day: ${input.date}`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return {
|
|
63
|
+
tags: ["journal", `journal-day:${input.date}`],
|
|
64
|
+
structuredAttributes: { journalSource: resolved.mode },
|
|
65
|
+
validAt: `${input.date}T00:00:00.000Z`,
|
|
66
|
+
};
|
|
67
|
+
}
|