run402 4.70.8 → 4.70.9
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/gitvault-surface.json +1 -1
- package/lib/contacts.mjs +2 -2
- package/package.json +1 -1
package/gitvault-surface.json
CHANGED
package/lib/contacts.mjs
CHANGED
|
@@ -321,7 +321,7 @@ async function listContacts(args) {
|
|
|
321
321
|
try {
|
|
322
322
|
allowanceAuthHeaders("/agent/v1/notifications/channels");
|
|
323
323
|
const res = await sdk.admin.channels.list();
|
|
324
|
-
for (const ch of res.
|
|
324
|
+
for (const ch of res.telegram ?? []) {
|
|
325
325
|
rows.push({ kind: "telegram", id: ch.binding_id ?? ch.id, ...ch });
|
|
326
326
|
}
|
|
327
327
|
} catch (err) {
|
|
@@ -356,7 +356,7 @@ async function removeContact(args) {
|
|
|
356
356
|
}
|
|
357
357
|
allowanceAuthHeaders("/agent/v1/notifications/channels");
|
|
358
358
|
const chans = await sdk.admin.channels.list();
|
|
359
|
-
const chan = (chans.
|
|
359
|
+
const chan = (chans.telegram ?? []).find((c) => (c.binding_id ?? c.id) === id);
|
|
360
360
|
if (chan) {
|
|
361
361
|
console.log(JSON.stringify({ kind: "telegram", ...(await sdk.admin.channels.revokeTelegram(id)) }, null, 2));
|
|
362
362
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "run402",
|
|
3
|
-
"version": "4.70.
|
|
3
|
+
"version": "4.70.9",
|
|
4
4
|
"description": "CLI for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|