Devin catalog emits '$4 / 1M Input · $0.2 / 1M Cached input · $20 / 1M Output'
but the vendored parseCost only matched '/MTok In/Out', leaving output and
cached prices at 0 so session cost totals for devin models were wrong.
Accept 1M Input/Output/Cached input labels and use the real cached-input
price for cacheRead instead of the 10% input heuristic.
- Vendor the patched pi-devin@0.1.2 tree at apps/pi-devin/upstream/
(third-party archive -> upstream_fork); git history replaces the patch
layer as the change archive. Includes the devin-desktop identity fix
and normalized catalog variant mapping from the previous patch.
- build-pi-package.sh now verifies source.sha256 against
host-local-packages.json and npm-packs the vendored tree; drop the
npm fetch + patch stage.
- install-pi-package.sh strips the npm-pack package/ prefix to match
the playbook's unarchive behavior.
- Deployed to a100 via deploy_pi_devin_package (--limit a100, R2 then
R3); remote verified to carry the fork source.