smartpipe-cli 1.3.1__tar.gz → 1.4.0rc2__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 (261) hide show
  1. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/.gitignore +4 -0
  2. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/CHANGELOG.md +315 -0
  3. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/CITATION.cff +1 -1
  4. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/CONTRIBUTING.md +18 -0
  5. smartpipe_cli-1.4.0rc2/PKG-INFO +311 -0
  6. smartpipe_cli-1.4.0rc2/README.md +274 -0
  7. smartpipe_cli-1.4.0rc2/demo/video/README.md +17 -0
  8. smartpipe_cli-1.4.0rc2/demo/video/src/Main.tsx +55 -0
  9. smartpipe_cli-1.4.0rc2/demo/video/src/Root.tsx +57 -0
  10. smartpipe_cli-1.4.0rc2/demo/video/src/components/Background.tsx +46 -0
  11. smartpipe_cli-1.4.0rc2/demo/video/src/components/Caption.tsx +75 -0
  12. smartpipe_cli-1.4.0rc2/demo/video/src/components/FileGlyph.tsx +109 -0
  13. smartpipe_cli-1.4.0rc2/demo/video/src/components/SceneFrame.tsx +64 -0
  14. smartpipe_cli-1.4.0rc2/demo/video/src/components/Terminal.tsx +267 -0
  15. smartpipe_cli-1.4.0rc2/demo/video/src/components/Wordmark.tsx +80 -0
  16. smartpipe_cli-1.4.0rc2/demo/video/src/config.ts +52 -0
  17. smartpipe_cli-1.4.0rc2/demo/video/src/font.ts +9 -0
  18. smartpipe_cli-1.4.0rc2/demo/video/src/index.ts +4 -0
  19. smartpipe_cli-1.4.0rc2/demo/video/src/scenes/Close.tsx +82 -0
  20. smartpipe_cli-1.4.0rc2/demo/video/src/scenes/ColdOpen.tsx +60 -0
  21. smartpipe_cli-1.4.0rc2/demo/video/src/scenes/CostHonesty.tsx +203 -0
  22. smartpipe_cli-1.4.0rc2/demo/video/src/scenes/Hook.tsx +40 -0
  23. smartpipe_cli-1.4.0rc2/demo/video/src/scenes/Multimodal.tsx +182 -0
  24. smartpipe_cli-1.4.0rc2/demo/video/src/scenes/Scale.tsx +47 -0
  25. smartpipe_cli-1.4.0rc2/docs/assets/demo-thumb.jpg +0 -0
  26. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/comparison.md +9 -13
  27. smartpipe_cli-1.4.0rc2/docs/concepts/feeding-smartpipe.md +132 -0
  28. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/concepts/models-and-providers.md +89 -40
  29. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/concepts/output-formats.md +53 -28
  30. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/concepts/pipes-and-items.md +31 -29
  31. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/concepts/structured-output.md +59 -29
  32. smartpipe_cli-1.4.0rc2/docs/concepts/the-item.md +125 -0
  33. smartpipe_cli-1.4.0rc2/docs/cookbook/README.md +65 -0
  34. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/cookbook/contract-extraction.md +16 -16
  35. smartpipe_cli-1.4.0rc2/docs/cookbook/customer-feedback.md +66 -0
  36. smartpipe_cli-1.4.0rc2/docs/cookbook/invoice-reconciliation.md +47 -0
  37. smartpipe_cli-1.4.0rc2/docs/cookbook/live-monitoring.md +104 -0
  38. smartpipe_cli-1.4.0rc2/docs/cookbook/log-triage.md +106 -0
  39. smartpipe_cli-1.4.0rc2/docs/cookbook/meeting-digest.md +42 -0
  40. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/cookbook/ranking-documents.md +15 -15
  41. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/cookbook/stream-enrichment.md +7 -7
  42. smartpipe_cli-1.4.0rc2/docs/cookbook/training-data-prep.md +140 -0
  43. smartpipe_cli-1.4.0rc2/docs/cookbook/video-qa.md +68 -0
  44. smartpipe_cli-1.4.0rc2/docs/cookbook/visualizing-results.md +113 -0
  45. smartpipe_cli-1.4.0rc2/docs/demo/index.html +26 -0
  46. smartpipe_cli-1.4.0rc2/docs/index.md +110 -0
  47. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/inputs/files.md +56 -45
  48. smartpipe_cli-1.4.0rc2/docs/install.md +94 -0
  49. smartpipe_cli-1.3.1/docs/quickstart.md → smartpipe_cli-1.4.0rc2/docs/learn/1-first-pipeline.md +50 -44
  50. smartpipe_cli-1.4.0rc2/docs/learn/2-structured-data.md +108 -0
  51. smartpipe_cli-1.4.0rc2/docs/learn/3-files-and-media.md +66 -0
  52. smartpipe_cli-1.4.0rc2/docs/learn/4-free-verbs.md +49 -0
  53. smartpipe_cli-1.4.0rc2/docs/learn/5-scale-and-cost.md +56 -0
  54. smartpipe_cli-1.4.0rc2/docs/learn/6-pipelines-that-last.md +53 -0
  55. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/privacy.md +11 -12
  56. smartpipe_cli-1.4.0rc2/docs/quickstart.md +5 -0
  57. smartpipe_cli-1.4.0rc2/docs/reference/agents.md +18 -0
  58. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/reference/cli.md +77 -37
  59. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/reference/custom-verbs.md +14 -14
  60. smartpipe_cli-1.4.0rc2/docs/reference/sem-files.md +161 -0
  61. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/troubleshooting.md +66 -37
  62. smartpipe_cli-1.4.0rc2/docs/verbs/cluster.md +37 -0
  63. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/diff.md +8 -9
  64. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/distinct.md +18 -18
  65. smartpipe_cli-1.4.0rc2/docs/verbs/embed.md +111 -0
  66. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/extend.md +15 -14
  67. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/filter.md +31 -20
  68. smartpipe_cli-1.4.0rc2/docs/verbs/getschema.md +24 -0
  69. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/join.md +24 -24
  70. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/map.md +70 -46
  71. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/outliers.md +10 -10
  72. smartpipe_cli-1.4.0rc2/docs/verbs/readable.md +53 -0
  73. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/reduce.md +28 -29
  74. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/sample.md +15 -15
  75. smartpipe_cli-1.4.0rc2/docs/verbs/sort.md +24 -0
  76. smartpipe_cli-1.4.0rc2/docs/verbs/split.md +77 -0
  77. smartpipe_cli-1.4.0rc2/docs/verbs/summarize.md +36 -0
  78. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/top-k.md +38 -30
  79. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/docs/verbs/where.md +16 -25
  80. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/mkdocs.yml +29 -3
  81. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/pyproject.toml +14 -8
  82. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/qa/README.md +53 -6
  83. smartpipe_cli-1.4.0rc2/qa/fixtures/README.md +7 -0
  84. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/__init__.py +1 -1
  85. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/chart_cmd.py +16 -6
  86. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/cluster_cmd.py +9 -3
  87. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/config_cmd.py +564 -0
  88. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/distinct_cmd.py +16 -2
  89. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/doctor_cmd.py +12 -8
  90. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/embed_cmd.py +26 -4
  91. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/extend_cmd.py +60 -1
  92. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/filter_cmd.py +35 -3
  93. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/getschema_cmd.py +1 -1
  94. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/graph_cmd.py +185 -0
  95. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/input_options.py +68 -4
  96. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/join_cmd.py +56 -3
  97. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/map_cmd.py +62 -3
  98. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/outliers_cmd.py +8 -2
  99. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/probe_cmd.py +18 -0
  100. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/read_cmd.py +68 -0
  101. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/readable_cmd.py +53 -0
  102. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/reduce_cmd.py +12 -1
  103. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/root.py +40 -0
  104. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/run_cmd.py +3 -0
  105. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/schema_cmd.py +245 -0
  106. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/schema_workshop.py +318 -0
  107. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/screens.py +70 -3
  108. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/sem_file.py +14 -0
  109. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/sort_cmd.py +2 -2
  110. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/split_cmd.py +11 -5
  111. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/summarize_cmd.py +12 -2
  112. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/top_k_cmd.py +25 -3
  113. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/update_cmd.py +103 -0
  114. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/where_cmd.py +10 -2
  115. smartpipe_cli-1.4.0rc2/src/smartpipe/cli/write_cmd.py +60 -0
  116. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/config/display.py +2 -0
  117. smartpipe_cli-1.4.0rc2/src/smartpipe/config/picker.py +353 -0
  118. smartpipe_cli-1.4.0rc2/src/smartpipe/config/state_cache.py +128 -0
  119. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/config/store.py +15 -0
  120. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/container.py +150 -8
  121. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/core/errors.py +8 -0
  122. smartpipe_cli-1.4.0rc2/src/smartpipe/core/install_channel.py +60 -0
  123. smartpipe_cli-1.4.0rc2/src/smartpipe/core/versions.py +87 -0
  124. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/chart.py +234 -0
  125. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/chunking.py +348 -0
  126. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/graphkg.py +484 -0
  127. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/graphout.py +513 -0
  128. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/predicate.py +19 -3
  129. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/preview.py +120 -0
  130. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/progressbar.py +68 -0
  131. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/prompts.py +249 -21
  132. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/repair.py +137 -0
  133. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/runner.py +80 -15
  134. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/schema.py +445 -0
  135. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/schema_dsl.py +44 -6
  136. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/schema_repl.py +421 -0
  137. smartpipe_cli-1.4.0rc2/src/smartpipe/engine/temporal.py +166 -0
  138. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/timebin.py +2 -1
  139. smartpipe_cli-1.4.0rc2/src/smartpipe/io/arrow_menu.py +198 -0
  140. smartpipe_cli-1.4.0rc2/src/smartpipe/io/csvrows.py +174 -0
  141. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/inputs.py +3 -1
  142. smartpipe_cli-1.4.0rc2/src/smartpipe/io/items.py +306 -0
  143. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/leaderboard.py +1 -1
  144. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/metering.py +46 -1
  145. smartpipe_cli-1.4.0rc2/src/smartpipe/io/preview.py +296 -0
  146. smartpipe_cli-1.4.0rc2/src/smartpipe/io/progress.py +205 -0
  147. smartpipe_cli-1.4.0rc2/src/smartpipe/io/readers.py +947 -0
  148. smartpipe_cli-1.4.0rc2/src/smartpipe/io/render.py +168 -0
  149. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/tty.py +1 -0
  150. smartpipe_cli-1.4.0rc2/src/smartpipe/io/update_check.py +214 -0
  151. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/writers.py +104 -31
  152. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/anthropic_adapter.py +14 -1
  153. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/budget.py +34 -1
  154. smartpipe_cli-1.4.0rc2/src/smartpipe/models/catalogs.py +134 -0
  155. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/gemini_native.py +16 -3
  156. smartpipe_cli-1.4.0rc2/src/smartpipe/models/local_ner.py +299 -0
  157. smartpipe_cli-1.4.0rc2/src/smartpipe/models/ocr.py +218 -0
  158. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/ollama.py +7 -4
  159. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/openai_codex.py +12 -2
  160. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/openai_compat.py +5 -3
  161. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/parsing/detect.py +15 -1
  162. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/parsing/extract.py +7 -2
  163. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/chart.py +59 -16
  164. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/common.py +201 -26
  165. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/convert.py +14 -2
  166. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/distinct.py +66 -7
  167. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/embed.py +66 -13
  168. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/extend.py +92 -22
  169. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/filter.py +96 -22
  170. smartpipe_cli-1.4.0rc2/src/smartpipe/verbs/graph.py +492 -0
  171. smartpipe_cli-1.4.0rc2/src/smartpipe/verbs/graphfull.py +614 -0
  172. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/join.py +286 -24
  173. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/map.py +185 -37
  174. smartpipe_cli-1.4.0rc2/src/smartpipe/verbs/oversize.py +387 -0
  175. smartpipe_cli-1.4.0rc2/src/smartpipe/verbs/readable.py +64 -0
  176. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/reduce.py +89 -26
  177. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/sortverb.py +23 -4
  178. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/split.py +56 -23
  179. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/summarize.py +21 -0
  180. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/top_k.py +113 -16
  181. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/where.py +17 -0
  182. smartpipe_cli-1.4.0rc2/src/smartpipe/verbs/write.py +209 -0
  183. smartpipe_cli-1.3.1/PKG-INFO +0 -186
  184. smartpipe_cli-1.3.1/README.md +0 -150
  185. smartpipe_cli-1.3.1/docs/cookbook/README.md +0 -46
  186. smartpipe_cli-1.3.1/docs/cookbook/live-monitoring.md +0 -85
  187. smartpipe_cli-1.3.1/docs/cookbook/log-triage.md +0 -65
  188. smartpipe_cli-1.3.1/docs/cookbook/training-data-prep.md +0 -70
  189. smartpipe_cli-1.3.1/docs/cookbook/video-qa.md +0 -52
  190. smartpipe_cli-1.3.1/docs/cookbook/visualizing-results.md +0 -113
  191. smartpipe_cli-1.3.1/docs/index.md +0 -70
  192. smartpipe_cli-1.3.1/docs/install.md +0 -92
  193. smartpipe_cli-1.3.1/docs/reference/sem-files.md +0 -148
  194. smartpipe_cli-1.3.1/docs/verbs/cluster.md +0 -39
  195. smartpipe_cli-1.3.1/docs/verbs/embed.md +0 -92
  196. smartpipe_cli-1.3.1/docs/verbs/getschema.md +0 -26
  197. smartpipe_cli-1.3.1/docs/verbs/sort.md +0 -21
  198. smartpipe_cli-1.3.1/docs/verbs/split.md +0 -76
  199. smartpipe_cli-1.3.1/docs/verbs/summarize.md +0 -35
  200. smartpipe_cli-1.3.1/src/smartpipe/cli/config_cmd.py +0 -234
  201. smartpipe_cli-1.3.1/src/smartpipe/cli/schema_cmd.py +0 -75
  202. smartpipe_cli-1.3.1/src/smartpipe/engine/chart.py +0 -143
  203. smartpipe_cli-1.3.1/src/smartpipe/engine/chunking.py +0 -161
  204. smartpipe_cli-1.3.1/src/smartpipe/engine/schema.py +0 -208
  205. smartpipe_cli-1.3.1/src/smartpipe/io/items.py +0 -149
  206. smartpipe_cli-1.3.1/src/smartpipe/io/progress.py +0 -140
  207. smartpipe_cli-1.3.1/src/smartpipe/io/readers.py +0 -455
  208. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/LICENSE +0 -0
  209. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/NOTICE +0 -0
  210. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/__main__.py +0 -0
  211. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/assets/probe.png +0 -0
  212. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/assets/probe.txt +0 -0
  213. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/assets/probe.wav +0 -0
  214. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/__init__.py +0 -0
  215. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/auth_cmd.py +0 -0
  216. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/cache_cmd.py +0 -0
  217. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/cite_cmd.py +0 -0
  218. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/completions.py +0 -0
  219. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/diff_cmd.py +0 -0
  220. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/echo_cmd.py +0 -0
  221. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/interrupts.py +0 -0
  222. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/sample_cmd.py +0 -0
  223. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/cli/usage_cmd.py +0 -0
  224. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/config/__init__.py +0 -0
  225. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/config/credentials.py +0 -0
  226. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/config/doctor.py +0 -0
  227. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/config/paths.py +0 -0
  228. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/core/__init__.py +0 -0
  229. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/core/jsontools.py +0 -0
  230. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/__init__.py +0 -0
  231. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/aggregate.py +0 -0
  232. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/blocking.py +0 -0
  233. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/clustering.py +0 -0
  234. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/ranking.py +0 -0
  235. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/tally.py +0 -0
  236. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/units.py +0 -0
  237. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/engine/windows.py +0 -0
  238. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/__init__.py +0 -0
  239. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/diagnostics.py +0 -0
  240. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/text.py +0 -0
  241. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/io/usage.py +0 -0
  242. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/__init__.py +0 -0
  243. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/base.py +0 -0
  244. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/cache.py +0 -0
  245. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/http_support.py +0 -0
  246. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/jina.py +0 -0
  247. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/local_embed.py +0 -0
  248. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/openai_oauth.py +0 -0
  249. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/resolve.py +0 -0
  250. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/retry.py +0 -0
  251. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/stt.py +0 -0
  252. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/models/windows.py +0 -0
  253. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/parsing/__init__.py +0 -0
  254. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/py.typed +0 -0
  255. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/__init__.py +0 -0
  256. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/cluster.py +0 -0
  257. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/diff.py +0 -0
  258. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/getschema.py +0 -0
  259. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/outliers.py +0 -0
  260. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/src/smartpipe/verbs/sample.py +0 -0
  261. {smartpipe_cli-1.3.1 → smartpipe_cli-1.4.0rc2}/tests/corpus/README.md +0 -0
