Skip to content

npmjs.com: add orca (orcareplay) - #14376

Open
xizhuomengcontin wants to merge 1 commit into
pkgxdev:mainfrom
xizhuomengcontin:add-orca
Open

npmjs.com: add orca (orcareplay)#14376
xizhuomengcontin wants to merge 1 commit into
pkgxdev:mainfrom
xizhuomengcontin:add-orca

Conversation

@xizhuomengcontin

Copy link
Copy Markdown

Adds orca to the npm provider so pkgx orca … resolves.

cmds:
  
  - orca

args:
  
  orca: npx --yes --package=orcareplay --

Why the explicit args entry rather than the ... default: the command is orca but the npm package is orcareplay, so the default [npx, --yes, --] would look for a package called orca and find the wrong thing. This is the same case chalkchalk-cli and get-portget-port-cli already handle, so I followed their shape.

What it is

OrcaReplay (Apache-2.0, Node 20+) records an AI agent's run at the HTTP boundary to its model provider — from outside the agent process — and replays that recording so the same run happens again with no provider called and no API key:

$ orca record claude -- claude -p "fix the failing test"
$ orca replay last
info replay.done reused=6/6 exact=6 divergences=0 exit=0

Ephemeral pkgx orca … suits it well: it is the kind of tool you reach for when a run has gone wrong rather than something you keep installed.

YAML parses clean (10 cmds). Disclosure: I maintain the package.

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