Price a code change (pull request)
diff_stackWhat a code change does to an app's bill: pass the files before (base_files) and after (head_files) the change, such as package.json, requirements.txt, .env.example (names only) and deploy configs. Returns the services added and removed, each priced now and in 12 months at the given users, with cheaper options and cost jumps, the change in monthly cost, and comment_markdown ready to post on a pull request. Use it before adding a paid service or SDK, or to review a pull request. Rules only; nothing is stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plans | No | Plans the app is on, when known. | |
| mau_now | No | Monthly active users today. Default 1,000, and the comment says it was assumed. | |
| base_files | Yes | ||
| head_files | Yes | ||
| profile_id | No | ||
| mau_forecast | No | Users expected in 12 months. | |
| requirements | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result. Its shape depends on the tool. | |
| stale | Yes | ||
| caveats | Yes | Show to the user word for word. | |
| sources | Yes | ||
| confidence | Yes | ||
| assumptions | Yes | Usage and pricing assumptions behind the numbers. | |
| disclosures | Yes | Always includes the neutrality note: no vendor pays for a place in the answer. Link its url when you mention how Kong Reviews is paid. | |
| generated_at | Yes | ||
| engine_version | Yes |