@ouro.bot/cli 0.1.0-alpha.1320 → 0.1.0-alpha.1322
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.json +12 -0
- package/deploy/unraid/sanctuary.ouro/bundle-meta.json +1 -1
- package/deploy/unraid/sanctuary.xml +1 -1
- package/dist/repertoire/tools-commerce.js +23 -5
- package/dist/repertoire/tools-credential.js +34 -7
- package/dist/repertoire/tools-flight.js +33 -10
- package/dist/repertoire/tools-stripe.js +27 -7
- package/dist/repertoire/tools-user-profile.js +28 -8
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/changelog.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
|
|
3
3
|
"versions": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.1.0-alpha.1322",
|
|
6
|
+
"changes": [
|
|
7
|
+
"The credential and user profile tools carry Ouro AX cards, and their errors end with a code the card explains."
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"version": "0.1.0-alpha.1321",
|
|
12
|
+
"changes": [
|
|
13
|
+
"The flight, Stripe card and commerce checkout tools carry Ouro AX cards, and their errors end with a code the card explains."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.1.0-alpha.1320",
|
|
6
18
|
"changes": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<Container version="2">
|
|
3
3
|
<Name>ouro-butler</Name>
|
|
4
|
-
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.
|
|
4
|
+
<Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1322</Repository>
|
|
5
5
|
<Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
|
|
6
6
|
<Network>host</Network>
|
|
7
7
|
<Shell>sh</Shell>
|
|
@@ -4,11 +4,12 @@ exports.commerceToolDefinitions = void 0;
|
|
|
4
4
|
const identity_1 = require("../heart/identity");
|
|
5
5
|
const runtime_1 = require("../nerves/runtime");
|
|
6
6
|
const store_1 = require("../commerce/store");
|
|
7
|
+
const tools_base_1 = require("./tools-base");
|
|
7
8
|
function requireFamilyContext(ctx) {
|
|
8
9
|
if (!ctx?.context?.friend?.id)
|
|
9
|
-
return "no friend context — cannot use commerce tools.";
|
|
10
|
+
return (0, tools_base_1.withCode)("no friend context — cannot use commerce tools.", "no-friend-context");
|
|
10
11
|
if (ctx.context.friend.trustLevel !== "family")
|
|
11
|
-
return "commerce tools require family trust level.";
|
|
12
|
+
return (0, tools_base_1.withCode)("commerce tools require family trust level.", "family-required");
|
|
12
13
|
/* v8 ignore next -- no-agentRoot fallback depends on process argv; normal tool calls inject agentRoot @preserve */
|
|
13
14
|
if (ctx.agentRoot)
|
|
14
15
|
return { friendId: ctx.context.friend.id, agentRoot: ctx.agentRoot };
|
|
@@ -69,6 +70,9 @@ function validateToolConstraints(toolName, constraints) {
|
|
|
69
70
|
if (!constraints.merchant_categories)
|
|
70
71
|
throw new Error("constraints_json.merchant_categories is required for stripe_create_card");
|
|
71
72
|
}
|
|
73
|
+
const NO_FRIEND_ERROR = { code: "no-friend-context", means: "This call came from outside any conversation with a known person, so there is nobody to act for.", fix: "Use this tool only inside a conversation with the person you are acting for." };
|
|
74
|
+
const FAMILY_REQUIRED_ERROR = { code: "family-required", means: "The person in this conversation isn't family, and only family may spend or change bookings.", fix: "Don't retry; tell the person a family member has to ask for this." };
|
|
75
|
+
const GUARDRAIL_ERROR = { code: "guardrail-blocked", means: "The trust guardrail stopped the call before it ran, because this person may not use it.", fix: "Don't retry here; say what you can't do and leave it to someone with the trust it needs." };
|
|
72
76
|
exports.commerceToolDefinitions = [
|
|
73
77
|
{
|
|
74
78
|
tool: {
|
|
@@ -135,11 +139,15 @@ exports.commerceToolDefinitions = [
|
|
|
135
139
|
}, null, 2);
|
|
136
140
|
}
|
|
137
141
|
catch (error) {
|
|
138
|
-
return `commerce preview error: ${error instanceof Error ? error.message : /* v8 ignore next -- defensive non-Error parser failures */ String(error)}
|
|
142
|
+
return (0, tools_base_1.withCode)(`commerce preview error: ${error instanceof Error ? error.message : /* v8 ignore next -- defensive non-Error parser failures */ String(error)}`, "preview-failed");
|
|
139
143
|
}
|
|
140
144
|
},
|
|
141
145
|
summaryKeys: ["merchant", "amount", "currency"],
|
|
142
146
|
riskProfile: { mutates: "durable_state_write", risk: "high", reason: "creates a purchase mandate preview" },
|
|
147
|
+
ax: { id: "tool:commerce_checkout_preview", group: "turn-payments", when: "Pick this first for any purchase or booking: it records merchant, amount and tool, and returns the exact message the person must send.", effect: "write", errors: [
|
|
148
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
149
|
+
{ code: "preview-failed", means: "An argument is malformed, such as an inexact amount or items_json that isn't an array; the text names it.", fix: "Fix the argument the text names and preview again." },
|
|
150
|
+
] },
|
|
143
151
|
},
|
|
144
152
|
{
|
|
145
153
|
tool: {
|
|
@@ -185,11 +193,15 @@ exports.commerceToolDefinitions = [
|
|
|
185
193
|
}, null, 2);
|
|
186
194
|
}
|
|
187
195
|
catch (error) {
|
|
188
|
-
return `commerce commit error: ${error instanceof Error ? error.message : /* v8 ignore next -- defensive non-Error store failures */ String(error)}
|
|
196
|
+
return (0, tools_base_1.withCode)(`commerce commit error: ${error instanceof Error ? error.message : /* v8 ignore next -- defensive non-Error store failures */ String(error)}`, "commit-failed");
|
|
189
197
|
}
|
|
190
198
|
},
|
|
191
199
|
summaryKeys: ["checkout_id"],
|
|
192
200
|
riskProfile: { mutates: "durable_state_write", risk: "high", reason: "confirms a purchase mandate" },
|
|
201
|
+
ax: { id: "tool:commerce_checkout_commit", group: "turn-payments", when: "Pick this in the turn where the person sent the preview's confirmation message word for word, to turn it into one-use authority.", effect: "write", errors: [
|
|
202
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
203
|
+
{ code: "commit-failed", means: "The checkout is missing, expired, already used, or the message or digest doesn't match; the text says which.", fix: "If it expired or was used, preview again; otherwise wait for the person to send the confirmation message exactly." },
|
|
204
|
+
] },
|
|
193
205
|
},
|
|
194
206
|
{
|
|
195
207
|
tool: {
|
|
@@ -217,9 +229,13 @@ exports.commerceToolDefinitions = [
|
|
|
217
229
|
if (typeof guard === "string")
|
|
218
230
|
return guard;
|
|
219
231
|
const record = (0, store_1.readCommerceRecord)(guard.agentRoot, args.checkout_id);
|
|
220
|
-
return record ? JSON.stringify(record, null, 2) : `commerce checkout not found: ${args.checkout_id}
|
|
232
|
+
return record ? JSON.stringify(record, null, 2) : (0, tools_base_1.withCode)(`commerce checkout not found: ${args.checkout_id}`, "checkout-not-found");
|
|
221
233
|
},
|
|
222
234
|
summaryKeys: ["checkout_id"],
|
|
235
|
+
ax: { id: "tool:commerce_receipt_get", group: "turn-payments", when: "Pick this to read one checkout's full record, such as its status and approved amount, by checkout id; each read is logged.", effect: "write", errors: [
|
|
236
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
237
|
+
{ code: "checkout-not-found", means: "No checkout with that id is stored on this agent.", fix: "Find the right checkoutId in commerce_access_log, or start over with commerce_checkout_preview." },
|
|
238
|
+
] },
|
|
223
239
|
},
|
|
224
240
|
{
|
|
225
241
|
tool: {
|
|
@@ -249,5 +265,7 @@ exports.commerceToolDefinitions = [
|
|
|
249
265
|
return JSON.stringify((0, store_1.readCommerceAccessLog)(guard.agentRoot, Number.isInteger(limit) ? limit : 20), null, 2);
|
|
250
266
|
},
|
|
251
267
|
summaryKeys: ["limit"],
|
|
268
|
+
riskProfile: { mutates: "none", risk: "low", reason: "reads the commerce access log" },
|
|
269
|
+
ax: { id: "tool:commerce_access_log", group: "turn-payments", when: "Pick this to audit recent reads and changes of checkout records, oldest first, when something about a purchase looks wrong.", effect: "read", idempotent: true, errors: [NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR] },
|
|
252
270
|
},
|
|
253
271
|
];
|
|
@@ -35,6 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.credentialToolDefinitions = void 0;
|
|
37
37
|
const crypto = __importStar(require("node:crypto"));
|
|
38
|
+
const tools_base_1 = require("./tools-base");
|
|
38
39
|
const credential_access_1 = require("./credential-access");
|
|
39
40
|
const bitwarden_store_1 = require("./bitwarden-store");
|
|
40
41
|
const runtime_1 = require("../nerves/runtime");
|
|
@@ -126,6 +127,8 @@ function generatePassword(length, symbols) {
|
|
|
126
127
|
secureShuffle(chars);
|
|
127
128
|
return chars.join("");
|
|
128
129
|
}
|
|
130
|
+
const GUARDRAIL_ERROR = { code: "guardrail-blocked", means: "The trust guardrail stopped the call before it ran, because this person may not touch the vault this way.", fix: "Don't retry here; tell the person this needs someone with more trust, or another conversation." };
|
|
131
|
+
const CREDENTIAL_NOT_FOUND_ERROR = { code: "credential-not-found", means: "The vault has no item under that exact name or path.", fix: "Call credential_list with part of the name to find the item's exact path, then use that." };
|
|
129
132
|
exports.credentialToolDefinitions = [
|
|
130
133
|
{
|
|
131
134
|
tool: {
|
|
@@ -161,16 +164,21 @@ exports.credentialToolDefinitions = [
|
|
|
161
164
|
const store = (0, credential_access_1.getCredentialStore)();
|
|
162
165
|
const meta = await store.get(itemName);
|
|
163
166
|
if (!meta) {
|
|
164
|
-
return `No credential found for "${itemName}"
|
|
167
|
+
return (0, tools_base_1.withCode)(`No credential found for "${itemName}".`, "credential-not-found");
|
|
165
168
|
}
|
|
166
169
|
return JSON.stringify(meta, null, 2);
|
|
167
170
|
}
|
|
168
171
|
catch (err) {
|
|
169
172
|
/* v8 ignore next -- defensive: store.get wraps errors @preserve */
|
|
170
|
-
return `Credential error: ${err instanceof Error ? err.message : String(err)}
|
|
173
|
+
return (0, tools_base_1.withCode)(`Credential error: ${err instanceof Error ? err.message : String(err)}`, "credential-read-failed");
|
|
171
174
|
}
|
|
172
175
|
},
|
|
173
176
|
summaryKeys: ["domain"],
|
|
177
|
+
riskProfile: { mutates: "none", risk: "low", reason: "reads credential metadata; the password is never returned" },
|
|
178
|
+
ax: { id: "tool:credential_get", group: "turn-vault", when: "Pick this to check which username a saved login uses, by its vault path; the password stays hidden.", effect: "read", idempotent: true, errors: [
|
|
179
|
+
GUARDRAIL_ERROR, CREDENTIAL_NOT_FOUND_ERROR,
|
|
180
|
+
{ code: "credential-read-failed", means: "The vault couldn't be read; the text gives the reason, often that it is locked.", fix: "If it says locked, tell the person to unlock it with vault_setup's commands; otherwise retry once." },
|
|
181
|
+
] },
|
|
174
182
|
},
|
|
175
183
|
{
|
|
176
184
|
tool: {
|
|
@@ -220,10 +228,15 @@ exports.credentialToolDefinitions = [
|
|
|
220
228
|
}, null, 2);
|
|
221
229
|
}
|
|
222
230
|
catch (err) {
|
|
223
|
-
return `Credential password generation error: ${sanitizeCredentialToolError(err)}
|
|
231
|
+
return (0, tools_base_1.withCode)(`Credential password generation error: ${sanitizeCredentialToolError(err)}`, "password-generation-failed");
|
|
224
232
|
}
|
|
225
233
|
},
|
|
226
234
|
summaryKeys: ["domain", "length", "symbols"],
|
|
235
|
+
riskProfile: { mutates: "none", risk: "low", reason: "generates a password in memory; nothing is saved" },
|
|
236
|
+
ax: { id: "tool:credential_generate_password", group: "turn-vault", when: "Pick this when signing up somewhere new needs a strong password; save the one the site accepted with credential_store.", effect: "read", errors: [
|
|
237
|
+
GUARDRAIL_ERROR,
|
|
238
|
+
{ code: "password-generation-failed", means: "domain is blank, length isn't a whole number from 12 to 128, or symbols isn't true or false.", fix: "Fix the argument the text names; leave length and symbols out to get the defaults." },
|
|
239
|
+
] },
|
|
227
240
|
},
|
|
228
241
|
{
|
|
229
242
|
tool: {
|
|
@@ -286,11 +299,15 @@ exports.credentialToolDefinitions = [
|
|
|
286
299
|
}
|
|
287
300
|
catch (err) {
|
|
288
301
|
/* v8 ignore next -- defensive: store.store wraps errors @preserve */
|
|
289
|
-
return `Credential store error: ${sanitizeCredentialToolError(err, [password, username, notes])}
|
|
302
|
+
return (0, tools_base_1.withCode)(`Credential store error: ${sanitizeCredentialToolError(err, [password, username, notes])}`, "credential-store-failed");
|
|
290
303
|
}
|
|
291
304
|
},
|
|
292
305
|
summaryKeys: ["domain"],
|
|
293
306
|
riskProfile: { mutates: "durable_state_write", risk: "high", reason: "stores credential vault item" },
|
|
307
|
+
ax: { id: "tool:credential_store", group: "turn-vault", when: "Pick this right after an account is created or its password changes, to save the exact login the site accepted.", effect: "write", idempotent: true, errors: [
|
|
308
|
+
GUARDRAIL_ERROR,
|
|
309
|
+
{ code: "credential-store-failed", means: "An argument is blank or the vault refused the save; the text names which, with secrets redacted.", fix: "Fill in the item, username or password the text names; if the vault refused, check it is unlocked, then save again." },
|
|
310
|
+
] },
|
|
294
311
|
},
|
|
295
312
|
{
|
|
296
313
|
tool: {
|
|
@@ -329,10 +346,15 @@ exports.credentialToolDefinitions = [
|
|
|
329
346
|
}
|
|
330
347
|
catch (err) {
|
|
331
348
|
/* v8 ignore next -- defensive: store.list wraps errors @preserve */
|
|
332
|
-
return `Credential list error: ${err instanceof Error ? err.message : String(err)}
|
|
349
|
+
return (0, tools_base_1.withCode)(`Credential list error: ${err instanceof Error ? err.message : String(err)}`, "credential-list-failed");
|
|
333
350
|
}
|
|
334
351
|
},
|
|
335
352
|
summaryKeys: ["search"],
|
|
353
|
+
riskProfile: { mutates: "none", risk: "low", reason: "lists credential item names and usernames" },
|
|
354
|
+
ax: { id: "tool:credential_list", group: "turn-vault", when: "Pick this to find the exact vault path of a saved login, by part of its name or username, before credential_get.", effect: "read", idempotent: true, errors: [
|
|
355
|
+
GUARDRAIL_ERROR,
|
|
356
|
+
{ code: "credential-list-failed", means: "The vault couldn't be listed; the text gives the reason, often that it is locked.", fix: "If it says locked, tell the person to unlock it with vault_setup's commands; otherwise retry once." },
|
|
357
|
+
] },
|
|
336
358
|
},
|
|
337
359
|
{
|
|
338
360
|
tool: {
|
|
@@ -370,14 +392,19 @@ exports.credentialToolDefinitions = [
|
|
|
370
392
|
if (deleted) {
|
|
371
393
|
return `Credentials for "${itemName}" deleted.`;
|
|
372
394
|
}
|
|
373
|
-
return `No credential found for "${itemName}"
|
|
395
|
+
return (0, tools_base_1.withCode)(`No credential found for "${itemName}".`, "credential-not-found");
|
|
374
396
|
}
|
|
375
397
|
catch (err) {
|
|
376
398
|
/* v8 ignore next -- defensive: store.delete wraps errors @preserve */
|
|
377
|
-
return `Credential delete error: ${err instanceof Error ? err.message : String(err)}
|
|
399
|
+
return (0, tools_base_1.withCode)(`Credential delete error: ${err instanceof Error ? err.message : String(err)}`, "credential-delete-failed");
|
|
378
400
|
}
|
|
379
401
|
},
|
|
380
402
|
summaryKeys: ["domain"],
|
|
381
403
|
riskProfile: { mutates: "durable_state_write", risk: "high", reason: "deletes credential vault item" },
|
|
404
|
+
ax: { id: "tool:credential_delete", group: "turn-vault", when: "Pick this only when the person asks to forget a saved login, such as a closed account; it can't be undone.", effect: "write", destructive: true, idempotent: true, errors: [
|
|
405
|
+
GUARDRAIL_ERROR,
|
|
406
|
+
{ ...CREDENTIAL_NOT_FOUND_ERROR, fix: "Call credential_list to find the exact path; if nothing matches, it is already gone." },
|
|
407
|
+
{ code: "credential-delete-failed", means: "The vault refused the delete; the text gives the reason.", fix: "Check the vault is unlocked, then confirm with credential_list whether the item is still there before retrying." },
|
|
408
|
+
] },
|
|
382
409
|
},
|
|
383
410
|
];
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.flightToolDefinitions = void 0;
|
|
4
4
|
exports.resetDuffelClient = resetDuffelClient;
|
|
5
|
+
const tools_base_1 = require("./tools-base");
|
|
5
6
|
const duffel_client_1 = require("./duffel-client");
|
|
6
7
|
const user_profile_1 = require("./user-profile");
|
|
7
8
|
const credential_access_1 = require("./credential-access");
|
|
@@ -17,16 +18,16 @@ async function getDuffelClient() {
|
|
|
17
18
|
}
|
|
18
19
|
function requireFamilyContext(ctx) {
|
|
19
20
|
if (!ctx?.context?.friend?.id) {
|
|
20
|
-
return "no friend context — cannot access flight tools.";
|
|
21
|
+
return (0, tools_base_1.withCode)("no friend context — cannot access flight tools.", "no-friend-context");
|
|
21
22
|
}
|
|
22
23
|
if (ctx.context.friend.trustLevel !== "family") {
|
|
23
|
-
return "booking and cancellation require family trust level.";
|
|
24
|
+
return (0, tools_base_1.withCode)("booking and cancellation require family trust level.", "family-required");
|
|
24
25
|
}
|
|
25
26
|
return { friendId: ctx.context.friend.id };
|
|
26
27
|
}
|
|
27
28
|
function requireFriendContext(ctx) {
|
|
28
29
|
if (!ctx?.context?.friend?.id) {
|
|
29
|
-
return "no friend context — cannot search flights.";
|
|
30
|
+
return (0, tools_base_1.withCode)("no friend context — cannot search flights.", "no-friend-context");
|
|
30
31
|
}
|
|
31
32
|
return { friendId: ctx.context.friend.id };
|
|
32
33
|
}
|
|
@@ -46,7 +47,7 @@ function consumeReservedCommerce(ctx, toolName) {
|
|
|
46
47
|
toolName,
|
|
47
48
|
friendId: ctx.context?.friend?.id,
|
|
48
49
|
});
|
|
49
|
-
return result.ok ? null : `commerce authority consume error: ${result.reason}
|
|
50
|
+
return result.ok ? null : (0, tools_base_1.withCode)(`commerce authority consume error: ${result.reason}`, "commerce-consume-rejected");
|
|
50
51
|
}
|
|
51
52
|
function markCommerceAttempted(ctx, toolName) {
|
|
52
53
|
if (!ctx?.commerceAuthority || !ctx.agentRoot)
|
|
@@ -58,7 +59,7 @@ function markCommerceAttempted(ctx, toolName) {
|
|
|
58
59
|
toolName,
|
|
59
60
|
friendId: ctx.context?.friend?.id,
|
|
60
61
|
});
|
|
61
|
-
return result.ok ? null : `commerce authority attempt error: ${result.reason}
|
|
62
|
+
return result.ok ? null : (0, tools_base_1.withCode)(`commerce authority attempt error: ${result.reason}`, "commerce-attempt-rejected");
|
|
62
63
|
}
|
|
63
64
|
function normalizeCurrency(raw) {
|
|
64
65
|
return raw.trim().toLowerCase();
|
|
@@ -67,6 +68,12 @@ function orderMatchesApprovedTotal(input, amount, currency) {
|
|
|
67
68
|
const orderAmount = parseExactAmount(input.totalAmount);
|
|
68
69
|
return orderAmount === amount && normalizeCurrency(input.totalCurrency) === normalizeCurrency(currency);
|
|
69
70
|
}
|
|
71
|
+
const NO_FRIEND_ERROR = { code: "no-friend-context", means: "This call came from outside any conversation with a known person, so there is nobody to act for.", fix: "Use this tool only inside a conversation with the person you are acting for." };
|
|
72
|
+
const FAMILY_REQUIRED_ERROR = { code: "family-required", means: "The person in this conversation isn't family, and only family may spend or change bookings.", fix: "Don't retry; tell the person a family member has to ask for this." };
|
|
73
|
+
const GUARDRAIL_ERROR = { code: "guardrail-blocked", means: "The trust guardrail stopped the call before it ran, because this person may not use it.", fix: "Don't retry here; say what you can't do and leave it to someone with the trust it needs." };
|
|
74
|
+
const AUTHORITY_REQUIRED_ERROR = { code: "commerce-authority-required", means: "No confirmed checkout matches this call's merchant, tool, amount, currency and constraints.", fix: "Run commerce_checkout_preview for exactly this call, get the person's confirmation, then commerce_checkout_commit." };
|
|
75
|
+
const ATTEMPT_REJECTED_ERROR = { code: "commerce-attempt-rejected", means: "The confirmed checkout couldn't be marked as in use, so nothing was sent to the provider.", fix: "Open the checkout with commerce_receipt_get to see its status, and start a new preview if it has expired or been used." };
|
|
76
|
+
const CONSUME_REJECTED_ERROR = { code: "commerce-consume-rejected", means: "The provider call went through, but the checkout couldn't be marked used afterwards.", fix: "Tell the person what went through, and check the checkout with commerce_receipt_get before any retry." };
|
|
70
77
|
exports.flightToolDefinitions = [
|
|
71
78
|
{
|
|
72
79
|
tool: {
|
|
@@ -117,10 +124,15 @@ exports.flightToolDefinitions = [
|
|
|
117
124
|
}
|
|
118
125
|
catch (err) {
|
|
119
126
|
/* v8 ignore next -- defensive @preserve */
|
|
120
|
-
return `flight search error: ${err instanceof Error ? err.message : String(err)}
|
|
127
|
+
return (0, tools_base_1.withCode)(`flight search error: ${err instanceof Error ? err.message : String(err)}`, "flight-search-failed");
|
|
121
128
|
}
|
|
122
129
|
},
|
|
123
130
|
summaryKeys: ["origin", "destination", "departure_date"],
|
|
131
|
+
riskProfile: { mutates: "none", risk: "low", reason: "searches flight offers; it reserves and pays for nothing" },
|
|
132
|
+
ax: { id: "tool:flight_search", group: "turn-travel", when: "Pick this to find priced flight offers between two airports on a date, before any hold or booking; it reserves nothing.", effect: "read", errors: [
|
|
133
|
+
NO_FRIEND_ERROR, GUARDRAIL_ERROR,
|
|
134
|
+
{ code: "flight-search-failed", means: "The flight provider couldn't be reached or rejected the search; the text gives its reason.", fix: "Check the airport codes and date format, then search again; if it still fails, say flight search is down." },
|
|
135
|
+
] },
|
|
124
136
|
},
|
|
125
137
|
{
|
|
126
138
|
tool: {
|
|
@@ -170,6 +182,7 @@ exports.flightToolDefinitions = [
|
|
|
170
182
|
},
|
|
171
183
|
summaryKeys: ["offer_id"],
|
|
172
184
|
riskProfile: { mutates: "external_side_effect", risk: "high", reason: "requests an airline offer hold" },
|
|
185
|
+
ax: { id: "tool:flight_hold", group: "turn-travel", when: "Pick this to keep a chosen offer's price without paying yet, once the person confirmed a checkout for that hold.", effect: "write", errors: [NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR, AUTHORITY_REQUIRED_ERROR, ATTEMPT_REJECTED_ERROR, CONSUME_REJECTED_ERROR] },
|
|
173
186
|
},
|
|
174
187
|
{
|
|
175
188
|
tool: {
|
|
@@ -206,7 +219,7 @@ exports.flightToolDefinitions = [
|
|
|
206
219
|
// Get passenger data from profile
|
|
207
220
|
const legalName = await (0, user_profile_1.getUserProfileField)(guard.friendId, "legalName", store);
|
|
208
221
|
if (!legalName) {
|
|
209
|
-
return "passenger profile not found — please store your profile first using user_profile_store.";
|
|
222
|
+
return (0, tools_base_1.withCode)("passenger profile not found — please store your profile first using user_profile_store.", "passenger-profile-missing");
|
|
210
223
|
}
|
|
211
224
|
const dateOfBirth = await (0, user_profile_1.getUserProfileField)(guard.friendId, "dateOfBirth", store);
|
|
212
225
|
const passport = await (0, user_profile_1.getUserProfileField)(guard.friendId, "passport", store);
|
|
@@ -230,7 +243,7 @@ exports.flightToolDefinitions = [
|
|
|
230
243
|
currency,
|
|
231
244
|
});
|
|
232
245
|
if (!orderMatchesApprovedTotal(result, amount, currency)) {
|
|
233
|
-
return `booking error: completed order total ${result.totalAmount} ${result.totalCurrency} does not match approved ${args.amount} ${args.currency}
|
|
246
|
+
return (0, tools_base_1.withCode)(`booking error: completed order total ${result.totalAmount} ${result.totalCurrency} does not match approved ${args.amount} ${args.currency}`, "order-total-mismatch");
|
|
234
247
|
}
|
|
235
248
|
const consumeError = consumeReservedCommerce(ctx, "flight_book");
|
|
236
249
|
if (consumeError)
|
|
@@ -239,11 +252,17 @@ exports.flightToolDefinitions = [
|
|
|
239
252
|
}
|
|
240
253
|
catch (err) {
|
|
241
254
|
/* v8 ignore next -- defensive @preserve */
|
|
242
|
-
return `booking error: ${err instanceof Error ? err.message : String(err)}
|
|
255
|
+
return (0, tools_base_1.withCode)(`booking error: ${err instanceof Error ? err.message : String(err)}`, "booking-failed");
|
|
243
256
|
}
|
|
244
257
|
},
|
|
245
258
|
summaryKeys: ["offer_id", "amount"],
|
|
246
259
|
riskProfile: { mutates: "external_side_effect", risk: "high", reason: "books travel through an external provider" },
|
|
260
|
+
ax: { id: "tool:flight_book", group: "turn-travel", when: "Pick this to buy a chosen offer for the stored passenger, only after commerce_checkout_commit confirmed that exact amount.", effect: "write", errors: [
|
|
261
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR, AUTHORITY_REQUIRED_ERROR, ATTEMPT_REJECTED_ERROR, CONSUME_REJECTED_ERROR,
|
|
262
|
+
{ code: "passenger-profile-missing", means: "No passenger name and passport are stored for this person, so the airline has no traveller.", fix: "Ask the person for their legal name and passport details, save them with user_profile_store, then book." },
|
|
263
|
+
{ code: "order-total-mismatch", means: "The airline booked the order, but its total differs from the approved amount.", fix: "Tell the person the booked total now, and ask whether to keep it or cancel it with flight_cancel." },
|
|
264
|
+
{ code: "booking-failed", means: "The provider refused or lost the booking; the text gives its reason, and the checkout stays marked in use.", fix: "Check with commerce_receipt_get before retrying, and search again if the offer has expired." },
|
|
265
|
+
] },
|
|
247
266
|
},
|
|
248
267
|
{
|
|
249
268
|
tool: {
|
|
@@ -277,11 +296,15 @@ exports.flightToolDefinitions = [
|
|
|
277
296
|
}
|
|
278
297
|
catch (err) {
|
|
279
298
|
/* v8 ignore next -- defensive @preserve */
|
|
280
|
-
return `cancellation error: ${err instanceof Error ? err.message : String(err)}
|
|
299
|
+
return (0, tools_base_1.withCode)(`cancellation error: ${err instanceof Error ? err.message : String(err)}`, "cancellation-failed");
|
|
281
300
|
}
|
|
282
301
|
},
|
|
283
302
|
summaryKeys: ["order_id"],
|
|
284
303
|
riskProfile: { mutates: "external_side_effect", risk: "high", reason: "cancels travel through an external provider" },
|
|
304
|
+
ax: { id: "tool:flight_cancel", group: "turn-travel", when: "Pick this to call off a flight order that is already booked, by its order id, when the person asks to cancel the trip.", effect: "write", destructive: true, errors: [
|
|
305
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
306
|
+
{ code: "cancellation-failed", means: "The provider couldn't cancel the order; the text gives its reason.", fix: "Check the order id with the person, and if it is right, tell them to cancel through the airline." },
|
|
307
|
+
] },
|
|
285
308
|
},
|
|
286
309
|
];
|
|
287
310
|
/** Reset the Duffel client singleton (for testing). */
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stripeToolDefinitions = void 0;
|
|
4
4
|
exports.resetStripeClient = resetStripeClient;
|
|
5
|
+
const tools_base_1 = require("./tools-base");
|
|
5
6
|
const stripe_client_1 = require("./stripe-client");
|
|
6
7
|
const runtime_1 = require("../nerves/runtime");
|
|
7
8
|
const store_1 = require("../commerce/store");
|
|
@@ -15,10 +16,10 @@ async function getStripeClient() {
|
|
|
15
16
|
}
|
|
16
17
|
function requireFamilyContext(ctx) {
|
|
17
18
|
if (!ctx?.context?.friend?.id) {
|
|
18
|
-
return "no friend context — cannot access payment tools.";
|
|
19
|
+
return (0, tools_base_1.withCode)("no friend context — cannot access payment tools.", "no-friend-context");
|
|
19
20
|
}
|
|
20
21
|
if (ctx.context.friend.trustLevel !== "family") {
|
|
21
|
-
return "payment tools require family trust level.";
|
|
22
|
+
return (0, tools_base_1.withCode)("payment tools require family trust level.", "family-required");
|
|
22
23
|
}
|
|
23
24
|
return { friendId: ctx.context.friend.id };
|
|
24
25
|
}
|
|
@@ -38,7 +39,7 @@ function consumeReservedCommerce(ctx, toolName) {
|
|
|
38
39
|
toolName,
|
|
39
40
|
friendId: ctx.context?.friend?.id,
|
|
40
41
|
});
|
|
41
|
-
return result.ok ? null : `commerce authority consume error: ${result.reason}
|
|
42
|
+
return result.ok ? null : (0, tools_base_1.withCode)(`commerce authority consume error: ${result.reason}`, "commerce-consume-rejected");
|
|
42
43
|
}
|
|
43
44
|
function markCommerceAttempted(ctx, toolName) {
|
|
44
45
|
if (!ctx?.commerceAuthority || !ctx.agentRoot)
|
|
@@ -50,8 +51,14 @@ function markCommerceAttempted(ctx, toolName) {
|
|
|
50
51
|
toolName,
|
|
51
52
|
friendId: ctx.context?.friend?.id,
|
|
52
53
|
});
|
|
53
|
-
return result.ok ? null : `commerce authority attempt error: ${result.reason}
|
|
54
|
+
return result.ok ? null : (0, tools_base_1.withCode)(`commerce authority attempt error: ${result.reason}`, "commerce-attempt-rejected");
|
|
54
55
|
}
|
|
56
|
+
const NO_FRIEND_ERROR = { code: "no-friend-context", means: "This call came from outside any conversation with a known person, so there is nobody to act for.", fix: "Use this tool only inside a conversation with the person you are acting for." };
|
|
57
|
+
const FAMILY_REQUIRED_ERROR = { code: "family-required", means: "The person in this conversation isn't family, and only family may spend or change bookings.", fix: "Don't retry; tell the person a family member has to ask for this." };
|
|
58
|
+
const GUARDRAIL_ERROR = { code: "guardrail-blocked", means: "The trust guardrail stopped the call before it ran, because this person may not use it.", fix: "Don't retry here; say what you can't do and leave it to someone with the trust it needs." };
|
|
59
|
+
const AUTHORITY_REQUIRED_ERROR = { code: "commerce-authority-required", means: "No confirmed checkout matches this call's merchant, tool, amount, currency and constraints.", fix: "Run commerce_checkout_preview for exactly this call, get the person's confirmation, then commerce_checkout_commit." };
|
|
60
|
+
const ATTEMPT_REJECTED_ERROR = { code: "commerce-attempt-rejected", means: "The confirmed checkout couldn't be marked as in use, so nothing was sent to the provider.", fix: "Open the checkout with commerce_receipt_get to see its status, and start a new preview if it has expired or been used." };
|
|
61
|
+
const CONSUME_REJECTED_ERROR = { code: "commerce-consume-rejected", means: "The provider call went through, but the checkout couldn't be marked used afterwards.", fix: "Tell the person what went through, and check the checkout with commerce_receipt_get before any retry." };
|
|
55
62
|
exports.stripeToolDefinitions = [
|
|
56
63
|
{
|
|
57
64
|
tool: {
|
|
@@ -125,11 +132,15 @@ exports.stripeToolDefinitions = [
|
|
|
125
132
|
}
|
|
126
133
|
catch (err) {
|
|
127
134
|
/* v8 ignore next -- defensive: Stripe errors are always Error instances @preserve */
|
|
128
|
-
return `card creation error: ${err instanceof Error ? err.message : String(err)}
|
|
135
|
+
return (0, tools_base_1.withCode)(`card creation error: ${err instanceof Error ? err.message : String(err)}`, "card-creation-failed");
|
|
129
136
|
}
|
|
130
137
|
},
|
|
131
138
|
summaryKeys: ["type", "spend_limit", "currency"],
|
|
132
139
|
riskProfile: { mutates: "external_side_effect", risk: "high", reason: "creates a virtual payment card" },
|
|
140
|
+
ax: { id: "tool:stripe_create_card", group: "turn-payments", when: "Pick this to make a single-use or capped virtual card for one confirmed purchase, after commerce_checkout_commit.", effect: "write", errors: [
|
|
141
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR, AUTHORITY_REQUIRED_ERROR, ATTEMPT_REJECTED_ERROR, CONSUME_REJECTED_ERROR,
|
|
142
|
+
{ code: "card-creation-failed", means: "Stripe refused or lost the request; the text gives its reason, and the checkout stays marked in use.", fix: "Call stripe_list_cards to see whether a card was made before trying again with a new checkout." },
|
|
143
|
+
] },
|
|
133
144
|
},
|
|
134
145
|
{
|
|
135
146
|
tool: {
|
|
@@ -170,11 +181,15 @@ exports.stripeToolDefinitions = [
|
|
|
170
181
|
}
|
|
171
182
|
catch (err) {
|
|
172
183
|
/* v8 ignore next -- defensive: Stripe errors are always Error instances @preserve */
|
|
173
|
-
return `card deactivation error: ${err instanceof Error ? err.message : String(err)}
|
|
184
|
+
return (0, tools_base_1.withCode)(`card deactivation error: ${err instanceof Error ? err.message : String(err)}`, "card-deactivation-failed");
|
|
174
185
|
}
|
|
175
186
|
},
|
|
176
187
|
summaryKeys: ["card_id"],
|
|
177
188
|
riskProfile: { mutates: "external_side_effect", risk: "high", reason: "deactivates a virtual payment card" },
|
|
189
|
+
ax: { id: "tool:stripe_deactivate_card", group: "turn-payments", when: "Pick this to switch off a virtual card that is spent or no longer wanted, so nothing more can be charged to it.", effect: "write", idempotent: true, errors: [
|
|
190
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
191
|
+
{ code: "card-deactivation-failed", means: "Stripe couldn't switch the card off; the text gives its reason.", fix: "Check the card id against stripe_list_cards, then try again with the right one." },
|
|
192
|
+
] },
|
|
178
193
|
},
|
|
179
194
|
{
|
|
180
195
|
tool: {
|
|
@@ -212,10 +227,15 @@ exports.stripeToolDefinitions = [
|
|
|
212
227
|
}
|
|
213
228
|
catch (err) {
|
|
214
229
|
/* v8 ignore next -- defensive: Stripe errors are always Error instances @preserve */
|
|
215
|
-
return `card listing error: ${err instanceof Error ? err.message : String(err)}
|
|
230
|
+
return (0, tools_base_1.withCode)(`card listing error: ${err instanceof Error ? err.message : String(err)}`, "card-listing-failed");
|
|
216
231
|
}
|
|
217
232
|
},
|
|
218
233
|
summaryKeys: [],
|
|
234
|
+
riskProfile: { mutates: "none", risk: "low", reason: "lists active virtual cards" },
|
|
235
|
+
ax: { id: "tool:stripe_list_cards", group: "turn-payments", when: "Pick this to see which virtual cards are still active and their limits, before making a new one or switching one off.", effect: "read", idempotent: true, errors: [
|
|
236
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
237
|
+
{ code: "card-listing-failed", means: "Stripe couldn't be reached or refused the request; the text gives its reason.", fix: "Try once more; if it still fails, tell the person card details are unavailable right now." },
|
|
238
|
+
] },
|
|
219
239
|
},
|
|
220
240
|
];
|
|
221
241
|
/** Reset the Stripe client singleton (for testing). */
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.userProfileToolDefinitions = void 0;
|
|
4
|
+
const tools_base_1 = require("./tools-base");
|
|
4
5
|
const user_profile_1 = require("./user-profile");
|
|
5
6
|
const credential_access_1 = require("./credential-access");
|
|
6
7
|
const runtime_1 = require("../nerves/runtime");
|
|
7
8
|
function requireFamilyContext(ctx) {
|
|
8
9
|
if (!ctx?.context?.friend?.id) {
|
|
9
|
-
return "no friend context — cannot access user profile.";
|
|
10
|
+
return (0, tools_base_1.withCode)("no friend context — cannot access user profile.", "no-friend-context");
|
|
10
11
|
}
|
|
11
12
|
if (ctx.context.friend.trustLevel !== "family") {
|
|
12
|
-
return "user profile access requires family trust level.";
|
|
13
|
+
return (0, tools_base_1.withCode)("user profile access requires family trust level.", "family-required");
|
|
13
14
|
}
|
|
14
15
|
return { friendId: ctx.context.friend.id };
|
|
15
16
|
}
|
|
17
|
+
const NO_FRIEND_ERROR = { code: "no-friend-context", means: "This call came from outside any conversation with a known person, so there is no profile to use.", fix: "Use this only inside a conversation with the person whose profile it is." };
|
|
18
|
+
const FAMILY_REQUIRED_ERROR = { code: "family-required", means: "The person in this conversation isn't family, and profiles hold passport-level details.", fix: "Don't retry; tell the person only a family member can see or change these details." };
|
|
19
|
+
const GUARDRAIL_ERROR = { code: "guardrail-blocked", means: "The trust guardrail stopped the call before it ran, because only family may touch profile details.", fix: "Don't retry; tell the person only a family member can see or change these details." };
|
|
16
20
|
exports.userProfileToolDefinitions = [
|
|
17
21
|
{
|
|
18
22
|
tool: {
|
|
@@ -47,7 +51,7 @@ exports.userProfileToolDefinitions = [
|
|
|
47
51
|
fields = JSON.parse(args.fields);
|
|
48
52
|
}
|
|
49
53
|
catch {
|
|
50
|
-
return "invalid JSON in fields parameter.";
|
|
54
|
+
return (0, tools_base_1.withCode)("invalid JSON in fields parameter.", "profile-fields-invalid");
|
|
51
55
|
}
|
|
52
56
|
try {
|
|
53
57
|
const store = (0, credential_access_1.getCredentialStore)();
|
|
@@ -56,11 +60,16 @@ exports.userProfileToolDefinitions = [
|
|
|
56
60
|
}
|
|
57
61
|
catch (err) {
|
|
58
62
|
/* v8 ignore next -- defensive: updateUserProfileFields errors are always Error instances @preserve */
|
|
59
|
-
return `failed to store profile: ${err instanceof Error ? err.message : String(err)}
|
|
63
|
+
return (0, tools_base_1.withCode)(`failed to store profile: ${err instanceof Error ? err.message : String(err)}`, "profile-store-failed");
|
|
60
64
|
}
|
|
61
65
|
},
|
|
62
66
|
summaryKeys: ["fields"],
|
|
63
67
|
riskProfile: { mutates: "durable_state_write", risk: "high", reason: "stores user profile vault fields" },
|
|
68
|
+
ax: { id: "tool:user_profile_store", group: "turn-vault", when: "Pick this when the person gives details a booking needs, such as their legal name or passport, to keep them for next time.", effect: "write", idempotent: true, errors: [
|
|
69
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
70
|
+
{ code: "profile-fields-invalid", means: "fields isn't valid JSON.", fix: "Send fields as a JSON object string, such as {\"email\":\"a@b.com\"}." },
|
|
71
|
+
{ code: "profile-store-failed", means: "The vault refused the save; the text gives the reason.", fix: "Check the vault is unlocked with vault_setup's commands, then save again." },
|
|
72
|
+
] },
|
|
64
73
|
},
|
|
65
74
|
{
|
|
66
75
|
tool: {
|
|
@@ -94,17 +103,23 @@ exports.userProfileToolDefinitions = [
|
|
|
94
103
|
const store = (0, credential_access_1.getCredentialStore)();
|
|
95
104
|
const value = await (0, user_profile_1.getUserProfileField)(guard.friendId, args.field, store);
|
|
96
105
|
if (value === undefined) {
|
|
97
|
-
return `field "${args.field}" is not set on the profile
|
|
106
|
+
return (0, tools_base_1.withCode)(`field "${args.field}" is not set on the profile.`, "profile-field-not-set");
|
|
98
107
|
}
|
|
99
108
|
/* v8 ignore next -- platform-dependent v8 branch counting on ternary @preserve */
|
|
100
109
|
return typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
101
110
|
}
|
|
102
111
|
catch (err) {
|
|
103
112
|
/* v8 ignore next -- defensive: getUserProfileField errors are always Error instances @preserve */
|
|
104
|
-
return `failed to get profile field: ${err instanceof Error ? err.message : String(err)}
|
|
113
|
+
return (0, tools_base_1.withCode)(`failed to get profile field: ${err instanceof Error ? err.message : String(err)}`, "profile-read-failed");
|
|
105
114
|
}
|
|
106
115
|
},
|
|
107
116
|
summaryKeys: ["field"],
|
|
117
|
+
riskProfile: { mutates: "none", risk: "low", reason: "reads one profile field from the vault" },
|
|
118
|
+
ax: { id: "tool:user_profile_get", group: "turn-vault", when: "Pick this to fill one form field from the person's saved details, such as their date of birth, without exposing the rest.", effect: "read", idempotent: true, errors: [
|
|
119
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
120
|
+
{ code: "profile-field-not-set", means: "The profile exists but has nothing saved in that field.", fix: "Ask the person for it, then save it with user_profile_store." },
|
|
121
|
+
{ code: "profile-read-failed", means: "The vault couldn't be read; the text gives the reason.", fix: "Check the vault is unlocked with vault_setup's commands, then read again." },
|
|
122
|
+
] },
|
|
108
123
|
},
|
|
109
124
|
{
|
|
110
125
|
tool: {
|
|
@@ -133,14 +148,19 @@ exports.userProfileToolDefinitions = [
|
|
|
133
148
|
const deleted = await (0, user_profile_1.deleteUserProfile)(guard.friendId, store);
|
|
134
149
|
return deleted
|
|
135
150
|
? `profile deleted for ${guard.friendId}.`
|
|
136
|
-
: `no profile found for ${guard.friendId}
|
|
151
|
+
: (0, tools_base_1.withCode)(`no profile found for ${guard.friendId}.`, "profile-not-found");
|
|
137
152
|
}
|
|
138
153
|
catch (err) {
|
|
139
154
|
/* v8 ignore next -- defensive: deleteUserProfile errors are always Error instances @preserve */
|
|
140
|
-
return `failed to delete profile: ${err instanceof Error ? err.message : String(err)}
|
|
155
|
+
return (0, tools_base_1.withCode)(`failed to delete profile: ${err instanceof Error ? err.message : String(err)}`, "profile-delete-failed");
|
|
141
156
|
}
|
|
142
157
|
},
|
|
143
158
|
summaryKeys: [],
|
|
144
159
|
riskProfile: { mutates: "durable_state_write", risk: "high", reason: "deletes user profile vault item" },
|
|
160
|
+
ax: { id: "tool:user_profile_delete", group: "turn-vault", when: "Pick this only when the person asks to erase everything saved about them; every field goes and it can't be undone.", effect: "write", destructive: true, idempotent: true, errors: [
|
|
161
|
+
NO_FRIEND_ERROR, FAMILY_REQUIRED_ERROR, GUARDRAIL_ERROR,
|
|
162
|
+
{ code: "profile-not-found", means: "Nothing is saved for this person, so there was nothing to delete.", fix: "Tell the person no details were saved; there's nothing more to do." },
|
|
163
|
+
{ code: "profile-delete-failed", means: "The vault refused the delete; the text gives the reason.", fix: "Check the vault is unlocked, then read a field with user_profile_get to see whether the profile is still there." },
|
|
164
|
+
] },
|
|
145
165
|
},
|
|
146
166
|
];
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouro.bot/cli",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.1322",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ouro.bot/cli",
|
|
9
|
-
"version": "0.1.0-alpha.
|
|
9
|
+
"version": "0.1.0-alpha.1322",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"@ouro.bot/friends"
|
|
12
12
|
],
|