@chronicle.app/apple-call-history 0.3.0
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 +21 -0
- package/README.md +50 -0
- package/dist/connectors/AppleCallHistoryExtractor.d.ts +24 -0
- package/dist/connectors/AppleCallHistoryExtractor.js +96 -0
- package/dist/connectors/CallHistoryTransformer.d.ts +19 -0
- package/dist/connectors/CallHistoryTransformer.js +164 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/package.json +83 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Andrew Louis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# @chronicle.app/apple-call-history
|
|
2
|
+
|
|
3
|
+
Chronicle plugin that extracts phone & FaceTime calls from **Apple Call History**
|
|
4
|
+
and folds them into the existing comms identity graph (iMessage/WhatsApp via
|
|
5
|
+
`phone`/`email` + `@me`).
|
|
6
|
+
|
|
7
|
+
## Source
|
|
8
|
+
|
|
9
|
+
`~/Library/Application Support/CallHistoryDB/CallHistory.storedata` (read-only) —
|
|
10
|
+
the rich, per-record source (direction, number, duration, participants).
|
|
11
|
+
|
|
12
|
+
Calls emit `source: apple-call-history`, `sourceId = <call UUID>` (`ZUNIQUE_ID`). Apple's
|
|
13
|
+
store has a rolling retention (~recent calls); the **longer history that Apple
|
|
14
|
+
prunes is relayed through Timing.app and lives in the `timing-app` plugin**
|
|
15
|
+
(`-t calls`), which emits the same `apple-call-history` + UUID identity so the two
|
|
16
|
+
fold into one call.
|
|
17
|
+
|
|
18
|
+
The service (phone / FaceTime / VoIP) is not modeled yet (it needs
|
|
19
|
+
cross-source action identity, since the shared key is Apple's UUID).
|
|
20
|
+
|
|
21
|
+
## Frame
|
|
22
|
+
|
|
23
|
+
A call is shared co-presence, not a directed send, so participants live on
|
|
24
|
+
`:with`, not `:recipient`:
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
CallAction agent = initiator (when known) object = CallSession startTime/endTime
|
|
28
|
+
CallSession with = [participants other than @me]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- **Direction** (`ZORIGINATED`): outgoing → `agent: @me`; incoming 1:1 →
|
|
32
|
+
`agent`: the caller; incoming group → `agent` omitted.
|
|
33
|
+
- **Connected vs missed** is derived from the span (missed ⇒ `endTime == startTime`).
|
|
34
|
+
- **Participants** are `Person` keyed on `phone` (E.164) or `email` — folding into
|
|
35
|
+
the iMessage/WhatsApp graph and `@me`.
|
|
36
|
+
- Blocked/private numbers (empty address) carry no participant.
|
|
37
|
+
|
|
38
|
+
## Usage
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
chronicle extract apple-call-history # Apple Call History (rich; type: calls)
|
|
42
|
+
chronicle extract apple-call-history --input /path/to/CallHistory.storedata --since 2025-01-01
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Tests
|
|
46
|
+
|
|
47
|
+
Tests build a synthetic `CallHistory.storedata` and a synthetic AddressBook with
|
|
48
|
+
`node:sqlite`, and pass the transformer an explicit iCloud `account` and a
|
|
49
|
+
`lookupContact` over that AddressBook, so they never read the host's call history,
|
|
50
|
+
contacts, or iCloud account.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Record } from '@chronicle.app/etl';
|
|
2
|
+
import { SqliteExtractor } from '@chronicle.app/etl-sqlite';
|
|
3
|
+
import CallHistoryTransformer from './CallHistoryTransformer.js';
|
|
4
|
+
/**
|
|
5
|
+
* Apple Call History — the primary, per-record-rich call source. Each record has
|
|
6
|
+
* an explicit direction, address, name, duration, and (for groups) a participant
|
|
7
|
+
* join table. Records key on the call UUID so they fold with the Timing relay.
|
|
8
|
+
*/
|
|
9
|
+
export declare class AppleCallHistoryExtractor extends SqliteExtractor<typeof AppleCallHistoryExtractor> {
|
|
10
|
+
static source: string;
|
|
11
|
+
static description: string;
|
|
12
|
+
static delivery: "local";
|
|
13
|
+
static strategy: string;
|
|
14
|
+
static recordTypes: string[];
|
|
15
|
+
static default: boolean;
|
|
16
|
+
static defaultTransformer: typeof CallHistoryTransformer;
|
|
17
|
+
static temporality: "event";
|
|
18
|
+
static schema: any;
|
|
19
|
+
/** call Z_PK → remote handle values (phone/email). */
|
|
20
|
+
private loadParticipants;
|
|
21
|
+
extract(): AsyncGenerator<Record>;
|
|
22
|
+
determineCount(): Promise<number | null>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=AppleCallHistoryExtractor.d.ts.map
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { SqliteExtractor, safariToUnixTimestamp, timeRangeConditions, unixToSafariTimestamp, iterateRows, } from '@chronicle.app/etl-sqlite';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import CallHistoryTransformer from './CallHistoryTransformer.js';
|
|
4
|
+
const DEFAULT_DB = `${process.env.HOME}/Library/Application Support/CallHistoryDB/CallHistory.storedata`;
|
|
5
|
+
/**
|
|
6
|
+
* Apple Call History — the primary, per-record-rich call source. Each record has
|
|
7
|
+
* an explicit direction, address, name, duration, and (for groups) a participant
|
|
8
|
+
* join table. Records key on the call UUID so they fold with the Timing relay.
|
|
9
|
+
*/
|
|
10
|
+
export class AppleCallHistoryExtractor extends SqliteExtractor {
|
|
11
|
+
// Plugin, CLI name, and record namespace are all `apple-call-history`, after
|
|
12
|
+
// Apple's CallHistory store (`com.apple.CallHistory`), which holds phone and
|
|
13
|
+
// FaceTime calls alike. Timing's relayed calls use it too, so the two fold.
|
|
14
|
+
static source = 'apple-call-history';
|
|
15
|
+
static description = 'Phone and FaceTime calls';
|
|
16
|
+
static delivery = 'local';
|
|
17
|
+
static strategy = 'app-db';
|
|
18
|
+
static recordTypes = ['calls'];
|
|
19
|
+
static default = true;
|
|
20
|
+
static defaultTransformer = CallHistoryTransformer;
|
|
21
|
+
static temporality = 'event';
|
|
22
|
+
static schema = SqliteExtractor.schema.omit({ input: true }).extend({
|
|
23
|
+
input: z.string().describe('Path to CallHistory.storedata').default(DEFAULT_DB),
|
|
24
|
+
});
|
|
25
|
+
/** call Z_PK → remote handle values (phone/email). */
|
|
26
|
+
loadParticipants() {
|
|
27
|
+
const rows = this.db.prepare(`SELECT j.Z_2REMOTEPARTICIPANTCALLS AS callPk, h.ZVALUE AS value
|
|
28
|
+
FROM Z_2REMOTEPARTICIPANTHANDLES j
|
|
29
|
+
JOIN ZHANDLE h ON h.Z_PK = j.Z_4REMOTEPARTICIPANTHANDLES`).all();
|
|
30
|
+
const map = new Map();
|
|
31
|
+
for (const row of rows) {
|
|
32
|
+
if (!row.value)
|
|
33
|
+
continue;
|
|
34
|
+
const list = map.get(row.callPk) ?? [];
|
|
35
|
+
list.push(row.value);
|
|
36
|
+
map.set(row.callPk, list);
|
|
37
|
+
}
|
|
38
|
+
return map;
|
|
39
|
+
}
|
|
40
|
+
async *extract() {
|
|
41
|
+
if (!this.db)
|
|
42
|
+
throw new Error('Database not initialized');
|
|
43
|
+
const participants = this.loadParticipants();
|
|
44
|
+
const conditions = ['ZUNIQUE_ID IS NOT NULL'];
|
|
45
|
+
const params = [];
|
|
46
|
+
const range = timeRangeConditions('ZDATE', this.config, {
|
|
47
|
+
convert: date => unixToSafariTimestamp(date.getTime() / 1000),
|
|
48
|
+
});
|
|
49
|
+
conditions.push(...range.conditions);
|
|
50
|
+
params.push(...range.values);
|
|
51
|
+
const limit = this.getEffectiveLimit();
|
|
52
|
+
let sql = `
|
|
53
|
+
SELECT Z_PK AS pk, ZUNIQUE_ID AS uuid, ZDATE AS zdate, ZDURATION AS duration,
|
|
54
|
+
ZORIGINATED AS originated, ZADDRESS AS address, ZNAME AS name,
|
|
55
|
+
hex(ZPARTICIPANTGROUPUUID) AS groupUuid
|
|
56
|
+
FROM ZCALLRECORD
|
|
57
|
+
WHERE ${conditions.join(' AND ')}
|
|
58
|
+
ORDER BY ZDATE DESC`;
|
|
59
|
+
if (limit !== null) {
|
|
60
|
+
sql += ` LIMIT ?`;
|
|
61
|
+
params.push(limit);
|
|
62
|
+
}
|
|
63
|
+
for (const row of iterateRows(this.db.prepare(sql), ...params)) {
|
|
64
|
+
const handles = dedupe([
|
|
65
|
+
...(participants.get(row.pk) ?? []),
|
|
66
|
+
...(row.address ? [row.address] : []),
|
|
67
|
+
]);
|
|
68
|
+
yield this.createRecord({}, {
|
|
69
|
+
recordType: 'calls',
|
|
70
|
+
uuid: row.uuid,
|
|
71
|
+
startSec: safariToUnixTimestamp(row.zdate),
|
|
72
|
+
durationSec: row.duration ?? 0,
|
|
73
|
+
originated: row.originated, // 1 out, 0 in
|
|
74
|
+
name: row.name || null,
|
|
75
|
+
handles,
|
|
76
|
+
groupUuid: row.groupUuid || null, // hex of ZPARTICIPANTGROUPUUID
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
async determineCount() {
|
|
81
|
+
if (!this.db)
|
|
82
|
+
return null;
|
|
83
|
+
try {
|
|
84
|
+
const row = this.db
|
|
85
|
+
.prepare(`SELECT COUNT(*) AS n FROM ZCALLRECORD WHERE ZUNIQUE_ID IS NOT NULL`)
|
|
86
|
+
.get();
|
|
87
|
+
return row.n;
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function dedupe(values) {
|
|
95
|
+
return [...new Set(values.map(v => v.trim()).filter(Boolean))];
|
|
96
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ChronicleTransformer, Record } from '@chronicle.app/etl';
|
|
2
|
+
import { ActionAndChildren } from '@chronicle.app/schema';
|
|
3
|
+
/**
|
|
4
|
+
* Modeled like a message (produced artifact → `result`, receiver → `recipient`):
|
|
5
|
+
*
|
|
6
|
+
* CallAction agent: caller
|
|
7
|
+
* result: CallSession recipient: [receiver(s)] isPartOf: [Channel] (groups)
|
|
8
|
+
*
|
|
9
|
+
* The service (phone/FaceTime) is deferred; the message frame (object → result)
|
|
10
|
+
* will be unified across all comms plugins in a follow-up.
|
|
11
|
+
*/
|
|
12
|
+
export default class CallHistoryTransformer extends ChronicleTransformer {
|
|
13
|
+
static source: string;
|
|
14
|
+
private mePromise?;
|
|
15
|
+
transform(record: Record): Promise<ActionAndChildren[]>;
|
|
16
|
+
private me;
|
|
17
|
+
private buildAppleCall;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=CallHistoryTransformer.d.ts.map
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { ChronicleTransformer, normalizePhoneNumber } from '@chronicle.app/etl';
|
|
2
|
+
import { buildICloudPersonSchema, lookupContact } from '@chronicle.app/icloud';
|
|
3
|
+
// The call UUID is issued by Apple's phone/call subsystem and shared with Timing's
|
|
4
|
+
// relay (see the timing-app plugin), so both key on it here and fold.
|
|
5
|
+
const SOURCE = 'apple-call-history';
|
|
6
|
+
/**
|
|
7
|
+
* Modeled like a message (produced artifact → `result`, receiver → `recipient`):
|
|
8
|
+
*
|
|
9
|
+
* CallAction agent: caller
|
|
10
|
+
* result: CallSession recipient: [receiver(s)] isPartOf: [Channel] (groups)
|
|
11
|
+
*
|
|
12
|
+
* The service (phone/FaceTime) is deferred; the message frame (object → result)
|
|
13
|
+
* will be unified across all comms plugins in a follow-up.
|
|
14
|
+
*/
|
|
15
|
+
export default class CallHistoryTransformer extends ChronicleTransformer {
|
|
16
|
+
static source = SOURCE;
|
|
17
|
+
mePromise;
|
|
18
|
+
async transform(record) {
|
|
19
|
+
if (record.extraction.recordType === 'calls') {
|
|
20
|
+
return [await this.buildAppleCall(record)];
|
|
21
|
+
}
|
|
22
|
+
return [];
|
|
23
|
+
}
|
|
24
|
+
// Optional config: `account` (an iCloud account, or null for none) and
|
|
25
|
+
// `lookupContact` replace the host's iCloud account and Contacts lookups.
|
|
26
|
+
me() {
|
|
27
|
+
if (!this.mePromise)
|
|
28
|
+
this.mePromise = buildICloudPersonSchema(this.config.account);
|
|
29
|
+
return this.mePromise;
|
|
30
|
+
}
|
|
31
|
+
async buildAppleCall(record) {
|
|
32
|
+
const ctx = record.context;
|
|
33
|
+
const outgoing = ctx.originated === 1;
|
|
34
|
+
const me = await this.me();
|
|
35
|
+
// Apple's per-call ZNAME is only meaningful for a 1:1 counterpart.
|
|
36
|
+
const singleName = ctx.handles.length === 1 ? ctx.name : null;
|
|
37
|
+
const others = ctx.handles
|
|
38
|
+
.map((h, i) => buildCallParty(h, i === 0 ? singleName : null, this.config.lookupContact))
|
|
39
|
+
.filter((p) => p !== null);
|
|
40
|
+
const session = {
|
|
41
|
+
'@type': 'CallSession',
|
|
42
|
+
'@key': ['@type', 'source', 'sourceId'],
|
|
43
|
+
source: SOURCE,
|
|
44
|
+
sourceId: ctx.uuid,
|
|
45
|
+
};
|
|
46
|
+
const action = {
|
|
47
|
+
'@type': 'CallAction',
|
|
48
|
+
'@key': ['@type', 'source', 'sourceId'],
|
|
49
|
+
source: SOURCE,
|
|
50
|
+
sourceId: ctx.uuid,
|
|
51
|
+
startTime: secondsToISO(ctx.startSec),
|
|
52
|
+
endTime: secondsToISO(ctx.startSec + ctx.durationSec),
|
|
53
|
+
result: session,
|
|
54
|
+
};
|
|
55
|
+
if (ctx.groupUuid) {
|
|
56
|
+
// Group call → a Channel (the roster), mirroring group messages.
|
|
57
|
+
const channel = {
|
|
58
|
+
'@type': 'Channel',
|
|
59
|
+
'@key': ['@type', 'source', 'sourceId'],
|
|
60
|
+
source: SOURCE,
|
|
61
|
+
sourceId: ctx.groupUuid,
|
|
62
|
+
};
|
|
63
|
+
if (others.length > 0)
|
|
64
|
+
channel.member = others;
|
|
65
|
+
session.isPartOf = [channel];
|
|
66
|
+
if (outgoing)
|
|
67
|
+
action.agent = me; // I called the group
|
|
68
|
+
else
|
|
69
|
+
session.recipient = [me]; // group called me; initiator unknown
|
|
70
|
+
}
|
|
71
|
+
else if (others.length === 1) {
|
|
72
|
+
if (outgoing) {
|
|
73
|
+
action.agent = me;
|
|
74
|
+
session.recipient = [others[0]];
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
action.agent = others[0]; // the caller
|
|
78
|
+
session.recipient = [me];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
else if (others.length === 0) {
|
|
82
|
+
// Blocked/private number — no keyable participant (and a name is not a
|
|
83
|
+
// session label). Keep the call on the timeline.
|
|
84
|
+
if (outgoing)
|
|
85
|
+
action.agent = me;
|
|
86
|
+
}
|
|
87
|
+
else if (outgoing) {
|
|
88
|
+
// Multiple handles without a group id (unusual), outgoing.
|
|
89
|
+
action.agent = me;
|
|
90
|
+
session.recipient = others;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
// Multiple handles, incoming — initiator not identifiable.
|
|
94
|
+
session.recipient = [me];
|
|
95
|
+
}
|
|
96
|
+
return action;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* A call party as an `apple-call-history` identity (Apple's call history, which
|
|
101
|
+
* covers FaceTime/VoIP that never touch the phone network), with `sameAs` edges to
|
|
102
|
+
* the underlying handle (`phone` or `email`, kept nameless — a number has no
|
|
103
|
+
* canonical name) and, when in Contacts, the `apple-contacts` entry (its stable
|
|
104
|
+
* ZEXTERNALUUID carries the name). The party's name is Apple's ZNAME, falling
|
|
105
|
+
* back to the contact's name.
|
|
106
|
+
*
|
|
107
|
+
* Identity keys on the stable identifier alone (`['source','handle']` /
|
|
108
|
+
* `['source','sourceId']`), not `@type`: a bare handle could be a person, a
|
|
109
|
+
* business, or a robocaller — `@type` is a union annotation (`Agent` here), never
|
|
110
|
+
* part of the key. A contact card, where the kind is known, refines it (Person /
|
|
111
|
+
* Organization).
|
|
112
|
+
*/
|
|
113
|
+
function buildCallParty(handle, znameFallback, lookup = lookupContact) {
|
|
114
|
+
const value = handle.trim();
|
|
115
|
+
if (!value)
|
|
116
|
+
return null;
|
|
117
|
+
const isEmail = value.includes('@');
|
|
118
|
+
const canonical = isEmail ? value.toLowerCase() : normalizePhoneNumber(value) || value;
|
|
119
|
+
const contact = lookup(canonical);
|
|
120
|
+
const party = {
|
|
121
|
+
'@type': 'Agent',
|
|
122
|
+
'@key': ['source', 'handle'],
|
|
123
|
+
source: 'apple-call-history',
|
|
124
|
+
handle: canonical,
|
|
125
|
+
};
|
|
126
|
+
const name = znameFallback ?? contact?.fullName;
|
|
127
|
+
if (name)
|
|
128
|
+
party.name = name;
|
|
129
|
+
const sameAs = [
|
|
130
|
+
{
|
|
131
|
+
'@type': 'Agent',
|
|
132
|
+
'@key': ['source', 'handle'],
|
|
133
|
+
source: isEmail ? 'email' : 'phone',
|
|
134
|
+
handle: canonical,
|
|
135
|
+
},
|
|
136
|
+
];
|
|
137
|
+
if (contact?.id)
|
|
138
|
+
sameAs.push(contactNode(contact));
|
|
139
|
+
party.sameAs = sameAs;
|
|
140
|
+
return party;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* The Address Book entry, keyed on its portable id. Typed from the card — a person
|
|
144
|
+
* (has a name) or an organization (org-only card) — the one place the kind is known.
|
|
145
|
+
*/
|
|
146
|
+
function contactNode(contact) {
|
|
147
|
+
return {
|
|
148
|
+
'@type': contactType(contact),
|
|
149
|
+
'@key': ['source', 'sourceId'],
|
|
150
|
+
source: 'apple-contacts',
|
|
151
|
+
sourceId: contact.id,
|
|
152
|
+
...(contact.fullName ? { name: contact.fullName } : {}),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function contactType(contact) {
|
|
156
|
+
if (contact.firstName || contact.lastName)
|
|
157
|
+
return 'Person';
|
|
158
|
+
if (contact.organization)
|
|
159
|
+
return 'Organization';
|
|
160
|
+
return 'Agent';
|
|
161
|
+
}
|
|
162
|
+
function secondsToISO(seconds) {
|
|
163
|
+
return new Date(seconds * 1000).toISOString();
|
|
164
|
+
}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chronicle.app/apple-call-history",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/**/*.js",
|
|
8
|
+
"dist/**/*.d.ts"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc -b tsconfig.lib.json",
|
|
12
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
13
|
+
"lint": "eslint src --ext .ts,.js",
|
|
14
|
+
"test": "node --test src/*.test.js"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"chronicle",
|
|
18
|
+
"apple-call-history",
|
|
19
|
+
"phone",
|
|
20
|
+
"facetime"
|
|
21
|
+
],
|
|
22
|
+
"author": "Andrew Louis",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"description": "Chronicle plugin for extracting phone & FaceTime calls from Apple Call History (with a Timing.app supplement)",
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@chronicle.app/etl": "0.3.0",
|
|
28
|
+
"@chronicle.app/schema": "0.3.0",
|
|
29
|
+
"@chronicle.app/tsconfig": "0.3.0",
|
|
30
|
+
"@types/node": "^22.10.1",
|
|
31
|
+
"typescript": "^5.7.2"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://chronicle.app",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "https://github.com/chronicle-app/chronicle.git",
|
|
37
|
+
"directory": "plugins/apple-call-history"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public",
|
|
41
|
+
"registry": "https://registry.npmjs.org/"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@chronicle.app/etl-sqlite": "0.3.0",
|
|
45
|
+
"@chronicle.app/icloud": "0.3.0",
|
|
46
|
+
"zod": "^3.24.1"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@chronicle.app/etl": ">=0.1.0 <1.0.0",
|
|
50
|
+
"@chronicle.app/schema": ">=0.1.0 <1.0.0"
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=22.13.0"
|
|
54
|
+
},
|
|
55
|
+
"exports": {
|
|
56
|
+
".": {
|
|
57
|
+
"types": "./dist/index.d.ts",
|
|
58
|
+
"import": "./dist/index.js"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"chronicle": {
|
|
62
|
+
"plugin": true,
|
|
63
|
+
"sources": {
|
|
64
|
+
"apple-call-history": {
|
|
65
|
+
"strategies": {
|
|
66
|
+
"app-db": {
|
|
67
|
+
"delivery": "local",
|
|
68
|
+
"recordTypes": [
|
|
69
|
+
"calls"
|
|
70
|
+
],
|
|
71
|
+
"default": true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"platforms": [
|
|
75
|
+
"darwin"
|
|
76
|
+
],
|
|
77
|
+
"requires": [
|
|
78
|
+
"full-disk-access"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|