Skip to content

feat(session): show WhatsApp's new-chat cap in session view - #59

Merged
purpshell merged 2 commits into
devfrom
t3code/abprops-new-chat-capping
Oct 2, 2026
Merged

purpshell merged 2 commits into
devfrom
t3code/abprops-new-chat-capping

Conversation

@purpshell

@purpshell purpshell commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

polymorfa session view text output gains a New-chat cap line when Get session returns newChatCapping (API polymorfa/polymorfa#403): not observed yet / undetermined / not enabled by WhatsApp / used of limit used until resetsAt / capped until resetsAt. --json already passes the field through unchanged. No new command, flag or credential handling; reads the field through a local narrow type so it works with the currently pinned SDK and with polymorfa/sdks#323 once published.

Verification: typecheck, lint, format, new render test + platform-management tests pass. npm run verify: the full vitest run shows load-dependent failures in channels/customers/hybrid/sip-trunk command tests; those files pass in isolation on this branch, and a pristine dev checkout fails more of them under a full run, so they are pre-existing and unrelated.

Merge after polymorfa/polymorfa#403.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 68 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 81523064-ac5e-423b-a2ff-2d647aadc0c8

📥 Commits

Reviewing files that changed from the base of the PR and between ed6515c and 6e6dc72.

📒 Files selected for processing (2)
  • src/services/platform-management.ts
  • test/services/new-chat-cap-render.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@purpshell
purpshell merged commit 76836c2 into dev Oct 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant