gitx.do 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/README.md +40 -353
  2. package/dist/do/logger.d.ts +50 -0
  3. package/dist/do/logger.d.ts.map +1 -0
  4. package/dist/do/logger.js +122 -0
  5. package/dist/do/logger.js.map +1 -0
  6. package/dist/{durable-object → do}/schema.d.ts +3 -3
  7. package/dist/do/schema.d.ts.map +1 -0
  8. package/dist/{durable-object → do}/schema.js +4 -3
  9. package/dist/do/schema.js.map +1 -0
  10. package/dist/do/types.d.ts +267 -0
  11. package/dist/do/types.d.ts.map +1 -0
  12. package/dist/do/types.js +62 -0
  13. package/dist/do/types.js.map +1 -0
  14. package/dist/index.d.ts +15 -469
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +39 -481
  17. package/dist/index.js.map +1 -1
  18. package/dist/mcp/auth.d.ts +77 -0
  19. package/dist/mcp/auth.d.ts.map +1 -0
  20. package/dist/mcp/auth.js +278 -0
  21. package/dist/mcp/auth.js.map +1 -0
  22. package/dist/mcp/index.d.ts +13 -0
  23. package/dist/mcp/index.d.ts.map +1 -0
  24. package/dist/mcp/index.js +19 -0
  25. package/dist/mcp/index.js.map +1 -0
  26. package/dist/mcp/server.d.ts +200 -0
  27. package/dist/mcp/server.d.ts.map +1 -0
  28. package/dist/mcp/server.js +275 -0
  29. package/dist/mcp/server.js.map +1 -0
  30. package/dist/mcp/tool-registry.d.ts +47 -0
  31. package/dist/mcp/tool-registry.d.ts.map +1 -0
  32. package/dist/mcp/tool-registry.js +284 -0
  33. package/dist/mcp/tool-registry.js.map +1 -0
  34. package/dist/mcp/tools.d.ts +103 -515
  35. package/dist/mcp/tools.d.ts.map +1 -1
  36. package/dist/mcp/tools.js +676 -3087
  37. package/dist/mcp/tools.js.map +1 -1
  38. package/dist/mcp/types.d.ts +124 -0
  39. package/dist/mcp/types.d.ts.map +1 -0
  40. package/dist/mcp/types.js +9 -0
  41. package/dist/mcp/types.js.map +1 -0
  42. package/package.json +19 -21
  43. package/dist/cli/commands/add.d.ts +0 -176
  44. package/dist/cli/commands/add.d.ts.map +0 -1
  45. package/dist/cli/commands/add.js +0 -979
  46. package/dist/cli/commands/add.js.map +0 -1
  47. package/dist/cli/commands/blame.d.ts +0 -259
  48. package/dist/cli/commands/blame.d.ts.map +0 -1
  49. package/dist/cli/commands/blame.js +0 -609
  50. package/dist/cli/commands/blame.js.map +0 -1
  51. package/dist/cli/commands/branch.d.ts +0 -249
  52. package/dist/cli/commands/branch.d.ts.map +0 -1
  53. package/dist/cli/commands/branch.js +0 -693
  54. package/dist/cli/commands/branch.js.map +0 -1
  55. package/dist/cli/commands/checkout.d.ts +0 -73
  56. package/dist/cli/commands/checkout.d.ts.map +0 -1
  57. package/dist/cli/commands/checkout.js +0 -725
  58. package/dist/cli/commands/checkout.js.map +0 -1
  59. package/dist/cli/commands/commit.d.ts +0 -182
  60. package/dist/cli/commands/commit.d.ts.map +0 -1
  61. package/dist/cli/commands/commit.js +0 -457
  62. package/dist/cli/commands/commit.js.map +0 -1
  63. package/dist/cli/commands/diff.d.ts +0 -464
  64. package/dist/cli/commands/diff.d.ts.map +0 -1
  65. package/dist/cli/commands/diff.js +0 -959
  66. package/dist/cli/commands/diff.js.map +0 -1
  67. package/dist/cli/commands/log.d.ts +0 -239
  68. package/dist/cli/commands/log.d.ts.map +0 -1
  69. package/dist/cli/commands/log.js +0 -535
  70. package/dist/cli/commands/log.js.map +0 -1
  71. package/dist/cli/commands/merge.d.ts +0 -106
  72. package/dist/cli/commands/merge.d.ts.map +0 -1
  73. package/dist/cli/commands/merge.js +0 -852
  74. package/dist/cli/commands/merge.js.map +0 -1
  75. package/dist/cli/commands/review.d.ts +0 -457
  76. package/dist/cli/commands/review.d.ts.map +0 -1
  77. package/dist/cli/commands/review.js +0 -558
  78. package/dist/cli/commands/review.js.map +0 -1
  79. package/dist/cli/commands/stash.d.ts +0 -157
  80. package/dist/cli/commands/stash.d.ts.map +0 -1
  81. package/dist/cli/commands/stash.js +0 -655
  82. package/dist/cli/commands/stash.js.map +0 -1
  83. package/dist/cli/commands/status.d.ts +0 -269
  84. package/dist/cli/commands/status.d.ts.map +0 -1
  85. package/dist/cli/commands/status.js +0 -492
  86. package/dist/cli/commands/status.js.map +0 -1
  87. package/dist/cli/commands/web.d.ts +0 -199
  88. package/dist/cli/commands/web.d.ts.map +0 -1
  89. package/dist/cli/commands/web.js +0 -697
  90. package/dist/cli/commands/web.js.map +0 -1
  91. package/dist/cli/fs-adapter.d.ts +0 -656
  92. package/dist/cli/fs-adapter.d.ts.map +0 -1
  93. package/dist/cli/fs-adapter.js +0 -1177
  94. package/dist/cli/fs-adapter.js.map +0 -1
  95. package/dist/cli/fsx-cli-adapter.d.ts +0 -359
  96. package/dist/cli/fsx-cli-adapter.d.ts.map +0 -1
  97. package/dist/cli/fsx-cli-adapter.js +0 -619
  98. package/dist/cli/fsx-cli-adapter.js.map +0 -1
  99. package/dist/cli/index.d.ts +0 -387
  100. package/dist/cli/index.d.ts.map +0 -1
  101. package/dist/cli/index.js +0 -579
  102. package/dist/cli/index.js.map +0 -1
  103. package/dist/cli/ui/components/DiffView.d.ts +0 -12
  104. package/dist/cli/ui/components/DiffView.d.ts.map +0 -1
  105. package/dist/cli/ui/components/DiffView.js +0 -11
  106. package/dist/cli/ui/components/DiffView.js.map +0 -1
  107. package/dist/cli/ui/components/ErrorDisplay.d.ts +0 -10
  108. package/dist/cli/ui/components/ErrorDisplay.d.ts.map +0 -1
  109. package/dist/cli/ui/components/ErrorDisplay.js +0 -11
  110. package/dist/cli/ui/components/ErrorDisplay.js.map +0 -1
  111. package/dist/cli/ui/components/FuzzySearch.d.ts +0 -15
  112. package/dist/cli/ui/components/FuzzySearch.d.ts.map +0 -1
  113. package/dist/cli/ui/components/FuzzySearch.js +0 -12
  114. package/dist/cli/ui/components/FuzzySearch.js.map +0 -1
  115. package/dist/cli/ui/components/LoadingSpinner.d.ts +0 -10
  116. package/dist/cli/ui/components/LoadingSpinner.d.ts.map +0 -1
  117. package/dist/cli/ui/components/LoadingSpinner.js +0 -10
  118. package/dist/cli/ui/components/LoadingSpinner.js.map +0 -1
  119. package/dist/cli/ui/components/NavigationList.d.ts +0 -14
  120. package/dist/cli/ui/components/NavigationList.d.ts.map +0 -1
  121. package/dist/cli/ui/components/NavigationList.js +0 -11
  122. package/dist/cli/ui/components/NavigationList.js.map +0 -1
  123. package/dist/cli/ui/components/ScrollableContent.d.ts +0 -13
  124. package/dist/cli/ui/components/ScrollableContent.d.ts.map +0 -1
  125. package/dist/cli/ui/components/ScrollableContent.js +0 -11
  126. package/dist/cli/ui/components/ScrollableContent.js.map +0 -1
  127. package/dist/cli/ui/components/index.d.ts +0 -7
  128. package/dist/cli/ui/components/index.d.ts.map +0 -1
  129. package/dist/cli/ui/components/index.js +0 -9
  130. package/dist/cli/ui/components/index.js.map +0 -1
  131. package/dist/cli/ui/terminal-ui.d.ts +0 -85
  132. package/dist/cli/ui/terminal-ui.d.ts.map +0 -1
  133. package/dist/cli/ui/terminal-ui.js +0 -121
  134. package/dist/cli/ui/terminal-ui.js.map +0 -1
  135. package/dist/do/BashModule.d.ts +0 -871
  136. package/dist/do/BashModule.d.ts.map +0 -1
  137. package/dist/do/BashModule.js +0 -1143
  138. package/dist/do/BashModule.js.map +0 -1
  139. package/dist/do/FsModule.d.ts +0 -612
  140. package/dist/do/FsModule.d.ts.map +0 -1
  141. package/dist/do/FsModule.js +0 -1120
  142. package/dist/do/FsModule.js.map +0 -1
  143. package/dist/do/GitModule.d.ts +0 -635
  144. package/dist/do/GitModule.d.ts.map +0 -1
  145. package/dist/do/GitModule.js +0 -784
  146. package/dist/do/GitModule.js.map +0 -1
  147. package/dist/do/GitRepoDO.d.ts +0 -281
  148. package/dist/do/GitRepoDO.d.ts.map +0 -1
  149. package/dist/do/GitRepoDO.js +0 -479
  150. package/dist/do/GitRepoDO.js.map +0 -1
  151. package/dist/do/bash-ast.d.ts +0 -246
  152. package/dist/do/bash-ast.d.ts.map +0 -1
  153. package/dist/do/bash-ast.js +0 -888
  154. package/dist/do/bash-ast.js.map +0 -1
  155. package/dist/do/container-executor.d.ts +0 -491
  156. package/dist/do/container-executor.d.ts.map +0 -1
  157. package/dist/do/container-executor.js +0 -731
  158. package/dist/do/container-executor.js.map +0 -1
  159. package/dist/do/index.d.ts +0 -53
  160. package/dist/do/index.d.ts.map +0 -1
  161. package/dist/do/index.js +0 -91
  162. package/dist/do/index.js.map +0 -1
  163. package/dist/do/tiered-storage.d.ts +0 -403
  164. package/dist/do/tiered-storage.d.ts.map +0 -1
  165. package/dist/do/tiered-storage.js +0 -689
  166. package/dist/do/tiered-storage.js.map +0 -1
  167. package/dist/do/withBash.d.ts +0 -231
  168. package/dist/do/withBash.d.ts.map +0 -1
  169. package/dist/do/withBash.js +0 -244
  170. package/dist/do/withBash.js.map +0 -1
  171. package/dist/do/withFs.d.ts +0 -237
  172. package/dist/do/withFs.d.ts.map +0 -1
  173. package/dist/do/withFs.js +0 -387
  174. package/dist/do/withFs.js.map +0 -1
  175. package/dist/do/withGit.d.ts +0 -180
  176. package/dist/do/withGit.d.ts.map +0 -1
  177. package/dist/do/withGit.js +0 -271
  178. package/dist/do/withGit.js.map +0 -1
  179. package/dist/durable-object/object-store.d.ts +0 -633
  180. package/dist/durable-object/object-store.d.ts.map +0 -1
  181. package/dist/durable-object/object-store.js +0 -1164
  182. package/dist/durable-object/object-store.js.map +0 -1
  183. package/dist/durable-object/schema.d.ts.map +0 -1
  184. package/dist/durable-object/schema.js.map +0 -1
  185. package/dist/durable-object/wal.d.ts +0 -416
  186. package/dist/durable-object/wal.d.ts.map +0 -1
  187. package/dist/durable-object/wal.js +0 -445
  188. package/dist/durable-object/wal.js.map +0 -1
  189. package/dist/mcp/adapter.d.ts +0 -772
  190. package/dist/mcp/adapter.d.ts.map +0 -1
  191. package/dist/mcp/adapter.js +0 -895
  192. package/dist/mcp/adapter.js.map +0 -1
  193. package/dist/mcp/sandbox/miniflare-evaluator.d.ts +0 -22
  194. package/dist/mcp/sandbox/miniflare-evaluator.d.ts.map +0 -1
  195. package/dist/mcp/sandbox/miniflare-evaluator.js +0 -140
  196. package/dist/mcp/sandbox/miniflare-evaluator.js.map +0 -1
  197. package/dist/mcp/sandbox/object-store-proxy.d.ts +0 -32
  198. package/dist/mcp/sandbox/object-store-proxy.d.ts.map +0 -1
  199. package/dist/mcp/sandbox/object-store-proxy.js +0 -30
  200. package/dist/mcp/sandbox/object-store-proxy.js.map +0 -1
  201. package/dist/mcp/sandbox/template.d.ts +0 -17
  202. package/dist/mcp/sandbox/template.d.ts.map +0 -1
  203. package/dist/mcp/sandbox/template.js +0 -71
  204. package/dist/mcp/sandbox/template.js.map +0 -1
  205. package/dist/mcp/sandbox.d.ts +0 -764
  206. package/dist/mcp/sandbox.d.ts.map +0 -1
  207. package/dist/mcp/sandbox.js +0 -1362
  208. package/dist/mcp/sandbox.js.map +0 -1
  209. package/dist/mcp/sdk-adapter.d.ts +0 -835
  210. package/dist/mcp/sdk-adapter.d.ts.map +0 -1
  211. package/dist/mcp/sdk-adapter.js +0 -974
  212. package/dist/mcp/sdk-adapter.js.map +0 -1
  213. package/dist/mcp/tools/do.d.ts +0 -32
  214. package/dist/mcp/tools/do.d.ts.map +0 -1
  215. package/dist/mcp/tools/do.js +0 -117
  216. package/dist/mcp/tools/do.js.map +0 -1
  217. package/dist/ops/blame.d.ts +0 -551
  218. package/dist/ops/blame.d.ts.map +0 -1
  219. package/dist/ops/blame.js +0 -1037
  220. package/dist/ops/blame.js.map +0 -1
  221. package/dist/ops/branch.d.ts +0 -766
  222. package/dist/ops/branch.d.ts.map +0 -1
  223. package/dist/ops/branch.js +0 -950
  224. package/dist/ops/branch.js.map +0 -1
  225. package/dist/ops/commit-traversal.d.ts +0 -349
  226. package/dist/ops/commit-traversal.d.ts.map +0 -1
  227. package/dist/ops/commit-traversal.js +0 -821
  228. package/dist/ops/commit-traversal.js.map +0 -1
  229. package/dist/ops/commit.d.ts +0 -555
  230. package/dist/ops/commit.d.ts.map +0 -1
  231. package/dist/ops/commit.js +0 -826
  232. package/dist/ops/commit.js.map +0 -1
  233. package/dist/ops/merge-base.d.ts +0 -397
  234. package/dist/ops/merge-base.d.ts.map +0 -1
  235. package/dist/ops/merge-base.js +0 -691
  236. package/dist/ops/merge-base.js.map +0 -1
  237. package/dist/ops/merge.d.ts +0 -855
  238. package/dist/ops/merge.d.ts.map +0 -1
  239. package/dist/ops/merge.js +0 -1551
  240. package/dist/ops/merge.js.map +0 -1
  241. package/dist/ops/tag.d.ts +0 -247
  242. package/dist/ops/tag.d.ts.map +0 -1
  243. package/dist/ops/tag.js +0 -649
  244. package/dist/ops/tag.js.map +0 -1
  245. package/dist/ops/tree-builder.d.ts +0 -178
  246. package/dist/ops/tree-builder.d.ts.map +0 -1
  247. package/dist/ops/tree-builder.js +0 -271
  248. package/dist/ops/tree-builder.js.map +0 -1
  249. package/dist/ops/tree-diff.d.ts +0 -291
  250. package/dist/ops/tree-diff.d.ts.map +0 -1
  251. package/dist/ops/tree-diff.js +0 -705
  252. package/dist/ops/tree-diff.js.map +0 -1
  253. package/dist/pack/delta.d.ts +0 -248
  254. package/dist/pack/delta.d.ts.map +0 -1
  255. package/dist/pack/delta.js +0 -740
  256. package/dist/pack/delta.js.map +0 -1
  257. package/dist/pack/format.d.ts +0 -446
  258. package/dist/pack/format.d.ts.map +0 -1
  259. package/dist/pack/format.js +0 -572
  260. package/dist/pack/format.js.map +0 -1
  261. package/dist/pack/full-generation.d.ts +0 -612
  262. package/dist/pack/full-generation.d.ts.map +0 -1
  263. package/dist/pack/full-generation.js +0 -1378
  264. package/dist/pack/full-generation.js.map +0 -1
  265. package/dist/pack/generation.d.ts +0 -441
  266. package/dist/pack/generation.d.ts.map +0 -1
  267. package/dist/pack/generation.js +0 -707
  268. package/dist/pack/generation.js.map +0 -1
  269. package/dist/pack/index.d.ts +0 -502
  270. package/dist/pack/index.d.ts.map +0 -1
  271. package/dist/pack/index.js +0 -833
  272. package/dist/pack/index.js.map +0 -1
  273. package/dist/refs/branch.d.ts +0 -683
  274. package/dist/refs/branch.d.ts.map +0 -1
  275. package/dist/refs/branch.js +0 -881
  276. package/dist/refs/branch.js.map +0 -1
  277. package/dist/refs/storage.d.ts +0 -833
  278. package/dist/refs/storage.d.ts.map +0 -1
  279. package/dist/refs/storage.js +0 -1023
  280. package/dist/refs/storage.js.map +0 -1
  281. package/dist/refs/tag.d.ts +0 -860
  282. package/dist/refs/tag.d.ts.map +0 -1
  283. package/dist/refs/tag.js +0 -996
  284. package/dist/refs/tag.js.map +0 -1
  285. package/dist/storage/backend.d.ts +0 -425
  286. package/dist/storage/backend.d.ts.map +0 -1
  287. package/dist/storage/backend.js +0 -41
  288. package/dist/storage/backend.js.map +0 -1
  289. package/dist/storage/fsx-adapter.d.ts +0 -204
  290. package/dist/storage/fsx-adapter.d.ts.map +0 -1
  291. package/dist/storage/fsx-adapter.js +0 -518
  292. package/dist/storage/fsx-adapter.js.map +0 -1
  293. package/dist/storage/lru-cache.d.ts +0 -691
  294. package/dist/storage/lru-cache.d.ts.map +0 -1
  295. package/dist/storage/lru-cache.js +0 -813
  296. package/dist/storage/lru-cache.js.map +0 -1
  297. package/dist/storage/object-index.d.ts +0 -585
  298. package/dist/storage/object-index.d.ts.map +0 -1
  299. package/dist/storage/object-index.js +0 -532
  300. package/dist/storage/object-index.js.map +0 -1
  301. package/dist/storage/r2-pack.d.ts +0 -1257
  302. package/dist/storage/r2-pack.d.ts.map +0 -1
  303. package/dist/storage/r2-pack.js +0 -1773
  304. package/dist/storage/r2-pack.js.map +0 -1
  305. package/dist/tiered/cdc-pipeline.d.ts +0 -1888
  306. package/dist/tiered/cdc-pipeline.d.ts.map +0 -1
  307. package/dist/tiered/cdc-pipeline.js +0 -1880
  308. package/dist/tiered/cdc-pipeline.js.map +0 -1
  309. package/dist/tiered/migration.d.ts +0 -1104
  310. package/dist/tiered/migration.d.ts.map +0 -1
  311. package/dist/tiered/migration.js +0 -1217
  312. package/dist/tiered/migration.js.map +0 -1
  313. package/dist/tiered/parquet-writer.d.ts +0 -1145
  314. package/dist/tiered/parquet-writer.d.ts.map +0 -1
  315. package/dist/tiered/parquet-writer.js +0 -1183
  316. package/dist/tiered/parquet-writer.js.map +0 -1
  317. package/dist/tiered/read-path.d.ts +0 -835
  318. package/dist/tiered/read-path.d.ts.map +0 -1
  319. package/dist/tiered/read-path.js +0 -487
  320. package/dist/tiered/read-path.js.map +0 -1
  321. package/dist/types/capability.d.ts +0 -1385
  322. package/dist/types/capability.d.ts.map +0 -1
  323. package/dist/types/capability.js +0 -36
  324. package/dist/types/capability.js.map +0 -1
  325. package/dist/types/index.d.ts +0 -13
  326. package/dist/types/index.d.ts.map +0 -1
  327. package/dist/types/index.js +0 -18
  328. package/dist/types/index.js.map +0 -1
  329. package/dist/types/interfaces.d.ts +0 -673
  330. package/dist/types/interfaces.d.ts.map +0 -1
  331. package/dist/types/interfaces.js +0 -26
  332. package/dist/types/interfaces.js.map +0 -1
  333. package/dist/types/objects.d.ts +0 -692
  334. package/dist/types/objects.d.ts.map +0 -1
  335. package/dist/types/objects.js +0 -837
  336. package/dist/types/objects.js.map +0 -1
  337. package/dist/types/storage.d.ts +0 -603
  338. package/dist/types/storage.d.ts.map +0 -1
  339. package/dist/types/storage.js +0 -191
  340. package/dist/types/storage.js.map +0 -1
  341. package/dist/types/worker-loader.d.ts +0 -60
  342. package/dist/types/worker-loader.d.ts.map +0 -1
  343. package/dist/types/worker-loader.js +0 -62
  344. package/dist/types/worker-loader.js.map +0 -1
  345. package/dist/utils/hash.d.ts +0 -198
  346. package/dist/utils/hash.d.ts.map +0 -1
  347. package/dist/utils/hash.js +0 -272
  348. package/dist/utils/hash.js.map +0 -1
  349. package/dist/utils/sha1.d.ts +0 -325
  350. package/dist/utils/sha1.d.ts.map +0 -1
  351. package/dist/utils/sha1.js +0 -635
  352. package/dist/utils/sha1.js.map +0 -1
  353. package/dist/wire/capabilities.d.ts +0 -1044
  354. package/dist/wire/capabilities.d.ts.map +0 -1
  355. package/dist/wire/capabilities.js +0 -941
  356. package/dist/wire/capabilities.js.map +0 -1
  357. package/dist/wire/path-security.d.ts +0 -157
  358. package/dist/wire/path-security.d.ts.map +0 -1
  359. package/dist/wire/path-security.js +0 -307
  360. package/dist/wire/path-security.js.map +0 -1
  361. package/dist/wire/pkt-line.d.ts +0 -345
  362. package/dist/wire/pkt-line.d.ts.map +0 -1
  363. package/dist/wire/pkt-line.js +0 -381
  364. package/dist/wire/pkt-line.js.map +0 -1
  365. package/dist/wire/receive-pack.d.ts +0 -1059
  366. package/dist/wire/receive-pack.d.ts.map +0 -1
  367. package/dist/wire/receive-pack.js +0 -1414
  368. package/dist/wire/receive-pack.js.map +0 -1
  369. package/dist/wire/smart-http.d.ts +0 -799
  370. package/dist/wire/smart-http.d.ts.map +0 -1
  371. package/dist/wire/smart-http.js +0 -945
  372. package/dist/wire/smart-http.js.map +0 -1
  373. package/dist/wire/upload-pack.d.ts +0 -727
  374. package/dist/wire/upload-pack.d.ts.map +0 -1
  375. package/dist/wire/upload-pack.js +0 -1141
  376. package/dist/wire/upload-pack.js.map +0 -1
