@remnic/core 9.69.53 → 9.69.55

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.
Files changed (102) hide show
  1. package/dist/access-admin-ops-surface.js +2 -2
  2. package/dist/access-authorization-probe.js +3 -3
  3. package/dist/access-boundary.js +2 -2
  4. package/dist/access-cli.js +24 -24
  5. package/dist/access-extraction-force-flush.js +2 -2
  6. package/dist/access-http-briefing.js +3 -3
  7. package/dist/access-http-query.js +2 -2
  8. package/dist/access-http.js +14 -14
  9. package/dist/access-identity-continuity-surface.js +2 -2
  10. package/dist/access-lcm-surface.js +2 -2
  11. package/dist/access-mcp.js +9 -9
  12. package/dist/access-namespace-preflight.js +2 -2
  13. package/dist/access-observe-write-surface.js +2 -2
  14. package/dist/access-operations-batch.js +3 -3
  15. package/dist/access-operations.js +8 -8
  16. package/dist/access-recall-concurrency.js +2 -2
  17. package/dist/access-recall-response.js +2 -2
  18. package/dist/access-recall-surface.js +2 -2
  19. package/dist/access-service.js +2 -2
  20. package/dist/access-surface-catalog.js +4 -4
  21. package/dist/active-recall.js +2 -2
  22. package/dist/{chunk-ZADYEZY4.js → chunk-2SIKTXWX.js} +2 -2
  23. package/dist/{chunk-TS66MUUJ.js → chunk-3R23DDD3.js} +8 -8
  24. package/dist/{chunk-EQNZC3BH.js → chunk-3S6URXEH.js} +2 -2
  25. package/dist/{chunk-BCXZ4BDS.js → chunk-75YZ5VAI.js} +2 -2
  26. package/dist/{chunk-MXTCV3B5.js → chunk-AHVJ6GLL.js} +2 -2
  27. package/dist/{chunk-6UEM5EOB.js → chunk-AQ55YKEV.js} +2 -2
  28. package/dist/{chunk-VMKAA5SU.js → chunk-BSCNBIF4.js} +2 -2
  29. package/dist/{chunk-M7HFDWOS.js → chunk-FROKVQQY.js} +2 -2
  30. package/dist/{chunk-A4TQFNRX.js → chunk-GRDRVYXJ.js} +3 -3
  31. package/dist/{chunk-EYK3UHAP.js → chunk-H6WOFMOV.js} +2 -2
  32. package/dist/{chunk-SOOWBRMH.js → chunk-IYNCJKBM.js} +8 -8
  33. package/dist/{chunk-3KJTSCSX.js → chunk-J54B5DGD.js} +5 -4
  34. package/dist/chunk-J54B5DGD.js.map +1 -0
  35. package/dist/{chunk-UVZBDIJX.js → chunk-KIGC55FQ.js} +489 -49
  36. package/dist/chunk-KIGC55FQ.js.map +1 -0
  37. package/dist/{chunk-KQQEZTH6.js → chunk-KQVBR7BC.js} +2 -2
  38. package/dist/{chunk-MTJUIIM4.js → chunk-MTWD4KMM.js} +2 -2
  39. package/dist/{chunk-JE4H2QBO.js → chunk-NNEWBRUL.js} +2 -2
  40. package/dist/{chunk-SEQ6DWXD.js → chunk-NPX6WMFJ.js} +2 -2
  41. package/dist/{chunk-Z22M4JCY.js → chunk-NZLFVLLJ.js} +165 -5
  42. package/dist/chunk-NZLFVLLJ.js.map +1 -0
  43. package/dist/{chunk-QKCXRS5A.js → chunk-OGXXGHW6.js} +11 -1
  44. package/dist/{chunk-QKCXRS5A.js.map → chunk-OGXXGHW6.js.map} +1 -1
  45. package/dist/{chunk-CO7KBRPF.js → chunk-TJNDFNCU.js} +2 -2
  46. package/dist/{chunk-K7FXR75S.js → chunk-XZRZJHBW.js} +361 -579
  47. package/dist/chunk-XZRZJHBW.js.map +1 -0
  48. package/dist/{chunk-HUQMVI3A.js → chunk-ZBYVR5W4.js} +2 -2
  49. package/dist/{chunk-ZANEMAEV.js → chunk-ZP73EM2X.js} +2 -2
  50. package/dist/{chunk-IEOBAOA6.js → chunk-ZXQPAYCS.js} +2 -2
  51. package/dist/cli.js +19 -19
  52. package/dist/compounding/engine.js +3 -3
  53. package/dist/config.js +2 -2
  54. package/dist/external-wiki-access.js +3 -3
  55. package/dist/index.d.ts +139 -41
  56. package/dist/index.js +36 -26
  57. package/dist/memory-browse-operations.js +3 -3
  58. package/dist/operator-toolkit.js +3 -3
  59. package/dist/orchestration/maintenance.js +3 -2
  60. package/dist/orchestrator.js +24 -24
  61. package/dist/recall-navigation-operations.js +3 -3
  62. package/dist/recall-navigation.js +2 -2
  63. package/dist/resume-bundles.js +3 -3
  64. package/dist/shared-context/manager.d.ts +16 -0
  65. package/dist/shared-context/manager.js +2 -2
  66. package/dist/support-passport/index.js +5 -5
  67. package/package.json +2 -2
  68. package/src/activity/config.test.ts +19 -0
  69. package/src/activity/config.ts +3 -4
  70. package/src/activity/index.ts +2 -0
  71. package/src/activity/timeline/index.ts +1 -0
  72. package/src/activity/timeline/week-dashboard.test.ts +362 -0
  73. package/src/activity/timeline/week-dashboard.ts +273 -0
  74. package/src/activity/timeline/weekly.ts +2 -1
  75. package/src/lifecycle/seed-graduation.test.ts +209 -0
  76. package/src/lifecycle/seed-graduation.ts +94 -11
  77. package/src/shared-context/governance-wiring.test.ts +153 -0
  78. package/src/shared-context/manager.ts +104 -3
  79. package/src/shared-context/staleness.ts +1 -1
  80. package/dist/chunk-3KJTSCSX.js.map +0 -1
  81. package/dist/chunk-K7FXR75S.js.map +0 -1
  82. package/dist/chunk-UVZBDIJX.js.map +0 -1
  83. package/dist/chunk-Z22M4JCY.js.map +0 -1
  84. /package/dist/{chunk-ZADYEZY4.js.map → chunk-2SIKTXWX.js.map} +0 -0
  85. /package/dist/{chunk-TS66MUUJ.js.map → chunk-3R23DDD3.js.map} +0 -0
  86. /package/dist/{chunk-EQNZC3BH.js.map → chunk-3S6URXEH.js.map} +0 -0
  87. /package/dist/{chunk-BCXZ4BDS.js.map → chunk-75YZ5VAI.js.map} +0 -0
  88. /package/dist/{chunk-MXTCV3B5.js.map → chunk-AHVJ6GLL.js.map} +0 -0
  89. /package/dist/{chunk-6UEM5EOB.js.map → chunk-AQ55YKEV.js.map} +0 -0
  90. /package/dist/{chunk-VMKAA5SU.js.map → chunk-BSCNBIF4.js.map} +0 -0
  91. /package/dist/{chunk-M7HFDWOS.js.map → chunk-FROKVQQY.js.map} +0 -0
  92. /package/dist/{chunk-A4TQFNRX.js.map → chunk-GRDRVYXJ.js.map} +0 -0
  93. /package/dist/{chunk-EYK3UHAP.js.map → chunk-H6WOFMOV.js.map} +0 -0
  94. /package/dist/{chunk-SOOWBRMH.js.map → chunk-IYNCJKBM.js.map} +0 -0
  95. /package/dist/{chunk-KQQEZTH6.js.map → chunk-KQVBR7BC.js.map} +0 -0
  96. /package/dist/{chunk-MTJUIIM4.js.map → chunk-MTWD4KMM.js.map} +0 -0
  97. /package/dist/{chunk-JE4H2QBO.js.map → chunk-NNEWBRUL.js.map} +0 -0
  98. /package/dist/{chunk-SEQ6DWXD.js.map → chunk-NPX6WMFJ.js.map} +0 -0
  99. /package/dist/{chunk-CO7KBRPF.js.map → chunk-TJNDFNCU.js.map} +0 -0
  100. /package/dist/{chunk-HUQMVI3A.js.map → chunk-ZBYVR5W4.js.map} +0 -0
  101. /package/dist/{chunk-ZANEMAEV.js.map → chunk-ZP73EM2X.js.map} +0 -0
  102. /package/dist/{chunk-IEOBAOA6.js.map → chunk-ZXQPAYCS.js.map} +0 -0
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-IFBSZGW3.js";
15
15
  import {
16
16
  UNATTRIBUTED_ACCESS_WRITE_ORIGIN
17
- } from "./chunk-QKCXRS5A.js";
17
+ } from "./chunk-OGXXGHW6.js";
18
18
  import {
19
19
  ACTIVE_DECISION_STATUSES,
20
20
  CodegraphRuntimeError,
@@ -18501,4 +18501,4 @@ export {
18501
18501
  EngramAccessService,
18502
18502
  AccessAdminOpsSurface
18503
18503
  };
18504
- //# sourceMappingURL=chunk-HUQMVI3A.js.map
18504
+ //# sourceMappingURL=chunk-ZBYVR5W4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  defineOperation
3
- } from "./chunk-HUQMVI3A.js";
3
+ } from "./chunk-ZBYVR5W4.js";
4
4
  import {
5
5
  EngramAccessInputError
6
6
  } from "./chunk-2Z24E5W2.js";
