@aicopycoders/exodus 2026.7.200-beta.2 → 2026.7.200-beta.3

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,4 +1,4 @@
1
- import { apiGet, apiPost, getDashboardUrl } from "../lib/client.js";
1
+ import { apiGet, apiGetDashboard, apiPost, getDashboardUrl, } from "../lib/client.js";
2
2
  import { formatError } from "../lib/format.js";
3
3
  export const helpText = `
4
4
  exodus creative — Creative-suite engines (native, copy-derived, ref-match)
@@ -152,31 +152,14 @@ async function runStatus(flags) {
152
152
  process.exit(1);
153
153
  return;
154
154
  }
155
- const dashUrl = `${getDashboardUrl()}/api/creative-suite/runs/${encodeURIComponent(runId)}`;
156
- const apiKey = process.env["EXODUS_API_KEY"] ??
157
- process.env["VAD_API_KEY"] ??
158
- "";
159
- const headers = { "Content-Type": "application/json" };
160
- if (apiKey)
161
- headers["Authorization"] = `Bearer ${apiKey}`;
162
- const fetchRes = await fetch(dashUrl, { method: "GET", headers });
163
- const text = await fetchRes.text();
164
- let data;
165
- try {
166
- data = JSON.parse(text);
167
- }
168
- catch {
169
- console.error(`Non-JSON ${fetchRes.status} from /api/creative-suite/runs/${runId}: ${text.slice(0, 300)}`);
170
- process.exit(1);
171
- return;
172
- }
173
- if (!fetchRes.ok) {
174
- const errMsg = data.error ?? `HTTP ${fetchRes.status}`;
155
+ const res = await apiGetDashboard(`/api/creative-suite/runs/${encodeURIComponent(runId)}`);
156
+ if (!res.ok) {
157
+ const errMsg = res.data.error ?? `HTTP ${res.status}`;
175
158
  console.error(`Error: ${errMsg}`);
176
159
  process.exit(1);
177
160
  return;
178
161
  }
179
- const d = data;
162
+ const d = res.data;
180
163
  console.log(`runId: ${d._id}`);
181
164
  if (d.name)
182
165
  console.log(`name: ${d.name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aicopycoders/exodus",
3
- "version": "2026.7.200-beta.2",
3
+ "version": "2026.7.200-beta.3",
4
4
  "description": "CLI + Claude Code skills for the Copycoders Exodus ad pipeline",
5
5
  "repository": {
6
6
  "type": "git",