Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
ci: keep PR footers and emoji out of App Store release notes
leepokai89e7b014c22f
diff --git a/tools/asc-submit-test.py b/tools/asc-submit-test.pyindex 4068ce42..b98b9772 100644--- a/tools/asc-submit-test.py+++ b/tools/asc-submit-test.py@@ -19,6 +19,11 @@ prs = [{"body": template, "mergeCommit": {"oid": "c"}}, # untouched template adds nothing{"body": filled.replace("Routines", "Old"), "mergeCommit": {"oid": "z"}}, # not in this release{"body": None, "mergeCommit": None},+ # an empty template followed by a PR footer (shipped as "🤖 ..." in v2.4.3) adds nothing+ {"body": template + "\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nhttps://claude.ai/code/x",+ "mergeCommit": {"oid": "c"}},+ # emoji are stripped (the App Store rejects them), so this repeats a bullet above+ {"body": filled.replace("- Routines use one form", "- Routines use one form 🚀"), "mergeCommit": {"oid": "b"}},]assert asc.pr_notes(prs, {"a", "b", "c"}) == {"zh-Hant": "- 例行任務改用同一個表單", "en-US": "- Routines use one form"}, asc.pr_notes(prs, {"a", "b", "c"})diff --git a/tools/asc-submit.py b/tools/asc-submit.pyindex 988bb0a1..5c893fe4 100755--- a/tools/asc-submit.py+++ b/tools/asc-submit.py@@ -39,6 +39,7 @@ EDITABLE = {"PREPARE_FOR_SUBMISSION", "READY_FOR_REVIEW", "DEVELOPER_REJECTED",DONE = {"READY_FOR_DISTRIBUTION", "REPLACED_WITH_NEW_VERSION", "REMOVED_FROM_SALE"}DRY_RUN = os.environ.get("DRY_RUN") == "1"NOTES = Path(__file__).resolve().parent.parent / "apps/ios/WhatsNew.md"+EMOJI = re.compile("[\U00010000-\U0010FFFF\u2600-\u27BF\uFE0F\u200D]")WORKFLOW_ID = "44342080-ce08-4dc1-be35-34ce6cbb41b5" # Xcode Cloud "Release": Archive iOS for the App Store# What the iPhone app is built from; apps/project.yml counts except its version lines.IOS_PATHS = ["apps/ios", "apps/shared", "kit", "apps/Codync.xcodeproj/project.xcworkspace"]@@ -77,8 +78,11 @@ def pr_notes(prs, commits):section = re.search(r"^## What.s New[ \t]*$(.*?)(?=^## |\Z)", body, flags=re.M | re.S)for loc, text in re.findall(r"^### +(\S+)[ \t]*$(.*?)(?=^### |\Z)", section[1] if section else "",flags=re.M | re.S):+ # Only filled bullets count: text after the section (a PR footer) is not a note,+ # and the App Store rejects emoji in What's New.for line in map(str.strip, text.splitlines()):- if line not in ("", "-") and line not in notes.setdefault(loc, []):+ line = EMOJI.sub("", line).strip()+ if re.match(r"[-*] +\S", line) and line not in notes.setdefault(loc, []):notes[loc].append(line)return {loc: "\n".join(lines)[:4000] for loc, lines in notes.items() if lines}