@@ -1,551 +0,0 @@
1
- /**
2
- * @fileoverview Git Blame Algorithm
3
- *
4
- * This module provides functionality for attributing each line of a file
5
- * to the commit that last modified it. It implements a blame algorithm
6
- * similar to Git's native blame command.
7
- *
8
- * ## Features
9
- *
10
- * - Line-by-line commit attribution
11
- * - Rename tracking across commits
12
- * - Line range filtering
13
- * - Whitespace-insensitive comparison
14
- * - Date range filtering
15
- * - Commit exclusion (ignore revisions)
16
- * - Binary file detection
17
- * - Porcelain and human-readable output formats
18
- *
19
- * ## Usage Example
20
- *
21
- * ```typescript
22
- * import { blame, formatBlame } from './ops/blame'
23
- *
24
- * // Get blame information for a file
25
- * const result = await blame(storage, 'src/main.ts', 'HEAD', {
26
- * followRenames: true,
27
- * ignoreWhitespace: true
28
- * })
29
- *
30
- * // Format for display
31
- * const output = formatBlame(result, { showLineNumbers: true })
32
- * console.log(output)
33
- * ```
34
- *
35
- * @module ops/blame
36
- */
37
- import { CommitObject, TreeObject } from '../types/objects';
38
- /**
39
- * Storage interface for blame operations.
40
- *
41
- * Provides the necessary methods for accessing Git objects and
42
- * tracking file renames during blame traversal.
43
- *
44
- * @interface BlameStorage
45
- */
46
- export interface BlameStorage {
47
- /**
48
- * Retrieves a commit object by its SHA.
49
- * @param sha - The 40-character hexadecimal commit SHA
50
- * @returns The commit object, or null if not found
51
- */
52
- getCommit(sha: string): Promise<CommitObject | null>;
53
- /**
54
- * Retrieves a tree object by its SHA.
55
- * @param sha - The 40-character hexadecimal tree SHA
56
- * @returns The tree object, or null if not found
57
- */
58
- getTree(sha: string): Promise<TreeObject | null>;
59
- /**
60
- * Retrieves blob content by its SHA.
61
- * @param sha - The 40-character hexadecimal blob SHA
62
- * @returns The blob content as bytes, or null if not found
63
- */
64
- getBlob(sha: string): Promise<Uint8Array | null>;
65
- /**
66
- * Resolves a reference name to its SHA.
67
- * @param ref - The reference name (e.g., 'HEAD', 'refs/heads/main')
68
- * @returns The resolved SHA, or null if ref doesn't exist
69
- */
70
- resolveRef(ref: string): Promise<string | null>;
71
- /**
72
- * Retrieves file content at a specific commit.
73
- * @param sha - The tree SHA to search in
74
- * @param path - The file path relative to the tree root
75
- * @returns The file content as bytes, or null if not found
76
- */
77
- getFileAtCommit(sha: string, path: string): Promise<Uint8Array | null>;
78
- /**
79
- * Gets rename mappings for a specific commit.
80
- * @param sha - The commit SHA to check for renames
81
- * @returns Map of old paths to new paths for renames in this commit
82
- */
83
- getRenamesInCommit(sha: string): Promise<Map<string, string>>;
84
- /**
85
- * Gets the first parent of a commit.
86
- * @param sha - The commit SHA
87
- * @returns The parent SHA, or null if this is the root commit
88
- */
89
- getParentCommit(sha: string): Promise<string | null>;
90
- }
91
- /**
92
- * Options for controlling blame operation behavior.
93
- *
94
- * @interface BlameOptions
95
- *
96
- * @example
97
- * ```typescript
98
- * const options: BlameOptions = {
99
- * followRenames: true,
100
- * maxCommits: 1000,
101
- * ignoreWhitespace: true,
102
- * lineRange: '10,20'
103
- * }
104
- * ```
105
- */
106
- export interface BlameOptions {
107
- /**
108
- * Whether to track file renames through history.
109
- * When true, blame will follow the file even if it was renamed.
110
- * @default false
111
- */
112
- followRenames?: boolean;
113
- /**
114
- * Whether to follow symbolic links.
115
- * @default false
116
- */
117
- followSymlinks?: boolean;
118
- /**
119
- * Maximum number of commits to traverse.
120
- * Useful for limiting blame on files with long histories.
121
- * @default Infinity
122
- */
123
- maxCommits?: number;
124
- /**
125
- * Reverse blame direction - show which commit introduced removal.
126
- * @default false
127
- */
128
- reverse?: boolean;
129
- /**
130
- * Only consider commits after this date.
131
- */
132
- since?: Date;
133
- /**
134
- * Only consider commits before this date.
135
- */
136
- until?: Date;
137
- /**
138
- * Ignore whitespace changes when comparing lines.
139
- * @default false
140
- */
141
- ignoreWhitespace?: boolean;
142
- /**
143
- * List of commit SHAs to skip during blame traversal.
144
- * Useful for ignoring bulk formatting commits.
145
- */
146
- ignoreRevisions?: string[];
147
- /**
148
- * Line range specification (git-style -L option).
149
- * Formats: "start,end", "start,+offset", or "/pattern1/,/pattern2/"
150
- *
151
- * @example
152
- * - "10,20" - lines 10 through 20
153
- * - "10,+5" - lines 10 through 15
154
- * - "/^function/,/^}/" - from pattern match to pattern match
155
- */
156
- lineRange?: string;
157
- /**
158
- * Whether to use caching for performance.
159
- * @default true
160
- */
161
- useCache?: boolean;
162
- }
163
- /**
164
- * Information about a single blamed line.
165
- *
166
- * Contains all attribution data for a specific line in the file,
167
- * including the commit that last modified it.
168
- *
169
- * @interface BlameLineInfo
170
- */
171
- export interface BlameLineInfo {
172
- /** SHA of the commit that last modified this line */
173
- commitSha: string;
174
- /** Name of the author who made the change */
175
- author: string;
176
- /** Email of the author (optional for compatibility) */
177
- email?: string;
178
- /** Unix timestamp of the commit in seconds */
179
- timestamp: number;
180
- /** The actual text content of the line */
181
- content: string;
182
- /** Current line number in the file (1-indexed) */
183
- lineNumber: number;
184
- /** Original line number when the line was introduced (1-indexed) */
185
- originalLineNumber: number;
186
- /** Original file path if the file was renamed */
187
- originalPath?: string;
188
- }
189
- /**
190
- * Commit information in the context of blame results.
191
- *
192
- * Provides summary information about commits that appear in blame output.
193
- *
194
- * @interface BlameCommitInfo
195
- */
196
- export interface BlameCommitInfo {
197
- /** The commit SHA */
198
- sha: string;
199
- /** Author name */
200
- author: string;
201
- /** Author email */
202
- email: string;
203
- /** Unix timestamp in seconds */
204
- timestamp: number;
205
- /** First line of the commit message */
206
- summary: string;
207
- /** Whether this commit is a boundary (has no parent) */
208
- boundary?: boolean;
209
- }
210
- /**
211
- * A single entry in blame output (simplified format).
212
- *
213
- * @interface BlameEntry
214
- */
215
- export interface BlameEntry {
216
- /** SHA of the commit */
217
- commitSha: string;
218
- /** Author name */
219
- author: string;
220
- /** Unix timestamp in seconds */
221
- timestamp: number;
222
- /** Current line number (1-indexed) */
223
- lineNumber: number;
224
- /** Original line number when introduced (1-indexed) */
225
- originalLineNumber: number;
226
- /** Line content */
227
- content: string;
228
- /** Original path if file was renamed */
229
- originalPath?: string;
230
- }
231
- /**
232
- * Complete result of a blame operation.
233
- *
234
- * @interface BlameResult
235
- *
236
- * @example
237
- * ```typescript
238
- * const result = await blame(storage, 'file.ts', 'HEAD')
239
- *
240
- * // Access individual lines
241
- * for (const line of result.lines) {
242
- * console.log(`${line.commitSha.slice(0,8)} ${line.author}: ${line.content}`)
243
- * }
244
- *
245
- * // Look up commit details
246
- * const commitInfo = result.commits.get(result.lines[0].commitSha)
247
- * ```
248
- */
249
- export interface BlameResult {
250
- /** The file path that was blamed */
251
- path: string;
252
- /** Array of blame information for each line */
253
- lines: BlameLineInfo[];
254
- /** Map of commit SHA to commit information */
255
- commits: Map<string, BlameCommitInfo>;
256
- /** Options used for this blame operation */
257
- options?: BlameOptions;
258
- }
259
- /**
260
- * Options for formatting blame output.
261
- *
262
- * @interface BlameFormatOptions
263
- */
264
- export interface BlameFormatOptions {
265
- /**
266
- * Output format style.
267
- * - 'default': Human-readable format
268
- * - 'porcelain': Machine-parseable format
269
- * @default 'default'
270
- */
271
- format?: 'default' | 'porcelain';
272
- /**
273
- * Whether to show line numbers.
274
- * @default false
275
- */
276
- showLineNumbers?: boolean;
277
- /**
278
- * Whether to show commit dates.
279
- * @default false
280
- */
281
- showDate?: boolean;
282
- /**
283
- * Whether to show email instead of author name.
284
- * @default false
285
- */
286
- showEmail?: boolean;
287
- }
288
- /**
289
- * Entry tracking file path through rename history.
290
- *
291
- * @interface PathHistoryEntry
292
- */
293
- export interface PathHistoryEntry {
294
- /** Commit SHA at this point in history */
295
- commit: string;
296
- /** File path at this point in history */
297
- path: string;
298
- }
299
- /**
300
- * Blame history entry for tracking a single line through history.
301
- *
302
- * @interface BlameHistoryEntry
303
- */
304
- export interface BlameHistoryEntry {
305
- /** Commit SHA where this version appeared */
306
- commitSha: string;
307
- /** Line content at this version */
308
- content: string;
309
- /** Line number at this version */
310
- lineNumber: number;
311
- /** Author of this version */
312
- author: string;
313
- /** Timestamp of this version */
314
- timestamp: number;
315
- }
316
- /**
317
- * Computes blame for a file at a specific commit.
318
- *
319
- * Traverses commit history to attribute each line of the file to the
320
- * commit that last modified it. Supports various options for filtering
321
- * and tracking behavior.
322
- *
323
- * @description
324
- * The blame algorithm works by:
325
- * 1. Starting at the specified commit and getting the file content
326
- * 2. Initially attributing all lines to the starting commit
327
- * 3. Walking backwards through commit history
328
- * 4. For each parent commit, computing line mappings using LCS
329
- * 5. Re-attributing lines that exist unchanged in the parent
330
- * 6. Continuing until all lines are attributed or history is exhausted
331
- *
332
- * @param storage - The storage interface for accessing Git objects
333
- * @param path - The file path to blame
334
- * @param commit - The commit SHA to start from
335
- * @param options - Optional blame configuration
336
- * @returns The blame result with line attributions
337
- *
338
- * @throws {Error} If the commit is not found
339
- * @throws {Error} If the file is not found at the specified commit
340
- * @throws {Error} If the file is binary
341
- *
342
- * @example
343
- * ```typescript
344
- * // Basic blame
345
- * const result = await blame(storage, 'src/main.ts', 'abc123')
346
- *
347
- * // Blame with options
348
- * const result = await blame(storage, 'README.md', 'HEAD', {
349
- * followRenames: true,
350
- * maxCommits: 500,
351
- * ignoreWhitespace: true
352
- * })
353
- *
354
- * // Blame specific line range
355
- * const result = await blame(storage, 'config.json', 'main', {
356
- * lineRange: '10,20'
357
- * })
358
- * ```
359
- */
360
- export declare function blame(storage: BlameStorage, path: string, commit: string, options?: BlameOptions): Promise<BlameResult>;
361
- /**
362
- * Alias for blame - get full file blame.
363
- *
364
- * This function is identical to `blame` and exists for API compatibility.
365
- *
366
- * @param storage - The storage interface
367
- * @param path - The file path to blame
368
- * @param commit - The commit SHA to start from
369
- * @param options - Optional blame configuration
370
- * @returns The blame result
371
- *
372
- * @see {@link blame} for full documentation
373
- */
374
- export declare function blameFile(storage: BlameStorage, path: string, commit: string, options?: BlameOptions): Promise<BlameResult>;
375
- /**
376
- * Gets blame information for a specific line.
377
- *
378
- * Convenience function that performs a full blame and extracts
379
- * the information for a single line.
380
- *
381
- * @param storage - The storage interface
382
- * @param path - The file path
383
- * @param lineNumber - The line number (1-indexed)
384
- * @param commit - The commit SHA
385
- * @param options - Optional blame configuration
386
- * @returns Blame information for the specified line
387
- *
388
- * @throws {Error} If lineNumber is less than 1
389
- * @throws {Error} If lineNumber exceeds file length
390
- *
391
- * @example
392
- * ```typescript
393
- * const lineInfo = await blameLine(storage, 'src/main.ts', 42, 'HEAD')
394
- * console.log(`Line 42 was last modified by ${lineInfo.author}`)
395
- * ```
396
- */
397
- export declare function blameLine(storage: BlameStorage, path: string, lineNumber: number, commit: string, options?: BlameOptions): Promise<BlameLineInfo>;
398
- /**
399
- * Gets blame for a specific line range.
400
- *
401
- * More efficient than using the lineRange option when you know
402
- * the exact numeric range you want.
403
- *
404
- * @param storage - The storage interface
405
- * @param path - The file path
406
- * @param startLine - Starting line number (1-indexed, inclusive)
407
- * @param endLine - Ending line number (1-indexed, inclusive)
408
- * @param commit - The commit SHA
409
- * @param options - Optional blame configuration
410
- * @returns Blame result for the specified range
411
- *
412
- * @throws {Error} If startLine is less than 1
413
- * @throws {Error} If endLine is less than startLine
414
- * @throws {Error} If endLine exceeds file length
415
- *
416
- * @example
417
- * ```typescript
418
- * // Get blame for lines 10-20
419
- * const result = await blameRange(storage, 'file.ts', 10, 20, 'HEAD')
420
- * ```
421
- */
422
- export declare function blameRange(storage: BlameStorage, path: string, startLine: number, endLine: number, commit: string, options?: BlameOptions): Promise<BlameResult>;
423
- /**
424
- * Gets blame at a specific historical commit.
425
- *
426
- * Alias for `blame` - provided for semantic clarity when you want
427
- * to emphasize you're looking at a specific point in history.
428
- *
429
- * @param storage - The storage interface
430
- * @param path - The file path
431
- * @param commit - The commit SHA
432
- * @param options - Optional blame configuration
433
- * @returns The blame result
434
- *
435
- * @see {@link blame} for full documentation
436
- */
437
- export declare function getBlameForCommit(storage: BlameStorage, path: string, commit: string, options?: BlameOptions): Promise<BlameResult>;
438
- /**
439
- * Tracks file path across renames through history.
440
- *
441
- * Walks through commit history and records each path the file
442
- * had at different points in time.
443
- *
444
- * @param storage - The storage interface
445
- * @param path - Current file path
446
- * @param commit - Starting commit SHA
447
- * @param _options - Unused options parameter (reserved for future use)
448
- * @returns Array of path history entries, newest first
449
- *
450
- * @example
451
- * ```typescript
452
- * const history = await trackContentAcrossRenames(storage, 'src/new-name.ts', 'HEAD')
453
- * // history might contain:
454
- * // [
455
- * // { commit: 'abc123', path: 'src/new-name.ts' },
456
- * // { commit: 'def456', path: 'src/old-name.ts' }
457
- * // ]
458
- * ```
459
- */
460
- export declare function trackContentAcrossRenames(storage: BlameStorage, path: string, commit: string, _options?: BlameOptions): Promise<PathHistoryEntry[]>;
461
- /**
462
- * Detects file renames between two commits.
463
- *
464
- * Compares two commits to find files that were renamed based on
465
- * SHA matching (exact renames) and content similarity (renames with modifications).
466
- *
467
- * @param storage - The storage interface
468
- * @param fromCommit - The older commit SHA
469
- * @param toCommit - The newer commit SHA
470
- * @param options - Configuration options
471
- * @param options.threshold - Similarity threshold (0-1) for content-based detection
472
- * @returns Map of old paths to new paths for detected renames
473
- *
474
- * @example
475
- * ```typescript
476
- * const renames = await detectRenames(storage, 'abc123', 'def456', {
477
- * threshold: 0.5
478
- * })
479
- *
480
- * for (const [oldPath, newPath] of renames) {
481
- * console.log(`${oldPath} -> ${newPath}`)
482
- * }
483
- * ```
484
- */
485
- export declare function detectRenames(storage: BlameStorage, fromCommit: string, toCommit: string, options?: {
486
- threshold?: number;
487
- }): Promise<Map<string, string>>;
488
- /**
489
- * Builds complete blame history for a specific line.
490
- *
491
- * Tracks a single line through history, recording its content
492
- * at each commit where it existed.
493
- *
494
- * @param storage - The storage interface
495
- * @param path - The file path
496
- * @param lineNumber - The line number to track (1-indexed)
497
- * @param commit - Starting commit SHA
498
- * @param options - Optional blame configuration
499
- * @returns Array of history entries, newest first
500
- *
501
- * @example
502
- * ```typescript
503
- * const history = await buildBlameHistory(storage, 'main.ts', 10, 'HEAD')
504
- *
505
- * for (const entry of history) {
506
- * console.log(`${entry.commitSha}: ${entry.content}`)
507
- * }
508
- * ```
509
- */
510
- export declare function buildBlameHistory(storage: BlameStorage, path: string, lineNumber: number, commit: string, options?: BlameOptions): Promise<BlameHistoryEntry[]>;
511
- /**
512
- * Formats blame result for display.
513
- *
514
- * Converts a BlameResult into a human-readable or machine-parseable string format.
515
- *
516
- * @param result - The blame result to format
517
- * @param options - Formatting options
518
- * @returns Formatted string output
519
- *
520
- * @example
521
- * ```typescript
522
- * const result = await blame(storage, 'main.ts', 'HEAD')
523
- *
524
- * // Human-readable format
525
- * const output = formatBlame(result, {
526
- * showLineNumbers: true,
527
- * showDate: true
528
- * })
529
- *
530
- * // Machine-readable format
531
- * const porcelain = formatBlame(result, { format: 'porcelain' })
532
- * ```
533
- */
534
- export declare function formatBlame(result: BlameResult, options?: BlameFormatOptions): string;
535
- /**
536
- * Parses porcelain blame output back into a BlameResult.
537
- *
538
- * Useful for consuming blame output from external sources or
539
- * for round-trip serialization.
540
- *
541
- * @param output - Porcelain format blame output string
542
- * @returns Parsed blame result
543
- *
544
- * @example
545
- * ```typescript
546
- * const porcelainOutput = formatBlame(result, { format: 'porcelain' })
547
- * const parsed = parseBlameOutput(porcelainOutput)
548
- * ```
549
- */
550
- export declare function parseBlameOutput(output: string): BlameResult;
551
- //# sourceMappingURL=blame.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blame.d.ts","sourceRoot":"","sources":["../../src/ops/blame.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAM3D;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAAA;IAEpD;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAA;IAEhD;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAA;IAEhD;;;;OAIG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAE/C;;;;;OAKG;IACH,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAA;IAEtE;;;;OAIG;IACH,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IAE7D;;;;OAIG;IACH,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,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