@agentgates/cli 0.11.1 → 0.11.2
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/dist/cli.mjs +19 -11
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -34297,7 +34297,7 @@ var require_package = __commonJS({
|
|
|
34297
34297
|
"package.json"(exports, module) {
|
|
34298
34298
|
module.exports = {
|
|
34299
34299
|
name: "@agentgates/cli",
|
|
34300
|
-
version: "0.11.
|
|
34300
|
+
version: "0.11.2",
|
|
34301
34301
|
description: "Wallet operations for AI agents and humans",
|
|
34302
34302
|
keywords: [
|
|
34303
34303
|
"crypto",
|
|
@@ -35558,20 +35558,18 @@ async function inferenceModels(opts) {
|
|
|
35558
35558
|
process.stdout.write(JSON.stringify({ ...body, models: matched }, null, 2) + "\n");
|
|
35559
35559
|
return;
|
|
35560
35560
|
}
|
|
35561
|
-
|
|
35562
|
-
|
|
35563
|
-
|
|
35564
|
-
${import_picocolors4.default.bold("MODELS")} ${import_picocolors4.default.dim(headline)}
|
|
35561
|
+
if (filtered && matched.length === 0) {
|
|
35562
|
+
process.stdout.write(`
|
|
35563
|
+
${import_picocolors4.default.bold("MODELS")} ${import_picocolors4.default.dim(`0 of ${all.length} match`)}
|
|
35565
35564
|
|
|
35566
35565
|
`);
|
|
35567
|
-
if (filtered && matched.length === 0) {
|
|
35568
35566
|
const vocab = [...new Set(all.flatMap((m) => m.tags ?? []))].sort().join(", ");
|
|
35569
35567
|
process.stdout.write(` ${import_picocolors4.default.dim(`nothing matches. tags on this board: ${vocab || "none"}; tiers: confidential, open`)}
|
|
35570
35568
|
|
|
35571
35569
|
`);
|
|
35572
35570
|
return;
|
|
35573
35571
|
}
|
|
35574
|
-
|
|
35572
|
+
const row = (m) => {
|
|
35575
35573
|
const tier = m.confidential ? import_picocolors4.default.cyan("attested") : import_picocolors4.default.dim("open");
|
|
35576
35574
|
const ask = m.typicalAskUsd ? `~$${Number(m.typicalAskUsd).toFixed(3)}/ask` : "";
|
|
35577
35575
|
const tags = (m.tags ?? []).join(" ");
|
|
@@ -35580,14 +35578,24 @@ async function inferenceModels(opts) {
|
|
|
35580
35578
|
process.stdout.write(` ${import_picocolors4.default.dim(m.id.padEnd(22))} ${import_picocolors4.default.dim(`$${m.priceInUsdPerMTokens} in \xB7 $${m.priceOutUsdPerMTokens} out /M`)}
|
|
35581
35579
|
|
|
35582
35580
|
`);
|
|
35583
|
-
}
|
|
35584
|
-
|
|
35585
|
-
|
|
35581
|
+
};
|
|
35582
|
+
const open2 = matched.filter((m) => !m.confidential);
|
|
35583
|
+
const attested = matched.filter((m) => m.confidential);
|
|
35584
|
+
const headline = filtered ? `${matched.length} of ${all.length} match` : `all ${all.length} \xB7 attested tier last`;
|
|
35585
|
+
process.stdout.write(`
|
|
35586
|
+
${import_picocolors4.default.bold("MODELS")} ${import_picocolors4.default.dim(headline)}
|
|
35587
|
+
|
|
35586
35588
|
`);
|
|
35587
|
-
|
|
35589
|
+
for (const m of open2) row(m);
|
|
35590
|
+
if (attested.length) {
|
|
35591
|
+
process.stdout.write(` ${import_picocolors4.default.bold("ATTESTED")} ${import_picocolors4.default.dim(`${attested.length} confidential, memory encrypted in use`)}
|
|
35588
35592
|
|
|
35589
35593
|
`);
|
|
35594
|
+
for (const m of attested) row(m);
|
|
35590
35595
|
}
|
|
35596
|
+
process.stdout.write(` ${import_picocolors4.default.dim("filters: --tier confidential|open \xB7 --tag frontier \xB7 --org anthropic \xB7 --search gpt \xB7 --json")}
|
|
35597
|
+
|
|
35598
|
+
`);
|
|
35591
35599
|
}
|
|
35592
35600
|
async function inferenceAsk() {
|
|
35593
35601
|
process.stdout.write(
|