dirsql 0.4.52__tar.gz → 0.4.54__tar.gz

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 (244) hide show
  1. {dirsql-0.4.52 → dirsql-0.4.54}/Cargo.lock +2 -2
  2. {dirsql-0.4.52 → dirsql-0.4.54}/PKG-INFO +1 -1
  3. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/main.py +15 -21
  4. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/Cargo.toml +1 -1
  5. dirsql-0.4.54/packages/python/changelog.d/2026-09-20-sigint-ends-a-run-in-progress.md +1 -0
  6. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/README.md +1 -1
  7. dirsql-0.4.54/packages/python/e2e-attestations/claude-1148-clippy-all-targets.json +7 -0
  8. dirsql-0.4.54/packages/python/e2e-attestations/claude-1164-sigint-fatal.json +7 -0
  9. dirsql-0.4.54/packages/python/migrations.d/2026-09-20-sigint-ends-a-run-in-progress.md +35 -0
  10. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/README.md +2 -2
  11. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/Cargo.toml +1 -1
  12. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/lib.rs +3 -5
  13. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/vtab_scaffold.rs +1 -3
  14. {dirsql-0.4.52 → dirsql-0.4.54}/Cargo.toml +0 -0
  15. {dirsql-0.4.52 → dirsql-0.4.54}/README.md +0 -0
  16. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/__init__.py +0 -0
  17. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/_async.py +0 -0
  18. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/_dirsql.pyi +0 -0
  19. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/__init__.py +0 -0
  20. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/discover_plugins/__init__.py +0 -0
  21. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/discover_plugins/discovered_fragments.py +0 -0
  22. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/discover_plugins/discovery_disabled.py +0 -0
  23. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/discover_plugins/fragment_path.py +0 -0
  24. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/discover_plugins/user_passed_config.py +0 -0
  25. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/discover_plugins/with_discovered_plugins.py +0 -0
  26. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/cli/resolve_config_extensions.py +0 -0
  27. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/plan_entry_path.py +0 -0
  28. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/py.typed +0 -0
  29. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/read_config.py +0 -0
  30. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/resolve_configs_extension_specs.py +0 -0
  31. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/resolve_extension.py +0 -0
  32. {dirsql-0.4.52 → dirsql-0.4.54}/dirsql/resolve_package.py +0 -0
  33. {dirsql-0.4.52 → dirsql-0.4.54}/docs/.claude/CLAUDE.md +0 -0
  34. {dirsql-0.4.52 → dirsql-0.4.54}/docs/.vitepress/config.ts +0 -0
  35. {dirsql-0.4.52 → dirsql-0.4.54}/docs/.vitepress/theme/index.ts +0 -0
  36. {dirsql-0.4.52 → dirsql-0.4.54}/docs/.vitepress/theme/lang.ts +0 -0
  37. {dirsql-0.4.52 → dirsql-0.4.54}/docs/AGENTS.md +0 -0
  38. {dirsql-0.4.52 → dirsql-0.4.54}/docs/explanation.md +0 -0
  39. {dirsql-0.4.52 → dirsql-0.4.54}/docs/getting-started.md +0 -0
  40. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/columns-from-paths.md +0 -0
  41. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/define-tables.md +0 -0
  42. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/embed.md +0 -0
  43. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/extract-from-contents.md +0 -0
  44. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/load-extension.md +0 -0
  45. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/parse-files-into-columns.md +0 -0
  46. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/persist.md +0 -0
  47. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/query-json.md +0 -0
  48. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/query-without-config.md +0 -0
  49. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/react-to-changes.md +0 -0
  50. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/search-by-meaning.md +0 -0
  51. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/search-indexes.md +0 -0
  52. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/skip-files.md +0 -0
  53. {dirsql-0.4.52 → dirsql-0.4.54}/docs/howto/write-a-plugin.md +0 -0
  54. {dirsql-0.4.52 → dirsql-0.4.54}/docs/index.md +0 -0
  55. {dirsql-0.4.52 → dirsql-0.4.54}/docs/package.json +0 -0
  56. {dirsql-0.4.52 → dirsql-0.4.54}/docs/plugins.md +0 -0
  57. {dirsql-0.4.52 → dirsql-0.4.54}/docs/pnpm-lock.yaml +0 -0
  58. {dirsql-0.4.52 → dirsql-0.4.54}/docs/pnpm-workspace.yaml +0 -0
  59. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/cli.md +0 -0
  60. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/columns.md +0 -0
  61. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/config.md +0 -0
  62. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/hooks.md +0 -0
  63. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/http-api.md +0 -0
  64. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/path-tables.md +0 -0
  65. {dirsql-0.4.52 → dirsql-0.4.54}/docs/reference/sdk.md +0 -0
  66. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/CHANGELOG.md +0 -0
  67. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/MIGRATIONS.md +0 -0
  68. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/README.md +0 -0
  69. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-13-drop-cwd-config-auto-detect.md +0 -0
  70. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-13-plugin-discovery.md +0 -0
  71. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-13-rename-extract-to-on-file.md +0 -0
  72. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-13-repeatable-config.md +0 -0
  73. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-13-sdk-default-baked-in-config.md +0 -0
  74. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-20-drop-implicit-files-table.md +0 -0
  75. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-21-remove-glob-captures.md +0 -0
  76. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-24-hookless-table-config-error.md +0 -0
  77. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-24-remove-stat-fact-injection.md +0 -0
  78. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-07-29-restore-python-310.md +0 -0
  79. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-02-release-profile.md +0 -0
  80. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-02-scan-failures.md +0 -0
  81. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-03-discovery-ext-resolution.md +0 -0
  82. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-03-manylinux-dynamic-binary.md +0 -0
  83. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-03-python-no-ignore.md +0 -0
  84. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-04-cast-lints.md +0 -0
  85. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-04-cli-in-process.md +0 -0
  86. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-20-curtaincall-dev-dependency.md +0 -0
  87. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-08-20-declared-table-name.md +0 -0
  88. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-04-config-paths-from-argv-module.md +0 -0
  89. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-05-config-extension-loader-split.md +0 -0
  90. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-05-resolve-config-extensions-split.md +0 -0
  91. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-05-resolve-extension-split.md +0 -0
  92. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-09-launcher-config-path-scan.md +0 -0
  93. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-17-extension-resolution-via-core.md +0 -0
  94. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-18-export-scan-failure.md +0 -0
  95. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-18-flatten-row-event-in-core.md +0 -0
  96. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/changelog.d/2026-09-18-programmatic-extension-plan.md +0 -0
  97. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/conftest.py +0 -0
  98. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/.claude/CLAUDE.md +0 -0
  99. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/.vitepress/config.ts +0 -0
  100. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/.vitepress/theme/index.ts +0 -0
  101. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/.vitepress/theme/lang.ts +0 -0
  102. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/AGENTS.md +0 -0
  103. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/explanation.md +0 -0
  104. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/getting-started.md +0 -0
  105. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/columns-from-paths.md +0 -0
  106. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/define-tables.md +0 -0
  107. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/embed.md +0 -0
  108. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/extract-from-contents.md +0 -0
  109. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/load-extension.md +0 -0
  110. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/parse-files-into-columns.md +0 -0
  111. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/persist.md +0 -0
  112. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/query-json.md +0 -0
  113. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/query-without-config.md +0 -0
  114. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/react-to-changes.md +0 -0
  115. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/search-by-meaning.md +0 -0
  116. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/search-indexes.md +0 -0
  117. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/skip-files.md +0 -0
  118. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/howto/write-a-plugin.md +0 -0
  119. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/index.md +0 -0
  120. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/package.json +0 -0
  121. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/plugins.md +0 -0
  122. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/pnpm-lock.yaml +0 -0
  123. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/pnpm-workspace.yaml +0 -0
  124. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/cli.md +0 -0
  125. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/columns.md +0 -0
  126. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/config.md +0 -0
  127. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/hooks.md +0 -0
  128. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/http-api.md +0 -0
  129. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/path-tables.md +0 -0
  130. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/docs/reference/sdk.md +0 -0
  131. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/cc-keen-knuth-f11gyq.json +0 -0
  132. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1056-py-ofpf9.json +0 -0
  133. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1066-p1-resolve-extension.json +0 -0
  134. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1078-argv-config-paths-core.json +0 -0
  135. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1079-p2-resolve-config-extensions.json +0 -0
  136. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1080-share-vtab-scaffolding.json +0 -0
  137. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1081-indicatif-progress.json +0 -0
  138. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1096-watch-moved-dir.json +0 -0
  139. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1109-watch-moved-out.json +0 -0
  140. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1119-ext-plan.json +0 -0
  141. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1120-py-ext.json +0 -0
  142. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1122-ext-cleanup.json +0 -0
  143. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1130-codec-crates.json +0 -0
  144. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1131-flatten-row-event.json +0 -0
  145. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1139-sse-flatten.json +0 -0
  146. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-1140-scan-failure-export.json +0 -0
  147. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-819-oneshot-timeout.json +0 -0
  148. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-827-unquote-doubled-quotes.json +0 -0
  149. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-epic-953-slice2-reedline.json +0 -0
  150. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-epic-953-slice3-format.json +0 -0
  151. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-epic-953-stacked-prs-x59wm3.json +0 -0
  152. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-github-issue-825-e4mhhp.json +0 -0
  153. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-issue-951-0eease.json +0 -0
  154. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-issue-962-0jjrfv.json +0 -0
  155. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-issue-986-red-test-e7sjrb.json +0 -0
  156. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-tackle-1034-cachesplit.json +0 -0
  157. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-tackle-1042-py12.json +0 -0
  158. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-tackle-956-xzen74.json +0 -0
  159. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-tackle-957-lrm0z6-worker-calls.json +0 -0
  160. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-tackle-957-lrm0z6.json +0 -0
  161. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/e2e-attestations/claude-tackle-975-n8mc2h.json +0 -0
  162. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-13-drop-cwd-config-auto-detect.md +0 -0
  163. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-13-rename-extract-to-on-file.md +0 -0
  164. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-13-sdk-default-baked-in-config.md +0 -0
  165. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-20-drop-implicit-files-table.md +0 -0
  166. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-21-remove-glob-captures.md +0 -0
  167. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-24-hookless-table-config-error.md +0 -0
  168. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-24-remove-stat-fact-injection.md +0 -0
  169. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-07-29-restore-python-310.md +0 -0
  170. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-08-04-cli-in-process.md +0 -0
  171. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/migrations.d/2026-08-20-declared-table-name.md +0 -0
  172. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/src/lib.rs +0 -0
  173. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/testing-conventions.toml +0 -0
  174. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/__init__.py +0 -0
  175. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/conftest.py +0 -0
  176. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/e2e/__init__.py +0 -0
  177. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/e2e/fixtures/dirsql_plugin_fixture/__init__.py +0 -0
  178. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/e2e/fixtures/dirsql_plugin_fixture/dirsql.toml +0 -0
  179. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/integration/__init__.py +0 -0
  180. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/integration/binding/__init__.py +0 -0
  181. {dirsql-0.4.52 → dirsql-0.4.54}/packages/python/tests/integration/hermetic/__init__.py +0 -0
  182. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/CHANGELOG.md +0 -0
  183. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/MIGRATIONS.md +0 -0
  184. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/README.md +0 -0
  185. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/benches/db_bench.rs +0 -0
  186. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/benches/differ_bench.rs +0 -0
  187. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/benches/matcher_bench.rs +0 -0
  188. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/benches/scanner_bench.rs +0 -0
  189. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/explanation.md +0 -0
  190. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/getting-started.md +0 -0
  191. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/columns-from-paths.md +0 -0
  192. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/define-tables.md +0 -0
  193. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/embed.md +0 -0
  194. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/extract-from-contents.md +0 -0
  195. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/load-extension.md +0 -0
  196. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/parse-files-into-columns.md +0 -0
  197. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/persist.md +0 -0
  198. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/query-json.md +0 -0
  199. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/query-without-config.md +0 -0
  200. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/react-to-changes.md +0 -0
  201. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/search-by-meaning.md +0 -0
  202. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/search-indexes.md +0 -0
  203. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/skip-files.md +0 -0
  204. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/howto/write-a-plugin.md +0 -0
  205. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/index.md +0 -0
  206. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/plugins.md +0 -0
  207. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/cli.md +0 -0
  208. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/columns.md +0 -0
  209. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/config.md +0 -0
  210. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/hooks.md +0 -0
  211. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/http-api.md +0 -0
  212. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/path-tables.md +0 -0
  213. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/docs/reference/sdk.md +0 -0
  214. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/bin/dirsql.rs +0 -0
  215. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/execute.rs +0 -0
  216. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/init.rs +0 -0
  217. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/mod.rs +0 -0
  218. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/repl.rs +0 -0
  219. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/router.rs +0 -0
  220. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/run.rs +0 -0
  221. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/serialize.rs +0 -0
  222. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/server.rs +0 -0
  223. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/cli/table.rs +0 -0
  224. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/command.rs +0 -0
  225. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/config.rs +0 -0
  226. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/db.rs +0 -0
  227. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/default_config.toml +0 -0
  228. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/differ.rs +0 -0
  229. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/extension_resolution.rs +0 -0
  230. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/functions.rs +0 -0
  231. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/infer.rs +0 -0
  232. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/launcher.rs +0 -0
  233. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/matcher.rs +0 -0
  234. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/parsed_cache.rs +0 -0
  235. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/parsed_vtab.rs +0 -0
  236. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/path_table.rs +0 -0
  237. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/persist.rs +0 -0
  238. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/progress.rs +0 -0
  239. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/row_event_flat.rs +0 -0
  240. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/scanner.rs +0 -0
  241. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/sql_literal.rs +0 -0
  242. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/vtab.rs +0 -0
  243. {dirsql-0.4.52 → dirsql-0.4.54}/packages/rust/src/watcher.rs +0 -0
  244. {dirsql-0.4.52 → dirsql-0.4.54}/pyproject.toml +0 -0
