@hraness/message-like-me 0.8.6 → 0.8.8
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/CHANGELOG.md +21 -0
- package/README.md +41 -33
- package/SECURITY.md +6 -6
- package/dist/agentic-messaging-v1.d.ts +44 -25
- package/dist/agentic-messaging-v1.js +81 -67
- package/dist/cli.js +91 -83
- package/docs/local-message-bundle-v1.md +11 -10
- package/docs/local-message-bundle-v2.md +10 -9
- package/docs/methodology.md +1 -1
- package/docs/publishing.md +57 -25
- package/package.json +2 -1
- package/skills/message-like-me/SKILL.md +6 -6
- package/skills/message-like-me/references/privacy.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.8 (2026-09-09)
|
|
4
|
+
|
|
5
|
+
- Route installation to the exact public `@hraness/message-like-me@0.8.8` npm package after release admission, with the same reviewed bytes in the immutable GitHub Release.
|
|
6
|
+
- Use Ghostget in current CLI options, SDK names, source guidance, and the public site. Keep the original Wrench options and exports as compatibility aliases.
|
|
7
|
+
- Accept `ghostgetContext` when preparing a handoff while preserving the existing serialized handoff, receipt, contract hashes, and local history. Reject simultaneous context aliases.
|
|
8
|
+
- Point Ghostget setup to its exact canonical GitHub Release archive.
|
|
9
|
+
|
|
10
|
+
## 0.8.7 (2026-09-09)
|
|
11
|
+
|
|
12
|
+
- Make the exact public `@hraness/message-like-me@0.8.7` npm package the
|
|
13
|
+
supported default install, with the same reviewed bytes mirrored in the
|
|
14
|
+
immutable GitHub Release.
|
|
15
|
+
- Show how an unsent draft can use evidence about tone, rhythm, and attention
|
|
16
|
+
before introducing import commands. The website examples remain synthetic;
|
|
17
|
+
the site never receives message history or produces drafts.
|
|
18
|
+
- Make supported sources and their limits easier to scan, with import details
|
|
19
|
+
available beside each source. Local-only ingestion and drafts-only behavior
|
|
20
|
+
remain unchanged.
|
|
21
|
+
- Strengthen the development Effect architecture checker. Public protocols,
|
|
22
|
+
the source readers, and command behavior are unchanged.
|
|
23
|
+
|
|
3
24
|
## 0.8.6 (2026-09-07)
|
|
4
25
|
|
|
5
26
|
- Make the exact public `@hraness/message-like-me@0.8.6` npm package the
|
package/README.md
CHANGED
|
@@ -12,9 +12,9 @@ Like Me and Ensoul Agent Skills teach Codex, Claude, and other coding agents how
|
|
|
12
12
|
to interpret those artifacts through the agent environment you already use.
|
|
13
13
|
|
|
14
14
|
Beeper users can bring a bounded observation from supported connected accounts
|
|
15
|
-
into the same private evidence layer as Apple Messages.
|
|
15
|
+
into the same private evidence layer as Apple Messages. Ghostget writes a finished
|
|
16
16
|
local bundle; Message Like Me verifies and ingests that directory. It receives
|
|
17
|
-
no provider credentials, never calls
|
|
17
|
+
no provider credentials, never calls Ghostget or a Beeper operation, and never
|
|
18
18
|
sends. Every ingest path is read-only with respect to its source.
|
|
19
19
|
|
|
20
20
|
The result is an inspectable evidence layer for relationship-aware drafting,
|
|
@@ -43,7 +43,7 @@ Message Like Me requires Bun 1.3.14 or newer. Install the exact public npm
|
|
|
43
43
|
package, then install both bundled Agent Skills:
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
bun add --global @hraness/message-like-me@0.8.
|
|
46
|
+
bun add --global @hraness/message-like-me@0.8.8
|
|
47
47
|
messagelikeme skill install
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -107,8 +107,8 @@ visibly instead of being treated as current.
|
|
|
107
107
|
| --- | --- | --- |
|
|
108
108
|
| Apple Messages | The current macOS user's native `chat.db` history | Read-only ingestion from an ownership-checked stable local copy; Messages is never operated or changed. |
|
|
109
109
|
| X data archive | Direct-message history in a caller-owned archive ZIP | X Chat is not included; the importer does not contact X, extract the archive, or download media. |
|
|
110
|
-
| Beeper via
|
|
111
|
-
| WhatsApp via
|
|
110
|
+
| Beeper via Ghostget | A finished local bundle from Ghostget v0.17.1 and adapter 2.4.0; its reviewed surface has 32 operations: 26 through one pinned Beeper CLI 0.6.2 executable, including supported actions and writes, plus six fixed Desktop loopback reads | Message Like Me receives no provider credentials, never calls Ghostget or a Beeper operation, and never sends; it reads only the finished bundle and does not claim complete history. |
|
|
111
|
+
| WhatsApp via Ghostget | A one-account native bundle produced by Ghostget v0.17.1 with official Wacli 0.15.0 | Reaction-shaped rows are omitted with `reaction-state-unproven` when current state cannot be proved. Message Like Me verifies the finished bundle and never operates WhatsApp. |
|
|
112
112
|
| macOS Contacts | Optional names and exact email or phone handles from AddressBook | Label enrichment only; Contacts is not a messaging-history source and is never changed. |
|
|
113
113
|
|
|
114
114
|
## Add private local history
|
|
@@ -187,13 +187,14 @@ same or a later archive preserves proven deduplication; archive absence does not
|
|
|
187
187
|
delete retained history.
|
|
188
188
|
|
|
189
189
|
To study accounts connected through Beeper, install the currently verified
|
|
190
|
-
[`@hraness/
|
|
191
|
-
|
|
190
|
+
[`@hraness/ghostget@0.17.1`](https://github.com/hraness/ghostget/releases/download/v0.17.1/hraness-ghostget-0.17.1.tgz)
|
|
191
|
+
canonical GitHub Release archive, then use Ghostget to create a new private Message Like Me
|
|
192
192
|
bundle:
|
|
193
193
|
|
|
194
194
|
```sh
|
|
195
|
-
bun add --global
|
|
196
|
-
|
|
195
|
+
bun add --global https://github.com/hraness/ghostget/releases/download/v0.17.1/hraness-ghostget-0.17.1.tgz
|
|
196
|
+
ghostget adapter sync-bundled --json
|
|
197
|
+
ghostget beeper export-message-like-me \
|
|
197
198
|
--auth <beeper-auth-id> \
|
|
198
199
|
--output /absolute/private/path/beeper-bundle \
|
|
199
200
|
--json
|
|
@@ -201,21 +202,21 @@ wrench beeper export-message-like-me \
|
|
|
201
202
|
|
|
202
203
|
The optional `--limit-chats`, `--limit-messages`, and `--max-participants`
|
|
203
204
|
flags lower the export bounds. The output path must be a normalized absolute
|
|
204
|
-
path to a directory that does not already exist.
|
|
205
|
+
path to a directory that does not already exist. Ghostget v0.17.1 adapter
|
|
205
206
|
`beeper-local@2.4.0` exposes 32 reviewed Beeper operations: 26 through one
|
|
206
207
|
pinned Beeper CLI 0.6.2 executable, including supported actions and writes, plus
|
|
207
|
-
six fixed Desktop loopback reads. Message Like Me never calls
|
|
208
|
-
those Beeper operations. The bundle command enters
|
|
208
|
+
six fixed Desktop loopback reads. Message Like Me never calls Ghostget or any of
|
|
209
|
+
those Beeper operations. The bundle command enters Ghostget's separate internal
|
|
209
210
|
bounded export, which fixes the raw export arguments, excludes attachments, and
|
|
210
211
|
preserves explicit incomplete-coverage evidence instead of claiming full
|
|
211
212
|
history.
|
|
212
213
|
|
|
213
|
-
|
|
214
|
+
Ghostget calls the pinned
|
|
214
215
|
[official Beeper CLI 0.6.2 release](https://github.com/beeper/cli/releases/tag/v0%2E6%2E2)
|
|
215
216
|
directly. The executable reports version `0.6.2`, which is the runtime
|
|
216
217
|
authority. At the upstream tag, `packages/cli/package.json` declares `0.6.1`;
|
|
217
218
|
that source-package value is provenance only and never overrides the executable
|
|
218
|
-
runtime identity.
|
|
219
|
+
runtime identity. Ghostget enumerates
|
|
219
220
|
the connected account realm, invokes `export --no-attachments` once per
|
|
220
221
|
account in deterministic order, and reports the account ordinal, elapsed-time
|
|
221
222
|
heartbeats, and cumulative validated chat and message counts on stderr. It
|
|
@@ -228,7 +229,7 @@ export path does not use it. The pinned CLI path supplies the bounded account
|
|
|
228
229
|
snapshots and local files needed for hash validation, deterministic conversion,
|
|
229
230
|
crash recovery, and atomic publication. Provider URLs and credentials are
|
|
230
231
|
excluded. Message Like Me does not receive the Beeper credential or live
|
|
231
|
-
session, start
|
|
232
|
+
session, start Ghostget, invoke a Beeper operation, or send a message.
|
|
232
233
|
|
|
233
234
|
Ingest the finished directory, then inspect its redacted source health:
|
|
234
235
|
|
|
@@ -247,9 +248,9 @@ iMessage and prior bundle sources remain alongside it.
|
|
|
247
248
|
The interchange, integrity, identity, and reimport laws are in the
|
|
248
249
|
[version-one local message bundle contract](docs/local-message-bundle-v1.md).
|
|
249
250
|
Message Like Me accepts bundle schema `1` with source ID `beeper-local` and
|
|
250
|
-
source-transform version `1.1.0`.
|
|
251
|
+
source-transform version `1.1.0`. Ghostget v0.17.1 is the currently verified
|
|
251
252
|
producer. Compatibility is determined by those exact manifest coordinates,
|
|
252
|
-
not by an open-ended
|
|
253
|
+
not by an open-ended Ghostget package range.
|
|
253
254
|
|
|
254
255
|
Beeper exports describe bounded local observations. A later bounded export
|
|
255
256
|
that omits an older record does not delete retained history. Explicit deletion,
|
|
@@ -258,12 +259,13 @@ reappearance restores it. Older snapshots cannot overwrite newer state. Use
|
|
|
258
259
|
`sources show <source-id> --private --json` only when you deliberately need the
|
|
259
260
|
private provider account and source metadata.
|
|
260
261
|
|
|
261
|
-
For native WhatsApp evidence, install
|
|
262
|
+
For native WhatsApp evidence, install Ghostget v0.17.1 and let its official
|
|
262
263
|
Wacli 0.15.0 adapter create the one-account v2 bundle:
|
|
263
264
|
|
|
264
265
|
```sh
|
|
265
|
-
bun add --global
|
|
266
|
-
|
|
266
|
+
bun add --global https://github.com/hraness/ghostget/releases/download/v0.17.1/hraness-ghostget-0.17.1.tgz
|
|
267
|
+
ghostget adapter sync-bundled --json
|
|
268
|
+
ghostget whatsapp export-message-like-me \
|
|
267
269
|
--auth <whatsapp-auth-id> \
|
|
268
270
|
--output /absolute/private/path/whatsapp-bundle \
|
|
269
271
|
--json
|
|
@@ -282,7 +284,7 @@ surfaces are excluded. The complete contract is in
|
|
|
282
284
|
[local message bundle v2](docs/local-message-bundle-v2.md).
|
|
283
285
|
|
|
284
286
|
Wacli v0.15.0 may retain an earlier emoji after a reaction is removed, so its
|
|
285
|
-
local rows cannot prove current active reaction state.
|
|
287
|
+
local rows cannot prove current active reaction state. Ghostget v0.17.1 omits
|
|
286
288
|
every reaction-shaped row and adds `reaction-state-unproven` when it observes
|
|
287
289
|
one. An empty `reactions.ndjson` from this producer means reaction behavior was
|
|
288
290
|
unobservable, not that the account had no reactions. The v2 wire contract keeps
|
|
@@ -386,8 +388,8 @@ person scopes and labels, never handles or message bodies.
|
|
|
386
388
|
## Prepare an exact private agent handoff
|
|
387
389
|
|
|
388
390
|
Message Like Me can bind an ordered unsent draft to one exact local
|
|
389
|
-
source-conversation candidate and one current opaque
|
|
390
|
-
does not invoke
|
|
391
|
+
source-conversation candidate and one current opaque Ghostget context. It still
|
|
392
|
+
does not invoke Ghostget, authenticate, launch a provider command, access a
|
|
391
393
|
network, or send a message.
|
|
392
394
|
|
|
393
395
|
Start with the redacted candidate inventory:
|
|
@@ -404,24 +406,24 @@ Ordinary stdout reports only its digest, counts, and selection state.
|
|
|
404
406
|
the exact account, source, and tagged conversation coordinate already observed
|
|
405
407
|
in that imported source: `beeperConversation` for a Beeper bundle,
|
|
406
408
|
`whatsappJid` for a native Wacli bundle, or `imessageChat` for Messages. It never
|
|
407
|
-
emits names, handles, participants, or a locator derived from them.
|
|
409
|
+
emits names, handles, participants, or a locator derived from them. Ghostget
|
|
408
410
|
rejects a coordinate whose tag does not match the selected provider adapter.
|
|
409
411
|
|
|
410
412
|
An X archive candidate is always `evidence-only` with reason
|
|
411
413
|
`archive-source`. Handoff v1 also keeps group candidates evidence-only as an
|
|
412
|
-
explicit direct-conversation product limit. This does not claim that
|
|
414
|
+
explicit direct-conversation product limit. This does not claim that Ghostget or
|
|
413
415
|
a provider cannot address an exact group. It prevents Message Like Me from
|
|
414
416
|
authorizing one through this first handoff contract. Several eligible direct
|
|
415
417
|
candidates produce an `ambiguous` selection state; no route is chosen from a
|
|
416
418
|
name, title, participant list, or merged person scope.
|
|
417
419
|
|
|
418
|
-
After
|
|
420
|
+
After Ghostget has written its exact current context and the agent has written an
|
|
419
421
|
ordered one-to-eight-bubble draft, prepare one private handoff:
|
|
420
422
|
|
|
421
423
|
```sh
|
|
422
424
|
messagelikeme handoff prepare <contact-id> \
|
|
423
425
|
--request /absolute/private/handoff-request.json \
|
|
424
|
-
--
|
|
426
|
+
--ghostget-context /absolute/private/ghostget-context.json \
|
|
425
427
|
--draft /absolute/private/draft.json \
|
|
426
428
|
--output /absolute/private/handoff.json \
|
|
427
429
|
--json
|
|
@@ -434,21 +436,21 @@ singly linked physical files. The context must carry the pinned
|
|
|
434
436
|
an unexpired opaque route and context reference, and exact SHA-256 data and
|
|
435
437
|
latest-message revisions. The output is a mode-`0600` file whose canonical
|
|
436
438
|
digest binds those values, the selected source revision, corpus and profile
|
|
437
|
-
evidence, bubble order, text, and optional reply references. Raw opaque
|
|
439
|
+
evidence, bubble order, text, and optional reply references. Raw opaque Ghostget
|
|
438
440
|
references and draft bodies appear only in the explicit private inputs and
|
|
439
441
|
handoff file.
|
|
440
442
|
|
|
441
443
|
Verification and audit commands emit hashes, counts, timestamps, and
|
|
442
|
-
pseudonymous IDs without bodies or raw
|
|
444
|
+
pseudonymous IDs without bodies or raw Ghostget references:
|
|
443
445
|
|
|
444
446
|
```sh
|
|
445
447
|
messagelikeme handoff verify /absolute/private/handoff.json --json
|
|
446
448
|
messagelikeme handoff record <handoff-id> \
|
|
447
|
-
--
|
|
449
|
+
--ghostget-receipt /absolute/private/ghostget-receipt.json --json
|
|
448
450
|
messagelikeme handoffs show <handoff-id> --json
|
|
449
451
|
```
|
|
450
452
|
|
|
451
|
-
Recording requires
|
|
453
|
+
Recording requires Ghostget's pinned body-free receipt binding. It carries the
|
|
452
454
|
provider-neutral client-intent digest, set to this exact Message Like Me
|
|
453
455
|
handoff digest, along with route-reference, context-reference, exact-turn, and
|
|
454
456
|
private-preview digests. It also carries the proven prefix and a canonical
|
|
@@ -664,9 +666,9 @@ messagelikeme profile show CONTACT_ID [--json]
|
|
|
664
666
|
messagelikeme profile export CONTACT_ID --output FILE [--json]
|
|
665
667
|
messagelikeme context CONTACT_ID [--json]
|
|
666
668
|
messagelikeme handoff prepare CONTACT_ID --request FILE
|
|
667
|
-
--
|
|
669
|
+
--ghostget-context FILE --draft FILE --output FILE [--json]
|
|
668
670
|
messagelikeme handoff verify FILE [--json]
|
|
669
|
-
messagelikeme handoff record HANDOFF_ID --
|
|
671
|
+
messagelikeme handoff record HANDOFF_ID --ghostget-receipt FILE [--json]
|
|
670
672
|
messagelikeme handoffs show HANDOFF_ID [--json]
|
|
671
673
|
messagelikeme skill path [--json]
|
|
672
674
|
messagelikeme skill install [--target codex|claude|agents]
|
|
@@ -789,3 +791,9 @@ the site, and the site never receives message or contact data.
|
|
|
789
791
|
## License
|
|
790
792
|
|
|
791
793
|
MIT.
|
|
794
|
+
|
|
795
|
+
Ghostget is the current name of Wrench. The original `--wrench-context` and
|
|
796
|
+
`--wrench-receipt` options remain aliases for the documented Ghostget options. The SDK accepts
|
|
797
|
+
`ghostgetContext` and retains the original `wrenchContext` input alias.
|
|
798
|
+
Existing bundle, handoff, receipt, and database formats retain their versioned
|
|
799
|
+
`wrench` identifiers so saved evidence remains verifiable.
|
package/SECURITY.md
CHANGED
|
@@ -24,8 +24,8 @@ following values are sensitive even when they do not contain an obvious name:
|
|
|
24
24
|
- the per-install HMAC key and all normalized corpus records;
|
|
25
25
|
- aggregate metrics, study packets, style profiles, drafting context, and
|
|
26
26
|
unsent drafts;
|
|
27
|
-
- opaque
|
|
28
|
-
|
|
27
|
+
- opaque Ghostget route and context references, private handoff files, and full
|
|
28
|
+
Ghostget receipts before their body-free audit projection.
|
|
29
29
|
|
|
30
30
|
The default data root is
|
|
31
31
|
`~/Library/Application Support/Message Like Me/` on macOS. The CLI creates
|
|
@@ -49,19 +49,19 @@ participant set. X archives are evidence-only. Handoff v1 also rejects group
|
|
|
49
49
|
candidates, and an ambiguous direct-candidate inventory does not choose a
|
|
50
50
|
route automatically.
|
|
51
51
|
|
|
52
|
-
`handoff prepare` reads a mode-`0600`, singly linked route request,
|
|
52
|
+
`handoff prepare` reads a mode-`0600`, singly linked route request, Ghostget
|
|
53
53
|
context file, and draft file through stable file descriptors. A route candidate
|
|
54
54
|
never appears in argv or stdout. It rejects symlinks,
|
|
55
55
|
foreign ownership, broader permissions, file replacement, invalid UTF-8,
|
|
56
56
|
unknown contract fields, unsupported contract hashes, stale context, controls,
|
|
57
57
|
duplicate bubble IDs, and byte or count overages. The output is another
|
|
58
|
-
explicit mode-`0600` file. Message text and raw
|
|
58
|
+
explicit mode-`0600` file. Message text and raw Ghostget route or context
|
|
59
59
|
references never enter argv, ordinary stdout, diagnostics, or the SQLite audit
|
|
60
60
|
table.
|
|
61
61
|
|
|
62
|
-
The body-free
|
|
62
|
+
The body-free Ghostget receipt binding contains no raw route or context
|
|
63
63
|
reference. Its pinned contract binds hashes of those references, the client
|
|
64
|
-
intent, the exact ordered turn, and the private preview. The generic
|
|
64
|
+
intent, the exact ordered turn, and the private preview. The generic Ghostget
|
|
65
65
|
field is `clientIntentSha256`; Message Like Me sets it to the exact private
|
|
66
66
|
handoff digest. The binding also carries its proven-prefix state and canonical
|
|
67
67
|
receipt digest. The local handoff audit stores those hashes, counts,
|
|
@@ -3,19 +3,19 @@ export declare const AGENT_MESSAGE_DRAFT_V1_FORMAT: "message-like-me.agent-messa
|
|
|
3
3
|
export declare const AGENT_MESSAGE_HANDOFF_REQUEST_V1_FORMAT: "message-like-me.agent-message-handoff-request";
|
|
4
4
|
export declare const AGENT_MESSAGE_HANDOFF_V1_FORMAT: "message-like-me.agent-message-handoff";
|
|
5
5
|
export declare const AGENT_MESSAGE_AUDIT_V1_FORMAT: "message-like-me.agent-message-handoff-audit";
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
6
|
+
export declare const GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_FORMAT: "wrench.messaging-context-binding";
|
|
7
|
+
export declare const GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_FORMAT: "wrench.messaging-receipt-binding";
|
|
8
|
+
export declare const GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_ID: "wrench.messaging-context-binding.v1";
|
|
9
|
+
export declare const GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_HASH: "5e64da6a3d826e7f6fa3db7dca0a4ba92c10cfb784981e71a25aed9513a5c687";
|
|
10
|
+
export declare const GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_DESCRIPTOR: Readonly<{
|
|
11
11
|
contractId: "wrench.messaging-context-binding.v1";
|
|
12
12
|
fields: readonly string[];
|
|
13
13
|
format: "wrench.messaging-contract-descriptor";
|
|
14
14
|
schemaVersion: 1;
|
|
15
15
|
}>;
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
16
|
+
export declare const GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_ID: "wrench.messaging-receipt-binding.v1";
|
|
17
|
+
export declare const GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_HASH: "7f6cf724f0200b2399e4f4641c637b20b48914fc5c9b13755127a8ec69fe66f4";
|
|
18
|
+
export declare const GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_DESCRIPTOR: Readonly<{
|
|
19
19
|
contractId: "wrench.messaging-receipt-binding.v1";
|
|
20
20
|
fields: readonly string[];
|
|
21
21
|
format: "wrench.messaging-contract-descriptor";
|
|
@@ -30,11 +30,11 @@ export declare const AGENTIC_MESSAGING_V1_LIMITS: Readonly<{
|
|
|
30
30
|
readonly handoffLifetimeMilliseconds: number;
|
|
31
31
|
readonly maximumContextLifetimeMilliseconds: number;
|
|
32
32
|
}>;
|
|
33
|
-
export type
|
|
33
|
+
export type GhostgetMessagingContextBindingV1 = Readonly<{
|
|
34
34
|
schemaVersion: typeof AGENTIC_MESSAGING_V1_SCHEMA_VERSION;
|
|
35
|
-
format: typeof
|
|
36
|
-
contractId: typeof
|
|
37
|
-
contractHash: typeof
|
|
35
|
+
format: typeof GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_FORMAT;
|
|
36
|
+
contractId: typeof GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_ID;
|
|
37
|
+
contractHash: typeof GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_HASH;
|
|
38
38
|
routeRef: string;
|
|
39
39
|
contextRef: string;
|
|
40
40
|
exactDataRevision: string;
|
|
@@ -77,8 +77,8 @@ export type AgentMessageHandoffV1 = Readonly<{
|
|
|
77
77
|
profileEvidenceRevision: string | null;
|
|
78
78
|
}>;
|
|
79
79
|
wrench: Readonly<{
|
|
80
|
-
contractId: typeof
|
|
81
|
-
contractHash: typeof
|
|
80
|
+
contractId: typeof GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_ID;
|
|
81
|
+
contractHash: typeof GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_HASH;
|
|
82
82
|
routeRef: string;
|
|
83
83
|
routeRefSha256: string;
|
|
84
84
|
contextRef: string;
|
|
@@ -140,19 +140,19 @@ export type AgentMessageRouteCandidateV1 = Readonly<{
|
|
|
140
140
|
}>;
|
|
141
141
|
}> | null;
|
|
142
142
|
}>;
|
|
143
|
-
export type
|
|
144
|
-
export type
|
|
143
|
+
export type GhostgetMessagingReceiptStateV1 = "failed" | "indeterminate" | "partial" | "submitted";
|
|
144
|
+
export type GhostgetMessagingReceiptBindingV1 = Readonly<{
|
|
145
145
|
schemaVersion: typeof AGENTIC_MESSAGING_V1_SCHEMA_VERSION;
|
|
146
|
-
format: typeof
|
|
147
|
-
contractId: typeof
|
|
148
|
-
contractHash: typeof
|
|
146
|
+
format: typeof GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_FORMAT;
|
|
147
|
+
contractId: typeof GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_ID;
|
|
148
|
+
contractHash: typeof GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_HASH;
|
|
149
149
|
clientIntentSha256: string;
|
|
150
150
|
routeRefSha256: string;
|
|
151
151
|
contextRefSha256: string;
|
|
152
152
|
turnDigest: string;
|
|
153
153
|
previewDigest: string;
|
|
154
154
|
runId: string;
|
|
155
|
-
state:
|
|
155
|
+
state: GhostgetMessagingReceiptStateV1;
|
|
156
156
|
partCount: number;
|
|
157
157
|
provenPartCount: number;
|
|
158
158
|
receiptSha256: string;
|
|
@@ -162,7 +162,7 @@ export declare class AgenticMessagingV1ContractError extends TypeError {
|
|
|
162
162
|
readonly code: "agentic-messaging-v1-contract";
|
|
163
163
|
constructor(message: string, options?: ErrorOptions);
|
|
164
164
|
}
|
|
165
|
-
export declare function
|
|
165
|
+
export declare function parseGhostgetMessagingContextBindingV1(value: unknown): GhostgetMessagingContextBindingV1;
|
|
166
166
|
export declare function parseAgentMessageDraftV1(value: unknown): AgentMessageDraftV1;
|
|
167
167
|
export declare function parseAgentMessageHandoffRequestV1(value: unknown): AgentMessageHandoffRequestV1;
|
|
168
168
|
export declare function createAgentMessageHandoffV1(input: Readonly<{
|
|
@@ -170,10 +170,29 @@ export declare function createAgentMessageHandoffV1(input: Readonly<{
|
|
|
170
170
|
expiresAt: string;
|
|
171
171
|
contact: AgentMessageHandoffV1["contact"];
|
|
172
172
|
evidence: AgentMessageHandoffV1["evidence"];
|
|
173
|
-
wrenchContext: WrenchMessagingContextBindingV1;
|
|
174
173
|
draft: AgentMessageDraftV1;
|
|
175
|
-
}
|
|
174
|
+
} & ({
|
|
175
|
+
ghostgetContext: GhostgetMessagingContextBindingV1;
|
|
176
|
+
wrenchContext?: never;
|
|
177
|
+
} | {
|
|
178
|
+
ghostgetContext?: never;
|
|
179
|
+
wrenchContext: GhostgetMessagingContextBindingV1;
|
|
180
|
+
})>): AgentMessageHandoffV1;
|
|
176
181
|
export declare function parseAgentMessageHandoffV1(value: unknown): AgentMessageHandoffV1;
|
|
177
|
-
export declare function
|
|
178
|
-
export declare function
|
|
182
|
+
export declare function ghostgetMessagingTurnDigestV1(value: unknown): string;
|
|
183
|
+
export declare function parseGhostgetMessagingReceiptBindingV1(value: unknown): GhostgetMessagingReceiptBindingV1;
|
|
179
184
|
export declare function agentMessageRouteCandidateId(sourceId: string, conversationId: string): string;
|
|
185
|
+
export { GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_FORMAT as WRENCH_MESSAGING_CONTEXT_BINDING_V1_FORMAT };
|
|
186
|
+
export { GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_FORMAT as WRENCH_MESSAGING_RECEIPT_BINDING_V1_FORMAT };
|
|
187
|
+
export { GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_ID as WRENCH_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_ID };
|
|
188
|
+
export { GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_HASH as WRENCH_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_HASH };
|
|
189
|
+
export { GHOSTGET_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_DESCRIPTOR as WRENCH_MESSAGING_CONTEXT_BINDING_V1_CONTRACT_DESCRIPTOR };
|
|
190
|
+
export { GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_ID as WRENCH_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_ID };
|
|
191
|
+
export { GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_HASH as WRENCH_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_HASH };
|
|
192
|
+
export { GHOSTGET_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_DESCRIPTOR as WRENCH_MESSAGING_RECEIPT_BINDING_V1_CONTRACT_DESCRIPTOR };
|
|
193
|
+
export { type GhostgetMessagingContextBindingV1 as WrenchMessagingContextBindingV1 };
|
|
194
|
+
export { type GhostgetMessagingReceiptStateV1 as WrenchMessagingReceiptStateV1 };
|
|
195
|
+
export { type GhostgetMessagingReceiptBindingV1 as WrenchMessagingReceiptBindingV1 };
|
|
196
|
+
export { parseGhostgetMessagingContextBindingV1 as parseWrenchMessagingContextBindingV1 };
|
|
197
|
+
export { ghostgetMessagingTurnDigestV1 as wrenchMessagingTurnDigestV1 };
|
|
198
|
+
export { parseGhostgetMessagingReceiptBindingV1 as parseWrenchMessagingReceiptBindingV1 };
|