You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the ./powerwall entry to tsdown.config.ts and package.jsonexports, in the shape of the existing entries. The read-only check passed on a real gateway in #47.
Drops the PW-17 gate from scripts/parity.ts and fixes the status text in README.md, docs/powerwall.md and AGENTS.md.
Adds ./powerwall to the ESM and CJS consumer smoke tests.
Changes the docs-samples negative test to use a path that is not exported.
Adds a minor changeset. No release is cut and the held version-packages PR is untouched.
Checks run locally: build, both tsc projects, attw, both consumers, test/docs-samples.test.ts. No gateway commands. No write has run from Node on real hardware.
Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).
Limit details: You’ve used the included review currently available. Your 93 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Central YAML; Path: .coderabbit.yaml
Review profile: CHILL
Plan: Team
Run ID: cd206e8a-ee4c-4cfd-8f5e-871ccc25ccd1
Commits
Reviewing files that changed from the base of the PR and between f8ba4b9 and bb5ed15.
Files selected for processing: 1
scripts/parity.ts
Walkthrough
The package now builds and exports ./powerwall for ESM and CommonJS, with declaration paths. The parity script treats it as a published entry. Consumer tests and documentation reflect the export; the release entry records a read-only check on a real gateway and unverified Node writes.
Changes: Powerwall publication
Layer / File(s)
Summary
Build, export, and parity contract tsdown.config.ts, package.json, scripts/parity.ts
The build and package export maps include ./powerwall. The parity script treats it as a published entry and removes its separate gated-entry handling.
Consumer checks and publication status test/consumers/*, test/docs-samples.test.ts, .changeset/powerwall-publish.md, AGENTS.md, README.md, docs/powerwall.md
CommonJS and ESM smoke tests check the Powerwall export. Documentation and the release entry state that it is published and report the real-gateway read-only check.
The lint failure blocks CI checks; remove the unused variable before merging.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly identifies the primary change: publishing the ./powerwall entry.
Description check
The description directly explains the export changes, documentation updates, tests, validation, and release status.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 3 functions across 5 files. (5 skipped: 5 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
CodeRabbit Verify
Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Central YAML; Path: .coderabbit.yaml
Review profile: CHILL
Plan: Team
Run ID: 46606ad9-6abe-4d9a-8a5f-181d9d7e16fc
Commits
Reviewing files that changed from the base of the PR and between d65a5d7 and f8ba4b9.
Files selected for processing: 10
.changeset/powerwall-publish.md
AGENTS.md
README.md
docs/powerwall.md
package.json
scripts/parity.ts
test/consumers/cjs.cjs
test/consumers/esm.mjs
test/docs-samples.test.ts
tsdown.config.ts
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.
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
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.
Adds the
./powerwallentry totsdown.config.tsandpackage.jsonexports, in the shape of the existing entries. The read-only check passed on a real gateway in #47.scripts/parity.tsand fixes the status text inREADME.md,docs/powerwall.mdandAGENTS.md../powerwallto the ESM and CJS consumer smoke tests.Checks run locally: build, both tsc projects, attw, both consumers, test/docs-samples.test.ts. No gateway commands. No write has run from Node on real hardware.