@@ -23,3 +23,7 @@ context/
23
23
  /plan/
24
24
  /TODO.md
25
25
  /idea.md
26
+
27
+ # Local-only scratch folder — never tracked, never in the sdist
28
+ /local/
29
+ .claude/
@@ -5,6 +5,317 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.4.0] — 2026-07-08
9
+
10
+ The identity release.
11
+
12
+ ### Knowledge graphs (the highlight)
13
+ - **`smartpipe graph --fast` turns a corpus into a knowledge graph for
14
+ exactly $0.** A local zero-shot NER model (GLiNER-small over ONNX -
15
+ no new dependencies, no torch, a one-time ~190 MB download like the
16
+ local embedder) finds YOUR entity types (`--entities "person, vessel,
17
+ account"`), entities co-occurring in a window become weighted edges,
18
+ near-duplicate names fold into one node (disclosed), and every edge
19
+ carries its `sources` - the files, pages, and minutes where it was
20
+ seen. Zero model calls, pinned by test. Free transcripts (local
21
+ whisper) mean audio and video speech join the graph; scans and
22
+ images wait for the paid mode, counted out loud.
23
+ - **Six ways out, all deterministic**: `.graphml` (Gephi), `.dot`
24
+ (Graphviz), `.mmd` (Mermaid), `nodes.csv`+`edges.csv` (Neo4j/Kuzu),
25
+ a self-contained interactive `.html` (search, weight slider, hover
26
+ cards with clickable `file://` evidence links), or a trailing `/`
27
+ for an Obsidian vault of wikilinked entity notes.
28
+ - **A focus prompt buys named relations.** `smartpipe graph "people,
29
+ orgs, and money flows" case/**/*` extracts typed triples per chunk
30
+ through the full multimodal ladders - vision, OCR, native video -
31
+ with `--entities`/`--relations` compiling to enums when you want a
32
+ strict ontology. The cost plan prints BEFORE any spend (`~810
33
+ extraction calls; belt is 500 - the graph will be partial`), a
34
+ terminal decline exits clean at zero calls, and a belted run drains
35
+ to a valid partial graph at exit 1, never a fake success.
36
+ - **The hybrid ladder: `--name-top 200`.** The free pass finds the
37
+ candidates; the model names only the strongest links - one call per
38
+ edge, and if the belt runs out the remainder keeps its honest
39
+ `co-occurs` label, disclosed. Free graph in seconds; name the top
40
+ edges for cents.
41
+ - **Bring your own edges.** Records with `{source, target}` or
42
+ `{subject, relation, object}` on stdin skip extraction entirely -
43
+ canonicalize, fold, serialize. Your own `extend` pipeline is the
44
+ power path.
45
+
46
+ ### The item — one law for everything in a pipe
47
+ - **Dates are a type, and they come back ISO.** `{due date}` and
48
+ `{ts datetime}` join the brace grammar. However the model phrases it
49
+ ("Jan 15, 2026", "15/01/2026"), the field canonicalizes to
50
+ `YYYY-MM-DD` / full ISO-8601 - offsets preserved, never invented;
51
+ genuinely ambiguous slash-dates read month-first and say so on
52
+ stderr. Downstream just works: `where 'due >= "2026-01-01"'`
53
+ compares temporally, `sort --by due` orders by instant, and
54
+ `summarize 'count() by bin(due, 1d)'` buckets date-only values.
55
+ - **The model sees your data framed, not dumped.** Every item payload
56
+ now arrives inside an `<input>` fence - records rendered as clean
57
+ YAML-ish (the `__` plumbing excluded), text as itself. The
58
+ instruction can no longer blur into the data, and the fence is the
59
+ foundation the planned request-batching builds on.
60
+ - **CSV is a first-class row format.** `--as csv` (and `.csv`/`.tsv`
61
+ extension defaults - tab dialect for `.tsv`) reads the header row as
62
+ field names and streams every data row as a record, with per-cell
63
+ int → float → string coercion and multi-line quoted cells handled. A
64
+ ragged row is a loud error naming the file and physical line; rows
65
+ carry `__source {"as": "csv", "line": N}`. Works on stdin too, and
66
+ `.sem` files gain the `as` key.
67
+ - **Malformed model replies repair for free before they cost money.**
68
+ A structured reply that fails to parse now passes through a
69
+ deterministic fixer first - code fences, JSON-island extraction,
70
+ Python-repr literals, trailing commas, quote fixes, all validated by
71
+ an actual parse - and only escalates to the paid model-repair round
72
+ trip when that fails. Disclosed once per run:
73
+ `note: N replies repaired deterministically (fences/commas/quotes)`.
74
+ - **The `__` metadata spine.** Tool metadata lives in a reserved
75
+ double-underscore namespace that rides every record: `__source` (path plus
76
+ HOW the item was cut - file, lines, jsonl, pages, minutes, segment index),
77
+ `__media` (one transport object for bytes crossing a pipe), `__score`
78
+ (join), `__invalid`/`__error`/`__raw` (kept failures). Known fields
79
+ round-trip through saved files; unknown `__` fields warn once and carry.
80
+ User data owns everything up to one leading underscore.
81
+ - **Records in, records out.** A plain-prompt `map` over records now returns
82
+ a record (`{"result": …}` plus the spine) instead of bare prose - structure
83
+ and provenance survive transformation. Text lines still leave as text.
84
+ - **The `--as` ingestion dial** (`file` | `lines` | `jsonl`) on every input
85
+ verb. Auto defaults: `.jsonl` means rows (loud per-line errors on
86
+ non-JSON), everything else means whole-document; stdin keeps per-line
87
+ sniffing; `--as file` slurps stdin whole (new). Media files refuse text
88
+ granularities with signposts to `split`.
89
+ - **The binary is the reader.** `smartpipe report.pdf | …` - a first
90
+ argument that exists on disk streams items; verbs always win names,
91
+ `./name` disambiguates. Every input verb also takes positional FILE
92
+ arguments; `--in` survives as a hidden alias.
93
+ - **`write` — the egress mirror.** Items route to files by template
94
+ (`{name}`, `{stem}`, `{index}`, any record field for content fan-out);
95
+ egress mirrors ingress via the spine - whole-file items become files,
96
+ line/row items reassemble into their sources in original order. Emits
97
+ written paths so pipes continue. Text-only records leave as plain text.
98
+ - **`readable` — the human door.** The same YAML-ish renderer as the TTY
99
+ preview, as an explicit pipe stage: nesting indented, lists bulleted,
100
+ multi-line strings as block scalars, spine dimmed, long values truncated
101
+ with counts (`--full` to disable), media summarized (`image/png (48 KB)`)
102
+ - never base64. Piped machine output is untouched JSONL; `--bare` strips
103
+ the spine from it.
104
+ - **Mixed streams are visible.** A kind census notes mixed inputs;
105
+ `where`/`summarize` report rows that had no fields; `--strict-rows` turns
106
+ the notes into errors. Multi-line plain output into a pipe warns that
107
+ line framing is ambiguous (use `--output json`).
108
+
109
+ ### Judgment you can gate, retry, and keep
110
+ - **`--keep-invalid`** (map/extend): after the repair retry fails, keep the
111
+ failure as one JSON row (`__invalid`/`__error`/`__raw`) instead of a skip
112
+ - dim one-liner at a TTY, full row when piped.
113
+ - **`smartpipe schema`** - the free rungs: compile braces/DSL to JSON Schema,
114
+ `--check FILE` validates rows (exit 0/1), `--example` prints a validating
115
+ instance, bare stdin mode is a REPL. **`--dry-run`** (map/extend) prints
116
+ the composed first request and exits before any model resolution.
117
+ - **Nullability is declared.** `?` on any type (`string?`, `number[]?`, bare
118
+ `field?`) compiles to a null union; bare fields mean scalar-or-scalar-list
119
+ and never admit null (D48, shipped earlier in this cycle).
120
+ - **Circuit breaker + `fallback-model`.** Five consecutive transport
121
+ failures stop the run with a provider-down screen (`SMARTPIPE_BREAKER`
122
+ tunes; 0 disables) - or, with a configured fallback, the run switches
123
+ chat models wholesale, re-runs the failed window on the successor, and
124
+ the receipt splits counts per model. Embedding fallback is refused
125
+ (one vector space per run). One fallback, no chains.
126
+ - **Deterministic rungs.** `join --on 'left.K == right.K'` alone is a free
127
+ key-equality join (all kinds, `--unmatched`); with a prompt it becomes
128
+ blocking - equality narrows pairs, the judge reasons within blocks, the
129
+ receipt reports pairs avoided. `distinct --exact` folds byte/value
130
+ duplicates only (records canonicalized, media hashed by bytes) - zero
131
+ model calls. Verb tables mark the free rungs.
132
+
133
+ ### The terminal behaves
134
+ - **A real progress bar.** When the total is knowable (file lists), the
135
+ status line becomes `[██████░░░░░░░░░] 41% · 205/500 · 12/s · ~25s
136
+ left` - fill and percent truncate so 100% is earned, the ETA appears
137
+ once the first item completes, ASCII terminals get `[=====>....]`,
138
+ and multi-stage runs prefix the stage name. Streams keep the
139
+ count-and-rate line: a `tail -f` has no percent.
140
+ - **Braces extract lists of objects.** `{events {name string, when
141
+ date, severity enum(low, high)}[]}` pulls every event out of an item
142
+ in one call, typed and validated - inner dates still canonicalize to
143
+ ISO, `--explode events` turns the list into one row each. One level
144
+ deep by design; deeper nesting faults free at parse time with the
145
+ two-pass hint.
146
+ - Result writes pause/erase/redraw the status line under an arbiter - the
147
+ spinner can never interleave with output again. Only the final pipe stage
148
+ (stdout a TTY) animates; mid-pipe stages stay line-atomic.
149
+ - Records render at the TTY as YAML-ish blocks. The welcome screen links
150
+ docs, cookbook, and issues. The wizard offers to install shell
151
+ completions (consented, idempotent).
152
+ - **`chart` re-platformed: plotext draws the terminal, matplotlib renders
153
+ `--save`.** TTY bars get color (cyan bars, green time-series); piped or
154
+ `NO_COLOR` output keeps the plain-ASCII contract byte-for-byte. `--save`
155
+ now writes SVG or PNG by extension (identity-styled, deterministic
156
+ output); svgwrite - unmaintained since 2022 - leaves the tree. Both
157
+ libraries ship in core per the no-extras rule; imports stay
158
+ function-local so startup holds. The run receipt now reads
159
+ `run: ↑40 ↓25 tok` (arrows for in/out). The wizard validates model names
160
+ before saving (two strikes, then a typed fault), prints completions
161
+ before the paste-bait "Try it" line, prefers a sensible local default
162
+ over alphabetical luck (cloud tags compete equally), and speaks in the
163
+ same color voice as the other commands with a menu of detected local
164
+ tags and provider-prefixed cloud examples.
165
+ - **Docs bug, live-caught: `cluster | chart` drew flat bars.** The summary
166
+ rows are one-per-cluster, so charting them counts every theme once. The
167
+ README quick-tour step, the `cluster` help epilog, and the `.sem`
168
+ pipeline example now route `cluster --explode members` into
169
+ `chart cluster --top 8`, which draws real sizes.
170
+
171
+ ### Every example, run for real
172
+ - **`map` and `extend` records finally carry their provenance.** The
173
+ `__source` spine - the law said it rides every record - was being
174
+ dropped by braces extraction: a reader-stamped row went in with
175
+ `{"path", "as", "line"}` and came out with only the extracted fields.
176
+ Every record leaving `map`/`extend` now carries `__source` (incoming
177
+ spines adopted verbatim, fresh ones stamped from the item's
178
+ provenance), which also means the terminal preview now shows the dim
179
+ file-and-line origin under each block. `--bare` still strips it.
180
+ - **Docs truth sweep** (owner-reported): four `echo "... $1250"`
181
+ examples silently shell-expanded to "250" - single-quoted; text files
182
+ are declared one-item-per-line at first use; "everything outside the
183
+ braces is the instruction" stated wherever braces are taught; typed
184
+ braces are the norm across the examples; the playground corpus is
185
+ linked from README, docs home, and the cookbook; the demo video plays
186
+ on the docs front page.
187
+ - **Row cuts keep their rows through `filter` and `top_k`.** The grep-l
188
+ contract (match whole files, get paths back) leaked onto `--as jsonl` /
189
+ `--as lines` rows read from a positional file: every matching ROW came
190
+ out as the filename. Both verbs now key path-back on the whole-file cut;
191
+ rows pass through as records. Found by a zero-context agent driving
192
+ smartpipe purely from SKILL.md; pinned in tests both ways.
193
+ - **The docs were audited by executing them**: all 236 example blocks
194
+ (README, docs, SKILL files, CLI help) inventoried, statically checked,
195
+ and ~105 run verbatim against a generated corpus of real-format files.
196
+ Three code bugs surfaced and are fixed with pinning tests:
197
+ - **Quoted globs reach the reader.** `smartpipe 'logs/*.jsonl'` - a
198
+ documented form - exited 64 ("no verb"); unexpanded glob tokens now
199
+ route to reader mode, and an unmatched glob errs loudly.
200
+ - **Video is refused pre-send on wires that can't watch.** The
201
+ ChatGPT-login (codex) and anthropic adapters silently dropped video
202
+ parts and sent prompt-only requests - the model answered "no video
203
+ provided", no degraded note fired, and video-RAG examples embedded
204
+ that refusal prose as vectors. Both wires now raise before sending,
205
+ so the documented ladder (`degraded: … video → frames+audio`)
206
+ actually engages.
207
+ - 7 broken and 12 misleading example sites corrected against observed
208
+ behavior (SKILL files now run verbatim; the `.sem` key table is
209
+ re-derived from the runtime's own validation errors; `__score`
210
+ spelling; stale "oversized items are refused" claims rewritten for
211
+ auto-chunking).
212
+
213
+ ### The terminal shows your media
214
+ - **Every block at the terminal gets a number.** The human view opens
215
+ each record block with a cyan `#N` - so "look at object 5" is a thing
216
+ you can say. The ordinal is the one handle every output is guaranteed
217
+ to have (provenance can repeat across rows - fifty pages of one PDF
218
+ share a path - or be absent on plain text). Display only: piped
219
+ output is byte-identical.
220
+ - **Media previews at the human view.** At a terminal (and through
221
+ `readable`), the first media part of an item now renders under its
222
+ summary line: images as color thumbnails, video as a three-frame strip
223
+ sampled at 10/50/90% of its duration (never frame zero - intros are
224
+ black), audio as a peak-envelope waveform. Audio and video that still
225
+ live on disk get a clickable `▶ play (0:42, 2.1 MB)` link (OSC 8 -
226
+ opens your system player in iTerm2/kitty/WezTerm/Ghostty/Windows
227
+ Terminal). Piped output, JSONL, NO_COLOR, and `--bare` are
228
+ byte-identical to before - previews exist only where a human is
229
+ looking. `smartpipe config media-previews off` turns them off.
230
+
231
+ ### Documents parse where they enter, vectors stay honest
232
+ - **The `ocr-model` role: a document parser at ingestion.** Set
233
+ `smartpipe config ocr-model mistral/mistral-ocr-latest` (or
234
+ `SMARTPIPE_OCR_MODEL`, or `--ocr-model` per run) and ingested PDFs and
235
+ images parse through it - one item per page on the `pages` cut,
236
+ markdown as the text, disclosed per row and metered as a paid
237
+ conversion. Mistral refs ride the dedicated `/v1/ocr` wire
238
+ (live-verified, whole PDFs in one call); any other model ref works as
239
+ chat-vision with extract-the-text framing, so `ollama/llava` is a free
240
+ local OCR. Parse failures fall back to the local extraction ladder,
241
+ disclosed, never fatal. Unset = exactly the old behavior.
242
+ - **The `media-embed-model` role: one joint space for pixels and prose.**
243
+ Text keeps `embed-model`; media routes to the joint-space model
244
+ (jina-clip-v2 and friends). If a run would mix two vector spaces, the
245
+ geometry fence stops it with exit 64 BEFORE any spend, naming both
246
+ models and both fixes. A text query now ranks an image corpus in the
247
+ joint space - that is the point.
248
+ - **Embed rows carry their provenance.** Output rows are now
249
+ `{"text", "vector", "__embedder", "__source"}` - the spine like every
250
+ other verb, plus the model that made the vector. `top_k` refuses a
251
+ corpus whose stamp disagrees with the query's embedder (the
252
+ same-dimensions-different-model trap), and reads old-style rows for
253
+ one release. Two bugs died en route: records piped from the reader
254
+ embedded their serialized JSON instead of their content text, and
255
+ `--max-calls` silently demoted pixels to captions by stripping the
256
+ media-embedding capability.
257
+
258
+ ### Setup that reads the room
259
+ - **The schema workshop.** `smartpipe schema` with no arguments at a
260
+ terminal opens a small interactive draft loop - your schema pinned up
261
+ top as colored braces, commands scrolling below: `/add name type`,
262
+ `/drop`, `/test data.jsonl` (per-field coverage bars against your real
263
+ rows), `/example` (a synthetic instance), `/save` (writes schema.json
264
+ and prints the paste-ready braces and `--schema` lines). Zero model
265
+ calls by construction - iterate freely, commit when the bars are
266
+ green. Paste any `{braces}` string to replace the draft. Piped and
267
+ argument invocations are unchanged.
268
+ - **`smartpipe config` is now a provider-first picker.** Detect what's
269
+ already connected (API keys in the environment, a ChatGPT login, local
270
+ Ollama), pick a provider, pick from its LIVE model catalog - arrow keys
271
+ on a real terminal, a numbered prompt everywhere else. Undetected
272
+ providers show the exact `export ..._API_KEY=` line (smartpipe never
273
+ prompts for or stores a key). Catalogs cache for a day; a failed fetch
274
+ degrades to typed input with provider-prefixed examples. Picking a
275
+ provider auto-pairs a coherent embedding model (announced, and never
276
+ overwrites one you chose yourself), and one y/N question adds a backup
277
+ `fallback-model` for provider outages. After a `doctor --probe`,
278
+ catalog entries carry capability chips (`sees, hears - probed 2d ago`)
279
+ - probed facts, never claims. All the setter subcommands still work.
280
+
281
+ ### Getting it and keeping it current
282
+ - **One-line install on every platform.**
283
+ `curl -LsSf https://prabal-rje.github.io/smartpipe/install.sh | sh`
284
+ (macOS/Linux) and the `install.ps1` analog for Windows PowerShell, both
285
+ published at the docs-site root. The script uses Homebrew when present,
286
+ otherwise bootstraps uv and runs `uv tool install smartpipe-cli`;
287
+ `SMARTPIPE_VERSION` pins a version; it ends with a loud
288
+ `smartpipe --version` verify. brew/uv/pipx/pip remain as explicit
289
+ alternatives.
290
+ - **The installers survive the real world.** Rerunning the one-liner
291
+ upgrades in place instead of erroring (brew-, uv-, and
292
+ otherwise-managed installs each get the right move); the uv bootstrap
293
+ falls back to `wget` when `curl` is missing; Alpine/musl systems get
294
+ a wheels warning before anything installs; Rosetta-translated macOS
295
+ shells get an arch hint; GitHub Actions runners get `~/.local/bin`
296
+ appended to `GITHUB_PATH`. Footguns adopted from studying opencode's
297
+ installer. `install.sh` stays readable POSIX sh at 96 lines.
298
+ - **`smartpipe update`.** Detects how smartpipe was installed (homebrew,
299
+ uv tool, pipx, or pip - fingerprinted from the executable path), shows
300
+ the exact upgrade command, asks consent (`--yes` skips), runs it, and
301
+ reports honestly. Unrecognized installs get the per-channel commands
302
+ instead of a guess.
303
+ - **A calm update notice.** At most once a day smartpipe checks PyPI in a
304
+ background thread (2 s cap, silent on any failure) and - on a later
305
+ run, at a terminal, never in CI, never on stdout - prints one dim line:
306
+ `note: smartpipe X.Y.Z is available (you have A.B.C) - run: smartpipe
307
+ update`. Rc users aren't nagged about older stables. Off switches:
308
+ `SMARTPIPE_NO_UPDATE_CHECK=1` or `smartpipe config update-check off`.
309
+ The welcome screen's utility list now includes `update`.
310
+
311
+ ### Docs: a shape, not a pile
312
+ - New Learn track (`docs/learn/1…6`), `concepts/the-item.md` (the five
313
+ laws), `concepts/feeding-smartpipe.md` (the ingestion chapter), nav
314
+ regrouped Learn/Verbs/Concepts/Cookbook/Reference, index as mode-router,
315
+ every example reconciled to the new syntax with outputs from tests, qa/
316
+ flows extended (a live walk of which caught and fixed a real write
317
+ round-trip bug).
318
+
8
319
  ## [1.3.1] — 2026-07-08
9
320
 
10
321
  ### Fixed
@@ -355,6 +666,10 @@ estimated dollars.
355
666
  live-caught). `doctor` now closes with a bold yellow pointer at `--probe`.
356
667
  Also fixed live: streaming `embed` emitted the pre-conversion item text
357
668
  (empty for media), so records now carry the text the vector actually means.
669
+ And the streaming path (piped stdin) skipped the native media route
670
+ entirely - image-only items caption-pivoted even on jina-clip while the
671
+ finite-corpus branch embedded pixels. Both branches now share one router
672
+ (live-verified: `dims: 1024` from jina-clip-v2 on a piped image).
358
673
  - **Gemini watches video natively (D34).** Gemini chat moved to Google's
359
674
  native `:generateContent` wire — the only wired endpoint with video input.
360
675
  `map "what happens?" --in demo.mp4 --model gemini-2.5-flash` sends the
@@ -7,5 +7,5 @@ authors:
7
7
  given-names: Prabal
8
8
  repository-code: "https://github.com/prabal-rje/smartpipe"
9
9
  license: Apache-2.0
10
- version: 1.3.1
10
+ version: 1.4.0rc2
11
11
  date-released: '2026-07-08'
@@ -44,6 +44,24 @@ Optional but recommended: `uv run pre-commit install` wires ruff into your commi
44
44
 
45
45
  Release ritual: [RELEASING.md](RELEASING.md) · upkeep: [MAINTENANCE.md](MAINTENANCE.md).
46
46
 
47
+ ## Docs search (Algolia DocSearch)
48
+
49
+ The site is pre-wired for [DocSearch](https://docsearch.algolia.com/) but ships
50
+ with it OFF: `extra.algolia` in `mkdocs.yml` holds three empty strings, and
51
+ while any of them is empty `overrides/main.html` renders nothing extra -
52
+ mkdocs-material's built-in search keeps working. To activate once the
53
+ DocSearch application is approved:
54
+
55
+ 1. Put the credentials Algolia sends into `mkdocs.yml` → `extra.algolia`
56
+ (`app_id`, `index_name`, and the **search-only** public `api_key` - that
57
+ key is safe to commit; never the admin key).
58
+ 2. `make docs-check` - the strict build must stay green.
59
+ 3. Open the built site and confirm the DocSearch button replaced the
60
+ built-in search box (the override hides `.md-search` and mounts
61
+ docsearch.js v3 in the header).
62
+
63
+ Reverting to built-in search is emptying the three values again.
64
+
47
65
  ## New dependencies
48
66
 
49
67
  Core install weight is a feature: the runtime dependency list is `click`, `httpx`,