oculon 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -17
- package/dist/cli/main.js +397 -0
- package/dist/core/calls.d.ts +63 -0
- package/dist/core/calls.js +120 -0
- package/dist/core/der.d.ts +2 -0
- package/dist/core/der.js +17 -0
- package/dist/core/http.d.ts +30 -1
- package/dist/core/http.js +133 -29
- package/dist/core/pdf.d.ts +51 -0
- package/dist/core/pdf.js +211 -0
- package/dist/core/qr.d.ts +23 -0
- package/dist/core/qr.js +577 -0
- package/dist/core/quota.js +5 -0
- package/dist/core/raster.d.ts +6 -0
- package/dist/core/raster.js +298 -0
- package/dist/core/safeurl.d.ts +5 -0
- package/dist/core/safeurl.js +26 -0
- package/dist/core/verdict.d.ts +30 -0
- package/dist/core/verdict.js +164 -0
- package/dist/core/zip.d.ts +9 -0
- package/dist/core/zip.js +46 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +128 -0
- package/dist/mcp.d.ts +1 -0
- package/dist/mcp.js +256 -6
- package/dist/modules/address.d.ts +6 -2
- package/dist/modules/address.js +32 -5
- package/dist/modules/apk.d.ts +37 -0
- package/dist/modules/apk.js +191 -0
- package/dist/modules/approvals.d.ts +40 -0
- package/dist/modules/approvals.js +155 -0
- package/dist/modules/archive.d.ts +21 -0
- package/dist/modules/archive.js +94 -0
- package/dist/modules/checks.d.ts +59 -0
- package/dist/modules/checks.js +167 -0
- package/dist/modules/contract.d.ts +56 -0
- package/dist/modules/contract.js +167 -0
- package/dist/modules/deployer.d.ts +42 -0
- package/dist/modules/deployer.js +90 -0
- package/dist/modules/doc.d.ts +83 -0
- package/dist/modules/doc.js +841 -0
- package/dist/modules/eml.d.ts +46 -0
- package/dist/modules/eml.js +175 -0
- package/dist/modules/hashcheck.d.ts +19 -3
- package/dist/modules/hashcheck.js +28 -4
- package/dist/modules/image.d.ts +32 -0
- package/dist/modules/image.js +276 -0
- package/dist/modules/invite.d.ts +27 -0
- package/dist/modules/invite.js +69 -0
- package/dist/modules/job.d.ts +33 -0
- package/dist/modules/job.js +64 -0
- package/dist/modules/meerkat.d.ts +1 -1
- package/dist/modules/meerkat.js +35 -2
- package/dist/modules/monitor.js +14 -0
- package/dist/modules/poisoning.d.ts +43 -0
- package/dist/modules/poisoning.js +114 -0
- package/dist/modules/qrcheck.d.ts +24 -0
- package/dist/modules/qrcheck.js +136 -0
- package/dist/modules/repo.d.ts +61 -0
- package/dist/modules/repo.js +162 -0
- package/dist/modules/report.d.ts +32 -0
- package/dist/modules/report.js +108 -0
- package/dist/modules/signature.d.ts +35 -0
- package/dist/modules/signature.js +283 -0
- package/dist/modules/site.d.ts +62 -0
- package/dist/modules/site.js +191 -0
- package/dist/modules/stocktoken.d.ts +48 -0
- package/dist/modules/stocktoken.js +99 -0
- package/dist/modules/trace.d.ts +37 -0
- package/dist/modules/trace.js +150 -0
- package/dist/modules/txexplain.d.ts +40 -0
- package/dist/modules/txexplain.js +135 -0
- package/dist/modules/urlcheck.js +15 -1
- package/dist/modules/utility.d.ts +27 -1
- package/dist/modules/utility.js +108 -11
- package/dist/modules/where.d.ts +63 -0
- package/dist/modules/where.js +165 -0
- package/dist/report-pdf.d.ts +7 -0
- package/dist/report-pdf.js +84 -0
- package/dist/sources/cfurlscan.d.ts +24 -0
- package/dist/sources/cfurlscan.js +46 -0
- package/dist/sources/chainabuse.d.ts +17 -0
- package/dist/sources/chainabuse.js +19 -0
- package/dist/sources/evm.d.ts +135 -0
- package/dist/sources/evm.js +260 -0
- package/dist/sources/phishlists.d.ts +20 -0
- package/dist/sources/phishlists.js +90 -0
- package/dist/telegram.d.ts +17 -0
- package/dist/telegram.js +151 -4
- package/dist/web/card.d.ts +28 -0
- package/dist/web/card.js +75 -0
- package/dist/web/docs.html +1 -1
- package/dist/web/index.html +213 -5
- package/dist/web/landing.html +1 -1
- package/dist/web/legal.html +3 -1
- package/dist/web/mcp.html +1 -1
- package/dist/web/openapi.js +15 -0
- package/dist/web/pages.d.ts +24 -0
- package/dist/web/pages.js +139 -0
- package/dist/web/public.js +16 -1
- package/dist/web/server.d.ts +13 -0
- package/dist/web/server.js +152 -13
- package/dist/web/token.html +25 -4
- package/dist/web/token.json +12 -1
- package/dist/web/utility.html +40 -14
- package/package.json +2 -2
package/dist/telegram.js
CHANGED
|
@@ -21,9 +21,9 @@ export function formatSignal(s) {
|
|
|
21
21
|
return `<b>[${Math.round(s.score)}] ${esc(s.title)}</b> <code>${esc(s.module)}</code>${ev ? `\n${ev}` : ''}`;
|
|
22
22
|
}
|
|
23
23
|
/** Commands anyone may use when the bot is public. Everything else stays with the allowlisted chats. */
|
|
24
|
-
export const PUBLIC_COMMANDS = new Set(['/start', '/help', '/scam', '/url', '/factcheck', '/recall', '/email', '/travel', '/airport', '/country', '/papers', '/audit', '/monitor', '/monitors', '/unmonitor', '/cve', '/vulns', '/hazards', '/blackout', '/cloud', '/space', '/air', '/radar', '/signals', '/alerts', '/ask', '/ip', '/hash', '/ransomware', '/company', '/breaches', '/phone', '/satellite', '/iban', '/lookalike', '/honeypot', '/address', '/headers']);
|
|
24
|
+
export const PUBLIC_COMMANDS = new Set(['/start', '/help', '/scam', '/url', '/factcheck', '/recall', '/email', '/travel', '/airport', '/country', '/papers', '/audit', '/monitor', '/monitors', '/unmonitor', '/cve', '/vulns', '/hazards', '/blackout', '/cloud', '/space', '/air', '/radar', '/signals', '/alerts', '/ask', '/ip', '/hash', '/ransomware', '/company', '/breaches', '/phone', '/satellite', '/iban', '/lookalike', '/honeypot', '/address', '/headers', '/approvals', '/contract', '/poison', '/trace', '/repo', '/check', '/sig', '/qr', '/photo', '/doc', '/where', '/site', '/tx', '/creator', '/archive', '/invite', '/job', '/stock']);
|
|
25
25
|
/** Commands that start many upstream calls or an LLM get a tighter budget. */
|
|
26
|
-
const HEAVY = new Set(['/factcheck', '/papers', '/travel', '/country', '/ask', '/scam', '/audit', '/radar', '/ip', '/hash', '/company', '/lookalike', '/honeypot', '/address']);
|
|
26
|
+
const HEAVY = new Set(['/factcheck', '/papers', '/travel', '/country', '/ask', '/scam', '/audit', '/radar', '/ip', '/hash', '/company', '/lookalike', '/honeypot', '/address', '/approvals', '/contract', '/poison', '/trace', '/repo', '/check', '/sig', '/site', '/tx', '/creator', '/archive', '/invite', '/job']);
|
|
27
27
|
export const PUBLIC_HELP = [
|
|
28
28
|
'<b>Oculon</b>: check anything, every answer sourced.',
|
|
29
29
|
'',
|
|
@@ -45,6 +45,22 @@ export const PUBLIC_HELP = [
|
|
|
45
45
|
'/lookalike <domain> — lookalike domains and new certificates for a brand',
|
|
46
46
|
'/honeypot <token> [eth|bsc|base] — can this token be sold?',
|
|
47
47
|
'/address <crypto address> — sanctions, balance and activity',
|
|
48
|
+
'/approvals <wallet> — who can take your tokens? risky approvals flagged',
|
|
49
|
+
'/contract <token> [chain] — what the owner can still do: mint, blacklist, taxes, upgrades',
|
|
50
|
+
'/sig <request> — what does this signature request really allow?',
|
|
51
|
+
'/poison <wallet> — lookalike addresses planted in your history',
|
|
52
|
+
'/trace <address> — follow the money to exchanges and mixers',
|
|
53
|
+
'/repo <owner/name> — is this GitHub repo safe to run?',
|
|
54
|
+
'/check <domain or 0x address> — full report, every check on one page',
|
|
55
|
+
'/site <link> — wallet drainer or phishing page?',
|
|
56
|
+
'/tx <hash> — what happened in this transaction?',
|
|
57
|
+
'/creator <token> — who made this token, and how many of their tokens are dead?',
|
|
58
|
+
'/job <message> — is this job offer a scam?',
|
|
59
|
+
'/invite <t.me or discord.gg link> — what is behind this invite?',
|
|
60
|
+
'/archive <link> — save a page as evidence',
|
|
61
|
+
'/stock [TSLA or 0x...] — Robinhood Stock Token price, dividends, or is this one fake?',
|
|
62
|
+
'Send an .eml email or an .apk app as a file to check it; a photo as a file with /where for its place, time and weather',
|
|
63
|
+
'Send a photo or file: QR codes are read and checked, images checked for AI or edits, PDF and Office files for editing and macros',
|
|
48
64
|
'/company <name, LEI or EU VAT> — is this supplier real?',
|
|
49
65
|
'/breaches [domain] — newest data breaches, or one domain',
|
|
50
66
|
'/ip <address or domain> — abuse reports, scanners, Tor, threat reports',
|
|
@@ -74,6 +90,7 @@ export const HELP = [
|
|
|
74
90
|
'/recall <VIN, "2018 Honda Accord" or product> — vehicle and product recalls',
|
|
75
91
|
'/email <domain> — can someone spoof email from this domain?',
|
|
76
92
|
'/phone · /company · /iban · /headers · /breaches · /ip · /hash · /lookalike · /honeypot · /address · /ransomware · /satellite — caller, supplier, email, breach, crypto and threat checks',
|
|
93
|
+
'/approvals · /contract · /sig · /poison · /trace · /repo · /check · /site · /tx · /creator · /job · /invite · /archive — wallet safety, pages, repos and full reports; send a photo or file for QR, image and document checks',
|
|
77
94
|
'/airport <JFK|EGLL> — airport weather, delays and ground stops',
|
|
78
95
|
'/country <name> — economy, leaders, currency, travel advice, headlines',
|
|
79
96
|
'/papers <topic> — research brief: most cited and newest papers',
|
|
@@ -480,6 +497,57 @@ export class TelegramBot {
|
|
|
480
497
|
const d = (await o.lookalikes(arg)).result;
|
|
481
498
|
return { html: `<b>${esc(d.domain)}</b>: <b>${d.risk.toUpperCase()} RISK</b>, ${d.live.length} of ${d.checked} lookalikes exist${d.live.slice(0, 10).map((l) => `\n${esc(l.domain)} · ${esc(l.kind)}${l.mx ? ' · mail' : ''}`).join('')}${d.certs.length ? `\n\nNew certificates: ${d.certs.slice(0, 5).map((c) => esc(c.name)).join(', ')}` : ''}` };
|
|
482
499
|
}
|
|
500
|
+
case '/qr':
|
|
501
|
+
case '/photo':
|
|
502
|
+
case '/where':
|
|
503
|
+
case '/doc':
|
|
504
|
+
return { html: `Send the ${cmd === '/doc' ? 'PDF, Word or Excel file' : 'image'} to this chat${cmd === '/photo' ? ' as a file (paperclip, File), so its metadata is kept' : ''}, with ${cmd} as the caption.` };
|
|
505
|
+
case '/stock': {
|
|
506
|
+
const d = (await o.stockToken(arg)).result;
|
|
507
|
+
return { html: `<b>${esc(d.symbol ?? 'Robinhood Stock Tokens')}</b>: <b>${esc(d.verdict.toUpperCase())}</b>${d.reasons.slice(0, 6).map((x) => `\n• ${esc(x)}`).join('')}${d.advice[0] ? `\n${esc(d.advice[0])}` : ''}` };
|
|
508
|
+
}
|
|
509
|
+
case '/site':
|
|
510
|
+
case '/tx':
|
|
511
|
+
case '/creator':
|
|
512
|
+
case '/archive':
|
|
513
|
+
case '/invite':
|
|
514
|
+
case '/job':
|
|
515
|
+
case '/approvals':
|
|
516
|
+
case '/contract':
|
|
517
|
+
case '/poison':
|
|
518
|
+
case '/trace':
|
|
519
|
+
case '/repo':
|
|
520
|
+
case '/check':
|
|
521
|
+
case '/sig': {
|
|
522
|
+
if (!arg)
|
|
523
|
+
return needArg(cmd === '/site' || cmd === '/archive' ? 'https://example.com' : cmd === '/tx' ? '0x... (transaction hash)' : cmd === '/invite' ? 't.me/name or discord.gg/code' : cmd === '/job' ? 'the job message' : cmd === '/repo' ? 'owner/name' : cmd === '/check' ? 'example.com or 0x...' : cmd === '/sig' ? '0x095ea7b3... (calldata) or typed data JSON' : '0x... [eth|arbitrum|polygon]');
|
|
524
|
+
const [first, chain] = arg.split(/\s+/);
|
|
525
|
+
const opt = chain && /^(eth|base|bsc|bnb|arbitrum|polygon)$/i.test(chain) ? { chain } : {};
|
|
526
|
+
const kind = { '/approvals': 'approvals', '/contract': 'contract', '/poison': 'poisoning', '/trace': 'trace', '/site': 'site', '/tx': 'tx', '/creator': 'creator', '/archive': 'archive', '/invite': 'invite', '/job': 'job', '/repo': 'repo', '/check': /^0x[0-9a-f]{40}$/i.test(first) ? 'walletreport' : 'domainreport', '/sig': 'signature' }[cmd];
|
|
527
|
+
const target = cmd === '/sig' || cmd === '/job' ? arg : first;
|
|
528
|
+
const run = () => {
|
|
529
|
+
switch (kind) {
|
|
530
|
+
case 'approvals': return o.approvalsCheck(first, opt);
|
|
531
|
+
case 'contract': return o.contractRisk(first, opt);
|
|
532
|
+
case 'poisoning': return o.poisoningCheck(first, opt);
|
|
533
|
+
case 'trace': return o.traceFunds(first, opt);
|
|
534
|
+
case 'repo': return o.repoCheck(first);
|
|
535
|
+
case 'site': return o.siteCheck(first);
|
|
536
|
+
case 'tx': return o.explainTx(first, opt);
|
|
537
|
+
case 'creator': return o.creatorCheck(first, opt);
|
|
538
|
+
case 'archive': return o.archivePage(first);
|
|
539
|
+
case 'invite': return o.inviteCheck(first);
|
|
540
|
+
case 'job': return o.jobCheck(arg);
|
|
541
|
+
case 'walletreport': return o.walletReport(first, opt);
|
|
542
|
+
case 'domainreport': return o.domainReport(first);
|
|
543
|
+
default: return o.signatureCheck(arg);
|
|
544
|
+
}
|
|
545
|
+
};
|
|
546
|
+
const r = await o.recordCheck(kind, target, run, cmd === '/sig' ? { label: `signature request: ${arg.slice(0, 60)}` } : cmd === '/job' ? { label: `job offer: ${arg.slice(0, 60)}` } : {});
|
|
547
|
+
const d = r.value.result;
|
|
548
|
+
const extra = d.allows?.length ? d.allows.slice(0, 4).map((x) => `\n• ${esc(x)}`).join('') : d.parts?.length ? d.parts.map((p) => `\n• ${esc(p.part)}: ${esc(p.error ? 'not checked' : p.verdict ?? 'done')}`).join('') : '';
|
|
549
|
+
return { html: `<b>${esc(cmd === '/sig' ? 'Signature request' : cmd === '/job' ? 'Job offer' : first)}</b>: <b>${esc(d.verdict.toUpperCase())}</b> · risk ${d.risk}/100${extra}${d.reasons.slice(0, 6).map((x) => `\n! ${esc(x)}`).join('')}\n${esc(d.advice[0] ?? '')}\nReplay and PDF: https://app.oculon.live/replay/${r.check.id}` };
|
|
550
|
+
}
|
|
483
551
|
case '/honeypot': {
|
|
484
552
|
if (!arg)
|
|
485
553
|
return needArg('0x6982508145454Ce325dDbE47a25d4ec3d2311933 eth');
|
|
@@ -868,6 +936,8 @@ export class TelegramBot {
|
|
|
868
936
|
return this.handleCallback(u.callback_query);
|
|
869
937
|
const m = u.message;
|
|
870
938
|
const body = (m?.text ?? m?.caption ?? '').trim();
|
|
939
|
+
if (m && (m.photo?.length || m.document) && (m.chat.type === 'private' || /^\/(qr|photo|doc|where)\b/i.test(body)))
|
|
940
|
+
return this.handleFile(m);
|
|
871
941
|
if (!m || !body)
|
|
872
942
|
return;
|
|
873
943
|
const chatId = String(m.chat.id);
|
|
@@ -907,6 +977,83 @@ export class TelegramBot {
|
|
|
907
977
|
await this.send(chatId, `Error: ${esc(e.message)}`).catch(() => { });
|
|
908
978
|
}
|
|
909
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
* A file sent to the bot: a QR code, a photo to check for AI or edits, or a document to check for editing.
|
|
982
|
+
* The caption picks the check (/qr, /photo, /doc); without one, documents go to the document check and
|
|
983
|
+
* images are read for a QR code first. Telegram re-compresses photos and drops their metadata, so the
|
|
984
|
+
* AI and edit check needs the image sent as a file.
|
|
985
|
+
*/
|
|
986
|
+
async handleFile(m) {
|
|
987
|
+
const chatId = String(m.chat.id);
|
|
988
|
+
const owner = this.allowed(chatId);
|
|
989
|
+
if (!owner && !this.isPublic)
|
|
990
|
+
return;
|
|
991
|
+
if (!owner && !this.rateOk(chatId, true)) {
|
|
992
|
+
await this.send(chatId, 'You have reached the hourly limit. Try again a bit later, or use https://app.oculon.live');
|
|
993
|
+
return;
|
|
994
|
+
}
|
|
995
|
+
const o = this.oculon;
|
|
996
|
+
const want = /^\/(qr|photo|doc|where)\b/i.exec((m.caption ?? '').trim())?.[1]?.toLowerCase();
|
|
997
|
+
const pic = m.photo?.length ? m.photo[m.photo.length - 1] : null;
|
|
998
|
+
const fileId = pic?.file_id ?? m.document.file_id;
|
|
999
|
+
const size = pic?.file_size ?? m.document?.file_size ?? 0;
|
|
1000
|
+
if (size > 20 * 1024 * 1024) {
|
|
1001
|
+
await this.send(chatId, 'That file is larger than 20 MB (the most Telegram lets bots download).');
|
|
1002
|
+
return;
|
|
1003
|
+
}
|
|
1004
|
+
try {
|
|
1005
|
+
const info = await this.call('getFile', { file_id: fileId });
|
|
1006
|
+
if (!info.file_path)
|
|
1007
|
+
throw new Error('could not download the file');
|
|
1008
|
+
const res = await this.doFetch(`https://api.telegram.org/file/bot${this.opts.token}/${info.file_path}`, { signal: AbortSignal.timeout(30_000) });
|
|
1009
|
+
const file = Buffer.from(await res.arrayBuffer());
|
|
1010
|
+
const name = m.document?.file_name ?? 'photo.jpg';
|
|
1011
|
+
const isImage = Boolean(pic) || /^image\//.test(m.document?.mime_type ?? '') || /\.(png|jpe?g|webp)$/i.test(name);
|
|
1012
|
+
this.log(`file from ${owner ? chatId : 'public'}: ${want ?? (isImage ? 'image' : 'doc')}`);
|
|
1013
|
+
const { createHash } = await import('node:crypto');
|
|
1014
|
+
const hash = createHash('sha256').update(file).digest('hex');
|
|
1015
|
+
const line = (v, risk, pts, adv, id) => `<b>${esc(v.toUpperCase())}</b> · risk ${risk}/100${pts.slice(0, 5).map((p) => `\n! ${esc(p)}`).join('')}${adv ? `\n${esc(adv)}` : ''}\nReplay: https://app.oculon.live/replay/${id}`;
|
|
1016
|
+
if (/\.eml$/i.test(name) || m.document?.mime_type === 'message/rfc822') {
|
|
1017
|
+
const r = await o.recordCheck('eml', hash, () => o.emlCheck(file, name), { label: name });
|
|
1018
|
+
const d = r.value.result;
|
|
1019
|
+
await this.send(chatId, `<b>${esc(d.subject ?? name)}</b>\n${line(d.verdict, d.risk, d.reasons, d.advice[0], r.check.id)}`);
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
if (/\.apk$/i.test(name) || m.document?.mime_type === 'application/vnd.android.package-archive') {
|
|
1023
|
+
const r = await o.recordCheck('apk', hash, () => o.apkCheck(file, name), { label: name });
|
|
1024
|
+
const d = r.value.result;
|
|
1025
|
+
await this.send(chatId, `<b>${esc(d.package ?? name)}</b>\n${line(d.verdict, d.risk, d.reasons, d.advice[0], r.check.id)}`);
|
|
1026
|
+
return;
|
|
1027
|
+
}
|
|
1028
|
+
if (want === 'where') {
|
|
1029
|
+
const r = await o.recordCheck('where', hash, () => o.whereCheck(file, name), { label: name });
|
|
1030
|
+
const d = r.value.result;
|
|
1031
|
+
await this.send(chatId, `<b>Photo location</b>${d.gps ? `\n${esc(d.gps.map)}` : ''}\n${line(d.verdict, d.risk, [...d.reasons, ...d.notes], d.advice[0], r.check.id)}${pic ? '\n\nTelegram strips the location from photos: send it as a file.' : ''}`);
|
|
1032
|
+
return;
|
|
1033
|
+
}
|
|
1034
|
+
if (want === 'doc' || (!want && !isImage)) {
|
|
1035
|
+
const r = await o.recordCheck('doc', hash, () => o.docCheck(file, name), { label: name });
|
|
1036
|
+
const d = r.value.result;
|
|
1037
|
+
await this.send(chatId, `<b>${esc(name)}</b>\n${line(d.verdict, d.risk, d.flags, d.advice[0], r.check.id)}`);
|
|
1038
|
+
return;
|
|
1039
|
+
}
|
|
1040
|
+
if (want !== 'photo') {
|
|
1041
|
+
const r = await o.recordCheck('qr', hash, () => o.qrCheck(file, name), { label: name });
|
|
1042
|
+
const d = r.value.result;
|
|
1043
|
+
if (d.found || want === 'qr') {
|
|
1044
|
+
await this.send(chatId, `<b>QR code</b>${d.content ? `: <code>${esc(d.content.slice(0, 300))}</code>` : ''}\n${line(d.verdict, d.risk, d.reasons, d.advice[0], r.check.id)}`);
|
|
1045
|
+
return;
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
const r = await o.recordCheck('image', hash, () => o.imageCheck(file, name), { label: name });
|
|
1049
|
+
const d = r.value.result;
|
|
1050
|
+
const note = pic ? '\n\nTelegram strips metadata from photos. For the AI and edit check, send the image as a file (paperclip, File).' : '';
|
|
1051
|
+
await this.send(chatId, `<b>Image</b>\n${line(d.verdict, d.risk, [...d.reasons, ...d.notes], d.advice[0], r.check.id)}${note}`);
|
|
1052
|
+
}
|
|
1053
|
+
catch (e) {
|
|
1054
|
+
await this.send(chatId, `Error: ${esc(e.message)}`).catch(() => { });
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
910
1057
|
/** Push signals the chat has not seen yet. Returns how many were sent. */
|
|
911
1058
|
async pushAlerts(signals) {
|
|
912
1059
|
const db = this.oculon.ctx.store.db;
|
|
@@ -948,12 +1095,12 @@ export class TelegramBot {
|
|
|
948
1095
|
const me = await this.call('getMe', {});
|
|
949
1096
|
this.log(`bot @${me.username} running; ${this.opts.allowedChats.length} allowed chat(s)`);
|
|
950
1097
|
if (this.isPublic) {
|
|
951
|
-
await this.call('setMyCommands', { commands: ['scam', 'url', 'factcheck', 'recall', 'email', 'phone', 'company', 'iban', 'headers', 'breaches', 'ip', 'hash', 'lookalike', 'honeypot', 'address', 'ransomware', 'travel', 'airport', 'country', 'papers', 'audit', 'monitor', 'monitors', 'unmonitor', 'cve', 'hazards', 'blackout', 'alerts', 'help'].map((c) => ({ command: c, description: `Oculon ${c}` })) }).catch(() => { });
|
|
1098
|
+
await this.call('setMyCommands', { commands: ['scam', 'url', 'factcheck', 'recall', 'email', 'phone', 'company', 'iban', 'headers', 'breaches', 'ip', 'hash', 'lookalike', 'honeypot', 'address', 'approvals', 'contract', 'sig', 'poison', 'trace', 'repo', 'check', 'site', 'tx', 'creator', 'job', 'invite', 'archive', 'ransomware', 'travel', 'airport', 'country', 'papers', 'audit', 'monitor', 'monitors', 'unmonitor', 'cve', 'hazards', 'blackout', 'alerts', 'help'].map((c) => ({ command: c, description: `Oculon ${c}` })) }).catch(() => { });
|
|
952
1099
|
}
|
|
953
1100
|
for (const chat of this.opts.allowedChats)
|
|
954
1101
|
await this.call('setMyCommands', {
|
|
955
1102
|
scope: { type: 'chat', chat_id: Number(chat) },
|
|
956
|
-
commands: ['ask', 'scam', 'monitors', 'unmonitor', 'url', 'factcheck', 'travel', 'audit', 'monitor', 'recall', 'email', 'phone', 'company', 'iban', 'headers', 'breaches', 'ip', 'hash', 'lookalike', 'honeypot', 'address', 'ransomware', 'satellite', 'airport', 'country', 'papers', 'case', 'brief', 'report', 'narratives', 'health', 'impact', 'contradict', 'sanctions', 'watch', 'fence', 'markets', 'launches', 'rewind', 'deployer', 'scoops', 'rh', 'ships', 'radar', 'signals', 'dossier', 'hype', 'footprint', 'plane', 'mil', 'events', 'lights', 'image', 'wallet', 'token', 'space', 'air', 'score', 'cloud', 'bgp', 'vulns', 'cve', 'regs', 'defi', 'squawk', 'filings', 'fires', 'sentinel', 'radar_image', 'darkships', 'vessel', 'blackout', 'hazards', 'podcast', 'exposure', 'social', 'calendar', 'connect', 'live', 'feedback', 'alerts'].filter((c) => onchainEnabled() || !/^(deployer|rh|wallet|token|defi|protocol)$/.test(c)).map((c) => ({ command: c, description: `Oculon ${c}` })),
|
|
1103
|
+
commands: ['ask', 'scam', 'monitors', 'unmonitor', 'url', 'factcheck', 'travel', 'audit', 'monitor', 'recall', 'email', 'phone', 'company', 'iban', 'headers', 'breaches', 'ip', 'hash', 'lookalike', 'honeypot', 'address', 'approvals', 'contract', 'sig', 'poison', 'trace', 'repo', 'check', 'site', 'tx', 'creator', 'job', 'invite', 'archive', 'ransomware', 'satellite', 'airport', 'country', 'papers', 'case', 'brief', 'report', 'narratives', 'health', 'impact', 'contradict', 'sanctions', 'watch', 'fence', 'markets', 'launches', 'rewind', 'deployer', 'scoops', 'rh', 'ships', 'radar', 'signals', 'dossier', 'hype', 'footprint', 'plane', 'mil', 'events', 'lights', 'image', 'wallet', 'token', 'space', 'air', 'score', 'cloud', 'bgp', 'vulns', 'cve', 'regs', 'defi', 'squawk', 'filings', 'fires', 'sentinel', 'radar_image', 'darkships', 'vessel', 'blackout', 'hazards', 'podcast', 'exposure', 'social', 'calendar', 'connect', 'live', 'feedback', 'alerts'].filter((c) => onchainEnabled() || !/^(deployer|rh|wallet|token|defi|protocol)$/.test(c)).map((c) => ({ command: c, description: `Oculon ${c}` })),
|
|
957
1104
|
}).catch(() => { });
|
|
958
1105
|
if (this.opts.watchMinutes && this.opts.watchMinutes > 0) {
|
|
959
1106
|
this.scheduler = startScheduler(this.oculon, {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verdict card shown inside AI chat apps that render MCP UI resources: MCP Apps hosts (Claude and others,
|
|
3
|
+
* ui:// resources with the text/html;profile=mcp-app type) and ChatGPT apps (text/html+skybridge, window.openai).
|
|
4
|
+
* The page is self-contained (no network, no external fonts) and reads the tool's structuredContent.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CARD_URI = "ui://oculon/verdict.html";
|
|
7
|
+
export declare const CARD_URI_OPENAI = "ui://oculon/verdict-openai.html";
|
|
8
|
+
export declare const MCP_APP_MIME = "text/html;profile=mcp-app";
|
|
9
|
+
export declare const SKYBRIDGE_MIME = "text/html+skybridge";
|
|
10
|
+
export interface CardData {
|
|
11
|
+
kind: string;
|
|
12
|
+
title: string;
|
|
13
|
+
verdict: string | null;
|
|
14
|
+
tone: 'bad' | 'warn' | 'ok' | 'info';
|
|
15
|
+
risk: number | null;
|
|
16
|
+
points: string[];
|
|
17
|
+
sources: string;
|
|
18
|
+
seenBefore: {
|
|
19
|
+
at: string;
|
|
20
|
+
changes: string[];
|
|
21
|
+
} | null;
|
|
22
|
+
links: {
|
|
23
|
+
replay: string | null;
|
|
24
|
+
report: string | null;
|
|
25
|
+
};
|
|
26
|
+
checkId: string;
|
|
27
|
+
}
|
|
28
|
+
export declare const CARD_HTML = "<!doctype html>\n<html><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<style>\n:root{--bg:#05090a;--line:#1d2a2d;--ink:#eef3f4;--mut:#8fa3a7;--y:#00f0ff;--bad:#ff5d6c;--warn:#f5a524;--ok:#3ddc97;--info:#8fa3a7}\n@media (prefers-color-scheme: light){:root{--bg:#ffffff;--line:#dfe6e8;--ink:#0d1416;--mut:#5b6b6f;--y:#007a85;--bad:#c8323f;--warn:#b26f00;--ok:#14895a;--info:#5b6b6f}}\n*{box-sizing:border-box}\nhtml,body{margin:0;background:transparent;color:var(--ink);font:14px/1.5 ui-sans-serif,system-ui,-apple-system,\"Segoe UI\",sans-serif}\n.c{border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:16px 18px;max-width:640px}\n.top{display:flex;justify-content:space-between;align-items:center;font:600 11px ui-monospace,Consolas,monospace;letter-spacing:.18em;color:var(--mut);text-transform:uppercase}\n.top b{color:var(--y)}\n.t{margin:8px 0 10px;font-size:15px;font-weight:600;overflow-wrap:anywhere}\n.v{display:flex;align-items:center;gap:12px;flex-wrap:wrap}\n.pill{font:700 13px ui-monospace,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:6px;color:#fff;background:var(--info)}\n.pill.bad{background:var(--bad)}.pill.warn{background:var(--warn)}.pill.ok{background:var(--ok)}\n.risk{flex:1;min-width:140px}.risk span{font:600 12px ui-monospace,Consolas,monospace;color:var(--mut)}\n.bar{height:6px;background:var(--line);border-radius:4px;margin-top:4px;overflow:hidden}.bar i{display:block;height:100%}\nul{margin:12px 0 0;padding-left:18px}li{margin:3px 0}\n.seen{margin-top:12px;border-left:3px solid var(--y);padding:6px 10px;font-size:13px;color:var(--mut)}\n.seen b{color:var(--ink)}\n.foot{margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--mut)}\n.foot a{color:var(--y);cursor:pointer;text-decoration:none;margin-left:12px}\n.empty{color:var(--mut)}\n</style></head>\n<body><div class=\"c\" id=\"c\"><div class=\"empty\">Waiting for the result...</div></div>\n<script>\n(function(){\n var esc=function(s){return String(s==null?'':s).replace(/[&<>\"']/g,function(c){return{'&':'&','<':'<','>':'>','\"':'"',\"'\":'''}[c];});};\n var nextId=1, pending={};\n function rpc(method, params){\n var id=nextId++;\n try{ window.parent.postMessage({jsonrpc:'2.0',id:id,method:method,params:params||{}},'*'); }catch(e){}\n return new Promise(function(res){ pending[id]=res; setTimeout(function(){ if(pending[id]){ delete pending[id]; res(null);} },3000); });\n }\n function notify(method, params){ try{ window.parent.postMessage({jsonrpc:'2.0',method:method,params:params||{}},'*'); }catch(e){} }\n function open(url){\n if(!url) return;\n if(window.openai && window.openai.openExternal){ window.openai.openExternal({href:url}); return; }\n rpc('ui/open-link',{url:url}).then(function(r){ if(!r) window.open(url,'_blank','noopener'); });\n }\n function size(){ var h=document.documentElement.scrollHeight; notify('ui/notifications/size-changed',{width:document.documentElement.scrollWidth,height:h}); }\n function render(d){\n if(!d||!d.checkId){ return; }\n var color={bad:'var(--bad)',warn:'var(--warn)',ok:'var(--ok)',info:'var(--info)'}[d.tone]||'var(--info)';\n var h='<div class=\"top\"><span><b>OCULON</b> · '+esc(d.kind)+'</span><span>'+esc(d.checkId.slice(0,8))+'</span></div>';\n h+='<div class=\"t\">'+esc(d.title)+'</div><div class=\"v\"><span class=\"pill '+esc(d.tone)+'\">'+esc(d.verdict||'result')+'</span>';\n if(d.risk!=null) h+='<div class=\"risk\"><span>risk '+esc(d.risk)+'/100</span><div class=\"bar\"><i style=\"width:'+Math.max(2,Math.min(100,d.risk))+'%;background:'+color+'\"></i></div></div>';\n h+='</div>';\n if(d.points&&d.points.length) h+='<ul>'+d.points.slice(0,6).map(function(p){return '<li>'+esc(p)+'</li>';}).join('')+'</ul>';\n if(d.seenBefore) h+='<div class=\"seen\"><b>Seen before</b> on '+esc(String(d.seenBefore.at).slice(0,16).replace('T',' '))+' UTC. '+(d.seenBefore.changes.length?esc(d.seenBefore.changes.slice(0,4).join('; ')):'Nothing changed since then.')+'</div>';\n h+='<div class=\"foot\"><span>'+esc(d.sources)+'</span><span>'+(d.links&&d.links.replay?'<a data-u=\"'+esc(d.links.replay)+'\">Replay log</a>':'')+(d.links&&d.links.report?'<a data-u=\"'+esc(d.links.report)+'\">PDF report</a>':'')+'</span></div>';\n var c=document.getElementById('c'); c.innerHTML=h;\n Array.prototype.forEach.call(c.querySelectorAll('a[data-u]'),function(a){ a.onclick=function(){ open(a.getAttribute('data-u')); }; });\n size();\n }\n function fromResult(r){ if(!r) return null; return r.structuredContent||(r.result&&r.result.structuredContent)||null; }\n window.addEventListener('message',function(ev){\n var m=ev.data; if(!m||typeof m!=='object') return;\n if(m.id!=null&&pending[m.id]){ var f=pending[m.id]; delete pending[m.id]; f(m.result||null); return; }\n if(m.method==='ui/notifications/tool-result') render(fromResult(m.params));\n if(m.type==='openai:set_globals'&&window.openai) render(window.openai.toolOutput);\n });\n window.addEventListener('openai:set_globals',function(){ if(window.openai) render(window.openai.toolOutput); });\n if(window.openai&&window.openai.toolOutput) render(window.openai.toolOutput);\n rpc('ui/initialize',{protocolVersion:'2026-01-26',appInfo:{name:'oculon-verdict',version:'1.0.0'},appCapabilities:{}}).then(function(){ notify('ui/notifications/initialized',{}); });\n})();\n</script></body></html>";
|
package/dist/web/card.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verdict card shown inside AI chat apps that render MCP UI resources: MCP Apps hosts (Claude and others,
|
|
3
|
+
* ui:// resources with the text/html;profile=mcp-app type) and ChatGPT apps (text/html+skybridge, window.openai).
|
|
4
|
+
* The page is self-contained (no network, no external fonts) and reads the tool's structuredContent.
|
|
5
|
+
*/
|
|
6
|
+
export const CARD_URI = 'ui://oculon/verdict.html';
|
|
7
|
+
export const CARD_URI_OPENAI = 'ui://oculon/verdict-openai.html';
|
|
8
|
+
export const MCP_APP_MIME = 'text/html;profile=mcp-app';
|
|
9
|
+
export const SKYBRIDGE_MIME = 'text/html+skybridge';
|
|
10
|
+
export const CARD_HTML = `<!doctype html>
|
|
11
|
+
<html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
|
12
|
+
<style>
|
|
13
|
+
:root{--bg:#05090a;--line:#1d2a2d;--ink:#eef3f4;--mut:#8fa3a7;--y:#00f0ff;--bad:#ff5d6c;--warn:#f5a524;--ok:#3ddc97;--info:#8fa3a7}
|
|
14
|
+
@media (prefers-color-scheme: light){:root{--bg:#ffffff;--line:#dfe6e8;--ink:#0d1416;--mut:#5b6b6f;--y:#007a85;--bad:#c8323f;--warn:#b26f00;--ok:#14895a;--info:#5b6b6f}}
|
|
15
|
+
*{box-sizing:border-box}
|
|
16
|
+
html,body{margin:0;background:transparent;color:var(--ink);font:14px/1.5 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
|
|
17
|
+
.c{border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:16px 18px;max-width:640px}
|
|
18
|
+
.top{display:flex;justify-content:space-between;align-items:center;font:600 11px ui-monospace,Consolas,monospace;letter-spacing:.18em;color:var(--mut);text-transform:uppercase}
|
|
19
|
+
.top b{color:var(--y)}
|
|
20
|
+
.t{margin:8px 0 10px;font-size:15px;font-weight:600;overflow-wrap:anywhere}
|
|
21
|
+
.v{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
|
|
22
|
+
.pill{font:700 13px ui-monospace,Consolas,monospace;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:6px;color:#fff;background:var(--info)}
|
|
23
|
+
.pill.bad{background:var(--bad)}.pill.warn{background:var(--warn)}.pill.ok{background:var(--ok)}
|
|
24
|
+
.risk{flex:1;min-width:140px}.risk span{font:600 12px ui-monospace,Consolas,monospace;color:var(--mut)}
|
|
25
|
+
.bar{height:6px;background:var(--line);border-radius:4px;margin-top:4px;overflow:hidden}.bar i{display:block;height:100%}
|
|
26
|
+
ul{margin:12px 0 0;padding-left:18px}li{margin:3px 0}
|
|
27
|
+
.seen{margin-top:12px;border-left:3px solid var(--y);padding:6px 10px;font-size:13px;color:var(--mut)}
|
|
28
|
+
.seen b{color:var(--ink)}
|
|
29
|
+
.foot{margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--mut)}
|
|
30
|
+
.foot a{color:var(--y);cursor:pointer;text-decoration:none;margin-left:12px}
|
|
31
|
+
.empty{color:var(--mut)}
|
|
32
|
+
</style></head>
|
|
33
|
+
<body><div class="c" id="c"><div class="empty">Waiting for the result...</div></div>
|
|
34
|
+
<script>
|
|
35
|
+
(function(){
|
|
36
|
+
var esc=function(s){return String(s==null?'':s).replace(/[&<>"']/g,function(c){return{'&':'&','<':'<','>':'>','"':'"',"'":'''}[c];});};
|
|
37
|
+
var nextId=1, pending={};
|
|
38
|
+
function rpc(method, params){
|
|
39
|
+
var id=nextId++;
|
|
40
|
+
try{ window.parent.postMessage({jsonrpc:'2.0',id:id,method:method,params:params||{}},'*'); }catch(e){}
|
|
41
|
+
return new Promise(function(res){ pending[id]=res; setTimeout(function(){ if(pending[id]){ delete pending[id]; res(null);} },3000); });
|
|
42
|
+
}
|
|
43
|
+
function notify(method, params){ try{ window.parent.postMessage({jsonrpc:'2.0',method:method,params:params||{}},'*'); }catch(e){} }
|
|
44
|
+
function open(url){
|
|
45
|
+
if(!url) return;
|
|
46
|
+
if(window.openai && window.openai.openExternal){ window.openai.openExternal({href:url}); return; }
|
|
47
|
+
rpc('ui/open-link',{url:url}).then(function(r){ if(!r) window.open(url,'_blank','noopener'); });
|
|
48
|
+
}
|
|
49
|
+
function size(){ var h=document.documentElement.scrollHeight; notify('ui/notifications/size-changed',{width:document.documentElement.scrollWidth,height:h}); }
|
|
50
|
+
function render(d){
|
|
51
|
+
if(!d||!d.checkId){ return; }
|
|
52
|
+
var color={bad:'var(--bad)',warn:'var(--warn)',ok:'var(--ok)',info:'var(--info)'}[d.tone]||'var(--info)';
|
|
53
|
+
var h='<div class="top"><span><b>OCULON</b> · '+esc(d.kind)+'</span><span>'+esc(d.checkId.slice(0,8))+'</span></div>';
|
|
54
|
+
h+='<div class="t">'+esc(d.title)+'</div><div class="v"><span class="pill '+esc(d.tone)+'">'+esc(d.verdict||'result')+'</span>';
|
|
55
|
+
if(d.risk!=null) h+='<div class="risk"><span>risk '+esc(d.risk)+'/100</span><div class="bar"><i style="width:'+Math.max(2,Math.min(100,d.risk))+'%;background:'+color+'"></i></div></div>';
|
|
56
|
+
h+='</div>';
|
|
57
|
+
if(d.points&&d.points.length) h+='<ul>'+d.points.slice(0,6).map(function(p){return '<li>'+esc(p)+'</li>';}).join('')+'</ul>';
|
|
58
|
+
if(d.seenBefore) h+='<div class="seen"><b>Seen before</b> on '+esc(String(d.seenBefore.at).slice(0,16).replace('T',' '))+' UTC. '+(d.seenBefore.changes.length?esc(d.seenBefore.changes.slice(0,4).join('; ')):'Nothing changed since then.')+'</div>';
|
|
59
|
+
h+='<div class="foot"><span>'+esc(d.sources)+'</span><span>'+(d.links&&d.links.replay?'<a data-u="'+esc(d.links.replay)+'">Replay log</a>':'')+(d.links&&d.links.report?'<a data-u="'+esc(d.links.report)+'">PDF report</a>':'')+'</span></div>';
|
|
60
|
+
var c=document.getElementById('c'); c.innerHTML=h;
|
|
61
|
+
Array.prototype.forEach.call(c.querySelectorAll('a[data-u]'),function(a){ a.onclick=function(){ open(a.getAttribute('data-u')); }; });
|
|
62
|
+
size();
|
|
63
|
+
}
|
|
64
|
+
function fromResult(r){ if(!r) return null; return r.structuredContent||(r.result&&r.result.structuredContent)||null; }
|
|
65
|
+
window.addEventListener('message',function(ev){
|
|
66
|
+
var m=ev.data; if(!m||typeof m!=='object') return;
|
|
67
|
+
if(m.id!=null&&pending[m.id]){ var f=pending[m.id]; delete pending[m.id]; f(m.result||null); return; }
|
|
68
|
+
if(m.method==='ui/notifications/tool-result') render(fromResult(m.params));
|
|
69
|
+
if(m.type==='openai:set_globals'&&window.openai) render(window.openai.toolOutput);
|
|
70
|
+
});
|
|
71
|
+
window.addEventListener('openai:set_globals',function(){ if(window.openai) render(window.openai.toolOutput); });
|
|
72
|
+
if(window.openai&&window.openai.toolOutput) render(window.openai.toolOutput);
|
|
73
|
+
rpc('ui/initialize',{protocolVersion:'2026-01-26',appInfo:{name:'oculon-verdict',version:'1.0.0'},appCapabilities:{}}).then(function(){ notify('ui/notifications/initialized',{}); });
|
|
74
|
+
})();
|
|
75
|
+
</script></body></html>`;
|
package/dist/web/docs.html
CHANGED
|
@@ -168,7 +168,7 @@ ots verify -d <root> <id>.ots # the root is committed i
|
|
|
168
168
|
</section>
|
|
169
169
|
<div id="doc" class="skeleton">Loading…</div>
|
|
170
170
|
<section id="help"><h2 id="cli-reference">CLI reference</h2><p>The full command list, printed by <code>oculon help</code> on this install.</p><div id="help-out" class="skeleton">Loading…</div></section>
|
|
171
|
-
<div style="margin-top:56px;padding-top:22px;border-top:1px solid var(--line)"><div class="lbl">Follow Oculon</div><div class="social"><a href="https://x.com/oculonlive" target="_blank" rel="noopener" aria-label="Oculon on X" title="Oculon on X"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg></a><a href="https://github.com/oculonlive/oculon" target="_blank" rel="noopener" aria-label="Oculon on GitHub" title="Oculon on GitHub"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><a href="https://www.npmjs.com/package/oculon" target="_blank" rel="noopener" aria-label="Oculon on npm" title="Oculon on npm"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"/></svg></a><a href="https://t.me/
|
|
171
|
+
<div style="margin-top:56px;padding-top:22px;border-top:1px solid var(--line)"><div class="lbl">Follow Oculon</div><div class="social"><a href="https://x.com/oculonlive" target="_blank" rel="noopener" aria-label="Oculon on X" title="Oculon on X"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/></svg></a><a href="https://github.com/oculonlive/oculon" target="_blank" rel="noopener" aria-label="Oculon on GitHub" title="Oculon on GitHub"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><a href="https://www.npmjs.com/package/oculon" target="_blank" rel="noopener" aria-label="Oculon on npm" title="Oculon on npm"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"/></svg></a><a href="https://t.me/oculonportal" target="_blank" rel="noopener" aria-label="Oculon community on Telegram" title="Oculon community on Telegram"><svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg></a><a href="https://glama.ai/mcp/servers/oculonlive/oculon" target="_blank" rel="noopener" aria-label="Oculon on Glama" title="Oculon on Glama"><svg viewBox="15 15 300 300" width="20" height="20" fill="currentColor" aria-hidden="true"><path d="M95 15H75V155H95V15ZM255 15H235V155H255V15ZM75 25H65V125H75V25ZM265 25H255V125H265V25ZM65 35H55V95H65V35ZM275 35H265V95H275V35ZM105 75H95V155H105V75ZM235 75H225V155H235V75ZM205 85H125V185H205V85ZM125 95H105V155H125V95ZM225 95H205V155H225V95ZM75 145H65V155H75V145ZM265 145H255V155H265V145ZM125 155H115V225H125V155ZM215 155H205V225H215V155ZM85 165H75V315H85V165ZM115 165H105V315H115V165ZM225 165H215V315H225V165ZM255 165H245V315H255V165ZM105 175H85V315H105V175ZM245 175H225V315H245V175ZM135 185H125V235H135V185ZM185 185H145V195H185V185ZM205 185H195V235H205V185ZM75 195H65V275H75V195ZM145 195H135V235H145V195ZM195 195H185V235H195V195ZM155 205H145V235H155V205ZM185 205H175V235H185V205ZM125 235H115V315H125V235ZM215 235H205V315H215V235ZM145 245H125V315H145V245ZM205 245H185V315H205V245ZM185 265H145V315H185V265Z"/></svg></a></div><p style="margin:10px 0 0;font:12px ui-monospace,Consolas,monospace;color:#7d8f93">Telegram bot: <a href="https://t.me/oculon_radar_bot" target="_blank" rel="noopener" style="color:#9fb0b4">@oculon_radar_bot</a></p></div>
|
|
172
172
|
</main>
|
|
173
173
|
<aside class="right"><div class="lbl" style="margin-bottom:12px">On this page</div><div id="otp"></div></aside>
|
|
174
174
|
</div>
|