Skip to content

feat: expose duration and token metric outputs - #17

Merged
PunGrumpy merged 6 commits into
mainfrom
feat/expose-metric-outputs
Sep 4, 2026
Merged

feat: expose duration and token metric outputs#17
PunGrumpy merged 6 commits into
mainfrom
feat/expose-metric-outputs

Conversation

@PunGrumpy

Copy link
Copy Markdown
Owner

Description

Expose execution duration and granular token usage outputs, and enhance the GitHub Actions step summary:

  • Expose duration-ms output with the elapsed run duration in milliseconds.
  • Expose total-tokens, input-tokens, and output-tokens outputs for programmatic usage tracking and budgeting.
  • Display input tokens, output tokens, cached tokens, and total tokens in the job summary table.
  • Remove an em dash from the timeout warning message in src/input.ts.
  • Synchronize package description and reference documentation.

Related Issues

None

Checklist

  • I've reviewed my code
  • I've written tests (skip if not applicable, e.g. .github/–only changes)
  • I've added a changeset when the change affects the published action or release notes (skip for .github/–only community or template updates)
  • I've updated the docs, if necessary

Screenshots (if applicable)

Additional Notes

Includes patch changeset .changeset/expose-metric-outputs.md and recompiled dist/index.mjs.

@changeset-bot

changeset-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d5950f7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@pungrumpy/cursor-action Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cursor-action Ready Ready Preview Sep 4, 2026 3:31am UTC

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 529e616b-54d5-4d54-b647-4b018f022861

📥 Commits

Reviewing files that changed from the base of the PR and between bb3afa7 and d5950f7.

⛔ Files ignored due to path filters (1)
  • dist/index.mjs is excluded by !**/dist/**
📒 Files selected for processing (9)
  • .changeset/expose-metric-outputs.md
  • README.md
  • __tests__/output.test.ts
  • action.yml
  • docs/content/reference.mdx
  • package.json
  • src/input.ts
  • src/output.ts
  • src/types.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@PunGrumpy
PunGrumpy merged commit a289b51 into main Sep 4, 2026
10 checks passed
@PunGrumpy
PunGrumpy deleted the feat/expose-metric-outputs branch September 4, 2026 03:57
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