Skip to content

Commit b760afd

Browse files
fix(update): iris update now purges stale DO URLs from config (#32)
* feat(meet): add --calendar flag for calendar selection + fix typecheck - --calendar flag passes calendar_id to create_event (e.g. 'primary', 'work@group...') - Shows Calendar ID in output when specified - Fix: home → homeDir typo in installation/index.ts Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * feat(meet): resolve calendar by display name + show account in output --calendar now accepts friendly names (e.g. "Meetings") — resolves via get_calendars API with exact then fuzzy match. Falls back to raw ID if it contains @ or is "primary". Shows available calendars on mismatch. --account shown in output for clarity. Usage: iris leads meet 65 --at ... --account [email protected] --calendar Meetings Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * fix(leads): strip pricing/payment language from recap prompts Recap emails now focus only on production progress — what was built, what's next, what we need from the client. No pricing, billing, or agreement mentions. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * fix(som): DJ Outreach V1→V2 in SOM campaign preset Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * feat(venues): search + enrich commands, --force on all delete commands - `iris venues search "concert venues Dallas TX"` — Serper Places search via iris-api - `iris venues search ... --save` — auto-create venue records from results - `iris venues enrich <id>` — backfill Google Places data (rating, phone, address) - `iris venues enrich all` — batch enrich all venues missing data - `iris venues delete --force/-y` — skip confirmation (MCP/Cowork compatible) - Added --force/-y to ALL 15 platform delete commands for MCP/Cowork compatibility: app, atlas-datasets, automation, boards, brands, hive, leads, outreach-campaign, outreach, products, programs, services, som-campaign, venues, workflows Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * feat(leads): add --prepare flag to pulse-all with tasks, reqs, and 3 action items Shows lowest-pulse leads first with per-lead stats (tasks pending/overdue, requirements passing/total, KB count, meeting score) and top 3 prioritized CLI commands to improve each lead's pulse. Fixed task/requirement endpoint parsing (tasks wrapped in .data.tasks, requirements at top level not .data). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * docs(pulse): update recipe with --recap, --prepare, and meeting signal Adds recap status updates (72h throttle, production-only), prepare dashboard (tasks/reqs/KB/meetings + 3 actions), and updated signal weights including deal_health and meeting_engagement at 7% each. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * feat(venues): touch score tracking + artist discovery CLI - search dedup: shows [EXISTS xN] / [NEW] badges, increments search_count on save - list --sort trending|rating|newest with search count badges - get shows search_count + last_searched_at - discover <artist>: AI-powered venue discovery via similar artist touring patterns uses deepResearch + searchPlaces, groups results by city, --save to persist Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * fix(venues): fix searchPlaces location duplication causing empty results CLI was passing full query as both query and location params, causing SearchService to send "query in query" to Serper. Now extracts location hint from last 2 words of query. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * feat(venues): rewire discover to use existing venue-outreach pipeline Replaces the Serper-dependent discover command with a thin wrapper around the proven venue-outreach.spec.ts Playwright pipeline (Eventbrite + DDG). No API credits needed. Full pipeline: AI tour-seed → discover → enrich → email. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * feat(pulse): include Negotiating leads in pulse-all default scorecard - Add "In Negotiation" and "Negotiating" to pulse-all default statuses - Relax eligibility filter: Negotiating leads with phone numbers pass even with social-only emails (hand-picked, not scraped) - Payment gates remain hardcoded to Won only — no billing impact - Tested on Propane (anomalyco#21658) and Trapaholics (anomalyco#21665) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * fix(daemon): auto-update + purge stale DO URLs on iris-daemon start Clients installed before Railway migration have old daemon.js with no stale-URL migration and config.json pointing to dead DO endpoints. Now daemonctl start: git pulls latest code, fixes config URLs, then launches. Also purges all main.heyiris.io / apiv2.heyiris.io / ondigitalocean.app refs from scaffold docs that client AI agents read. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * fix(update): purge stale DO URLs in config on iris update iris update now fixes ~/.iris/config.json if it still points to dead DO/heyiris endpoints. Combined with the bridge git pull that already happens, clients get both new daemon code AND fixed config in one go. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 94adcb9 commit b760afd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/opencode/src/cli/cmd/upgrade.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ export const UpgradeCommand = {
9898
if (bridgeResult.includes("bridge-updated")) {
9999
prompts.log.info("Bridge updated")
100100
}
101+
102+
// Fix stale API URLs in daemon config (pre-Railway migration)
103+
const configFile = `${home}/.iris/config.json`
104+
const fixResult = await $`test -f ${configFile} && grep -qE 'ondigitalocean\\.app|main\\.heyiris\\.io|apiv2\\.heyiris\\.io' ${configFile} 2>/dev/null && sed -i.bak -e 's|https://[^"]*ondigitalocean\\.app[^"]*|https://freelabel.net|g' -e 's|https://main\\.heyiris\\.io[^"]*|https://freelabel.net|g' -e 's|https://apiv2\\.heyiris\\.io[^"]*|https://freelabel.net|g' ${configFile} && rm -f ${configFile}.bak && echo "config-fixed"`.nothrow().quiet().text()
105+
if (fixResult.includes("config-fixed")) {
106+
prompts.log.info("Fixed stale API URL → freelabel.net")
107+
}
101108
}
102109

103110
prompts.outro("Done")

0 commit comments

Comments
 (0)