run402 4.33.0 → 4.33.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/lib/messages.mjs CHANGED
@@ -60,6 +60,18 @@ Notes:
60
60
  - The room itself — arriving, leaving, seeing who is live — is \`run402 rooms\`.
61
61
  `;
62
62
 
63
+ /** `--to a,b` / `--cc a,b` → presence names. Moved here with `send`, the only
64
+ * verb that reads them (it stayed behind in rooms.mjs on the first split and
65
+ * broke every send — a runtime reference no arg-parsing test could see). */
66
+
67
+
68
+ /** `--to a,b` / `--cc a,b` → presence names. Moved here with `send`, the only
69
+ * verb that reads them — it stayed behind in rooms.mjs on the first split and
70
+ * broke every send, which no arg-parsing test could see. */
71
+ function splitNames(value) {
72
+ return value ? value.split(",").map((s) => s.trim()).filter(Boolean) : [];
73
+ }
74
+
63
75
  async function ensurePresence(room, { name, task } = {}) {
64
76
  const existing = cachedPresenceId(room.orgId, room.roomKey);
65
77
  if (existing) {
package/lib/rooms.mjs CHANGED
@@ -116,11 +116,6 @@ async function who(args) {
116
116
  }
117
117
  }
118
118
 
119
- function splitNames(value) {
120
- return value ? value.split(",").map((s) => s.trim()).filter(Boolean) : [];
121
- }
122
-
123
-
124
119
  export async function run(sub, args) {
125
120
  const argv = Array.isArray(args) ? args : [];
126
121
  if (!sub || hasHelp([sub, ...argv])) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "run402",
3
- "version": "4.33.0",
4
- "description": "CLI for Run402 — provision Postgres databases, deploy static sites, generate images, and manage wallets via x402 and MPP micropayments.",
3
+ "version": "4.33.2",
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": {
7
7
  "run402": "cli.mjs",