@@ -71,4 +71,4 @@ defineOperation({
71
71
  })
72
72
  })
73
73
  });
74
- //# sourceMappingURL=chunk-ZANEMAEV.js.map
74
+ //# sourceMappingURL=chunk-ZP73EM2X.js.map
@@ -30,7 +30,7 @@ import {
30
30
  timelineAnalysisCompleteFromClients,
31
31
  validateActivityBaseUrl,
32
32
  validateTimelineCategories
33
- } from "./chunk-3KJTSCSX.js";
33
+ } from "./chunk-J54B5DGD.js";
34
34
  import {
35
35
  LocalLlmClient
36
36
  } from "./chunk-G2XZFGYN.js";
@@ -2450,4 +2450,4 @@ export {
2450
2450
  ActivitySyncScheduler,
2451
2451
  MaintenanceScheduler
2452
2452
  };
2453
- //# sourceMappingURL=chunk-IEOBAOA6.js.map
2453
+ //# sourceMappingURL=chunk-ZXQPAYCS.js.map
package/dist/cli.js CHANGED
@@ -91,7 +91,7 @@ import {
91
91
  runWorkProductStatusCliCommand,
92
92
  runWorkProjectCliCommand,
93
93
  runWorkTaskCliCommand
94
- } from "./chunk-TS66MUUJ.js";
94
+ } from "./chunk-3R23DDD3.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-EBA5DA77.js";
128
128
  import "./chunk-OJP3N7UK.js";