@@ -552,7 +552,7 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
552
552
 
553
553
  [[package]]
554
554
  name = "dirsql"
555
- version = "0.4.52"
555
+ version = "0.4.54"
556
556
  dependencies = [
557
557
  "assert_cmd",
558
558
  "axum",
@@ -599,7 +599,7 @@ dependencies = [
599
599
 
600
600
  [[package]]
601
601
  name = "dirsql-py-ext"
602
- version = "0.4.52"
602
+ version = "0.4.54"
603
603
  dependencies = [
604
604
  "dirsql",
605
605
  "pyo3",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dirsql
3
- Version: 0.4.52
3
+ Version: 0.4.54
4
4
  Requires-Dist: bin-shim>=0.1
5
5
  Summary: Ephemeral SQL index over a local directory
6
6
  Keywords: sql,filesystem,directory,sqlite,index
@@ -18,27 +18,21 @@ from .discover_plugins.with_discovered_plugins import with_discovered_plugins
18
18
  from .resolve_config_extensions import with_resolved_extensions
19
19
 
20
20
 
21
- def _absorb_interrupt(*_args: object) -> None:
22
- """Let the core's own shutdown decide the exit code on SIGINT.
23
-
24
- signal-hook (which tokio uses) *chains*: it runs tokio's handler — which
25
- drives `dirsql server`'s graceful shutdown, after which `run_cli` returns
26
- 0 — and then whatever handler was installed before it. CPython's default
27
- is `default_int_handler`, which raises `KeyboardInterrupt`; that lands
28
- after `run_cli` has already returned 0 and turns a clean shutdown into a
29
- 130. This handler occupies that slot without raising, so the core's exit
30
- code is the one that survives, exactly as it does when the CLI is its own
31
- process.
32
-
33
- A signal arriving when the core is NOT handling signals still terminates:
34
- `run_cli` is only reached with this installed, and it returns promptly for
35
- every non-server command.
21
+ def keep_sigint_fatal(handler=signal.signal):
22
+ """Give SIGINT its default disposition for the core's run, returning the prior one.
23
+
24
+ No Python-level handler can end a run in progress: `run_cli` detaches the
25
+ GIL for its whole duration, so nothing reaches the eval loop until the
26
+ core has already finished — CPython's `default_int_handler` included. Only
27
+ a disposition the kernel acts on by itself works, which is `SIG_DFL`, and
28
+ it is what the standalone binary runs with.
29
+
30
+ `dirsql server` keeps its exit code: signal-hook (which tokio uses)
31
+ replaces the disposition when the server registers its handlers, and does
32
+ not re-raise `SIG_DFL` afterwards, so the core's graceful shutdown is the
33
+ only thing that acts and its 0 survives.
36
34
  """
37
-
38
-
39
- def with_core_owned_signals(handler=signal.signal):
40
- """Install `_absorb_interrupt` for SIGINT and return the prior handler."""
41
- return handler(signal.SIGINT, _absorb_interrupt)
35
+ return handler(signal.SIGINT, signal.SIG_DFL)
42
36
 
43
37
 
44
38
  def main(argv: list[str] | None = None) -> int:
@@ -56,7 +50,7 @@ def main(argv: list[str] | None = None) -> int:
56
50
  print(f"dirsql: {exc}", file=sys.stderr)
57
51
  return 1
58
52
 
59
- previous = with_core_owned_signals()
53
+ previous = keep_sigint_fatal()
60
54
  try:
61
55
  return run_in_process(argv=argv, module="dirsql._dirsql")
62
56
  except Exception as exc:
@@ -4,7 +4,7 @@ name = "dirsql-py-ext"
4
4
  # pypi/maturin handler can rewrite it via `write-version` before
5
5
  # `maturin build`. `pyproject.toml` declares `dynamic = ["version"]`
6
6
  # and maturin reads this field. Mirrors `packages/rust/Cargo.toml`.
7
- version = "0.4.52"
7
+ version = "0.4.54"
8
8
  # abi3 note: the `abi3-py310` pyo3 feature (below) builds ONE stable-ABI
9
9
  # `cp310-abi3` wheel per platform that loads on every CPython >= 3.10
10
10
  # (matching `pyproject.toml`'s `requires-python = ">=3.10"`), instead of
@@ -0,0 +1 @@
1
+ **Fixed** Ctrl-C now ends a `dirsql` run that is still in progress. The launcher installed an empty SIGINT handler for the whole of the core's run, and because the core detaches the GIL for that call no Python handler can run until the work has already finished — so a signal sent during a long directory scan was swallowed and the process was SIGTERM-only. SIGINT is left at its default disposition instead, which the kernel acts on immediately, matching the standalone binary. `dirsql server`'s graceful shutdown still exits 0.
@@ -14,4 +14,4 @@ Each PR that touches this package's public-facing source adds one file here:
14
14
  Fragments are **permanent and append-only** — nothing is ever assembled back
15
15
  into a single `CHANGELOG.md`, and the release↔entry mapping comes from
16
16
  `git log --tags`. This README is not a fragment and never satisfies the
17
- changelog gate. See AGENTS.md, "Changelog and Migrations".
17
+ changelog gate. See `agents/reference/changelog-migrations.md`.
@@ -0,0 +1,7 @@
1
+ {
2
+ "command": "just test-e2e",
3
+ "ran_at": 1789752342,
4
+ "exit_code": 0,
5
+ "commit": "a597fe5a5b7f4a27b7132385027bc0b71e447138",
6
+ "branch": "claude/1148-clippy-all-targets"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "command": "just test-e2e",
3
+ "ran_at": 1789910327,
4
+ "exit_code": 0,
5
+ "commit": "dfc68b057d52f3d4f586fd0233f292ccc2062dd6",
6
+ "branch": "claude/1164-sigint-fatal"
7
+ }
@@ -0,0 +1,35 @@
1
+ ### SIGINT ends a run in progress through the Python launcher
2
+
3
+ **Summary**
4
+
5
+ The `dirsql` console script installed an empty SIGINT handler for the duration of the core's run. A signal arriving during a long directory scan was therefore discarded, and the process could only be ended with SIGTERM. SIGINT is now left at its default disposition for that window, so the kernel terminates the process immediately. No API changes; the observable difference is that a signal that used to do nothing now ends the process with the usual 128+SIGINT status.
6
+
7
+ **Required changes**
8
+
9
+ | Before | After |
10
+ | --- | --- |
11
+ | `kill -INT <pid>` during a query: ignored; the run continues to completion | `kill -INT <pid>` during a query: the process dies of SIGINT (shell reports `130`) |
12
+ | Ctrl-C while the REPL is executing a statement: ignored | Ctrl-C while the REPL is executing a statement: the session ends |
13
+
14
+ A script that sent SIGINT to a `dirsql` process and relied on it being ignored must stop sending it. A script that escalated to SIGTERM after an ignored SIGINT can drop the escalation.
15
+
16
+ `dirsql server` is unchanged: its graceful shutdown still exits `0` on SIGINT and SIGTERM. Ctrl-C at an idle REPL prompt is unchanged too — reedline reads it as a key event, not a signal.
17
+
18
+ **Deprecations removed**
19
+
20
+ _None._
21
+
22
+ **Behavior changes without code changes**
23
+
24
+ The exit status of an interrupted run changes from "no exit" to death by SIGINT. This aligns the Python launcher with the standalone `dirsql` binary, which has always behaved this way.
25
+
26
+ **Verification**
27
+
28
+ Against a directory large enough to take a few seconds to scan:
29
+
30
+ ```bash
31
+ dirsql "SELECT count(*) FROM './'" # press Ctrl-C while it runs
32
+ echo $?
33
+ ```
34
+
35
+ Expected: the process ends promptly and the shell reports `130`. Before this change it kept running and the SIGINT was discarded. Run it in the foreground: a non-interactive shell sets SIGINT to `SIG_IGN` for `&` background jobs, which hides the difference.
@@ -15,5 +15,5 @@ the API adds one file here:
15
15
  `_None._` where a subsection does not apply.
16
16
 
17
17
  Fragments are **permanent and append-only** — nothing is assembled back into a
18
- single `MIGRATIONS.md`. This README is not a fragment. See AGENTS.md,
19
- "Changelog and Migrations".
18
+ single `MIGRATIONS.md`. This README is not a fragment. See
19
+ `agents/reference/changelog-migrations.md`.
@@ -6,7 +6,7 @@ description = "Ephemeral SQL index over a local directory"
6
6
  # version stays for the binding crates (publish = false). The literal
7
7
  # intentionally lags the published version: putitoutthere rewrites it to
8
8
  # the planned release version at build time and never commits it back.
9
- version = "0.4.52"
9
+ version = "0.4.54"
10
10
  edition.workspace = true
11
11
  # Literal `license` (not `license.workspace = true`) because
12
12
  # putitoutthere's preflight check reads `[package].license` directly
@@ -2259,7 +2259,7 @@ mod readonly_tests {
2259
2259
  );
2260
2260
  // `watch`, `config`, `matcher` wrap a typed StdError to preserve a
2261
2261
  // `source()` chain.
2262
- let io = || std::io::Error::new(std::io::ErrorKind::Other, "x");
2262
+ let io = || std::io::Error::other("x");
2263
2263
  let watch_err = DirSqlError::watch(io());
2264
2264
  assert_eq!(watch_err.to_string(), "watcher error: x");
2265
2265
  assert!(StdError::source(&watch_err).is_some());
@@ -4273,8 +4273,7 @@ mod internal_tests {
4273
4273
  &mut sources,
4274
4274
  &mut out,
4275
4275
  )
4276
- .err()
4277
- .expect("duplicate function name must error");
4276
+ .expect_err("duplicate function name must error");
4278
4277
  let msg = err.to_string();
4279
4278
  assert!(msg.contains("'dup'"), "got: {msg}");
4280
4279
  assert!(msg.contains("/a/frag.toml"), "got: {msg}");
@@ -4293,8 +4292,7 @@ mod internal_tests {
4293
4292
  &mut sources,
4294
4293
  &mut out,
4295
4294
  )
4296
- .err()
4297
- .expect("intra-config duplicate must error");
4295
+ .expect_err("intra-config duplicate must error");
4298
4296
  assert!(err.to_string().contains("'dup'"), "got: {err}");
4299
4297
  }
4300
4298
 
@@ -289,9 +289,7 @@ mod tests {
289
289
 
290
290
  #[test]
291
291
  fn parse_gitignore_rejects_an_unknown_switch() {
292
- let err = parse_gitignore("sometimes")
293
- .err()
294
- .expect("an unknown switch must be rejected");
292
+ let err = parse_gitignore("sometimes").expect_err("an unknown switch must be rejected");
295
293
  assert!(matches!(err, Error::ModuleError(_)), "got {err:?}");
296
294
  assert!(err.to_string().contains("no-gitignore"), "got: {err}");
297
295
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes