Repository navigation
fix(update): iris update now purges stale DO URLs from config - #32
Merged
Merged
Conversation
- --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]>
--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]>
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]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- `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]>
…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]>
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]>
- 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]>
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]>
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]>
- 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]>
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]>
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]>
There was a problem hiding this comment.
Pull request overview
This PR updates the IRIS CLI upgrade flow to repair stale daemon API URLs in the user config after an iris update.
Changes:
- Adds a post-update config rewrite for stale DigitalOcean and heyiris API URLs.
- Logs when the daemon config URL is fixed.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+102
to
+107
| // Fix stale API URLs in daemon config (pre-Railway migration) | ||
| const configFile = `${home}/.iris/config.json` | ||
| 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() | ||
| if (fixResult.includes("config-fixed")) { | ||
| prompts.log.info("Fixed stale API URL → freelabel.net") | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
iris updatenow fixes~/.iris/config.jsonif it still points to dead DO/heyiris endpointsgit pullthat already happens during update, clients get both new daemon code AND fixed configContext
Clients running
iris updategot the new CLI binary but their daemon config still pointed tofl-iris-api-v5-mnmol.ondigitalocean.app. This caused ENOTFOUND on daemon start — 3 separate bug reports (#95615, #95614, #94207).Test plan
api_urltohttps://fl-iris-api-v5-mnmol.ondigitalocean.appin~/.iris/config.jsoniris update→ config should be rewritten tohttps://freelabel.net🤖 Generated with Claude Code