{"_id":"@wterm/ghostty","_rev":"19-91290a84ccb1e7c17c91a11e5213763e","name":"@wterm/ghostty","dist-tags":{"latest":"0.6.0"},"versions":{"0.3.0":{"name":"@wterm/ghostty","version":"0.3.0","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.3.0","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"609415acb7ba4e9feb6d050d079a0f354bb76dd0","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.3.0.tgz","fileCount":17,"integrity":"sha512-TDjEmUSRD7IaFxq31P7+I3Inkp5mHCfBfO6LYj3/vbLbWOkOZOKPhjAcZ36AYFHe9Q0HLCFvLWmrxIO3aGCjDA==","signatures":[{"sig":"MEYCIQDGJ3QV6C+YsB3+lfxLovJZ1FQH5zo4kXJf+3nn4WD3+AIhAMglu2UHxxgZSuGTgUeDti3INWq3OCee5FrTBSsXf7Gc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":475068},"main":"dist/index.js","type":"module","_from":"file:wterm-ghostty-0.3.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh"},"_npmUser":{"name":"ctate","email":"chris@ctate.dev"},"_resolved":"/private/var/folders/bw/l_mkbwg9061dn0frt5258s180000gn/T/c053f23544ba6957df3a668edbbbfad5/wterm-ghostty-0.3.0.tgz","_integrity":"sha512-TDjEmUSRD7IaFxq31P7+I3Inkp5mHCfBfO6LYj3/vbLbWOkOZOKPhjAcZ36AYFHe9Q0HLCFvLWmrxIO3aGCjDA==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"10.9.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@wterm/core":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.3.0_1777580341298_0.22735024546423044","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@wterm/ghostty","version":"0.3.1","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.3.1","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"b3718db1db496769e528bf0a75952db1a04b48c4","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.3.1.tgz","fileCount":17,"integrity":"sha512-flTYuYMnl2jgn3ezuxikloraaPIcZabrmnvykzaIHqk61m5XowaLBkEUKagXKZZ36i5NfAP37kDzZsMWAB7psg==","signatures":[{"sig":"MEUCIQDqaytXZpuQRmVTbvJfw3fbToOSwFSa+Y2brtDusx9UqgIgaDdui3FFfYtDNFY7mE74j7j/EUodFXxbnwCAUMNZhCk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":475341},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.3.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.3.1.tgz","_integrity":"sha512-flTYuYMnl2jgn3ezuxikloraaPIcZabrmnvykzaIHqk61m5XowaLBkEUKagXKZZ36i5NfAP37kDzZsMWAB7psg==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.16.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@wterm/core":"0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.3.1_1785213124063_0.3023220751307589","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@wterm/ghostty","version":"0.3.2","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.3.2","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"d5f130d35f2333c238b7d554a79abbe789f85345","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.3.2.tgz","fileCount":17,"integrity":"sha512-sP5w7xntOQHb2ReuHjeDtPXHnUtLyWyrEaFqOY2kuc/mdH2GFWfhQyrLbKx8b8pTmmmdlxbJ76ksrERcobmVWw==","signatures":[{"sig":"MEUCIQCjcGcLvwoCk5RnL15PL1QTIfJyXsSGNQLKBOu8I9SB4gIgEHGT12hS9KSBU6tEmZFDWMhwfQZ1CfI9XySCoXpw3lc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":483041},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.3.2.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.3.2.tgz","_integrity":"sha512-sP5w7xntOQHb2ReuHjeDtPXHnUtLyWyrEaFqOY2kuc/mdH2GFWfhQyrLbKx8b8pTmmmdlxbJ76ksrERcobmVWw==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.16.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@wterm/core":"0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.3.2_1785710608205_0.36654227007538953","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@wterm/ghostty","version":"0.3.3","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.3.3","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"aa74a163f1148b688425598d74d48af841bfcbe0","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.3.3.tgz","fileCount":17,"integrity":"sha512-7/AGWr0TiD77g8+ZKAFl8L31ge2o+N41MsUD+ukLxsWnOgoRetSI43FYAlJ8yWi7X74FMM5l+n1Um+jtXsu0oQ==","signatures":[{"sig":"MEUCIFMBKMHaHCr9lh+HlrcdfiLDkk3KMjbkjN1bIZsB/GI3AiEAsgfZw0oVLH/z5lb8XvkDv4aDAm4oNceTi92UWh4xzDs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":486146},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.3.3.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.3.3.tgz","_integrity":"sha512-7/AGWr0TiD77g8+ZKAFl8L31ge2o+N41MsUD+ukLxsWnOgoRetSI43FYAlJ8yWi7X74FMM5l+n1Um+jtXsu0oQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.16.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@wterm/core":"0.3.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.3.3_1786381820828_0.060280684233991355","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@wterm/ghostty","version":"0.3.4","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.3.4","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"f7c91d80f3fd5ab79c90c7965f271004617e3bde","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.3.4.tgz","fileCount":17,"integrity":"sha512-oa53vgUFuNfIt+p8vvEeKlr8M4NRciEmHqY8pIXBxV3NRH6OGjMb1TiSxKBi+hySP61uXKqVbbu9YdW+7fWNMg==","signatures":[{"sig":"MEUCIQCmfYzcK6ZZUYeZ5rPF9yPY84l15GmZhwXhfKuQVqX+9gIgRc2cvDdUtoQZvWSrm7GC5vAVhMduYlVKa06cyB1vHus=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":503721},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.3.4.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.3.4.tgz","_integrity":"sha512-oa53vgUFuNfIt+p8vvEeKlr8M4NRciEmHqY8pIXBxV3NRH6OGjMb1TiSxKBi+hySP61uXKqVbbu9YdW+7fWNMg==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.17.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@wterm/core":"0.3.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.3.4_1786600269387_0.13999681857614044","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@wterm/ghostty","version":"0.4.0","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.4.0","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"b5f0b17ea7e68ed052b6e0b07a3ab3a0c1dbc234","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.4.0.tgz","fileCount":17,"integrity":"sha512-tNavTXXMwf7TRAg+XhgCM8oO9ZeKuJDNDfO3rGspa4hZujkWzAfCByWM/8RPh7XzzBVJ+r8Mf1DWT5WVXUpFWQ==","signatures":[{"sig":"MEUCIQCzE7QW4kKXn3QF9RC/MmTh8npJ8IToqX/pJBY07p9kKAIgZv8FkhsNntJS+zYef81Rzt7A0np7A2oe3f21vf2Not8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":681060},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.4.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.4.0.tgz","_integrity":"sha512-tNavTXXMwf7TRAg+XhgCM8oO9ZeKuJDNDfO3rGspa4hZujkWzAfCByWM/8RPh7XzzBVJ+r8Mf1DWT5WVXUpFWQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.17.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@wterm/core":"0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.4.0_1788362802023_0.5216808895932461","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@wterm/ghostty","version":"0.4.1","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.4.1","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"fcce407d48b8545a86cd9c6fc9d8dfe04e12b9c2","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.4.1.tgz","fileCount":17,"integrity":"sha512-HqG/03oTXME302x+BwOaWDSi2b1Txgd28rbIHhRcTIlY4R4+vqafMmXDrKWEmNsMuoqbTc4prAr/MmVQvm/TmQ==","signatures":[{"sig":"MEUCIQCQ07jNIoyWD3LxccVpGGkAJZCQLsQkkqnI/6cgGNbdsgIgOa7EojQRG59inf5bSFBYxv01WMuYDIsluk0R0YnR2IE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":681248},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.4.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.4.1.tgz","_integrity":"sha512-HqG/03oTXME302x+BwOaWDSi2b1Txgd28rbIHhRcTIlY4R4+vqafMmXDrKWEmNsMuoqbTc4prAr/MmVQvm/TmQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@wterm/core":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.4.1_1788391889876_0.04933772005656478","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@wterm/ghostty","version":"0.5.0","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.0","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"e337354301871ff8fff9bc242d14ed25337c53f8","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.0.tgz","fileCount":17,"integrity":"sha512-MOZTFazB1g3gd2xWslE3Ua0D8opfiTBsskIMtdclE0IsoghHMn4lu0oFEbQV0ZiUNGrou8Td+dPNNm5GYjMhvQ==","signatures":[{"sig":"MEUCICHu20X7xBQOa5PjzT6TmMj71S4+g/aeM7Ggw3bjim/PAiEArBklrAswKIZiHxevm8d4ShnMPGjnln4GEHEy1otA3jc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":681593},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.0.tgz","_integrity":"sha512-MOZTFazB1g3gd2xWslE3Ua0D8opfiTBsskIMtdclE0IsoghHMn4lu0oFEbQV0ZiUNGrou8Td+dPNNm5GYjMhvQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@wterm/core":"0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.0_1788561821461_0.6382837235928445","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@wterm/ghostty","version":"0.5.1","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.1","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"b9e4041f72790e901bc70e53c252842cc3a090de","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.1.tgz","fileCount":17,"integrity":"sha512-5JJwiLx9ImDkgGyRJN4AhQSWp+DilBwqarIZhdA8qzh37sqOjlTZJAd/Lm6VGF1964rkYXYSQSQFbGbj0hlByg==","signatures":[{"sig":"MEYCIQDzNJiUH6CLYUd7mB4nxzfL4duAOjASLIK8jPrJqiZhgAIhAI1t3aEjsDlTsuyWFVL922xn0hsct144k0AbgPE3fiOf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGod1obUZBNz1aNYPKqAVfbN2KRcUIEGJK7s9ieZYX0lAiAmXULnU4SVFpTN4DoHZZimRUl7ZOU+vPlpWJX8mnwY7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":700784},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"vitest run","build":"tsc","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.1.tgz","_integrity":"sha512-5JJwiLx9ImDkgGyRJN4AhQSWp+DilBwqarIZhdA8qzh37sqOjlTZJAd/Lm6VGF1964rkYXYSQSQFbGbj0hlByg==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@wterm/core":"0.5.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.1_1790379972141_0.6465767599325065","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@wterm/ghostty","version":"0.5.2","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.2","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"ce003e0074e974a5b87bcb2db23e40cf5ae60dec","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.2.tgz","fileCount":17,"integrity":"sha512-4ohqqzja6ZOczOSYtOZNaiIusHP525vNx8Y8cw28lAiCIEnfgIlGvffgmQfm42tM5ZVrZjy6z678N0tduSJq/g==","signatures":[{"sig":"MEQCIFTGxuw6BbosDpXZnyrYGApl+nGa+Jy/TSf7Q+73ftDsAiBNUc5ZtsEfeFpeGLOE8DLp+TiACU9I8YaN8JWLoqO7vA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICgvlN8i8WtPIB9BhsozS9Dn+e5W4+Y589kadMPK61ngAiBt6MmyNvSI9takQx3cMqiw/AFov81r04/GUOKzowCD4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":731843},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.2.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.2.tgz","_integrity":"sha512-4ohqqzja6ZOczOSYtOZNaiIusHP525vNx8Y8cw28lAiCIEnfgIlGvffgmQfm42tM5ZVrZjy6z678N0tduSJq/g==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@wterm/core":"0.5.2"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.2_1790558721734_0.7462223116569844","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@wterm/ghostty","version":"0.5.3","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.3","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"772cabe27129cacbffa0e871e5c0e765107cc857","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.3.tgz","fileCount":17,"integrity":"sha512-y7A4mrGJoGQ3xO6+bOQhuysRYZzN6S2PRoZrZuAsBknz6SMfi0eTcZiudN5XhKDfs2GR35ckUFXz1SeFfhm5jQ==","signatures":[{"sig":"MEUCIQDqOhsqZaUKZuPWkoc9rslMPsZO5yUm32IQputHcxbHUwIgAio89Tpx7VhT0g9aeKh6XpUmvjDl0z6NWvuDyJ80KI0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC5LshbTDbZoOXmvkT7PFWIaiGnhfV060ixFSd60JkodAIgEtG/5i7Re4GBmehy54MqvuLwnxURmBsdf0RIPAfMQE8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":735325},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.3.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.3.tgz","_integrity":"sha512-y7A4mrGJoGQ3xO6+bOQhuysRYZzN6S2PRoZrZuAsBknz6SMfi0eTcZiudN5XhKDfs2GR35ckUFXz1SeFfhm5jQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@wterm/core":"0.5.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.3_1790644159931_0.638564176951937","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"@wterm/ghostty","version":"0.5.4","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.4","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"231b8cd8c9d56528d134a8b8f7af953b59c91b22","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.4.tgz","fileCount":17,"integrity":"sha512-W6wlGhHiGf/2tF/uZo8qHtaYqA3Ebf+6VhdPidiWuqEU37Kj+YSkuXCXP/qORSD0roec/5Z16qYRyF5HsC9XJg==","signatures":[{"sig":"MEYCIQCQA1V8VeyTUceqd1O7Cv0o9Zofus5BfFgcGK5B3pExKQIhANtmHJO4Ji/r7AxwuyP4reXrMQI13S6G886cMl+vpczo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD2YYmYR64fO/V6rdmqJs8zFtKrdjdmgJ1f5D2UuKC5qgIhAI02ZUa+4Ba83DsgnhPklKM84fjg0x1BZZdqigPouFcj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":735325},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.4.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.4.tgz","_integrity":"sha512-W6wlGhHiGf/2tF/uZo8qHtaYqA3Ebf+6VhdPidiWuqEU37Kj+YSkuXCXP/qORSD0roec/5Z16qYRyF5HsC9XJg==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@wterm/core":"0.5.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.4_1790651905424_0.8645226945528313","host":"s3://npm-registry-packages-npm-production"}},"0.5.5":{"name":"@wterm/ghostty","version":"0.5.5","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.5","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"add40d743d31efb9c694ba7d6dae1376fcecd622","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.5.tgz","fileCount":17,"integrity":"sha512-7OhGUBNdVxVstKFTgPBiUF7e/TQoaWRN1KCvPRLob9MCTHKg5QdJhWEjwLaYUQkbdg9Kd91IqCSMDOYXl22oCg==","signatures":[{"sig":"MEUCIQCt4d9NEIMFyrUzaT8rh4nieryXRKNeYCcstHkB5OejeQIgJ6xicb0xPheIOKTyHYzePliZ7FRkruCPPcAyp4ZXfV4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFHd4WwkqULs28wTULproLKKbhGXKgPEixOjAU3qHRFBAiAyzSL4ugguon4ia69YKiof0lqcLRdB5qUxUM1hxbQX0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":735325},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.5.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.5.tgz","_integrity":"sha512-7OhGUBNdVxVstKFTgPBiUF7e/TQoaWRN1KCvPRLob9MCTHKg5QdJhWEjwLaYUQkbdg9Kd91IqCSMDOYXl22oCg==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@wterm/core":"0.5.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.5_1792699068788_0.32251659477129246","host":"s3://npm-registry-packages-npm-production"}},"0.5.6":{"name":"@wterm/ghostty","version":"0.5.6","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.6","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"5d462c6c2cf9ff7471337eb8a1d80c2d668603e7","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.6.tgz","fileCount":17,"integrity":"sha512-I057CKoNj0K0dO9jp4QZhznyDx8CZfm3q64X1Tq5Gout9VJ//aCUt/k5fmba1jqaaH4fE+gR8yyb29ZMu25+iQ==","signatures":[{"sig":"MEYCIQCUVzRlmgz94qSpRWTKjMpvOWLD8jD9oSfJk1b6e2SDvgIhAOVwyAL6PS8G0D2Pccmr35Q07lOOR8UlJjT+7cTuQjsB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC8OuxTukYqv0gv8v1JpHK98k6U/D76LispL6Uu6MpSYAIgDPJ7UhJbUoZXvcCGkeo7gM66dCepux3xnsaGItmxuRI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":735325},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.6.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.6.tgz","_integrity":"sha512-I057CKoNj0K0dO9jp4QZhznyDx8CZfm3q64X1Tq5Gout9VJ//aCUt/k5fmba1jqaaH4fE+gR8yyb29ZMu25+iQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.0","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@wterm/core":"0.5.6"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.6_1793049257384_0.48326602957542875","host":"s3://npm-registry-packages-npm-production"}},"0.5.7":{"name":"@wterm/ghostty","version":"0.5.7","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.7","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"426fa528b75c30621d8dfd112f049b339f774dde","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.7.tgz","fileCount":17,"integrity":"sha512-shvpcqzIaz5QuLoTqZ0miotG9GU6/cWPm/7ntjwylhozDRX+wt7DYwvXQenJJ2WtaSSn+wmoMJYplHXDFLjHIQ==","signatures":[{"sig":"MEQCIDtl1nCEnckxpI0O9snl9RedBDe8z6SkslP4yoTJfBxbAiBWWIxkPrFTy0zuZX2+CNE0uDnrrrmBjb40rdm8/7UdrA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIE9JgW5RYeNZFEjOogi47P0glR0oWI33BfUIdm+nuGHNAiEA0b9pFw1wtk5VpJPtRvLCJZfO2f2uFi/V//XJkc0uirg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":741647},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.7.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.7.tgz","_integrity":"sha512-shvpcqzIaz5QuLoTqZ0miotG9GU6/cWPm/7ntjwylhozDRX+wt7DYwvXQenJJ2WtaSSn+wmoMJYplHXDFLjHIQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.1","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.22.1","dependencies":{"@wterm/core":"0.5.7"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.7_1793210074085_0.04387447441814951","host":"s3://npm-registry-packages-npm-production"}},"0.5.8":{"name":"@wterm/ghostty","version":"0.5.8","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.8","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"5b61d1ee68650e3a2029ba76f9f59e1a242bb7b1","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.8.tgz","fileCount":17,"integrity":"sha512-mrtFqlorzmNLo203UfgPa3+eY0JSGFfC8ioqcuBY9S80te8RD1g7nnbGVUerbjACkaY5MlBzLbu8mXZNUCjBpA==","signatures":[{"sig":"MEQCIDzQPYYiTfsOGeOb9vxjdXEoQ5ELEtFPW1cpZnsNB+0SAiAuXIg3BW6hGzAKnkArogNVYhKjLE53/AwNbC8+POuDyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHfjCsVozZctSKAk5srTcsQOat+o9XsXPSOiugaOH/TTAiBgdgV5b0g79D8tGK3Z/KMrJhZD+xd54H1Oyk2UxGw5xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":741647},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.8.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.8.tgz","_integrity":"sha512-mrtFqlorzmNLo203UfgPa3+eY0JSGFfC8ioqcuBY9S80te8RD1g7nnbGVUerbjACkaY5MlBzLbu8mXZNUCjBpA==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.1","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.22.1","dependencies":{"@wterm/core":"0.5.8"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.8_1793666092668_0.6258547318008844","host":"s3://npm-registry-packages-npm-production"}},"0.5.9":{"name":"@wterm/ghostty","version":"0.5.9","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.9","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"c2cbc49498ddb18855f73d917e3f0499f2b949f9","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.9.tgz","fileCount":17,"integrity":"sha512-LzzPxJp6F53BiKWoWXm+D8kL4PLZDeNT922edOpNYm174YiuqjrMDLGEjad6dlLy6SLST9t9fzXk0/srMx6BPg==","signatures":[{"sig":"MEUCIQDtkytMtQPtsANrQzRS04QCuEHzk4AoJ/rd8RJ/JuNwUgIgJN+PFdukYxZQAos6+sD5952zeU/GjChoupqANRVouHw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDQq4FwqGDrejtxdkv837ulxl9laVWcW12zqYteaSBKaAiEA1nPYGiHNmQexOGYsKJjrU4MXDAxHRmnOdfEGlXq2KgY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":747012},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.9.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.9.tgz","_integrity":"sha512-LzzPxJp6F53BiKWoWXm+D8kL4PLZDeNT922edOpNYm174YiuqjrMDLGEjad6dlLy6SLST9t9fzXk0/srMx6BPg==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.1","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.22.2","dependencies":{"@wterm/core":"0.5.9"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.9_1793762439120_0.5334121707030596","host":"s3://npm-registry-packages-npm-production"}},"0.5.10":{"name":"@wterm/ghostty","version":"0.5.10","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"license":"Apache-2.0","_id":"@wterm/ghostty@0.5.10","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://wterm.dev","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"fe7515b484caf4ae811ee3c6c99f2c93810e6946","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.5.10.tgz","fileCount":17,"integrity":"sha512-CQMlo/y/9nghQQdvQMigzjurN9j0jpszVZecehL1zEBEQ3T5QYBzcpEtEGfrZlvw/IRYSGZsUadzviNCJRcUiQ==","signatures":[{"sig":"MEUCID0VOnPY+XG8X7RrdAJ32VAk2g36z61FRgHs861+oM7gAiEAqxNk+qdxPHOdmMzzwfANFP122BNASfE6d08lbQbkO+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC7xImNPrdPxJDmISUfxURK7SmhiKMgFnTfD0XSmV37UAIhAObsSHShbY2hZ2U4Mk7EmRzuaKh1gT2bwBK9LSQgVeNQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.5.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":747478},"main":"dist/index.js","type":"module","_from":"file:/tmp/wterm-ghostty-0.5.10.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc-ts --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","type-check:tsc":"tsc --noEmit","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"_resolved":"/tmp/wterm-ghostty-0.5.10.tgz","_integrity":"sha512-CQMlo/y/9nghQQdvQMigzjurN9j0jpszVZecehL1zEBEQ3T5QYBzcpEtEGfrZlvw/IRYSGZsUadzviNCJRcUiQ==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.1","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"_nodeVersion":"24.22.2","dependencies":{"@wterm/core":"0.5.10"},"_hasShrinkwrap":false,"devDependencies":{"tsc-ts":"0.1.2","typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ghostty_0.5.10_1794175610007_0.505599977079504","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"_id":"@wterm/ghostty@0.6.0","bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"dist":{"shasum":"818b5aca48242ac4947a45471d79d78cde4cbc3b","tarball":"https://registry.npmjs.org/@wterm/ghostty/-/ghostty-0.6.0.tgz","fileCount":17,"integrity":"sha512-BmRMvea3/qYJY5C+CsjrGtd0dOYy3gyT26Bajiy/xOqyv6WILTKxPSEniLWz/mPBPoMWZpmzOS0QIQK15zHhUA==","signatures":[{"sig":"MEUCIQC7hU8j9Nu9sIDtGrUd5ESYYHLy0og4QmMdZH0NM3WYCwIgN0SCPOvS4Hm2zC8l2tUbPEwum3hEj6CBaM3Cg232rgs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB9IKJFE9VSwGqIoMtVuG7DQjn3OZUe6Lq5drKlewR6wAiB7ccPP+8Ujbcsy+9YEM/xOJkRtblT8XGVAYPFrm9aPEg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wterm%2fghostty@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":748128},"main":"dist/index.js","name":"@wterm/ghostty","type":"module","_from":"file:/tmp/wterm-ghostty-0.6.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./ghostty-vt.wasm":"./wasm/ghostty-vt.wasm"},"license":"Apache-2.0","scripts":{"test":"node --test scripts/build-wasm.test.mjs && vitest run","build":"tsc","check-wasm":"bash scripts/build-wasm.sh --check","type-check":"tsc-ts --noEmit","rebuild-wasm":"bash scripts/build-wasm.sh","type-check:tsc":"tsc --noEmit","check-wasm:docker":"bash scripts/build-wasm-docker.sh --check","rebuild-wasm:docker":"bash scripts/build-wasm-docker.sh"},"version":"0.6.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7aab1f60-2083-4b58-b83b-babd05acfa67"}},"homepage":"https://wterm.dev","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"_resolved":"/tmp/wterm-ghostty-0.6.0.tgz","_integrity":"sha512-BmRMvea3/qYJY5C+CsjrGtd0dOYy3gyT26Bajiy/xOqyv6WILTKxPSEniLWz/mPBPoMWZpmzOS0QIQK15zHhUA==","repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"_npmVersion":"11.19.1","description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","directories":{},"maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"_nodeVersion":"24.22.2","dependencies":{"@wterm/core":"0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"tsc-ts":"0.1.2","typescript":"^7.0.2","@internal/ts":"0.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ghostty_0.6.0_1794868865057_0.6325115969451365"}}},"time":{"created":"2026-04-30T20:19:00.889Z","modified":"2026-11-16T22:41:05.527Z","0.3.0":"2026-04-30T20:19:01.506Z","0.3.1":"2026-07-28T04:32:04.203Z","0.3.2":"2026-08-02T22:43:28.347Z","0.3.3":"2026-08-10T17:10:21.006Z","0.3.4":"2026-08-13T05:51:09.561Z","0.4.0":"2026-09-02T15:26:42.209Z","0.4.1":"2026-09-02T23:31:30.035Z","0.5.0":"2026-09-04T22:43:41.628Z","0.5.1":"2026-09-25T23:46:12.274Z","0.5.2":"2026-09-28T01:25:21.832Z","0.5.3":"2026-09-29T01:09:20.027Z","0.5.4":"2026-09-29T03:18:25.534Z","0.5.5":"2026-10-22T19:57:48.883Z","0.5.6":"2026-10-26T21:14:17.500Z","0.5.7":"2026-10-28T17:54:34.214Z","0.5.8":"2026-11-03T00:34:52.807Z","0.5.9":"2026-11-04T03:20:39.220Z","0.5.10":"2026-11-08T22:06:50.118Z","0.6.0":"2026-11-16T22:41:05.176Z"},"bugs":{"url":"https://github.com/vercel-labs/wterm/issues"},"license":"Apache-2.0","homepage":"https://wterm.dev","keywords":["terminal","emulator","ghostty","libghostty","wasm","xterm"],"repository":{"url":"git+https://github.com/vercel-labs/wterm.git","type":"git","directory":"packages/@wterm/ghostty"},"description":"libghostty-powered terminal core for wterm — full-featured VT emulation via Ghostty's WASM build","maintainers":[{"name":"ctate","email":"chris@ctate.dev"}],"readme":"# @wterm/ghostty\n\nFull-featured terminal emulation core for [wterm](https://github.com/vercel-labs/wterm), powered by [libghostty](https://ghostty.org) built from source.\n\nDrop-in replacement for wterm's built-in Zig core. Implements the same `TerminalCore` interface with comprehensive VT emulation: proper Unicode grapheme handling, all SGR attributes, terminal modes, and more.\n\nThe core exposes mouse tracking (modes 1000, 1002, and 1003), its active wire encoding through `mouseEncoding()`, focus reporting (mode 1004), synchronized-output state (mode 2026), Kitty keyboard negotiation, and terminal responses including foreground/background color queries (OSC 10 and OSC 11) to `@wterm/dom`. With the DOM layer, X10, UTF-8 (1005), SGR (1006), urxvt (1015), and SGR pixel (1016) reports are supported. Mode 1003 reports unpressed pointer movement once per cell for cell formats and once per CSS pixel for 1016.\nCombining marks and ZWJ emoji are exposed through `CellData.chars` as complete strings, including after their rows move into scrollback.\n\n`CellData.spacerHead` marks the empty right-edge filler before a wrapped wide glyph. WTerm's full-history Find uses this flag, grapheme strings, and native row-wrap metadata to match text across soft wraps without inserting artificial spaces.\n\nThe bindings decode extended cell attributes without temporary style objects to\nreduce allocation overhead when searching large histories. The\n[history-search measurements](../../../e2e/harness/README.md#history-search-measurements)\ncover sparse and absent matches in 100,000 retained lines across three browsers.\n\nWTerm also uses this metadata when copying native text selections: soft wraps join without newlines, spacer heads are omitted, and partial graphemes copy as whole cells. Explicit newlines remain intact. See [selection and copy](../dom/README.md#selecting-and-copying-text).\n\n`trackPosition({ row, col })` follows a retained cell through scrolling and reflow. The returned handle has `resolve()` and `dispose()` methods; row zero is the oldest retained row. It resolves to `null` after pruning, reset, screen switching, reinitialization, or disposal. Up to 64 simultaneous handles are supported; invalid coordinates, exhausted capacity, and older binaries return `null`. Release handles when finished. WTerm uses this API to preserve native selections and separately checks for overwritten text. See the [core contract](../core/README.md#tracked-cell-positions).\n\n`getColorOverrides()` exposes application-requested default foreground,\nbackground, and cursor colors from OSC 10/11/12. The DOM renderer applies them\nto live cells, retained history, the terminal background, and cursor shapes.\nOSC 110/111/112 restores the current CSS theme without rewriting host theme\nvariables. Explicit SGR colors remain unchanged. Serve the current WASM binary;\nolder binaries return an empty snapshot and retain their CSS defaults.\n\nGhostty preserves single, double, curly, dotted, and dashed underlines through\n`CellData.underlineStyle`, with resolved colors in `underlineRgb`. The DOM\nrenderer displays them in the viewport and scrollback, including after reflow.\nSGR `4:1` through `4:5` select the styles; `4` selects single and `21` selects\ndouble. SGR `58` sets an indexed or RGB underline color, `59` restores the\nforeground color, and `24` or `4:0` removes the underline. SGR `0` resets both.\nStrikethrough stays solid and follows the text color. Apps serving an older\nWASM file retain single underlines; serve the binary shipped with the package\nto enable the additional styles and colors.\n\n`getCursor()` exposes Ghostty's block, bar, or underline `shape` and `blinking`\nstate. The DOM renderer follows application requests (DECSCUSR and mode 12);\nan explicit `cursorBlink: true` or `false` on the terminal wrapper overrides\nblinking. Omitting the option follows the application, initially steady.\n\nOSC 0 and OSC 2 window-title changes reach `getTitle()` and the terminal\nwrapper's `onTitle` callback, including an empty title that clears the current\nname. The callback runs as output is written, including while painting is\npaused. Several changes within a parsed chunk may coalesce to the latest\ncomplete title. Titles longer than Ghostty's 255-byte limit are ignored.\n\n`getBellCount()` reads and clears Ghostty's pending BEL count. `WTerm` forwards\nit through `onBell(count)` as output is written, even when synchronized output\nholds painting. BEL used to terminate an OSC sequence is excluded.\n\nOSC 52 clipboard writes reach `getClipboardWrite()` and `onClipboardWrite(text)`.\nThe default selector and `c` are supported, with valid base64-encoded UTF-8 up\nto 65,536 decoded bytes; empty text requests a clear. Encoded accumulation is\nalso bounded. Queries, other selectors, invalid text, and oversized requests\nare ignored. Only the latest valid pending write is retained. The host chooses\nwhether to accept it; no browser clipboard access is automatic. Serve the\nupdated bundled WASM to enable this optional effect.\n\nNative OSC 8 hyperlinks are resolved from Ghostty's page-owned metadata and exposed through `CellData.linkUri`, `CellData.linkId`, and `CellData.linkKey` in both the viewport and scrollback.\n\nThe Ghostty core also provides the optional terminal graphics API. The DOM\nrenderer displays direct Kitty Graphics Protocol PNG/RGB/RGBA images as\ntransient, bounded canvas overlays. Pinned placements follow scrollback,\nscrolling, resize, and primary/alternate screen changes. Sixel, iTerm2/OSC\n1337, animation, virtual Unicode placements, file/shared-memory/URL media, and\nimage persistence are not supported. Auto-sized (implicit) placements align\nwith the terminal content origin and reserve their rendered height in the\nvisual DOM flow so prompts emitted after an image remain visible below it.\n\nGhostty also exposes the cumulative number of rows discarded from the oldest end of scrollback. `@wterm/dom` uses that signal to keep retained history anchored when the page budget rolls over.\n\n`getRowMetadata(row)` and `getScrollbackRowMetadata(offset)` return\n`{ wrapsToNext, continuesPrevious }` from Ghostty's native row flags. Live rows\nstart at zero; history offset zero is the newest retained row. They distinguish\nsoft wraps from explicit newlines, including across the live/history boundary\nand after resize reflow. Results are snapshots: re-read after output or resize,\nand treat row indexes as temporary. A retained row can continue an older row\nthat has already been discarded. Invalid positions, disposed cores, and older\nWASM binaries without these exports return `null` rather than a hard-line\nassumption. The methods read terminal state immediately, without requiring a\nrender or consuming dirty flags.\n\nKitty keyboard flags stay authoritative in Ghostty's active screen. Queries return the native value, primary and alternate screens negotiate independently, DECSTR preserves the flags, and RIS clears them. `@wterm/dom` encodes browser keyboard events from those flags with the browser limitations documented in its README.\n\n## Install\n\n```bash\nnpm install @wterm/ghostty\n```\n\n## Usage\n\n### Vanilla JS\n\n```ts\nimport { WTerm } from \"@wterm/dom\";\nimport { GhosttyCore } from \"@wterm/ghostty\";\nimport \"@wterm/dom/css\";\n\nconst core = await GhosttyCore.load();\nconst term = new WTerm(document.getElementById(\"terminal\"), { core });\nawait term.init();\n```\n\n### React\n\n```tsx\nimport { Terminal } from \"@wterm/react\";\nimport { GhosttyCore } from \"@wterm/ghostty\";\nimport \"@wterm/dom/css\";\n\nconst core = await GhosttyCore.load();\n\nfunction App() {\n  return <Terminal core={core} />;\n}\n```\n\n### Vue\n\n```vue\n<script setup lang=\"ts\">\nimport { Terminal } from \"@wterm/vue\";\nimport { GhosttyCore } from \"@wterm/ghostty\";\n\nconst core = await GhosttyCore.load();\n</script>\n\n<template>\n  <Terminal :core=\"core\" />\n</template>\n```\n\n### Svelte\n\n```svelte\n<script lang=\"ts\">\nimport { onMount } from \"svelte\";\nimport { Terminal } from \"@wterm/svelte\";\nimport { GhosttyCore } from \"@wterm/ghostty\";\n\nlet core: GhosttyCore | undefined;\n\nonMount(() => {\n  void GhosttyCore.load().then((loaded) => {\n    core = loaded;\n  });\n});\n</script>\n\n{#if core}\n  <Terminal {core} />\n{/if}\n```\n\n## Options\n\n`GhosttyCore.load()` accepts an options object:\n\n| Option | Type | Description |\n|---|---|---|\n| `wasmPath` | `string` | Custom path to the ghostty-vt WASM binary |\n| `scrollbackLines` | `number` | Lines of history to keep (default: 1000). Ghostty stores history in pages, so up to a few pages of extra rows stay allocated but are not reported. History memory is capped at twice what plain text needs at the same width, so output dense with distinct colors, graphemes, or hyperlinks can keep fewer lines |\n| `scrollbackLimit` | `number` | Scrollback budget in bytes instead of lines. Ignored when `scrollbackLines` is set; the retained row count depends on the terminal width |\n| `foregroundColor` | `string` | Foreground reported by OSC 10 in `#RRGGBB` format (default: `#d4d4d4`) |\n| `backgroundColor` | `string` | Background reported by OSC 11 in `#RRGGBB` format (default: `#1e1e1e`) |\n| `imageStorageLimit` | `number` | Maximum decoded Kitty image bytes per screen (default: 32 MiB; `0` disables graphics) |\n\nWhen using a custom CSS theme, pass matching foreground and background colors so terminal applications receive the colors they are actually rendered with:\n\n```ts\nconst core = await GhosttyCore.load({\n  foregroundColor: \"#ededed\",\n  backgroundColor: \"#0a0a0a\",\n  imageStorageLimit: 32 * 1024 * 1024,\n});\n```\n\nThe image limit applies to decoded image storage, not browser canvas count.\nEach direct image is also capped at `MAX_IMAGE_BYTES` (32 MiB), even when a\nlarger `imageStorageLimit` is configured; the larger budget can hold multiple\nsmaller images. Each screen also retains at most 4,096 image descriptors and\n4,096 placements, so unique tiny-image churn cannot grow WASM metadata without\nbound; additional records fail closed until existing records are removed.\nThe DOM overlay independently caps visible canvas backing stores at 32 MiB and\nbounds each destination canvas to the terminal pixel area; placements that do\nnot fit those browser limits are skipped.\nGhostty rejects oversized, malformed, and non-direct media before any file or\nshared-memory access. `getResourceState()` reports image count, placement\ncount, bytes used/capacity, rejections, evictions, and saturation.\n\nThe core returns copied metadata and RGBA buffers through the optional\n`TerminalCore` graphics methods. Call `core.dispose()` when the application\nowns the core lifecycle; `WTerm.destroy()` cleans up its DOM layer but never\ndisposes a caller-supplied core automatically.\n\n## Updating a running theme\n\n`core.setThemeColors(colors)` updates configured foreground/background/cursor and\n16 ANSI defaults using `TerminalThemeColors` from `@wterm/core`. Values are integer\nRGB colors from `0` to `0xffffff`; the palette must have exactly 16 entries.\nInvalid values throw `RangeError` without changing defaults. The core copies the\nvalues and retains them through `init()` calls. Updates preserve partial parser\ninput, modes, screens, history, and application overrides; OSC resets return to\nthe latest host defaults. Higher palette indices and explicit RGB cells are\nunchanged. The update generates no terminal response, except a `CSI ? 997`\nreport while the application has mode 2031 on and the background moves between\ndark and light. Pass `{ quiet: true }` as the second argument to skip it.\n\nFor a browser terminal, call `wt.setThemeColors(colors)` instead so CSS and\nrendered rows update together. This requires the updated bundled WASM asset;\nolder assets without the theme export keep their current engine defaults.\n\n## Bundlers\n\nLoads of the same resolved WASM URL share the download and compiled module,\nincluding concurrent calls. Each core gets its own instance and memory; screens,\nhistory, modes, and disposal remain independent. The loader retains up to four\nrecently used URLs per copy of the package in a page or worker. Failed downloads\nand compilations can be retried. Use a versioned or hashed URL when changing the\nbinary; cached modules are not revalidated on each load.\n\nServe the binary with `Content-Type: application/wasm` to enable streaming\ncompilation while it downloads. Other MIME types, unavailable streaming support,\nor a streaming failure use buffered compilation without fetching the file again.\n\nThe WASM binary is fetched at runtime, not inlined, so the default has to resolve to a URL your app actually serves. `GhosttyCore.load()` resolves it with `new URL(\"../wasm/ghostty-vt.wasm\", import.meta.url)`. Bundlers that implement that asset pattern emit the binary and rewrite the URL; ones that do not leave `import.meta.url` pointing at the machine that built the bundle.\n\n| Bundler | Default `GhosttyCore.load()` | Verified |\n|---|---|---|\n| Vite (dev and build) | works, emits a hashed asset | yes |\n| Bun dev server | fails, pass `wasmPath` | yes |\n| Others | untested, use `wasmPath` if the default throws | no |\n\nWhen the default cannot work, serve the binary yourself and point at it:\n\n```bash\ncp node_modules/@wterm/ghostty/wasm/ghostty-vt.wasm public/ghostty-vt.wasm\n```\n\n```ts\nconst core = await GhosttyCore.load({ wasmPath: \"/ghostty-vt.wasm\" });\n```\n\nThe binary is also addressable as `@wterm/ghostty/ghostty-vt.wasm`, so a bundler with a URL import can take it directly:\n\n```ts\nimport wasmPath from \"@wterm/ghostty/ghostty-vt.wasm?url\";\n\nconst core = await GhosttyCore.load({ wasmPath });\n```\n\n## Architecture\n\nThe WASM binary is built from upstream [ghostty-org/ghostty](https://github.com/ghostty-org/ghostty) (v1.3.1) using it as a Zig package dependency — no third-party npm packages or pre-built binaries from other projects.\n\n```\nghostty (Zig dep)  →  WASM patches  →  wasm_api.zig  →  ghostty-vt.wasm  →  TypeScript bindings\n```\n\nghostty's `Terminal` and `Page` types use `posix.mmap` and Mach VM allocators internally, which don't exist on `wasm32-freestanding`. The build script applies small, targeted patches to replace these with `std.heap.wasm_allocator`, expose the discarded-row count from `PageList`, forward the per-screen image limit, bound and compact Kitty image/placement metadata, and make direct PNG decoding work without POSIX time. It also adds the Wuffs freestanding compatibility include/source configuration in `zig/build.zig`. The patches are pinned to ghostty v1.3.1 and touch these upstream files:\n\n- `src/terminal/Terminal.zig`\n- `src/terminal/kitty/graphics_image.zig`\n- `src/terminal/kitty/graphics_storage.zig`\n- `src/terminal/kitty/graphics_exec.zig`\n- `src/terminal/kitty/graphics_unicode.zig`\n- `src/terminal/page.zig`\n- `src/terminal/PageList.zig`\n\nPage allocation also includes upstream's [WASM initialization fix](https://github.com/ghostty-org/ghostty/commit/420de124f04aa322bf250098cc62d7195db94bfd): initial and replacement terminal pages are cleared before use in release builds. Unlike native OS page allocation, the WASM allocator can return previously used memory. This keeps new page state independent of earlier terminal contents.\n\nThe WASM page pool grows as needed instead of preallocating spare terminal pages. This reduces initial memory use for each terminal and its alternate screen while preserving the configured history budget. Freed pages remain available for reuse; WebAssembly linear memory does not shrink after history is cleared or a screen is reset.\n\nThe Wuffs compatibility headers used by the build are `zig/src/wuffs-compat/{stdbool.h,stddef.h,stdint.h,stdlib.h,string.h}`; Wuffs itself is fetched from the pinned dependency in `zig/build.zig.zon`.\n\nThe committed `wasm/ghostty-vt.wasm` binary means consumers never need Zig installed. Only maintainers rebuilding the WASM need Zig 0.15.2.\n\n### Rebuilding the WASM\n\nRequires [Zig 0.15.2](https://ziglang.org/download/), Bash, and Python 3:\n\n```bash\npnpm --filter @wterm/ghostty rebuild-wasm\n```\n\nThe script checks the exact compiler version, fetches the upstream URL and\ncontent hash from `zig/build.zig.zon`, and applies the WASM patches inside a\nfresh temporary dependency cache. It verifies that applying the patches twice\nproduces identical files, builds `wasm32-freestanding` with `ReleaseSmall`,\nand copies the completed binary to `wasm/ghostty-vt.wasm`. Temporary sources,\ncaches, and build output live under `/tmp` and are removed when the build\nexits. Your shared Zig cache is never read or patched.\n\nThe script finds Zig 0.15.2 on `PATH` or in the usual zigup installation.\nTo select an executable explicitly, set `WTERM_GHOSTTY_ZIG=/path/to/zig`.\nZig 0.15.2 cannot link its native build runner on macOS 26; use Docker there:\n\n```bash\npnpm --filter @wterm/ghostty rebuild-wasm:docker\n```\n\nThe Linux installer used by Docker and CI verifies the compiler archive's\nSHA-256 before extracting it. Version and archive checksums are recorded in\n`scripts/zig-toolchain.sh`; consumers still only need the committed WASM.\n\nTo verify the committed binary without replacing it:\n\n```bash\npnpm --filter @wterm/ghostty check-wasm\n# Or use a Linux container with the checkout mounted read-only:\npnpm --filter @wterm/ghostty check-wasm:docker\n```\n\nCI runs the Ghostty drift check on every PR and push to `main`, separately from\nthe built-in core's Zig 0.16 build. A missing or differing artifact fails the\ncheck with a rebuild command. Commit the regenerated WASM with changes to the\nadapter, upstream dependency, patches, or toolchain that affect its output.\n\n### Public API experiment\n\nThe repository also contains an isolated\n[public libghostty WASM probe](../../../experiments/libghostty/README.md), using\nan unpatched upstream revision and Zig 0.16.0. Run `pnpm test:libghostty` from\nthe repository root to build it and exercise rendering, terminal effects,\nhistory, and snapshots in Node and browser engines. It does not replace this\npackage's v1.3.1 binary: the probed freestanding build disables Kitty graphics,\nand the public API still has gaps against the adapter's history, hyperlink\nidentity, and resource-reporting contracts. The experiment documents the\nverified behavior and remaining compatibility gaps.\n\n### Upgrading ghostty\n\n1. Edit the URL tag in `zig/build.zig.zon` to the new ghostty version\n2. Run `zig fetch <new-url>` from the `zig/` directory to get the new hash\n3. Update the hash in `build.zig.zon`\n4. Verify the patches in `scripts/patch-ghostty-wasm.sh` still apply cleanly\n5. Run `pnpm --filter @wterm/ghostty rebuild-wasm`\n\n## Tradeoffs vs built-in core\n\n| | Built-in (default) | `@wterm/ghostty` |\n|---|---|---|\n| WASM binary size | ~49 KB | ~580 KB |\n| VT compliance | Basic VT100/VT220/xterm | Comprehensive |\n| Unicode | Single codepoints | Full grapheme clusters |\n| Dependencies | None | None (WASM built from source) |\n| Setup | Zero-config | Requires `@wterm/ghostty` install |\n\n## Shell command state\n\n`getWorkingDirectory()` consumes the latest shell-reported OSC 7 URI. `null`\nmeans unchanged; `\"\"` clears it after an empty report or full terminal reset\n(RIS). Complete, valid UTF-8 reports of at most 2047 bytes are retained;\noversized or invalid UTF-8 reports are ignored. Pending reports coalesce and\nidentical repeats are suppressed. Reports work on either screen and survive\nresize. Reinitialization starts without a directory.\n\nWTerm forwards updates through `onWorkingDirectory(uri)`, including during\npaused or synchronized rendering. The URI is passed verbatim: hosts must\nvalidate it before use and must not assume it identifies a local path or an\nauthenticated remote host. Older WASM assets return `null`; update a manually\nserved binary to receive these events. See [Working directories](https://wterm.dev/configuration#working-directories).\n\n`getShellIntegrationState()` consumes the latest OSC 133 state change, forwarded\nby WTerm as `onShellIntegration({ phase, exitCode })`. A/N/P mark `prompt`, B/I\nmark `input`, C marks `running` and clears the previous exit code, and D marks\n`complete` with a signed 32-bit exit code or `null` when missing/invalid. L only\ncontrols line layout. Unknown commands leave the state unchanged. Markers on\nthe alternate screen do not replace the primary shell state.\n\nPrompt redraws retain the previous completion code; RIS reports `unknown` and\nclears it. Init/dispose discard pending state. Multiple unread changes coalesce\nto one caller-owned snapshot, using constant storage and retaining no command\ntext. This is shell-reported state, not proof that a process exited or a complete\ncommand log. Older WASM assets return `null`. The shell must emit OSC 133;\nloading the core does not install shell hooks. See\n[Shell integration](https://wterm.dev/configuration#shell-integration).\n\n`findPrompt(row, -1 | 1)` looks up the previous or next prompt start using native\nretained metadata. Row zero is the oldest retained row. Continuation and\nreflowed rows belong to one prompt; pruned history is unavailable. The origin\nmust be an integer within the retained buffer. Invalid inputs, alternate-screen\nqueries, older WASM assets, and missing prompts return `null`. Lookup does not\nmove the terminal cursor or consume shell-state changes. WTerm exposes viewport\nnavigation as `scrollToPrompt(direction)`.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}