{"_id":"@commoncurriculum/ts-surgeon","_rev":"10-4fe9d06e514031836d4b88b8c0427181","name":"@commoncurriculum/ts-surgeon","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"@commoncurriculum/ts-surgeon","version":"1.0.0","keywords":["cli","ts-morph","refactoring","typescript"],"author":{"name":"Common Curriculum"},"license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.0.0","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":[{"url":"original author of mcp-ts-morph","name":"SiroSuzume"}],"homepage":"https://github.com/commoncurriculum/ts-surgeon#readme","bugs":{"url":"https://github.com/commoncurriculum/ts-surgeon/issues"},"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"a06e0ddf4be1fbdfdb4a7cb7b8165b2d673f90b3","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.0.0.tgz","fileCount":137,"integrity":"sha512-IeTCZ4cozJuLTVdpnq7zKsZak8v2JarJOv80Yge+SD+B1YpyHpwN6LBlqQXKu1GLAUWOzaJ0cieNRFBQ+pc3AQ==","signatures":[{"sig":"MEUCIBPm0oE48jfxzF+QGSzhfPMHpmvz0xnPS1E8ni4TLk5lAiEAlZMhuZ5UBL4rcx+iLd7QuTnVYCDT6ZyInZMKmp6Z0pM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":858048},"main":"dist/index.js","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"gitHead":"e94bade41bb25708aaae6f56f876d9e2b690d1cc","scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","prepare":"shx rm -rf dist && tsc && shx chmod +x dist/index.js","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"},"repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"_npmVersion":"11.16.0","description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"26.3.0","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","zod-to-json-schema":"3.24.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.1.2","devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.0.0_1784258397161_0.994434428288717","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@commoncurriculum/ts-surgeon","version":"1.1.0","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.1.0","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"d7bb1c815221f230c441a66ea041001f1df31974","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.1.0.tgz","fileCount":149,"integrity":"sha512-qBWHwnUFVKq332YE/2IAu25ibQomc+8gNwZd7cLSQIRozhwP/4ajsA6h5WG0Yqt9+2sMaoWSR+mauBnLvnkX/A==","signatures":[{"sig":"MEUCIQDUKl+pX/RhpTIq1iRM9uIvIMHty6TtRQ+7Mu2SWY4EMQIgN3fT2JW7VwoRd/7orPoFFPyrzDZJr9AXb32kyI7Dnqs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":952008},"main":"dist/opencode-plugin.js","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.1.0_1784292365519_0.1749175793726263","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@commoncurriculum/ts-surgeon","version":"1.2.0","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.2.0","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"b1fc1594fcb434729571ba5ba85e640de019d319","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.2.0.tgz","fileCount":149,"integrity":"sha512-CP6MqPb7TW50F7GGVbrcjRQVJGP4+y0hWUhfcheqJy23Ps13vIill9skeEyKxudrBzCwxq95nuVwikcCsMobaQ==","signatures":[{"sig":"MEUCIQCdgtcqyO5hEo6R6Je9SfRRJClap1xSknEbDacZ9Xu//AIgMiBBKl8Jb/x2+U4/LZtLwjaK4vdvJdtw6wJ2/xxvQWI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":977259},"main":"dist/opencode-plugin.js","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.2.0_1784490590840_0.19037616987261008","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@commoncurriculum/ts-surgeon","version":"1.3.0","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.3.0","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"9f4f47c20e2e50e63a49b0af6bcfb9949d046a0a","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.3.0.tgz","fileCount":161,"integrity":"sha512-GuJvLtFCCXYUg69eJ5w0APhMA71CqCIxglF62luJS8vpRePgvI9BTji3Hqg+dNmm36h0VJwjRQyzTG/xqiEkXg==","signatures":[{"sig":"MEUCIBoBv7v9N5jF1gtjtP9yi4mGlehg2htf12ngcV7zY4g7AiEAzYaBhzwW3UvxgBugC3ynl0QAnuf8ec8UIOEANux4LZk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1068102},"main":"dist/opencode-plugin.js","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.3.0_1784563664887_0.8038488926148395","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@commoncurriculum/ts-surgeon","version":"1.3.1","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.3.1","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"fcb54f36294ce450475460ad5c04b88330c3d2df","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.3.1.tgz","fileCount":161,"integrity":"sha512-PLmCFzHsmL6vcsIW9BSkatUKgAaC7LcYUM1MNiZXbhStTLCkewKu9ffP+CwX1v7UXCSnSQ53TB/JJmaW4gA04g==","signatures":[{"sig":"MEYCIQC+gCKCzpNSUDTgGzJj1Io73o2+QxpyTYX4IpBw8WWiAAIhAP6gvzu8w6nhcB1tUmoz8V7+6uTwjFufAzoHqY5WnEpr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1068758},"main":"dist/opencode-plugin.js","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.3.1_1784570438850_0.6576285295325466","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@commoncurriculum/ts-surgeon","version":"1.3.2","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.3.2","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"479e0994d1c9278b6bcaf01e0264cb4d6de48e61","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.3.2.tgz","fileCount":162,"integrity":"sha512-zLPrM6ZVVUjzMFZLQ2sm6CAFYwzD9Ahk2+DfPpJUoQFyTYWCEdqRvmYBblZshk7sMK5toGgXHUqaOyJMGs0aTw==","signatures":[{"sig":"MEUCIDEoYduBn7xpbv3D0G7fiMTtfQcvK6LEccU1aP3KBya3AiEA70WbZ9ocRR1rPJv+5I/Zaf/RCeQqbVOjZkjmEGsNwCU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1069238},"main":"dist/opencode-plugin.js","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.3.2_1784579299887_0.3595646979523739","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@commoncurriculum/ts-surgeon","version":"1.3.3","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.3.3","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"d30764efd1a99ed55c43e0b976c8001cdea10ba2","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.3.3.tgz","fileCount":162,"integrity":"sha512-Uc+ClUunEny9/fqMZM4wzEUxgQo6Ivhqbzu9iGqJG9Pn5EwRVJZJWi4+EeoIhdPJPMlR3h7+MJrHu1IZwWuiPQ==","signatures":[{"sig":"MEUCIHtCWAPaWBjeVQfuYl8Wev2rQG8PvfuzrToUx/jQLB3qAiEA9154vWV6AlgB5qkSuz003tKnHT+Rg+KX8MKjYlAH2ig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":940818},"main":"dist/opencode-plugin.js","type":"module","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.3.3_1784582176808_0.08920712089291638","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@commoncurriculum/ts-surgeon","version":"1.3.4","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.3.4","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"c1034d31b8b5e5a73b869b0190cc032c22051383","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.3.4.tgz","fileCount":162,"integrity":"sha512-QCDsOXeNH4h8jXM6snK1IsdiP3Ww9RYEpslAWm+TNnA3h7R3hsqP0ME5OW/nYv3D5mjxD4FaxlIGp8gc9Q46MQ==","signatures":[{"sig":"MEUCIQDn0QNzl+ygaboeLHFT3aIy0AQd4eoSMbMiAkgeW/E5BgIgVluW3SfG0IGSO649MMBb2ckK8bKMt4oOSU+jTc4SqOc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":945557},"main":"dist/opencode-plugin.js","type":"module","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.3.4_1784585515470_0.8023523482498105","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@commoncurriculum/ts-surgeon","version":"1.4.0","keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","license":"MIT","_id":"@commoncurriculum/ts-surgeon@1.4.0","maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"contributors":["SiroSuzume (original author of mcp-ts-morph)"],"bin":{"ts-surgeon":"dist/index.js"},"dist":{"shasum":"55510f3b3e190559bda1e1b5fea81863fcc95836","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.4.0.tgz","fileCount":171,"integrity":"sha512-aDN73toLOPPe1IpEBpZqaVj5Fckm0cS4z6tPlI2cwWCopZHX+SvBgPhvKvQq+f30ohtq4UnlM64A/1EeCqk6Nw==","signatures":[{"sig":"MEQCIEs4dv+bbh4w5rGAVtu6xDeNy4XYhhYIGIgMA3RZCrUKAiAmf1CEvHz3duvOh0DJNPdODdeCEZ0Q4PriXz2V876tng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":988724},"main":"dist/opencode-plugin.js","type":"module","volta":{"node":"22.14.0"},"engines":{"node":">=22"},"exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"scripts":{"lint":"biome lint ./","test":"vitest run --pool threads --poolOptions.threads.singleThread","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","clean":"shx rm -rf dist","format":"biome check --write ./","release":"pnpm run build && changeset publish","lint:fix":"biome lint --write ./","test:e2e":"vitest run --config vitest.e2e.config.ts","changeset":"changeset","test:watch":"vitest","check-types":"tsc --noEmit","test:coverage":"vitest run --coverage","test:e2e:hook":"pnpm run build && vitest run --config vitest.e2e.config.ts e2e/hook-answer.e2e.test.ts","test:e2e:tsgo":"pnpm run build && vitest run --config vitest.e2e.config.ts e2e/tsgo-answer.e2e.test.ts","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts","test:e2e:guard":"pnpm run build && vitest run --config vitest.e2e.config.ts e2e/guard-binary.e2e.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","repository":{"url":"git+https://github.com/commoncurriculum/ts-surgeon.git","type":"git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"3.24.3","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","@ast-grep/napi":"^0.44.1","zod-to-json-schema":"3.24.5","@typescript/native-preview":"7.0.0-dev.20260707.2"},"_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2","lefthook":"1.11.11","@types/node":"22.14.0","pino-pretty":"13.0.0","@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@vitest/coverage-v8":"3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ts-surgeon_1.4.0_1784915702293_0.3019826767626037","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@commoncurriculum/ts-surgeon","version":"1.5.0","_version_note":"Managed by changesets — never bump by hand. Feature PRs add a .changeset/*.md; merging the bot's 'Version Packages' PR bumps this field (src/version.ts reads it at runtime) and publishes. See .claude/skills/release/SKILL.md.","description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","type":"module","main":"dist/opencode-plugin.js","_main_note":"The importable entry is the opencode guard plugin (list the package in opencode.json's `plugin` array); the CLI is reached via `bin`, which does not go through `exports`. dist/index.js runs the CLI on import, so it must never be the import target.","exports":{".":"./dist/opencode-plugin.js","./package.json":"./package.json"},"bin":{"ts-surgeon":"dist/index.js"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/commoncurriculum/ts-surgeon.git"},"keywords":["cli","ts-morph","refactoring","typescript"],"author":"Common Curriculum","contributors":["SiroSuzume (original author of mcp-ts-morph)"],"license":"MIT","engines":{"node":">=22"},"volta":{"node":"22.14.0"},"devDependencies":{"@biomejs/biome":"1.9.4","@changesets/cli":"^2.31.0","@types/node":"22.14.0","@vitest/coverage-v8":"3.1.2","lefthook":"1.11.11","pino-pretty":"13.0.0","shx":"0.4.0","tsx":"4.19.3","vitest":"3.1.2"},"dependencies":{"@ast-grep/napi":"^0.44.1","@typescript/native-preview":"7.0.0-dev.20260707.2","pino":"9.6.0","ts-morph":"25.0.1","typescript":"5.8.3","zod":"3.24.3","zod-to-json-schema":"3.24.5"},"scripts":{"clean":"shx rm -rf dist","build":"pnpm run clean && tsc && shx chmod +x dist/index.js","test":"vitest run --pool threads --poolOptions.threads.singleThread","test:e2e":"vitest run --config vitest.e2e.config.ts","test:e2e:hook":"pnpm run build && vitest run --config vitest.e2e.config.ts e2e/hook-answer.e2e.test.ts","test:e2e:agent":"TS_SURGEON_E2E_AGENT=1 vitest run --config vitest.e2e.config.ts e2e/agent-hook.e2e.test.ts","test:watch":"vitest","test:coverage":"vitest run --coverage","check-types":"tsc --noEmit","changeset":"changeset","release":"pnpm run build && changeset publish","lint":"biome lint ./","lint:fix":"biome lint --write ./","format":"biome check --write ./","test:e2e:guard":"pnpm run build && vitest run --config vitest.e2e.config.ts e2e/guard-binary.e2e.test.ts","test:e2e:tsgo":"pnpm run build && vitest run --config vitest.e2e.config.ts e2e/tsgo-answer.e2e.test.ts"},"_nodeVersion":"22.23.1","_id":"@commoncurriculum/ts-surgeon@1.5.0","dist":{"integrity":"sha512-eoET+BaIb7tN5/7nYFUXfxQ8gpviFFXQSncjSGd4+sCBVcrFuPDNU2rq6rt1URvJ7DKavvtTDa7V/78qzikYJg==","shasum":"63d525a296e088ab0518357b0a84e77e084e0716","tarball":"https://registry.npmjs.org/@commoncurriculum/ts-surgeon/-/ts-surgeon-1.5.0.tgz","fileCount":180,"unpackedSize":1148062,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commoncurriculum%2fts-surgeon@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIExvqvFnJsdWq9dYYpkO2uznjuydwSr8mwmWSkNe1i/OAiEAqbUG1RLymGpE9IOdfHLN8k/crM+F/IlVngjRpV/s4NI="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d1f16179-362d-4288-b825-ac2055b444bb"}},"directories":{},"maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-surgeon_1.5.0_1785463642599_0.41447446473209393"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-17T03:19:56.990Z","modified":"2026-07-31T02:07:23.088Z","1.0.0":"2026-07-17T03:19:57.363Z","1.1.0":"2026-07-17T12:46:05.701Z","1.2.0":"2026-07-19T19:49:51.017Z","1.3.0":"2026-07-20T16:07:45.208Z","1.3.1":"2026-07-20T18:00:39.085Z","1.3.2":"2026-07-20T20:28:20.077Z","1.3.3":"2026-07-20T21:16:17.061Z","1.3.4":"2026-07-20T22:11:55.669Z","1.4.0":"2026-07-24T17:55:02.486Z","1.5.0":"2026-07-31T02:07:22.755Z"},"author":"Common Curriculum","license":"MIT","keywords":["cli","ts-morph","refactoring","typescript"],"repository":{"type":"git","url":"git+https://github.com/commoncurriculum/ts-surgeon.git"},"description":"AST-accurate TypeScript/JavaScript refactoring CLI powered by ts-morph","contributors":["SiroSuzume (original author of mcp-ts-morph)"],"maintainers":[{"name":"scottamesmessinger","email":"scott@commoncurriculum.com"}],"readme":"","readmeFilename":""}