@oneie/cli 5.7.6 → 5.8.1
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/README.md +19 -1
- package/dist/package.json +7 -8
- package/dist/src/age-yefbe8pe.js +1 -0
- package/dist/src/evm-tx-ee2q0e3w.js +1 -0
- package/dist/src/hl-run-tgrkrk69.js +1 -0
- package/dist/src/index-0rj9wdk9.js +4 -0
- package/dist/src/index-91y484c2.js +2052 -0
- package/dist/src/index-940y3rnv.js +12 -0
- package/dist/src/index.js +1047 -121
- package/dist/src/message-key-db1xjdkw.js +1 -0
- package/dist/src/message-lock-5vr8079x.js +5 -0
- package/dist/src/sweep-order-c2p6rk8c.js +1 -0
- package/dist/src/sweep-runner-t68xe7vx.js +1 -0
- package/package.json +7 -8
- package/dist/src/agent.d.ts +0 -75
- package/dist/src/agent.js +0 -1334
- package/dist/src/agentverse.d.ts +0 -26
- package/dist/src/agentverse.js +0 -171
- package/dist/src/args.d.ts +0 -9
- package/dist/src/args.js +0 -61
- package/dist/src/auth.d.ts +0 -6
- package/dist/src/auth.js +0 -121
- package/dist/src/balances.d.ts +0 -89
- package/dist/src/balances.js +0 -202
- package/dist/src/banner.d.ts +0 -1
- package/dist/src/banner.js +0 -17
- package/dist/src/broadcast.d.ts +0 -8
- package/dist/src/broadcast.js +0 -175
- package/dist/src/catalog.d.ts +0 -12
- package/dist/src/catalog.js +0 -76
- package/dist/src/chat.d.ts +0 -2
- package/dist/src/chat.js +0 -92
- package/dist/src/client.d.ts +0 -5
- package/dist/src/client.js +0 -157
- package/dist/src/compiler.d.ts +0 -36
- package/dist/src/compiler.js +0 -366
- package/dist/src/config.d.ts +0 -24
- package/dist/src/config.js +0 -70
- package/dist/src/connect.d.ts +0 -2
- package/dist/src/connect.js +0 -64
- package/dist/src/coordinate.d.ts +0 -3
- package/dist/src/coordinate.js +0 -58
- package/dist/src/create.d.ts +0 -2
- package/dist/src/create.js +0 -113
- package/dist/src/deploy.d.ts +0 -2
- package/dist/src/deploy.js +0 -19
- package/dist/src/dev.d.ts +0 -2
- package/dist/src/dev.js +0 -75
- package/dist/src/device-flow.d.ts +0 -57
- package/dist/src/device-flow.js +0 -173
- package/dist/src/doctor.d.ts +0 -26
- package/dist/src/doctor.js +0 -146
- package/dist/src/draw.d.ts +0 -18
- package/dist/src/draw.js +0 -156
- package/dist/src/endpoint.d.ts +0 -2
- package/dist/src/endpoint.js +0 -250
- package/dist/src/env.d.ts +0 -3
- package/dist/src/env.js +0 -37
- package/dist/src/eval.d.ts +0 -2
- package/dist/src/eval.js +0 -43
- package/dist/src/fn.d.ts +0 -2
- package/dist/src/fn.js +0 -70
- package/dist/src/group.d.ts +0 -2
- package/dist/src/group.js +0 -117
- package/dist/src/hl-run.d.ts +0 -119
- package/dist/src/hl-run.js +0 -480
- package/dist/src/hl.d.ts +0 -17
- package/dist/src/hl.js +0 -148
- package/dist/src/index.d.ts +0 -2
- package/dist/src/init.d.ts +0 -76
- package/dist/src/init.js +0 -278
- package/dist/src/join.d.ts +0 -11
- package/dist/src/join.js +0 -293
- package/dist/src/key-publish.d.ts +0 -40
- package/dist/src/key-publish.js +0 -232
- package/dist/src/key-seal.d.ts +0 -21
- package/dist/src/key-seal.js +0 -142
- package/dist/src/key-sweep.d.ts +0 -93
- package/dist/src/key-sweep.js +0 -263
- package/dist/src/key.d.ts +0 -26
- package/dist/src/key.js +0 -338
- package/dist/src/lib/age-plugin.d.ts +0 -51
- package/dist/src/lib/age-plugin.js +0 -130
- package/dist/src/lib/agent-env.d.ts +0 -12
- package/dist/src/lib/agent-env.js +0 -48
- package/dist/src/lib/api-path.d.ts +0 -2
- package/dist/src/lib/api-path.js +0 -40
- package/dist/src/lib/asker.d.ts +0 -34
- package/dist/src/lib/asker.js +0 -126
- package/dist/src/lib/client.d.ts +0 -20
- package/dist/src/lib/client.js +0 -71
- package/dist/src/lib/env-sealed.d.ts +0 -53
- package/dist/src/lib/env-sealed.js +0 -184
- package/dist/src/lib/flow-tag.d.ts +0 -86
- package/dist/src/lib/flow-tag.js +0 -230
- package/dist/src/lib/hl-core/actions.d.ts +0 -99
- package/dist/src/lib/hl-core/actions.js +0 -69
- package/dist/src/lib/hl-core/eip712.d.ts +0 -33
- package/dist/src/lib/hl-core/eip712.js +0 -107
- package/dist/src/lib/hl-core/errors.d.ts +0 -10
- package/dist/src/lib/hl-core/errors.js +0 -15
- package/dist/src/lib/hl-core/exchange.d.ts +0 -24
- package/dist/src/lib/hl-core/exchange.js +0 -47
- package/dist/src/lib/hl-core/index.d.ts +0 -13
- package/dist/src/lib/hl-core/index.js +0 -14
- package/dist/src/lib/hl-core/meta.d.ts +0 -57
- package/dist/src/lib/hl-core/meta.js +0 -110
- package/dist/src/lib/hl-core/msgpack.d.ts +0 -18
- package/dist/src/lib/hl-core/msgpack.js +0 -136
- package/dist/src/lib/hl-core/net.d.ts +0 -2
- package/dist/src/lib/hl-core/net.js +0 -7
- package/dist/src/lib/hl-core/signing.d.ts +0 -103
- package/dist/src/lib/hl-core/signing.js +0 -295
- package/dist/src/lib/hl-core/wire.d.ts +0 -34
- package/dist/src/lib/hl-core/wire.js +0 -81
- package/dist/src/lib/invoked-as.d.ts +0 -2
- package/dist/src/lib/invoked-as.js +0 -24
- package/dist/src/lib/journey-words.d.ts +0 -84
- package/dist/src/lib/journey-words.js +0 -360
- package/dist/src/lib/journey.d.ts +0 -148
- package/dist/src/lib/journey.js +0 -245
- package/dist/src/lib/key-receipt.d.ts +0 -48
- package/dist/src/lib/key-receipt.js +0 -116
- package/dist/src/lib/key-source.d.ts +0 -9
- package/dist/src/lib/key-source.js +0 -33
- package/dist/src/lib/keyfile.d.ts +0 -136
- package/dist/src/lib/keyfile.js +0 -397
- package/dist/src/lib/launch-claude.d.ts +0 -5
- package/dist/src/lib/launch-claude.js +0 -45
- package/dist/src/lib/lock-lookup.d.ts +0 -40
- package/dist/src/lib/lock-lookup.js +0 -92
- package/dist/src/lib/message-seal.d.ts +0 -63
- package/dist/src/lib/message-seal.js +0 -150
- package/dist/src/lib/network.d.ts +0 -15
- package/dist/src/lib/network.js +0 -41
- package/dist/src/lib/paths.d.ts +0 -41
- package/dist/src/lib/paths.js +0 -91
- package/dist/src/lib/plan-draw.d.ts +0 -56
- package/dist/src/lib/plan-draw.js +0 -219
- package/dist/src/lib/plan-live.d.ts +0 -20
- package/dist/src/lib/plan-live.js +0 -192
- package/dist/src/lib/qr.d.ts +0 -21
- package/dist/src/lib/qr.js +0 -402
- package/dist/src/lib/roster.d.ts +0 -20
- package/dist/src/lib/roster.js +0 -79
- package/dist/src/lib/sale-card.d.ts +0 -117
- package/dist/src/lib/sale-card.js +0 -261
- package/dist/src/lib/shop-init.d.ts +0 -62
- package/dist/src/lib/shop-init.js +0 -63
- package/dist/src/lib/sui-grpc-send.d.ts +0 -50
- package/dist/src/lib/sui-grpc-send.js +0 -89
- package/dist/src/lib/swap-core.d.ts +0 -163
- package/dist/src/lib/swap-core.js +0 -405
- package/dist/src/lib/tasks-digest.d.ts +0 -66
- package/dist/src/lib/tasks-digest.js +0 -200
- package/dist/src/lib/tasks-graph.d.ts +0 -79
- package/dist/src/lib/tasks-graph.js +0 -463
- package/dist/src/lib/tasks-lens.d.ts +0 -31
- package/dist/src/lib/tasks-lens.js +0 -47
- package/dist/src/lib/tasks-next.d.ts +0 -25
- package/dist/src/lib/tasks-next.js +0 -103
- package/dist/src/lib/tasks-prove.d.ts +0 -15
- package/dist/src/lib/tasks-prove.js +0 -68
- package/dist/src/lib/tasks-route.d.ts +0 -29
- package/dist/src/lib/tasks-route.js +0 -151
- package/dist/src/lib/tasks-score.d.ts +0 -36
- package/dist/src/lib/tasks-score.js +0 -152
- package/dist/src/lib/tasks-workspace.d.ts +0 -18
- package/dist/src/lib/tasks-workspace.js +0 -73
- package/dist/src/lib/vault-read.d.ts +0 -24
- package/dist/src/lib/vault-read.js +0 -77
- package/dist/src/lib/vaultfile.d.ts +0 -88
- package/dist/src/lib/vaultfile.js +0 -222
- package/dist/src/lib/wallet-money.d.ts +0 -222
- package/dist/src/lib/wallet-money.js +0 -578
- package/dist/src/lib/wallet-request.d.ts +0 -50
- package/dist/src/lib/wallet-request.js +0 -86
- package/dist/src/links.d.ts +0 -5
- package/dist/src/links.js +0 -45
- package/dist/src/media.d.ts +0 -29
- package/dist/src/media.js +0 -487
- package/dist/src/message-receipt.d.ts +0 -25
- package/dist/src/message-receipt.js +0 -71
- package/dist/src/message.d.ts +0 -13
- package/dist/src/message.js +0 -92
- package/dist/src/onboard.d.ts +0 -16
- package/dist/src/onboard.js +0 -149
- package/dist/src/plugin.d.ts +0 -2
- package/dist/src/plugin.js +0 -193
- package/dist/src/push.d.ts +0 -2
- package/dist/src/push.js +0 -115
- package/dist/src/render.d.ts +0 -21
- package/dist/src/render.js +0 -32
- package/dist/src/secrets-device.d.ts +0 -32
- package/dist/src/secrets-device.js +0 -127
- package/dist/src/secrets-give.d.ts +0 -125
- package/dist/src/secrets-give.js +0 -236
- package/dist/src/secrets-list.d.ts +0 -27
- package/dist/src/secrets-list.js +0 -84
- package/dist/src/secrets-run.d.ts +0 -31
- package/dist/src/secrets-run.js +0 -182
- package/dist/src/secrets.d.ts +0 -33
- package/dist/src/secrets.js +0 -200
- package/dist/src/setup.d.ts +0 -6
- package/dist/src/setup.js +0 -127
- package/dist/src/ship.d.ts +0 -2
- package/dist/src/ship.js +0 -18
- package/dist/src/shop.d.ts +0 -10
- package/dist/src/shop.js +0 -110
- package/dist/src/skill-parser.d.ts +0 -14
- package/dist/src/skill-parser.js +0 -113
- package/dist/src/skill.d.ts +0 -2
- package/dist/src/skill.js +0 -493
- package/dist/src/slug.d.ts +0 -2
- package/dist/src/slug.js +0 -6
- package/dist/src/social.d.ts +0 -2
- package/dist/src/social.js +0 -106
- package/dist/src/staff.d.ts +0 -2
- package/dist/src/staff.js +0 -104
- package/dist/src/start.d.ts +0 -15
- package/dist/src/start.js +0 -203
- package/dist/src/status.d.ts +0 -2
- package/dist/src/status.js +0 -52
- package/dist/src/substrate.d.ts +0 -2
- package/dist/src/substrate.js +0 -258
- package/dist/src/swap.d.ts +0 -93
- package/dist/src/swap.js +0 -622
- package/dist/src/tasks.d.ts +0 -2
- package/dist/src/tasks.js +0 -743
- package/dist/src/templates.d.ts +0 -1
- package/dist/src/templates.js +0 -213
- package/dist/src/trade.d.ts +0 -2
- package/dist/src/trade.js +0 -91
- package/dist/src/trail.d.ts +0 -2
- package/dist/src/trail.js +0 -41
- package/dist/src/validate.d.ts +0 -13
- package/dist/src/validate.js +0 -35
- package/dist/src/wallet-money.d.ts +0 -152
- package/dist/src/wallet-money.js +0 -564
- package/dist/src/wallet.d.ts +0 -167
- package/dist/src/wallet.js +0 -855
- package/dist/src/workflow.d.ts +0 -2
- package/dist/src/workflow.js +0 -166
- package/dist/src/write.d.ts +0 -43
- package/dist/src/write.js +0 -180
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
const STEPS = [
|
|
2
|
-
{ step: 'key', title: 'Your key', line: 'Your agent makes its own key on this machine, and its wallets. On a Mac it locks in the Keychain; at a terminal you type a passphrase.',
|
|
3
|
-
why: 'Whoever holds the key holds the money. Here that is this machine, not ONE.' },
|
|
4
|
-
{ step: 'products', title: 'Your product', line: 'It opens a shop and makes a product with its own checkout page.',
|
|
5
|
-
why: 'A checkout page is how anyone, a person or an agent, pays you.' },
|
|
6
|
-
{ step: 'sale', title: 'A test sale', line: 'You buy it once with a test card. No real money moves.',
|
|
7
|
-
why: 'You rehearse the whole sale before real money is ever at stake.' },
|
|
8
|
-
{ step: 'handover', title: 'Hand over', line: 'It gives you one link. Open it, and the shop is yours.',
|
|
9
|
-
why: 'The agent does the work. A person owns what it built.' },
|
|
10
|
-
];
|
|
11
|
-
const MARK = { done: '✓', pending: '…', waiting: '·', failed: '✗' };
|
|
12
|
-
/** The chains in the home page's order, whatever key the server named them by. */
|
|
13
|
-
const CHAINS = [
|
|
14
|
-
{ label: 'Sui', keys: ['sui'] },
|
|
15
|
-
{ label: 'EVM', keys: ['evm', 'eth', 'ethereum'], note: 'Ethereum, Base and the other EVM networks' },
|
|
16
|
-
{ label: 'Solana', keys: ['sol', 'solana'] },
|
|
17
|
-
{ label: 'Bitcoin', keys: ['btc', 'bitcoin'] },
|
|
18
|
-
{ label: 'ASI', keys: ['asi', 'fet', 'fetch'] },
|
|
19
|
-
];
|
|
20
|
-
/** `npx oneie` in a sentence becomes whatever this process was started as. */
|
|
21
|
-
const spell = (text, cli) => text.replaceAll('npx oneie', cli);
|
|
22
|
-
const indent = (lines, by = ' ') => lines.map((l) => (l ? by + l : l));
|
|
23
|
-
/** A box around a title — plain characters, so it reads the same in a terminal and in Claude Code. */
|
|
24
|
-
export function box(lines) {
|
|
25
|
-
const w = Math.max(...lines.map((l) => [...l].length));
|
|
26
|
-
return ['╭' + '─'.repeat(w + 4) + '╮', ...lines.map((l) => `│ ${l}${' '.repeat(w - [...l].length)} │`), '╰' + '─'.repeat(w + 4) + '╯'];
|
|
27
|
-
}
|
|
28
|
-
// Line two is beat 1's line in text/one.md § The VSL: the benefit, before any step.
|
|
29
|
-
const HEADER = box(['ONE · Give your agents financial superpowers', 'Your agent can sell and be paid. Here is how.']);
|
|
30
|
-
/**
|
|
31
|
-
* The eight beats of text/one.md § The VSL, in the script's order and words: the same story the home
|
|
32
|
-
* page, its chat and its film tell. Each carries the one command that does it where the CLI has one
|
|
33
|
-
* (a beat without one is told, not run). Beat 4's send is a screen: the CLI never signs a send.
|
|
34
|
-
* Lines the script holds back until their row is true (Apple Pay, "earnings come back") are not said here.
|
|
35
|
-
* `journey-words.test.ts` reads the beat names from the script, so a reorder there goes red here.
|
|
36
|
-
*/
|
|
37
|
-
const BEATS = [
|
|
38
|
-
{ label: 'The sale', line: 'Your agent sells on your site, in a chat, or by link.' },
|
|
39
|
-
{ label: 'The call', line: 'Tell it what you sell. It makes a link for each.', run: (c) => `${c} --product "Mug=12.50"` },
|
|
40
|
-
{ label: 'Cards', line: 'You pay Stripe\'s cost. ONE adds nothing.' },
|
|
41
|
-
{ label: 'Crypto', line: 'By default USDC goes straight to you. ONE takes 0%.', run: () => 'https://one.ie/wallets, once you own it' },
|
|
42
|
-
{ label: 'The key', line: 'Your machine makes it. Nobody else has it.', run: (c) => `${c} wallet paper` },
|
|
43
|
-
{ label: 'Your agents', line: 'Its own wallet, and a credit limit only you can raise.', run: (c) => `${c} wallet get` },
|
|
44
|
-
{ label: 'Do it now', line: 'Pay your own link with a test card. Watch it land.', run: (c) => c },
|
|
45
|
-
{ label: 'The gift', line: 'It was free. Then Sold, the course.', run: () => 'https://one.ie/sold' },
|
|
46
|
-
];
|
|
47
|
-
/** Shown before a first run: the story in eight lines, then what the run does. Nothing here waits on the network. */
|
|
48
|
-
export function journeyIntro(cli) {
|
|
49
|
-
const w = Math.max(...BEATS.map((s) => s.label.length));
|
|
50
|
-
const pad = ' '.repeat(w + 7);
|
|
51
|
-
return [
|
|
52
|
-
...HEADER,
|
|
53
|
-
'',
|
|
54
|
-
...BEATS.flatMap((s, i) => [` ${i + 1} ${s.label.padEnd(w)} ${s.line}`, ...(s.run ? [`${pad}${s.run(cli)}`] : [])]),
|
|
55
|
-
'',
|
|
56
|
-
`Run ${cli}. It walks four checks:`,
|
|
57
|
-
` ${STEPS.map((s) => s.title).join(', ')}.`,
|
|
58
|
-
'You are in control. The sale is a test card, so no real money moves.',
|
|
59
|
-
'Nothing secret is printed.',
|
|
60
|
-
`Stop at any step. Run ${cli} again and it picks up where it left off.`,
|
|
61
|
-
'',
|
|
62
|
-
].join('\n') + '\n';
|
|
63
|
-
}
|
|
64
|
-
/** Shown before a re-run. */
|
|
65
|
-
export function journeyResume(group) {
|
|
66
|
-
return [...HEADER, '', `Picking up where you left off, in group ${group}.`, '', ''].join('\n');
|
|
67
|
-
}
|
|
68
|
-
function addressLines(addresses) {
|
|
69
|
-
const seen = new Set();
|
|
70
|
-
const rows = [];
|
|
71
|
-
for (const c of CHAINS) {
|
|
72
|
-
const k = c.keys.find((key) => typeof addresses[key] === 'string' && addresses[key]);
|
|
73
|
-
if (!k)
|
|
74
|
-
continue;
|
|
75
|
-
seen.add(k);
|
|
76
|
-
rows.push([c.label, addresses[k], c.note]);
|
|
77
|
-
}
|
|
78
|
-
for (const [k, v] of Object.entries(addresses))
|
|
79
|
-
if (!seen.has(k) && v)
|
|
80
|
-
rows.push([k, v]);
|
|
81
|
-
const w = Math.max(0, ...rows.map((r) => r[0].length));
|
|
82
|
-
return rows.map(([label, addr, note]) => ` ${label.padEnd(w)} ${addr}${note ? ` (${note})` : ''}`);
|
|
83
|
-
}
|
|
84
|
-
function failed(s, cli) {
|
|
85
|
-
const out = ['This step stopped.'];
|
|
86
|
-
if (s.detail.error)
|
|
87
|
-
out.push(`Why: ${spell(String(s.detail.error), cli)}`);
|
|
88
|
-
if (s.detail.fix)
|
|
89
|
-
out.push(`To fix it: ${spell(String(s.detail.fix), cli)}`);
|
|
90
|
-
if (s.detail.workspace)
|
|
91
|
-
out.push(`Your group: ${String(s.detail.workspace)}`);
|
|
92
|
-
return out;
|
|
93
|
-
}
|
|
94
|
-
function keyLines(s, cli) {
|
|
95
|
-
if (s.status === 'failed')
|
|
96
|
-
return failed(s, cli);
|
|
97
|
-
const d = s.detail;
|
|
98
|
-
const addresses = (d.addresses && typeof d.addresses === 'object' ? d.addresses : {});
|
|
99
|
-
const n = Object.keys(addresses).length;
|
|
100
|
-
const keychain = String(d.sealed ?? '').startsWith('Apple');
|
|
101
|
-
if (s.reused) {
|
|
102
|
-
// A re-run: the key was told in full the first time. Say it is still here, and how it opens.
|
|
103
|
-
const chains = CHAINS.filter((c) => c.keys.some((k) => addresses[k])).map((c) => c.label);
|
|
104
|
-
return [
|
|
105
|
-
`Your agent's key is still here, ${keychain ? 'in your Apple Keychain. Touch ID opens it' : 'locked with your passphrase'}.`,
|
|
106
|
-
...(chains.length ? [`Wallets on ${chains.length > 1 ? `${chains.slice(0, -1).join(', ')} and ${chains.at(-1)}` : chains[0]}.`] : []),
|
|
107
|
-
`Not on paper yet? Run ${cli} wallet paper in your own terminal.`,
|
|
108
|
-
];
|
|
109
|
-
}
|
|
110
|
-
return [
|
|
111
|
-
'Your agent made its own wallet key, here on this machine. ONE never saw it. ONE issued a separate API key.',
|
|
112
|
-
keychain ? 'It is locked in your Apple Keychain. Touch ID opens it.' : 'It is locked with the passphrase you chose.',
|
|
113
|
-
'',
|
|
114
|
-
n > 0
|
|
115
|
-
? `One key, ${n === 1 ? 'one wallet' : `${n} wallets`}. Anyone can pay these addresses. Only your key can spend from them.`
|
|
116
|
-
: 'Your wallet is made.',
|
|
117
|
-
...addressLines(addresses),
|
|
118
|
-
'',
|
|
119
|
-
'Now keep it. Write the 24 words on paper. Run this in your own terminal:',
|
|
120
|
-
` ${cli} wallet paper`,
|
|
121
|
-
'The words are never printed here. Lose every copy and ONE cannot bring them back.',
|
|
122
|
-
'',
|
|
123
|
-
`Your group: ${String(d.workspace ?? '')}`,
|
|
124
|
-
];
|
|
125
|
-
}
|
|
126
|
-
function productLines(s, cli) {
|
|
127
|
-
if (s.status === 'failed')
|
|
128
|
-
return failed(s, cli);
|
|
129
|
-
const products = Array.isArray(s.detail.products) ? s.detail.products.map(String) : [];
|
|
130
|
-
return [
|
|
131
|
-
'Your shop is open, in test mode. Each product has its own checkout page:',
|
|
132
|
-
...products.map((p) => {
|
|
133
|
-
// "Name 1.00 USD https://…" — drawn as columns; anything else prints as it came.
|
|
134
|
-
const m = /^(.*) (\d+\.\d{2}) ([A-Z]{3}) (\S+)$/.exec(p);
|
|
135
|
-
return m ? ` ${m[1]} ${m[2]} ${m[3]} ${m[4]}` : ` ${p}`;
|
|
136
|
-
}),
|
|
137
|
-
];
|
|
138
|
-
}
|
|
139
|
-
function saleLines(s, cli, net = 'testnet') {
|
|
140
|
-
if (s.status === 'failed')
|
|
141
|
-
return failed(s, cli);
|
|
142
|
-
if (s.status === 'done') {
|
|
143
|
-
const n = Number(s.detail.purchases ?? 1);
|
|
144
|
-
return [`${n === 1 ? 'One sale' : `${n} sales`} counted, read back from your shop. ${net === 'testnet' ? 'Test money' : 'Test sale'}: nothing real moved.`];
|
|
145
|
-
}
|
|
146
|
-
const [number, ...rest] = String(s.detail.card ?? '').split(' · ');
|
|
147
|
-
return [
|
|
148
|
-
// Two whole lines, not a template: home-journey.test.ts holds the page's mirror of this line to the source text.
|
|
149
|
-
net === 'testnet' ? 'Nothing sold yet. Make the first sale yourself, with test money:' : 'Nothing sold yet. Make the first sale yourself, with a test card:',
|
|
150
|
-
'',
|
|
151
|
-
` 1. Open this page ${String(s.detail.pay ?? '')}`,
|
|
152
|
-
` 2. Pay with test card ${number}`,
|
|
153
|
-
...(rest.length ? [` ${rest.join(', ')}`] : []),
|
|
154
|
-
` 3. Then come back, run ${cli}`,
|
|
155
|
-
'',
|
|
156
|
-
'No real card is charged. The sale counts only once your shop reads it back.',
|
|
157
|
-
];
|
|
158
|
-
}
|
|
159
|
-
function handoverLines(s, cli, net = 'testnet') {
|
|
160
|
-
if (s.status === 'failed')
|
|
161
|
-
return failed(s, cli);
|
|
162
|
-
if (s.status === 'waiting')
|
|
163
|
-
return ['This waits for the test sale. Once it is counted, your link appears here.'];
|
|
164
|
-
return [
|
|
165
|
-
'Your agent built it. Now it is yours to take.',
|
|
166
|
-
'Open this link, make your own key in the browser, and press Accept:',
|
|
167
|
-
` ${String(s.detail.link ?? '')}`,
|
|
168
|
-
...(s.detail.emailed ? [`We also sent it to ${String(s.detail.emailed)}.`] : []),
|
|
169
|
-
'',
|
|
170
|
-
'Keep it private. Anyone with this link can claim the owner seat.',
|
|
171
|
-
`It works once and lasts 7 days. Sales stay ${net === 'testnet' ? 'on test money' : 'in test mode'} until you take the shop live.`,
|
|
172
|
-
];
|
|
173
|
-
}
|
|
174
|
-
const LINES = {
|
|
175
|
-
key: keyLines, products: productLines, sale: saleLines, handover: handoverLines,
|
|
176
|
-
};
|
|
177
|
-
/** The whole report, in words. */
|
|
178
|
-
/** `opts.net` is the network the API runs on (lib/network.ts); unset reads as testnet, today's words. */
|
|
179
|
-
export function journeyWords(r, cli, opts = {}) {
|
|
180
|
-
const net = opts.net ?? 'testnet';
|
|
181
|
-
const out = [];
|
|
182
|
-
r.steps.forEach((s) => {
|
|
183
|
-
const n = STEPS.findIndex((x) => x.step === s.step);
|
|
184
|
-
const title = STEPS[n]?.title ?? s.step;
|
|
185
|
-
const tag = s.reused && s.status === 'done' ? ' (done on an earlier run)' : '';
|
|
186
|
-
out.push(`${MARK[s.status] ?? '?'} ${n + 1} of ${STEPS.length} ${title}${tag}`);
|
|
187
|
-
if (STEPS[n] && !s.reused && s.status !== 'failed')
|
|
188
|
-
out.push(` Why it matters: ${STEPS[n].why}`, '');
|
|
189
|
-
out.push(...indent((LINES[s.step] ?? ((x) => failed(x, cli)))(s, cli, net)), '');
|
|
190
|
-
});
|
|
191
|
-
// Steps never reached (an early stop) still show, so the person sees the whole path.
|
|
192
|
-
for (let i = r.steps.length; i < STEPS.length; i++) {
|
|
193
|
-
out.push(`· ${i + 1} of ${STEPS.length} ${STEPS[i].title}`, ` Not started. ${STEPS[i].line}`, '');
|
|
194
|
-
}
|
|
195
|
-
const have = haveLines(haveNow(r, cli, { net }), cli, r);
|
|
196
|
-
if (have.length)
|
|
197
|
-
out.push(...have, '');
|
|
198
|
-
const panel = superpowers(r, cli, net);
|
|
199
|
-
if (panel.length)
|
|
200
|
-
out.push(...panel, '');
|
|
201
|
-
// The one thing to do now goes last, under everything, where the eye lands.
|
|
202
|
-
const allDone = r.ok && r.steps.length === STEPS.length && r.steps.every((s) => s.status === 'done');
|
|
203
|
-
if (allDone) {
|
|
204
|
-
out.push('Done. Your agent has a key, a shop and a first test sale, and you hold the link that makes it yours.');
|
|
205
|
-
}
|
|
206
|
-
else if (r.next) {
|
|
207
|
-
const next = spell(r.next, cli).replaceAll('`', '');
|
|
208
|
-
out.push(`Next: ${next.charAt(0).toUpperCase()}${next.slice(1)}`);
|
|
209
|
-
}
|
|
210
|
-
if (opts.agent === 'claude-code') {
|
|
211
|
-
out.push('', '(Claude: offer the person these moves as choices and run the one they pick. The 24 words are theirs to write down in their own terminal. Never ask for them.)');
|
|
212
|
-
}
|
|
213
|
-
return out.join('\n') + '\n';
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* What the person can do now, each move twice: the words to say to Claude, and the
|
|
217
|
-
* command it runs. Every command exists in this CLI and works from this folder (the
|
|
218
|
-
* key and the group are read from .one/). Sending is the one move the CLI does not
|
|
219
|
-
* sign, so it is told as the screen that does, never as a command.
|
|
220
|
-
*/
|
|
221
|
-
export function superpowers(r, cli, net = 'testnet') {
|
|
222
|
-
const key = r.steps.find((s) => s.step === 'key');
|
|
223
|
-
if (!key || key.status !== 'done')
|
|
224
|
-
return [];
|
|
225
|
-
const addresses = (key.detail.addresses ?? {});
|
|
226
|
-
const sui = addresses.sui ?? '<your Sui address>';
|
|
227
|
-
const moves = [
|
|
228
|
-
{ what: 'See your balances', say: 'show my balances', run: `${cli} wallet get` },
|
|
229
|
-
// Testnet has a faucet. Mainnet has none: the wallet starts empty, and about 0.005 SUI covers a send.
|
|
230
|
-
net === 'testnet'
|
|
231
|
-
? { what: 'Get free test coins', say: 'fill my wallet with test coins', run: `${cli} wallet faucet ${sui} --chain sui --network testnet` }
|
|
232
|
-
: { what: 'Fund your wallet', say: 'what does my wallet need?', run: `Send SUI to ${sui}` }, // the "starts empty, 0.005 SUI" line is the panel's Network row
|
|
233
|
-
{ what: 'Sell something new', say: 'sell a mug for $12.50', run: `${cli} --product "Mug=12.50"` },
|
|
234
|
-
{ what: 'See what came in', say: 'what payments came in?', run: `${cli} wallet transactions` },
|
|
235
|
-
{ what: 'Ask ONE anything', say: 'how do I get paid in USDC?', run: `${cli} message "how do I get paid in USDC?"` },
|
|
236
|
-
];
|
|
237
|
-
const w = Math.max(...moves.map((m) => m.what.length));
|
|
238
|
-
const pad = ' '.repeat(w + 4);
|
|
239
|
-
return [
|
|
240
|
-
...box(['Your superpowers', 'Say it to Claude, or run it yourself. Every one is real.']),
|
|
241
|
-
'',
|
|
242
|
-
...moves.flatMap((m) => [` ${m.what.padEnd(w)} "${m.say}"`, `${pad}${m.run}`, '']),
|
|
243
|
-
` ${'Send money'.padEnd(w)} "how do I send USDC?"`,
|
|
244
|
-
`${pad}Once you own it: https://one.ie/wallets, press Send.`,
|
|
245
|
-
`${pad}Your key signs on your device. Stablecoins wallet to wallet on Sui:`,
|
|
246
|
-
`${pad}ONE takes no fee. Sui charges its own small network fee, paid in SUI.`,
|
|
247
|
-
'',
|
|
248
|
-
` Every command: ${cli} --help`,
|
|
249
|
-
];
|
|
250
|
-
}
|
|
251
|
-
/**
|
|
252
|
-
* The line a person pastes into Claude Code, Codex or any other agent to start it. It opens on the
|
|
253
|
-
* benefit and ends on the page's command (one.ie `START_COMMAND`); the middle is the page's own
|
|
254
|
-
* `launchHandoff().short`: "Read https://one.ie/llms.txt, then run: npx oneie". `npx`, never `one`:
|
|
255
|
-
* the agent it goes to may not have this install.
|
|
256
|
-
*/
|
|
257
|
-
export const AGENT_PROMPT = 'Your agent can sell and be paid. Read https://one.ie/llms.txt, then run: npx oneie';
|
|
258
|
-
const HAVE_CHAINS = [
|
|
259
|
-
['sui', 'Sui', 'sui'], ['evm', 'EVM', 'evm'], ['sol', 'Solana', 'sol'], ['btc', 'Bitcoin', 'btc'], ['asi', 'ASI', 'asi'],
|
|
260
|
-
];
|
|
261
|
-
/** Read from the report and nothing else: a fact the run did not produce is null, never filled in. */
|
|
262
|
-
export function haveNow(r, cli, opts = {}) {
|
|
263
|
-
const get = (step) => r.steps.find((s) => s.step === step);
|
|
264
|
-
const key = get('key');
|
|
265
|
-
const kd = key?.detail ?? {};
|
|
266
|
-
const found = (kd.addresses && typeof kd.addresses === 'object' ? kd.addresses : {});
|
|
267
|
-
const pick = (k) => {
|
|
268
|
-
const names = CHAINS.find((c) => c.keys.includes(k)).keys;
|
|
269
|
-
const hit = names.find((n) => typeof found[n] === 'string' && found[n]);
|
|
270
|
-
return hit ? found[hit] : null;
|
|
271
|
-
};
|
|
272
|
-
const wallet = key?.status === 'done' && typeof kd.wallet === 'string' && kd.wallet ? kd.wallet : null;
|
|
273
|
-
const group = typeof kd.workspace === 'string' && kd.workspace ? kd.workspace : (r.workspace ?? null);
|
|
274
|
-
const products = (Array.isArray(get('products')?.detail.products) ? get('products').detail.products.map(String) : []).flatMap((p) => {
|
|
275
|
-
const m = /^(.*) (\d+\.\d{2}) ([A-Z]{3}) (\S+)$/.exec(p);
|
|
276
|
-
return m ? [{ name: m[1], price: m[2], currency: m[3], url: m[4] }] : [];
|
|
277
|
-
});
|
|
278
|
-
const sale = get('sale');
|
|
279
|
-
const next = !key || key.status !== 'done' || get('products')?.status !== 'done'
|
|
280
|
-
? cli
|
|
281
|
-
: sale?.status === 'done' ? `${cli} --product "Mug=12.50"` : cli;
|
|
282
|
-
return {
|
|
283
|
-
key: { file: wallet ? wallet.split(/[\\/]/).slice(-2).join('/') : null, sealed: wallet && typeof kd.sealed === 'string' ? kd.sealed : null },
|
|
284
|
-
addresses: { sui: pick('sui'), evm: pick('evm'), sol: pick('sol'), btc: pick('btc'), asi: pick('asi') },
|
|
285
|
-
group,
|
|
286
|
-
shop: { products },
|
|
287
|
-
limit: { credits: typeof kd.limit === 'number' ? kd.limit : null, command: `${cli} wallet limit ${group ?? '<group>'} <credits>` },
|
|
288
|
-
network: opts.net ?? 'testnet',
|
|
289
|
-
next,
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
const shorten = (a) => (a.length > 14 ? `${a.slice(0, 6)}\u2026${a.slice(-4)}` : a);
|
|
293
|
-
/** "text" cut into lines of at most `w` columns, on spaces. */
|
|
294
|
-
function wrap(text, w) {
|
|
295
|
-
const out = [];
|
|
296
|
-
for (const word of text.split(' ')) {
|
|
297
|
-
const last = out.at(-1);
|
|
298
|
-
if (last !== undefined && [...last].length + 1 + [...word].length <= w)
|
|
299
|
-
out[out.length - 1] = `${last} ${word}`;
|
|
300
|
-
else
|
|
301
|
-
out.push(word);
|
|
302
|
-
}
|
|
303
|
-
return out;
|
|
304
|
-
}
|
|
305
|
-
/**
|
|
306
|
-
* "What you have now": a compact inventory of what this run made, told again on every later run.
|
|
307
|
-
* One row per fact, short enough for 72 columns; an unknown row says "not yet" and the command that fills it.
|
|
308
|
-
* A run that made no group at all (the first call refused) has nothing to inventory, so nothing prints.
|
|
309
|
-
*/
|
|
310
|
-
export function haveLines(h, cli, r) {
|
|
311
|
-
if (!h.group)
|
|
312
|
-
return [];
|
|
313
|
-
const row = (label, value) => ` ${label.padEnd(9)}${value}`;
|
|
314
|
-
const cont = (value) => ` ${' '.repeat(9)}${value}`;
|
|
315
|
-
const none = (cmd) => `not yet. ${cmd}`;
|
|
316
|
-
const rows = [];
|
|
317
|
-
rows.push(row('Key', h.key.file ? `${h.key.file}, on this machine. Nobody else has it.` : none(cli)));
|
|
318
|
-
const known = HAVE_CHAINS.filter(([k]) => h.addresses[k]);
|
|
319
|
-
if (known.length === 0)
|
|
320
|
-
rows.push(row('Wallets', none(cli)));
|
|
321
|
-
else
|
|
322
|
-
for (const [k, label] of HAVE_CHAINS)
|
|
323
|
-
rows.push(row(label, h.addresses[k] ? shorten(h.addresses[k]) : none(`${cli} wallet get`)));
|
|
324
|
-
rows.push(row('Group', h.group));
|
|
325
|
-
const [first, ...more] = h.shop.products;
|
|
326
|
-
if (!first)
|
|
327
|
-
rows.push(row('Shop', none(`${cli} --product "Mug=12.50"`)));
|
|
328
|
-
else {
|
|
329
|
-
rows.push(row('Shop', `${first.name} ${first.price} ${first.currency}${more.length ? ` and ${more.length} more` : ''}`), cont(first.url));
|
|
330
|
-
}
|
|
331
|
-
rows.push(row('Limit', h.limit.credits !== null ? `${h.limit.credits} credits a month` : none(h.limit.command)));
|
|
332
|
-
rows.push(row('Network', h.network === 'testnet' ? 'testnet. Test coins are free. No real money moves.' : 'mainnet. It starts empty. About 0.005 SUI covers a send.'));
|
|
333
|
-
const salePending = r.steps.find((s) => s.step === 'sale')?.status === 'pending';
|
|
334
|
-
rows.push(row('Next', salePending ? `${h.next} after you pay the test link` : h.next));
|
|
335
|
-
return [
|
|
336
|
-
...box(['What you have now']),
|
|
337
|
-
'',
|
|
338
|
-
...rows,
|
|
339
|
-
'',
|
|
340
|
-
// The wallet a first run makes is empty; this is the way to fill it without the agent ever holding the owner's key.
|
|
341
|
-
` Needs money? ${cli} wallet request 5 USDC`,
|
|
342
|
-
' Your owner gets a link and presses Touch ID.',
|
|
343
|
-
'',
|
|
344
|
-
' Another agent? Paste this into it:',
|
|
345
|
-
...wrap(AGENT_PROMPT, 62).map((l) => ` ${l}`),
|
|
346
|
-
];
|
|
347
|
-
}
|
|
348
|
-
/** The same words for a terminal that cannot draw boxes or glyphs: a pipe, NO_COLOR, a log. */
|
|
349
|
-
export function asciiOf(text) {
|
|
350
|
-
return text
|
|
351
|
-
.replace(/[\u256d\u256e\u2570\u256f]/g, '+')
|
|
352
|
-
.replace(/\u2500/g, '-')
|
|
353
|
-
.replace(/\u2502/g, '|')
|
|
354
|
-
.replace(/\u2026/g, '...')
|
|
355
|
-
.replace(/\u2713/g, 'ok')
|
|
356
|
-
.replace(/\u2717/g, 'x')
|
|
357
|
-
.replace(/\u00b7/g, '-')
|
|
358
|
-
.replace(/\u2193/g, 'v')
|
|
359
|
-
.replace(/[^\x00-\x7f]/g, '?');
|
|
360
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The journey bare `npx oneie` walks: key → products → test sale → handover.
|
|
3
|
-
*
|
|
4
|
-
* Pure on purpose, like `shop-init.ts`: every round trip arrives through `deps`,
|
|
5
|
-
* so the whole walk is exercised without a network, a key or a Keychain.
|
|
6
|
-
* `src/start.ts` is the wiring and holds no logic of its own.
|
|
7
|
-
*
|
|
8
|
-
* RESUMABLE BY READ-BACK. Each step writes what it proved into the folder's
|
|
9
|
-
* journey state before the next one starts, and a re-run skips every step whose
|
|
10
|
-
* proof is already there. The test sale waits on a person paying in a browser,
|
|
11
|
-
* so a run that ends at `pending` is the normal shape, not an error: pay, run it
|
|
12
|
-
* again, and it picks up at the sale.
|
|
13
|
-
*
|
|
14
|
-
* THE WORDS NEVER REACH THIS PROCESS'S STDOUT. The key step mints the agent's
|
|
15
|
-
* wallet and seals it (Keychain, or a passphrase typed at a terminal) through
|
|
16
|
-
* `deps.wallet`; what comes back is addresses and a file path. Nothing here can
|
|
17
|
-
* print what it never holds. The person who receives the shop makes their own
|
|
18
|
-
* key in their own browser when they open the handover link.
|
|
19
|
-
*
|
|
20
|
-
* A SALE IS COUNTED, NEVER CLAIMED. A printed checkout link is not a sale. The
|
|
21
|
-
* step is done only when `storefront:stats` reads back a purchase.
|
|
22
|
-
*/
|
|
23
|
-
export interface AskEnvelope {
|
|
24
|
-
outcome?: string;
|
|
25
|
-
result?: Record<string, unknown>;
|
|
26
|
-
error?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface ProvisionAnswer {
|
|
29
|
-
ok: boolean;
|
|
30
|
-
status: number;
|
|
31
|
-
json: Record<string, unknown>;
|
|
32
|
-
}
|
|
33
|
-
export interface WalletAnswer {
|
|
34
|
-
ok: boolean;
|
|
35
|
-
file?: string;
|
|
36
|
-
keychain?: boolean;
|
|
37
|
-
addresses?: Record<string, string>;
|
|
38
|
-
error?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface ProductSpec {
|
|
41
|
-
name: string;
|
|
42
|
-
/** Minor units (100 = 1.00). */
|
|
43
|
-
amount: number;
|
|
44
|
-
currency: string;
|
|
45
|
-
}
|
|
46
|
-
export interface JourneyState {
|
|
47
|
-
v: 1;
|
|
48
|
-
api: string;
|
|
49
|
-
workspace: string;
|
|
50
|
-
uid?: string;
|
|
51
|
-
/** The owner link minted at birth. A bearer credential: the folder is 0600 and git-ignored. */
|
|
52
|
-
inviteUrl?: string;
|
|
53
|
-
email?: string;
|
|
54
|
-
wallet?: WalletAnswer;
|
|
55
|
-
storefront?: boolean;
|
|
56
|
-
products?: Array<ProductSpec & {
|
|
57
|
-
pid: string;
|
|
58
|
-
ppid?: string;
|
|
59
|
-
url: string;
|
|
60
|
-
}>;
|
|
61
|
-
sale?: {
|
|
62
|
-
purchases: number;
|
|
63
|
-
revenueCents?: number;
|
|
64
|
-
at: number;
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
export interface JourneyDeps {
|
|
68
|
-
load(): JourneyState | null;
|
|
69
|
-
save(state: JourneyState): void;
|
|
70
|
-
/** The uid-bound key the folder holds for `state.workspace` — never printed. */
|
|
71
|
-
key(): string | null;
|
|
72
|
-
/** A key file is on disk in this folder (readable or not) — the workspace its metadata names, or '' when unnamed. */
|
|
73
|
-
existingKey(): string | null;
|
|
74
|
-
provision(body: Record<string, unknown>): Promise<ProvisionAnswer>;
|
|
75
|
-
/** Write the key folder. Refuses (ok:false) rather than writing a key git can see. */
|
|
76
|
-
saveKey(p: {
|
|
77
|
-
apiKey: string;
|
|
78
|
-
regKey?: string;
|
|
79
|
-
workspace: string;
|
|
80
|
-
uid?: string;
|
|
81
|
-
expiresAt?: number;
|
|
82
|
-
}): {
|
|
83
|
-
ok: boolean;
|
|
84
|
-
error?: string;
|
|
85
|
-
};
|
|
86
|
-
wallet(p: {
|
|
87
|
-
key: string;
|
|
88
|
-
workspace: string;
|
|
89
|
-
}): Promise<WalletAnswer>;
|
|
90
|
-
ask(key: string, receiver: string, data: Record<string, unknown>): Promise<AskEnvelope>;
|
|
91
|
-
sleep(ms: number): Promise<void>;
|
|
92
|
-
now(): number;
|
|
93
|
-
}
|
|
94
|
-
export interface JourneyOptions {
|
|
95
|
-
api: string;
|
|
96
|
-
name: string;
|
|
97
|
-
email?: string;
|
|
98
|
-
products: ProductSpec[];
|
|
99
|
-
/**
|
|
100
|
-
* Seconds to keep reading back the sale before ending at `pending`. 0 = read once.
|
|
101
|
-
* Unset: a first run reads once (nobody has been sent to pay yet); a re-run waits
|
|
102
|
-
* RERUN_WAIT_S, because the person was sent to pay and the webhook takes seconds.
|
|
103
|
-
*/
|
|
104
|
-
waitSeconds?: number;
|
|
105
|
-
/** Between read-backs while waiting. */
|
|
106
|
-
pollMs?: number;
|
|
107
|
-
}
|
|
108
|
-
export type StepName = 'key' | 'products' | 'sale' | 'handover';
|
|
109
|
-
export type StepStatus = 'done' | 'pending' | 'failed' | 'waiting';
|
|
110
|
-
export interface StepReport {
|
|
111
|
-
step: StepName;
|
|
112
|
-
status: StepStatus;
|
|
113
|
-
/** Already done on an earlier run — nothing was written this time. */
|
|
114
|
-
reused?: boolean;
|
|
115
|
-
detail: Record<string, unknown>;
|
|
116
|
-
}
|
|
117
|
-
export interface JourneyReport {
|
|
118
|
-
ok: boolean;
|
|
119
|
-
workspace?: string;
|
|
120
|
-
steps: StepReport[];
|
|
121
|
-
next?: string;
|
|
122
|
-
}
|
|
123
|
-
export declare const TEST_CARD = "4242 4242 4242 4242 \u00B7 any future expiry \u00B7 any CVC \u00B7 any postcode";
|
|
124
|
-
/**
|
|
125
|
-
* Measured 2026-11-03 (text/agent-path.md § 6): Stripe's webhook counted a paid sale
|
|
126
|
-
* 3.2 s after the receipt. A re-run straight after paying read 0 and stopped. 20 s at
|
|
127
|
-
* 2 s a read covers that six times over without holding a run that will never sell.
|
|
128
|
-
*/
|
|
129
|
-
export declare const RERUN_WAIT_S = 20;
|
|
130
|
-
export declare const RERUN_POLL_MS = 2000;
|
|
131
|
-
export declare const DEFAULT_PRODUCT: ProductSpec;
|
|
132
|
-
/** `"Name=9.99"` → a product in minor units. A spec that is not that shape is refused by name. */
|
|
133
|
-
export declare function parseProductSpec(raw: string, currency?: string): {
|
|
134
|
-
ok: true;
|
|
135
|
-
product: ProductSpec;
|
|
136
|
-
} | {
|
|
137
|
-
ok: false;
|
|
138
|
-
error: string;
|
|
139
|
-
};
|
|
140
|
-
/** One reading of an `/api/ask` answer. A dissolve and a refusal both arrive as 200. */
|
|
141
|
-
export declare function readAnswer(env: AskEnvelope, receiver: string): {
|
|
142
|
-
ok: true;
|
|
143
|
-
result: Record<string, unknown>;
|
|
144
|
-
} | {
|
|
145
|
-
ok: false;
|
|
146
|
-
error: string;
|
|
147
|
-
};
|
|
148
|
-
export declare function runJourney(deps: JourneyDeps, o: JourneyOptions): Promise<JourneyReport>;
|