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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "surface_version": "4.70.8",
2
+ "surface_version": "4.70.9",
3
3
  "verbs": [
4
4
  "repos create",
5
5
  "repos list",
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.channels ?? []) {
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.channels ?? []).find((c) => (c.binding_id ?? c.id) === id);
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.8",
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": {