129
129
  import "./chunk-UDJMJNBK.js";
130
130
  import "./chunk-RUUJXAGT.js";
131
- import "./chunk-JE4H2QBO.js";
131
+ import "./chunk-NNEWBRUL.js";
132
132
  import "./chunk-G7NYVKD6.js";
133
133
  import "./chunk-AM4T6CHX.js";
134
134
  import "./chunk-SLGD36MM.js";
135
135
  import "./chunk-3T74IZB3.js";
136
136
  import "./chunk-2LA3H54D.js";
137
- import "./chunk-SEQ6DWXD.js";
137
+ import "./chunk-NPX6WMFJ.js";
138
138
  import "./chunk-7RKAE6Y4.js";
139
139
  import "./chunk-KFY3SGN7.js";
140
140
  import "./chunk-CMTINOFS.js";
@@ -161,10 +161,10 @@ import "./chunk-6TBIWIAG.js";
161
161
  import "./chunk-C6WMSXCJ.js";
162
162
  import "./chunk-B7RWBZXW.js";
163
163
  import "./chunk-YBPYIAA5.js";
164
- import "./chunk-UVZBDIJX.js";
164
+ import "./chunk-KIGC55FQ.js";
165
165
  import "./chunk-ZKOPY4WW.js";
166
166
  import "./chunk-62OKGIJA.js";
167
- import "./chunk-3KJTSCSX.js";
167
+ import "./chunk-J54B5DGD.js";
168
168
  import "./chunk-QNJQCLI6.js";
169
169
  import "./chunk-IWO6QXWJ.js";
170
170
  import "./chunk-WIKO4SCR.js";
@@ -186,7 +186,7 @@ import "./chunk-C6FQJ52H.js";
186
186
  import "./chunk-KFZY2OFH.js";
187
187
  import "./chunk-27NO2KVB.js";
188
188
  import "./chunk-B32WYRXX.js";
189
- import "./chunk-SOOWBRMH.js";
189
+ import "./chunk-IYNCJKBM.js";
190
190
  import "./chunk-V7IZKJI3.js";
191
191
  import "./chunk-TB6CBZ5V.js";
192
192
  import "./chunk-XW2T4QAW.js";
@@ -200,26 +200,26 @@ import "./chunk-QZ4U67KO.js";
200
200
  import "./chunk-HMDYSGY6.js";
201
201
  import "./chunk-3HSRWJTC.js";
202
202
  import "./chunk-TTFJQ5B5.js";
203
- import "./chunk-BCXZ4BDS.js";
204
- import "./chunk-ZADYEZY4.js";
203
+ import "./chunk-75YZ5VAI.js";
204
+ import "./chunk-2SIKTXWX.js";
205
205
  import "./chunk-SRT6SHVZ.js";
206
- import "./chunk-M7HFDWOS.js";
206
+ import "./chunk-FROKVQQY.js";
207
207
  import "./chunk-TE6S7KDF.js";
208
208
  import "./chunk-EIB4FJVR.js";
209
209
  import "./chunk-FPB5LQWW.js";
210
210
  import "./chunk-A5KNZSNA.js";
211
211
  import "./chunk-HUSTM6PU.js";
212
212
  import "./chunk-D24OXEPB.js";
213
- import "./chunk-A4TQFNRX.js";
213
+ import "./chunk-GRDRVYXJ.js";
214
214
  import "./chunk-Y7LZ5V7N.js";
215
- import "./chunk-MTJUIIM4.js";
215
+ import "./chunk-MTWD4KMM.js";
216
216
  import "./chunk-EVQ33D3N.js";
217
- import "./chunk-MXTCV3B5.js";
218
- import "./chunk-ZANEMAEV.js";
219
- import "./chunk-6UEM5EOB.js";
217
+ import "./chunk-AHVJ6GLL.js";
218
+ import "./chunk-ZP73EM2X.js";
219
+ import "./chunk-AQ55YKEV.js";
220
220
  import "./chunk-7T4TOGMS.js";
221
221
  import "./chunk-7YQ6ESEA.js";
222
- import "./chunk-CO7KBRPF.js";
222
+ import "./chunk-TJNDFNCU.js";
223
223
  import "./chunk-SCXURCVT.js";
224
224
  import "./chunk-EQWEIIKQ.js";
225
225
  import "./chunk-HNHIHXSD.js";
@@ -235,16 +235,16 @@ import "./chunk-AYHNTYVG.js";
235
235
  import "./chunk-U2SK45U3.js";
236
236
  import "./chunk-AB3A7EFH.js";
237
237
  import "./chunk-YEIKOBOW.js";
238
- import "./chunk-VMKAA5SU.js";
238
+ import "./chunk-BSCNBIF4.js";
239
239
  import "./chunk-TIDEL77O.js";
240
240
  import "./chunk-GZ3R6XOE.js";
241
- import "./chunk-EQNZC3BH.js";
242
- import "./chunk-HUQMVI3A.js";
241
+ import "./chunk-3S6URXEH.js";
242
+ import "./chunk-ZBYVR5W4.js";
243
243
  import "./chunk-W4F3C7N7.js";
244
244
  import "./chunk-MPC7TYTZ.js";
245
245
  import "./chunk-VVX5PZFS.js";
246
246
  import "./chunk-IFBSZGW3.js";
247
- import "./chunk-QKCXRS5A.js";
247
+ import "./chunk-OGXXGHW6.js";
248
248
  import "./chunk-C3QXITIP.js";
249
249
  import "./chunk-VQ7B2Q6M.js";
250
250
  import "./chunk-43IQRLEF.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CompoundingEngine,
3
3
  defaultTierMigrationCycleBudget
4
- } from "../chunk-KQQEZTH6.js";
5
- import "../chunk-Z22M4JCY.js";
6
- import "../chunk-QKCXRS5A.js";
4
+ } from "../chunk-KQVBR7BC.js";
5
+ import "../chunk-NZLFVLLJ.js";
6
+ import "../chunk-OGXXGHW6.js";
7
7
  import "../chunk-6ET2VII7.js";
8
8
  import "../chunk-QWQB7TOB.js";
9
9
  import "../chunk-UHVXE24Y.js";
package/dist/config.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  isOpenaiApiKeyDisabled,
5
5
  parseConfig,
6
6
  resolveEnvVars
7
- } from "./chunk-UVZBDIJX.js";
7
+ } from "./chunk-KIGC55FQ.js";
8
8
  import "./chunk-ZKOPY4WW.js";
9
9
  import "./chunk-62OKGIJA.js";
10
- import "./chunk-3KJTSCSX.js";
10
+ import "./chunk-J54B5DGD.js";
11
11
  import "./chunk-QNJQCLI6.js";
12
12
  import "./chunk-IWO6QXWJ.js";
13
13
  import "./chunk-WIKO4SCR.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  externalWikiSearchOperation
3
- } from "./chunk-6UEM5EOB.js";
3
+ } from "./chunk-AQ55YKEV.js";
4
4
  import "./chunk-7T4TOGMS.js";
5
5
  import "./chunk-7YQ6ESEA.js";
6
- import "./chunk-HUQMVI3A.js";
6
+ import "./chunk-ZBYVR5W4.js";
7
7
  import "./chunk-W4F3C7N7.js";
8
8
  import "./chunk-MPC7TYTZ.js";
9
9
  import "./chunk-VVX5PZFS.js";
10
10
  import "./chunk-IFBSZGW3.js";
11
- import "./chunk-QKCXRS5A.js";
11
+ import "./chunk-OGXXGHW6.js";
12
12
  import "./chunk-C3QXITIP.js";
13
13
  import "./chunk-VQ7B2Q6M.js";
14
14
  import "./chunk-43IQRLEF.js";
package/dist/index.d.ts CHANGED
@@ -7850,6 +7850,45 @@ interface PersistDeterministicJournalResult {
7850
7850
  }
7851
7851
  declare function persistDeterministicJournal(input: PersistDeterministicJournalInput): PersistDeterministicJournalResult;
7852
7852
 
7853
+ /**
7854
+ * Previous-week duration comparison (issue #2052).
7855
+ *
7856
+ * The prior week is explicit when unavailable. It is never silently treated
7857
+ * as zero.
7858
+ */
7859
+ interface WeeklyDurationTotals {
7860
+ activeMs: number;
7861
+ idleMs: number;
7862
+ pauseMs: number;
7863
+ gapMs: number;
7864
+ unclassifiedMs: number;
7865
+ }
7866
+ type WeeklyPreviousPeriod = {
7867
+ available: false;
7868
+ } | {
7869
+ available: true;
7870
+ previousStartUtc: string;
7871
+ previousEndUtc: string;
7872
+ deltaActiveMs: number;
7873
+ deltaIdleMs: number;
7874
+ deltaPauseMs: number;
7875
+ deltaGapMs: number;
7876
+ deltaUnclassifiedMs: number;
7877
+ };
7878
+ /**
7879
+ * Compare this week's duration totals against the previous week's.
7880
+ *
7881
+ * `previous` absent (null/undefined) or lacking trimmed start/end timestamps
7882
+ * returns `{ available: false }` — never zero deltas. Otherwise returns the
7883
+ * per-field deltas (`current - previous`, may be negative). Pure.
7884
+ */
7885
+ declare function compareWeeklyPreviousPeriod(input: {
7886
+ previous: WeeklyDurationTotals | null | undefined;
7887
+ current: WeeklyDurationTotals;
7888
+ previousStartUtc?: string;
7889
+ previousEndUtc?: string;
7890
+ }): WeeklyPreviousPeriod;
7891
+
7853
7892
  declare const WEEKLY_ACTIVITY_FORMAT_VERSION = 1;
