Skip to content

feat(cli): session capabilities command (beta) - #58

Merged
purpshell merged 5 commits into
devfrom
t3code/abprops-number-capabilities
Oct 3, 2026
Merged

purpshell merged 5 commits into
devfrom
t3code/abprops-number-capabilities

Conversation

@purpshell

@purpshell purpshell commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Adds polymorfa session capabilities <session> with tabular output and --json. The command reads per-number WhatsApp configuration gates and limits; an enabled gate does not guarantee client support or upstream acceptance. It requires sessions:read and API-authorized beta enrollment.

Pins published npm SDK 0.1.0-dev.20261003052138, containing Client.sessions.getCapabilities, Hybrid Link support and API contract ee885ec4bf62af36b9b85df4310c505f38a224db. API polymorfa/polymorfa#402 and SDK polymorfa/sdks#322 are merged. CI now verifies the exact registry dependency through npm ci, replacing the temporary SDK source checkout. README examples and contract notes match the published package.

Verification: the installed npm artifact contains the method and declaration. Full npm run verify checks formatting, lint, types, command tests, build, package contents and production dependency audit. Hosted CI must pass on the final head before merge. No live Number or deployed beta endpoint was exercised.

Six-part assessment:

  • API: updated by merged polymorfa/polymorfa#402; scoped read, authoritative specs and failure paths.
  • SDKs: updated by merged feat(sdk): read a number's WhatsApp capabilities (beta) sdks#322 and published npm artifact above; TypeScript is the supported SDK.
  • CLI: command, output, help, README, exact SDK dependency and registry-based CI updated here.
  • Docs: README updated here; public capabilities guide, reference, SDK pages and navigation updated by API #402. Customer changelog remains held until an actual beta offer date.
  • Feature releases: enrolled beta, disabled until separate release authority and deployment; no flags or enrollment changed by this merge.
  • Admin controls: read card and existing release disable controls updated by API #402; this CLI read adds no staff write authority.

@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 28 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: 48c077f9-41b6-4203-bbc2-e11ffbb22a2e
📥 Commits

Reviewing files that changed from the base of the PR and between fc38156 and 35a82aa.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (6)
  • .github/workflows/ci.yml
  • README.md
  • package.json
  • src/commands/session/capabilities.ts
  • src/services/platform-management.ts
  • test/commands/platform-management.test.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@purpshell

Copy link
Copy Markdown
Member Author

@codex review

@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

Copy link
Copy Markdown
Member Author

Review status: Codex is at its usage limit and CodeRabbit is rate-limited, including the CLI. I ran the /code-review fallback instead. It raised one finding: the README omitted the account_type source. That is fixed in the latest push. Still blocked on a published SDK prerelease that contains sessions.getCapabilities (polymorfa/sdks#322).

@codex review

@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

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T06:04:49.386484Z eeac390 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: eeac390e33

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@purpshell
purpshell merged commit cf43b89 into dev Oct 3, 2026
2 checks passed
@purpshell
purpshell deleted the t3code/abprops-number-capabilities branch October 3, 2026 05:30
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