@ascenda-one/history-import 0.1.34 → 0.1.36

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/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on your own sole responsibility, not on behalf
172
+ of any other Contributor, and agree to indemnify, defend, and hold
173
+ each Contributor harmless for any liability incurred by, or claims
174
+ asserted against, such Contributor by reason of your accepting any
175
+ such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed" line as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,4 @@
1
+ @ascenda-one/history-import
2
+ Copyright 2026 Ascenda One Pty Ltd
3
+
4
+ Licensed under the Apache License, Version 2.0. See LICENSE.
package/README.md CHANGED
@@ -57,13 +57,13 @@ command (same pattern as hooks pairing) and this CLI does the reading.
57
57
  | `fix-retention` (Claude `cleanupPeriodDays`, merge-not-clobber) | implemented |
58
58
  | Staging/snapshot (copy-then-parse, WAL-aware, **torn down by the run that makes it**) | implemented |
59
59
  | `archive` (durable content-addressed copy, dedup, verify, restore, prune) | **implemented; exercised against a real multi-GB store** |
60
- | **Claude Code extractor** (human-prompt/tool-result split, session folds incl. recursive subagent transcripts, after-hours, compaction, tool failures, context-window peak, human-corrected edits, correction cadence, gap-split active minutes, epoch marker) | **implemented; exercised end to end against the ingest API** |
61
- | **Codex extractor** (`~/.codex/sessions` and `archived_sessions` rollouts: `user_message` prompts, per-turn model mix, issued tool calls, tool and runtime failures, cumulative tokens, context peak against the window the rollout itself records, compaction items, long turns, gap-split active minutes, epoch marker) | **implemented; fixture-tested and run against a developer machine's rollouts** |
60
+ | **Claude Code extractor** (human-prompt/tool-result split, session folds incl. recursive subagent transcripts and older flat `agent-*.jsonl` ones, SDK-written prompts counted apart from typed ones, cache-write and advisor tokens, after-hours, compaction, tool failures, context-window peak, human-corrected edits, correction cadence, gap-split active minutes, epoch marker) | **implemented; exercised end to end against the ingest API** |
61
+ | **Codex extractor** (`~/.codex/sessions` and `archived_sessions` rollouts: `user_message` prompts, per-turn model mix, issued tool calls, tool and runtime failures, cumulative tokens (left off for rollouts that predate them), context peak against the window the rollout itself records, compaction items, long turns, gap-split active minutes, epoch marker) | **implemented; fixture-tested and run against a developer machine's rollouts** |
62
62
  | **Active-time split** (hands-on vs agent-supervising, per session, per local day and per project digest; autonomy bands off the transcript's own `permissionMode`) | **implemented; exercised against a real store** |
63
63
  | **Tool-call counting, all four stores** (`tool_use` items / tool-call `response_item`s / `toolFormerData` / `toolInvocationSerialized`, one `ai_tool_call_started` per call) | **implemented; exercised end to end against all four stores on a developer machine** |
64
64
  | **Batch shipper** (`POST /v1/tool-events/batch`, salted hashes, stable importKey) | **implemented; exercised end to end against the ingest API** |
65
- | **Cursor extractor** (composerHeaders + bubble aggregation via SQL-side `json_extract`, prompt text never parsed into the process, subagent-composer folding, epoch marker) | **implemented; exercised end to end against the ingest API** |
66
- | **VS Code extractor** (Timeline-history Chat-Edit day×workspace aggregation, Copilot chatSessions folding, workspace identity via `workspace.json` longest-prefix match, epoch marker) | **implemented; exercised end to end against the ingest API** |
65
+ | **Cursor extractor** (composerHeaders + bubble aggregation via SQL-side `json_extract`, prompt text never parsed into the process, subagent-composer folding, sessions started at their first message, tokens left off when the build recorded none, epoch marker) | **implemented; exercised end to end against the ingest API** |
66
+ | **VS Code extractor** (Timeline-history Chat-Edit day×workspace aggregation, Copilot chatSessions folding (including chats with no folder open, and Insiders and VSCodium installs), workspace identity via `workspace.json` longest-prefix match, epoch marker) | **implemented; exercised end to end against the ingest API** |
67
67
  | `import [--ship]` end to end | **implemented; exercised end to end against all three stores, dry run and `--ship`, on a developer machine** |
68
68
  | git extractor | stub — throws with a pointer |
69
69
  | zsh `EXTENDED_HISTORY` apply | snippet only |
@@ -130,6 +130,30 @@ which the person did not spend typing. Rendering it as attention is a
130
130
  fabrication the name invites and the data does not support; the honest gloss is
131
131
  "the agent was working".
132
132
 
133
+ ### Claude Code reports its own active time
134
+
135
+ Claude Code can export a metric of its own, `claude_code.active_time.total`,
136
+ in seconds, with a `type` of `user` or `cli`. Its docs describe `user` as
137
+ keyboard time, typing and reading responses, and `cli` as the time spent running
138
+ tools and generating a reply. If you collect that metric, don't expect it to
139
+ match this one.
140
+
141
+ The two are measured differently, so they answer different questions:
142
+
143
+ | | Claude Code's metric | `handsOnMinutes` / `agentSupervisingMinutes` |
144
+ |---|---|---|
145
+ | Source | Counted live, as the session runs | Inferred afterwards from the transcript's timestamps |
146
+ | `user` / hands-on | Includes reading while the agent works | Only the stretch that ends at a prompt you typed |
147
+ | `cli` / supervising | Tool execution and reply generation | Every other active interval, gap-split at five minutes |
148
+ | Idle time | Left out by Claude Code's own rules | Left out by the gap rule |
149
+
150
+ The biggest difference is reading. If you watch the agent work, Claude Code
151
+ counts that as `user` time. A transcript has no line for it, so we count it as
152
+ agent-supervising. Neither reading is wrong. They're different measurements.
153
+
154
+ Our figures are never exported under that metric name, and nothing here
155
+ converts one into the other. Put them side by side, labelled, if you need both.
156
+
133
157
  ### Runs you cut short
134
158
 
135
159
  Claude Code sessions also count the times you stopped the agent mid-turn.
@@ -156,7 +180,7 @@ A cut counts in the session you pressed Escape in, and in no other. Resuming
156
180
  a session copies the history it inherits, markers included, so before this
157
181
  rule every resume in a lineage reported its ancestors' interruptions as
158
182
  well — a fifth of the counted total on the store this was measured against.
159
- The same ownership rule as the minutes (`minutesBasis: owned_lines`).
183
+ The same ownership rule as the minutes.
160
184
 
161
185
  ### When two files both say a line is theirs
162
186
 
@@ -193,6 +217,21 @@ holds to a minute, because a line counted twice was one minute counted twice.
193
217
  Hands-on shifts a little more than that: a span changes sides when the lines
194
218
  around it move, so the unioned hands-on figure moved by 19 minutes in 6,734.
195
219
 
220
+ ### Subagent transcripts copied into a resume
221
+
222
+ A session's subagents write to `<session>/subagents/agent-<id>.jsonl`, and
223
+ every line in there names the parent session. Resume or fork that session and
224
+ the new session's directory can get byte-for-byte copies of those files. The
225
+ lines still name the parent, so that's where they count. A copy only counts
226
+ where it sits when the parent's own transcript is gone, and then only in the
227
+ first session the import reaches.
228
+
229
+ On the store this was measured against, 1,813 subagent messages sat in more
230
+ than one directory. Counted in each, they added 942 minutes to the summed
231
+ active time, spread over 14 sessions and all of it agent supervising. Hands-on
232
+ didn't move. Nor did the union, since a copy repeats an interval that's
233
+ already counted.
234
+
196
235
  ### What counts as a prompt
197
236
 
198
237
  `promptCount` on a Claude Code session counts the prompts you typed. Claude
@@ -204,8 +243,9 @@ Code also writes `user` lines on your behalf, and none of these count:
204
243
  (`isCompactSummary`);
205
244
  - a line that's empty once its wrapper elements are stripped: `system-reminder`,
206
245
  `command-name`, `command-message`, `command-args`, `local-command-stdout`,
207
- `local-command-stderr`, `local-command-caveat`. That's what a slash command
208
- and its output look like. A prompt with typed text beside a wrapper still
246
+ `local-command-stderr`, `local-command-caveat`, `bash-input`, `bash-stdout`,
247
+ `bash-stderr`. That's what a slash command and its output look like, and
248
+ what a `!` shell command does: the agent never runs for it. A prompt with typed text beside a wrapper still
209
249
  counts, and so does one that merely starts with a tag's name;
210
250
  - the interrupt marker, `[Request interrupted by user]` and its `for tool use`
211
251
  variant.
@@ -247,9 +287,11 @@ typed. A handoff without the stamp counted every `user` line that wasn't a tool
247
287
  result. Prompt counts for the same week run highest under that rule and lowest
248
288
  under `typed_once`. The schema number doesn't move.
249
289
 
250
- Beside it, `minutesBasis: "owned_lines"` says the minutes were cut the same
251
- way. `"every_line"` — and an absent stamp — means a transcript's whole
252
- contents counted there, inherited history included. Gate on this before
290
+ Beside it, `minutesBasis: "owned_lines_and_subagents"` says the minutes were
291
+ cut the same way, subagent transcripts included. `"owned_lines"` is the same
292
+ rule with a copied subagent transcript counted in every session that held one.
293
+ `"every_line"`, and an absent stamp, mean a transcript's whole contents
294
+ counted there, inherited history included. Gate on this before
253
295
  comparing minutes across two handoffs: a store's figures drop when it changes,
254
296
  and nothing else in the file says so.
255
297
 
package/dist/archive.js CHANGED
@@ -39,7 +39,7 @@
39
39
  * there.
40
40
  */
41
41
  import { createHash } from "node:crypto";
42
- import { createReadStream } from "node:fs";
42
+ import { createReadStream, existsSync } from "node:fs";
43
43
  import * as fs from "node:fs/promises";
44
44
  import * as path from "node:path";
45
45
  import { pipeline } from "node:stream/promises";
@@ -62,7 +62,14 @@ export function defaultArchiveRoot(home) {
62
62
  */
63
63
  export function defaultArchiveSources(paths, includeVsCodeSessions = false) {
64
64
  const sources = [
65
- { store: "claude_code", root: paths.claudeProjects, label: "projects" },
65
+ // `projects` for the first config dir, `projects-2` onward for any extra
66
+ // ones CLAUDE_CONFIG_DIR lists, so a single-dir machine's manifest keeps
67
+ // the label it always had.
68
+ ...paths.claudeProjectsDirs.map((root, i) => ({
69
+ store: "claude_code",
70
+ root,
71
+ label: i === 0 ? "projects" : `projects-${i + 1}`
72
+ })),
66
73
  { store: "codex", root: paths.codexSessions, label: "sessions" },
67
74
  { store: "codex", root: paths.codexArchivedSessions, label: "archived_sessions" },
68
75
  { store: "cursor", root: paths.cursorStateDb, siblings: ["-wal", "-shm"], label: "state" },
@@ -71,6 +78,26 @@ export function defaultArchiveSources(paths, includeVsCodeSessions = false) {
71
78
  if (includeVsCodeSessions) {
72
79
  sources.push({ store: "vscode", root: paths.vscodeWorkspaceStorage, label: "workspaceStorage" });
73
80
  }
81
+ // Other VS Code installs, only where they exist so a manifest doesn't list
82
+ // roots that were never there. The loose chat directories (chats with no
83
+ // folder open) are small and are kept for every install that has them.
84
+ for (const variant of paths.vscodeVariants) {
85
+ const suffix = variant.name === "Code" ? "" : `-${variant.name.toLowerCase().replace(/[^a-z0-9]+/g, "-")}`;
86
+ if (suffix !== "") {
87
+ if (existsSync(variant.history)) {
88
+ sources.push({ store: "vscode", root: variant.history, label: `history${suffix}` });
89
+ }
90
+ if (includeVsCodeSessions && existsSync(variant.workspaceStorage)) {
91
+ sources.push({ store: "vscode", root: variant.workspaceStorage, label: `workspaceStorage${suffix}` });
92
+ }
93
+ }
94
+ if (existsSync(variant.emptyWindowChatSessions)) {
95
+ sources.push({ store: "vscode", root: variant.emptyWindowChatSessions, label: `emptyWindowChatSessions${suffix}` });
96
+ }
97
+ if (existsSync(variant.transferredChatSessions)) {
98
+ sources.push({ store: "vscode", root: variant.transferredChatSessions, label: `transferredChatSessions${suffix}` });
99
+ }
100
+ }
74
101
  return sources;
75
102
  }
76
103
  function blobPath(archiveRoot, sha256) {
@@ -1 +1 @@
1
- {"version":3,"file":"archive.js","sourceRoot":"","sources":["../src/archive.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,gBAAgB,EAAE,SAAS,CAAC,CAAC;AACnE,CAAC;AA+BD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,qBAAqB,CACnC,KAAiB,EACjB,qBAAqB,GAAG,KAAK;IAE7B,MAAM,OAAO,GAAoB;QAC/B,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE;QACvE,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE;QAChE,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,qBAAqB,EAAE,KAAK,EAAE,mBAAmB,EAAE;QACjF,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,aAAa,EAAE,QAAQ,EAAE,CAAC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