7854
7893
  interface WeeklyActivityOptions {
7855
7894
  timezone: string;
@@ -7885,7 +7924,7 @@ interface WeeklyActivitySummary extends WeeklyKindTotals {
7885
7924
  weekEndUtc: string;
7886
7925
  categories: WeeklyCategoryTotal[];
7887
7926
  days: WeeklyDayTotal[];
7888
- previousPeriod: WeeklyPreviousPeriodUnavailable;
7927
+ previousPeriod: WeeklyPreviousPeriod;
7889
7928
  }
7890
7929
  /** Build a time/activity summary for one half-open week. Pure. */
7891
7930
  declare function buildWeeklyActivitySummary(cards: readonly TimelineCard[], options: WeeklyActivityOptions): WeeklyActivitySummary;
@@ -8101,45 +8140,6 @@ interface WeekSnapshotOptions {
8101
8140
  /** Render a byte-stable Markdown week snapshot. */
8102
8141
  declare function renderWeekSnapshot(options: WeekSnapshotOptions): string;
8103
8142
 
8104
- /**
8105
- * Previous-week duration comparison (issue #2052).
8106
- *
8107
- * The prior week is explicit when unavailable. It is never silently treated
8108
- * as zero.
8109
- */
8110
- interface WeeklyDurationTotals {
8111
- activeMs: number;
8112
- idleMs: number;
8113
- pauseMs: number;
8114
- gapMs: number;
8115
- unclassifiedMs: number;
8116
- }
8117
- type WeeklyPreviousPeriod = {
8118
- available: false;
8119
- } | {
8120
- available: true;
8121
- previousStartUtc: string;
8122
- previousEndUtc: string;
8123
- deltaActiveMs: number;
8124
- deltaIdleMs: number;
8125
- deltaPauseMs: number;
8126
- deltaGapMs: number;
8127
- deltaUnclassifiedMs: number;
8128
- };
8129
- /**
8130
- * Compare this week's duration totals against the previous week's.
8131
- *
8132
- * `previous` absent (null/undefined) or lacking trimmed start/end timestamps
8133
- * returns `{ available: false }` — never zero deltas. Otherwise returns the
8134
- * per-field deltas (`current - previous`, may be negative). Pure.
8135
- */
8136
- declare function compareWeeklyPreviousPeriod(input: {
8137
- previous: WeeklyDurationTotals | null | undefined;
8138
- current: WeeklyDurationTotals;
8139
- previousStartUtc?: string;
8140
- previousEndUtc?: string;
8141
- }): WeeklyPreviousPeriod;
8142
-
8143
8143
  declare const DEFAULT_RECURRENCE_MIN_DAYS = 3;
8144
8144
  /** Lowest threshold that still means "recurring": two distinct days. */
8145
8145
  declare const MIN_RECURRENCE_MIN_DAYS = 2;
@@ -8161,6 +8161,83 @@ declare function findRecurringPatterns(input: {
8161
8161
  minDays?: number;
8162
8162
  }): RecurringPattern[];
8163
8163
 
8164
+ /**
8165
+ * Weekly dashboard snapshot composition (issue #2052).
8166
+ *
8167
+ * Composes the #2052 helpers into one machine-readable week document:
8168
+ * duration/category/day totals (`weekly.ts`), an explicit previous-period
8169
+ * comparison (`week-previous.ts`), threshold-gated recurrence
8170
+ * (`week-recurring.ts`), top application/domain summaries, source
8171
+ * card/evidence counts, and uncertainty flags. Pure: no I/O, no clock, no
8172
+ * LLM. This is a time/activity summary, never a score; it makes no claim
8173
+ * about mood, productivity, intent, presence, or quality of work.
8174
+ *
8175
+ * The result extends `WeeklyActivitySummary`, so `persistWeeklySnapshot`
8176
+ * accepts it unchanged: identical inputs rewrite nothing, and a new
8177
+ * sourceRevision or configHash keys a new snapshot file instead of mutating
8178
+ * an unrelated period. Application/domain attribution arrives as structured
8179
+ * per-card metadata (from the observations that built the cards), never
8180
+ * parsed back out of card prose.
8181
+ */
8182
+
8183
+ declare const WEEKLY_DASHBOARD_FORMAT_VERSION = 1;
8184
+ declare const DEFAULT_TOP_SOURCE_LIMIT = 10;
8185
+ /** Structured activity metadata for one card, keyed by card id. */
8186
+ interface WeekSourceAttribution {
8187
+ /** Application name from the card's source observations. */
8188
+ app: string;
8189
+ /** Lowercased browser hostname, when the frontmost window was a browser. */
8190
+ domain?: string;
8191
+ }
8192
+ interface WeeklySourceTotal {
8193
+ key: string;
8194
+ durationMs: number;
8195
+ }
8196
+ interface WeeklyEvidenceStats {
8197
+ activityCardCount: number;
8198
+ idleCardCount: number;
8199
+ pauseCardCount: number;
8200
+ /** Evidence ids summed across in-week activity cards; repeats possible. */
8201
+ evidenceCount: number;
8202
+ /** Distinct evidence ids across in-week activity cards. */
8203
+ distinctEvidenceCount: number;
8204
+ }
8205
+ interface WeeklyUncertainty {
8206
+ /** In-week cards clipped at a week bound: the week sees only part of them. */
8207
+ clippedCardCount: number;
8208
+ /** In-week cards carrying a manual edit; totals may not match raw captures. */
8209
+ manualEditCount: number;
8210
+ /** In-week cards classified with confidence 0 (unclassified signal). */
8211
+ unclassifiedCardCount: number;
8212
+ }
8213
+ interface WeeklyDashboardSources {
8214
+ applications: WeeklySourceTotal[];
8215
+ domains: WeeklySourceTotal[];
8216
+ }
8217
+ interface WeeklyDashboardRecurring {
8218
+ categories: RecurringPattern[];
8219
+ applications: RecurringPattern[];
8220
+ }
8221
+ interface WeeklyDashboard extends WeeklyActivitySummary {
8222
+ dashboardFormatVersion: number;
8223
+ sources: WeeklyDashboardSources;
8224
+ recurring: WeeklyDashboardRecurring;
8225
+ evidence: WeeklyEvidenceStats;
8226
+ uncertainty: WeeklyUncertainty;
8227
+ }
8228
+ interface WeeklyDashboardOptions extends WeeklyActivityOptions {
8229
+ /** Per-card application/domain metadata; cards without an entry are skipped in `sources`. */
8230
+ attributions?: ReadonlyMap<string, WeekSourceAttribution>;
8231
+ /** Cards of the immediately preceding week; absent keeps `previousPeriod` explicitly unavailable. */
8232
+ previousWeekCards?: readonly TimelineCard[];
8233
+ /** Distinct-day threshold passed to `findRecurringPatterns`. */
8234
+ recurrenceMinDays?: number;
8235
+ /** Max entries per source list; >= 1. */
8236
+ topSourceLimit?: number;
8237
+ }
8238
+ /** Build the full dashboard snapshot for one half-open week. Pure. */
8239
+ declare function buildWeeklyDashboard(cards: readonly TimelineCard[], options: WeeklyDashboardOptions): WeeklyDashboard;
8240
+
8164
8241
  interface WeeklyConfigInput {
8165
8242
  timezone: string;
8166
8243
  weekStartsOn: string;
@@ -8708,6 +8785,27 @@ interface PrivacyWindowOptions {
8708
8785
  */
8709
8786
  declare function filterPrivacyWindow<T extends PrivacyWindowItem>(items: readonly T[], options: PrivacyWindowOptions): T[];
8710
8787
 
8788
+ /**
8789
+ * Drop listed keys from one activity item (issue #2053).
8790
+ */
8791
+ interface ActivityRedactOptions {
8792
+ dropKeys: readonly string[];
8793
+ }
8794
+ /**
8795
+ * Return a shallow copy without `dropKeys`.
8796
+ * Unknown keys are ignored. Empty `dropKeys` is a shallow copy.
8797
+ * Does not mutate `item`.
8798
+ */
8799
+ declare function redactActivityFields<T extends Record<string, unknown>>(item: T, options: ActivityRedactOptions): T;
8800
+
8801
+ /**
8802
+ * Normalize activity privacy drop keys (issue #2053).
8803
+ *
8804
+ * Trim, drop empty, unique, localeCompare sort.
8805
+ * Does not mutate the input list.
8806
+ */
8807
+ declare function normalizeDropKeys(keys: readonly string[]): string[];
8808
+
8711
8809
  /** Every token a vault template accepts (English names in v1). */
8712
8810
  declare const VAULT_TEMPLATE_TOKENS: readonly ["{yyyy}", "{yy}", "{M}", "{MM}", "{d}", "{dd}", "{ww}", "{MMM}", "{MMMM}", "{ddd}", "{dddd}"];
8713
8811
  type VaultTemplateToken = (typeof VAULT_TEMPLATE_TOKENS)[number];
@@ -9736,4 +9834,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
9736
9834
  */
9737
9835
  declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
9738
9836
 
9739
- export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, type ActivityAnalysisStatus, ActivityConfig, 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, ActivityTimelineAnalysisConfig, ActivityTimelineJournalConfig, ActivityTimelineQaConfig, ActivityTimelineVaultConfig, ActivityWearablesMeetingsDaySource, AnalysisFailure, type AnalysisPromptObservation, AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BeginEndPairInput, type BeginEndPairResult, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, CODEX_SUBSCRIPTION_PROVIDER_ID, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexCliFallbackRunner, CodexMemoryExtensionPublisher, CodexSubscriptionAuthError, CodexSubscriptionConfigError, CodexSubscriptionTimeoutError, 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_RECAP_RANGE_MAX_DAYS, 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 DeterministicRecapDay, type DeterministicRecapOptions, type DeterministicRecapRange, type DeterministicRecapRangeMarkdownResult, type DeterministicRecapRangeOptions, type DeterministicRecapRangeResult, 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, type FileLine, 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 JournalExtractionDeps, type JournalExtractionResult, type JournalExtractionRunResult, type JournalMemoryProvenance, type JournalMemoryWriter, type JournalRenderCard, type JournalSeedCard, type JournalStorageIo, 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 PublishVaultNoteInput, 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 ReadJournalResult, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapExportCard, 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_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, FallbackLlmClient as TaskLlmClient, Taxonomy, TimelineAnalysisLocalLlm, TimelineAnalysisRemoteLlm, type TimelineAnalysisRunInput, type TimelineAnalysisRunResult, TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, TimelineCard, TimelineCardKind, TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, TimelineCorrection, TimelineCorrectionStore, TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, TimelineObservation, TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, type TimelineState, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PROPERTY_KEY_MAX_CHARS, VAULT_PROPERTY_LIST_MAX_ITEMS, VAULT_PROPERTY_SCALAR_MAX_CHARS, VAULT_PROPERTY_TOTAL_MAX_CHARS, VAULT_PUBLISH_OUTCOMES, VAULT_TEMPLATE_TOKENS, type ValidateRegionNameResult, type ValidateVaultPropertyResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPropertyValue, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, type VaultPublisherTestHooks, type VaultSectionProvenance, type VaultSectionPublish, type VaultTemplateToken, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WEEK_START_DAYS, 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 WeeklyConfigInput, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, activityCursorKey, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertBeginEndPair, batchObservations, beginCodexSubscriptionShutdown, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineDay, buildWeeklyActivitySummary, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, codexSubscriptionBuiltinProviderConfig, collapseImmediateRepeats, collectLocalSessionSummaries, commitJournalHash, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeWeeklyConfigHash, convertMemoriesToRecords, correctionsFilePath, correctionsForCards, createBackend, createCodexSubscriptionRunner, createGoogleDriveConnector, createJournalMemoryWriter, 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, ensureCodexSubscriptionRunnerRegistered, escapeSegmentText, expandVaultTemplateTokens, exportDeterministicRecap, exportDeterministicRecapRange, exportDeterministicWeek, exportSkillBundles, fileLines, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getCodexSubscriptionRunnerForOwner, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashJournalText, hashTranscriptBody, headingSurvivesRoundTrip, hostIdForConnector, insertMarkersUnderHeading, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidTranscriptDate, joinVaultSegments, journalDateLockPath, journalPath, journalUnchanged, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeFrontmatterKeys, mergeRecapUserEdits, mergeSpaces, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityPrivacy, parseAtxHeading, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTimelineVaultConfig, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectCardForRecapExport, projectNamespaceName, promoteSpace, publishVaultNote, publishVaultRegion, publisherFor, publisherForConnector, publisherOwnedSectionNames, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readJournalForDate, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readTimelineState, readVaultJournal, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderDeterministicJournalRange, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderVaultPropertyValue, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runJournalReviewExtraction, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCardAnalysis, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, selfRegisterWearableConnector, serializeDayTranscript, serializeTimelineDay, setJournalHash, setVaultPublisherTestHooks, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, terminateActiveCodexSubscriptionChildren, timelineCorrectionDatabasePath, timelineStateLockPath, timelineStatePath, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, validateTimelineRangeQuery, validateTimelineSearchBounds, validateVaultNoteTemplate, validateVaultProperties, watchForChanges, weeklySnapshotPath, withJournalDateLock, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory, writeTimelineState };
9837
+ export { ACTIVITY_ANALYSIS_STATUSES, ACTIVITY_DELETE_SCOPES, ACTIVITY_FEATURE_GATES, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, type ActivityAnalysisStatus, ActivityConfig, 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, type ActivityRedactOptions, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityTimelineAnalysisConfig, ActivityTimelineJournalConfig, ActivityTimelineQaConfig, ActivityTimelineVaultConfig, ActivityWearablesMeetingsDaySource, AnalysisFailure, type AnalysisPromptObservation, AnalysisRunMetadata, type ApplyManagedRegionResult, type ArchitectureHintsResult, type AuditEntry, BUILT_IN_OFF_THE_RECORD_END, BUILT_IN_OFF_THE_RECORD_START, type BatchObservationsOptions, type BeginEndPairInput, type BeginEndPairResult, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, CODEX_SUBSCRIPTION_PROVIDER_ID, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, type ClippedRecapCard, CodexCliFallbackRunner, CodexMemoryExtensionPublisher, CodexSubscriptionAuthError, CodexSubscriptionConfigError, CodexSubscriptionTimeoutError, 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_RECAP_RANGE_MAX_DAYS, DEFAULT_RECURRENCE_MIN_DAYS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_TIMELINE_CATEGORIES, DEFAULT_TOP_SOURCE_LIMIT, DEFAULT_UNTRUSTED_ORIGINS, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, type DeterministicJournalOptions, type DeterministicRecap, type DeterministicRecapDay, type DeterministicRecapOptions, type DeterministicRecapRange, type DeterministicRecapRangeMarkdownResult, type DeterministicRecapRangeOptions, type DeterministicRecapRangeResult, 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, type FileLine, 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 JournalExtractionDeps, type JournalExtractionResult, type JournalExtractionRunResult, type JournalMemoryProvenance, type JournalMemoryWriter, type JournalRenderCard, type JournalSeedCard, type JournalStorageIo, 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 PublishVaultNoteInput, 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 ReadJournalResult, type ReadSkillBundle, type ReadVaultJournalInput, type ReadVaultJournalResult, type RecapCandidate, type RecapExportCard, 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_FORMAT_VERSION, TIMELINE_MAX_DWELL_MS, TIMELINE_MERGE_GAP_MS, TIMELINE_RESERVED_IDLE, TIMELINE_RESERVED_PAUSE, TIMELINE_RESERVED_UNKNOWN, TRANSCRIPT_FORMAT_VERSION, FallbackLlmClient as TaskLlmClient, Taxonomy, TimelineAnalysisLocalLlm, TimelineAnalysisRemoteLlm, type TimelineAnalysisRunInput, type TimelineAnalysisRunResult, TimelineAnalysisStatus, type TimelineBatchObservation, type TimelineBuildInput, TimelineCard, TimelineCardKind, TimelineCategory, type TimelineClassification, type TimelineCliDeps, type TimelineCliIo, type TimelineCompactCard, type TimelineCompactRange, TimelineCorrection, TimelineCorrectionStore, TimelineDay, type TimelineEvidenceClaim, type TimelineEvidenceObservation, TimelineObservation, TimelinePause, type TimelineQueryCard, type TimelineRangeFormat, type TimelineRangeQuery, type TimelineSearchQuery, type TimelineSearchResult, type TimelineState, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, VAULT_JOURNAL_PREREQUISITES, VAULT_PROPERTY_KEY_MAX_CHARS, VAULT_PROPERTY_LIST_MAX_ITEMS, VAULT_PROPERTY_SCALAR_MAX_CHARS, VAULT_PROPERTY_TOTAL_MAX_CHARS, VAULT_PUBLISH_OUTCOMES, VAULT_TEMPLATE_TOKENS, type ValidateRegionNameResult, type ValidateVaultPropertyResult, type VaultDryRunInput, type VaultJournalPrereqResult, type VaultJournalPrerequisite, type VaultPropertyValue, type VaultPublishOutcome, type VaultPublishResult, type VaultPublishStatus, type VaultPublisherTestHooks, type VaultSectionProvenance, type VaultSectionPublish, type VaultTemplateToken, WEARABLES_DIR_NAME, WEEKLY_ACTIVITY_FORMAT_VERSION, WEEKLY_DASHBOARD_FORMAT_VERSION, WEEKLY_SNAPSHOT_DIR, WEEKLY_SNAPSHOT_FORMAT_VERSION, WEEK_START_DAYS, 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 WeekSourceAttribution, type WeeklyActivityOptions, type WeeklyActivitySummary, type WeeklyCategoryTotal, type WeeklyConfigInput, type WeeklyDashboard, type WeeklyDashboardOptions, type WeeklyDashboardRecurring, type WeeklyDashboardSources, type WeeklyDayTotal, type WeeklyDurationTotals, type WeeklyEvidenceStats, type WeeklyKindTotals, type WeeklyPreviousPeriod, type WeeklyPreviousPeriodUnavailable, type WeeklySourceTotal, type WeeklyUncertainty, activityCursorKey, appendRelayMissionEvent, applyCorrections, applyManagedRegion, applyOffTheRecord, applyPreferenceDriftRanking, applyTimelineCorrections, applyVaultFrontmatter, assertBeginEndPair, batchObservations, beginCodexSubscriptionShutdown, bodyIsEscaped, boundEvidence, branchNamespaceName, buildActivityHealth, buildAnalysisPrompt, buildAudioWindows, buildJournalMemoryProvenance, buildPhraseMatcher, buildProcedureRecallSection, buildTimelineDay, buildWeeklyActivitySummary, buildWeeklyDashboard, builtInConnectorPackageSpecifier, checkVaultJournalPrerequisites, classifyOrigin, classifyTimelineObservation, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clipCardsToRecapWindow, clusterConversations, codexSubscriptionBuiltinProviderConfig, collapseImmediateRepeats, collectLocalSessionSummaries, commitJournalHash, compareRelayEvents, compareWeeklyPreviousPeriod, compileCorrectionRule, compileCorrectionRules, compileOffTheRecordMarkers, compileRedactionPatterns, compileRedactionRules, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, computeWeeklyConfigHash, convertMemoriesToRecords, correctionsFilePath, correctionsForCards, createBackend, createCodexSubscriptionRunner, createGoogleDriveConnector, createJournalMemoryWriter, 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, ensureCodexSubscriptionRunnerRegistered, escapeSegmentText, expandVaultTemplateTokens, exportDeterministicRecap, exportDeterministicRecapRange, exportDeterministicWeek, exportSkillBundles, fileLines, filterPrivacyWindow, findContradictions, findDuplicates, findRecurringPatterns, forkCapsule, formatVaultWikilink, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getCodexSubscriptionRunnerForOwner, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashJournalText, hashTranscriptBody, headingSurvivesRoundTrip, hostIdForConnector, insertMarkersUnderHeading, isEligibleActivityFact, isJournalDayPath, isLowQualitySegment, isPreferenceDriftStageActive, isReviewPrompt, isUntrustedOrigin, isValidTranscriptDate, joinVaultSegments, journalDateLockPath, journalPath, journalUnchanged, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeFrontmatterKeys, mergeRecapUserEdits, mergeSpaces, normalizeDropKeys, normalizeOriginUrl, observationsForExport, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityPrivacy, parseAtxHeading, parseClaimObservationId, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseOriginClass, parseTimelineVaultConfig, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, persistDeterministicJournal, persistImportedSkills, persistWeeklySnapshot, planActivityDeletion, planVaultDryRun, probeStructuralProviderForDoctor, projectCardForRecapExport, projectNamespaceName, promoteSpace, publishVaultNote, publishVaultRegion, publisherFor, publisherForConnector, publisherOwnedSectionNames, pullFromSpace, pushToSpace, queryTimelineRange, queryTimelineSearch, rankReviewCandidates, readForkLineage, readJournalForDate, readManifest, readPreferenceDriftMarker, readRelayMission, readReviewDeckRow, readReviewDeckSnapshot, readSkillBundlesFromDir, readTimelineState, readVaultJournal, reconstructFusionInputs, redactActivityFields, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderAuthorityFence, renderDeterministicJournal, renderDeterministicJournalRange, renderExtensionsBlock, renderExtensionsFooter, renderRecapMarkdown, renderStructuralProviderStatusLine, renderVaultPropertyValue, renderWeekSnapshot, resolveActivityGates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, resolvePreferenceDrift, resolveVaultNotePath, runBinaryLifecyclePipeline, runJournalReviewExtraction, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runOkfCliCommand, runPreferenceDriftScan, runTimelineCardAnalysis, runTimelineCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, screenCandidateFact, seedJournal, selectRecapForDay, selfRegisterWearableConnector, serializeDayTranscript, serializeTimelineDay, setJournalHash, setVaultPublisherTestHooks, shareSpace, shouldRetain, sortObservationIds, sortTimelineCategories, stableHash, storageWearableDayReader, stripFillerTokens, stripRemnicOwnedRegions, stripVaultMdSuffix, structuralProviderActive, summarizeVaultPublish, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, terminateActiveCodexSubscriptionChildren, timelineCorrectionDatabasePath, timelineStateLockPath, timelineStatePath, toStructuralContextDegradation, todayJournalDate, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateRegionName, validateSlug, validateTaxonomy, validateTimelineCategories, validateTimelineRangeQuery, validateTimelineSearchBounds, validateVaultNoteTemplate, validateVaultProperties, watchForChanges, weeklySnapshotPath, withJournalDateLock, withRawEntityPageMutation, writeJournalFile, writeManifest, writeMeetingEpisodeMemory, writeTimelineState };