ipinb 0.1.2__tar.gz → 0.1.4__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 (278) hide show
  1. {ipinb-0.1.2 → ipinb-0.1.4}/BREAKING_CHANGES.md +12 -0
  2. {ipinb-0.1.2 → ipinb-0.1.4}/CHANGELOG.md +12 -0
  3. {ipinb-0.1.2 → ipinb-0.1.4}/PKG-INFO +27 -43
  4. {ipinb-0.1.2 → ipinb-0.1.4}/README.md +7 -10
  5. {ipinb-0.1.2 → ipinb-0.1.4}/docs/architecture.md +4 -14
  6. {ipinb-0.1.2 → ipinb-0.1.4}/docs/releasing.md +5 -4
  7. {ipinb-0.1.2 → ipinb-0.1.4}/docs/your-first-extension.md +2 -2
  8. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/references/authoring-guide.md +2 -2
  9. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/references/testing-and-troubleshooting.md +1 -1
  10. {ipinb-0.1.2 → ipinb-0.1.4}/pyproject.toml +8 -20
  11. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/concurrent.py +1 -1
  12. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/__main__.py +3 -17
  13. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/harness_context.py +1 -1
  14. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/integration.py +4 -4
  15. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/narration_doctor.py +1 -1
  16. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipinb.egg-info/PKG-INFO +27 -43
  17. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipinb.egg-info/entry_points.txt +1 -0
  18. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipinb.egg-info/requires.txt +5 -20
  19. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_kernel.py +1 -1
  20. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_self_wheel.py +1 -1
  21. {ipinb-0.1.2 → ipinb-0.1.4}/tests/release_smoke.py +47 -1
  22. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_builtin_harness_context.py +7 -4
  23. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_harness_bridge.py +24 -10
  24. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_integration.py +7 -4
  25. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_main.py +0 -27
  26. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_package_boundaries.py +24 -36
  27. {ipinb-0.1.2 → ipinb-0.1.4}/LICENSE +0 -0
  28. {ipinb-0.1.2 → ipinb-0.1.4}/MANIFEST.in +0 -0
  29. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/ipi-mcp-redesign.md +0 -0
  30. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/notebook-service-log.md +0 -0
  31. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/notebook-service-plan.md +0 -0
  32. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/performance-log.md +0 -0
  33. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/performance-plan.md +0 -0
  34. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/performance-results.md +0 -0
  35. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/reduce-output-tokens-log.md +0 -0
  36. {ipinb-0.1.2 → ipinb-0.1.4}/docs/autopilot/reduce-output-tokens-plan.md +0 -0
  37. {ipinb-0.1.2 → ipinb-0.1.4}/docs/debugging.md +0 -0
  38. {ipinb-0.1.2 → ipinb-0.1.4}/docs/execution-and-results.md +0 -0
  39. {ipinb-0.1.2 → ipinb-0.1.4}/docs/harness-shell-history.md +0 -0
  40. {ipinb-0.1.2 → ipinb-0.1.4}/docs/kernel-environments.md +0 -0
  41. {ipinb-0.1.2 → ipinb-0.1.4}/docs/notebook-publishing.md +0 -0
  42. {ipinb-0.1.2 → ipinb-0.1.4}/docs/parallel-execution.md +0 -0
  43. {ipinb-0.1.2 → ipinb-0.1.4}/docs/rich-output.md +0 -0
  44. {ipinb-0.1.2 → ipinb-0.1.4}/docs/validation/compact-output-blocks-2026-09-13.md +0 -0
  45. {ipinb-0.1.2 → ipinb-0.1.4}/docs/validation/execution-api-2026-09-10.md +0 -0
  46. {ipinb-0.1.2 → ipinb-0.1.4}/docs/validation/fastmcp4-2026-09-13.md +0 -0
  47. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/SKILL.md +0 -0
  48. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/references/evaluations.md +0 -0
  49. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/references/source-map.md +0 -0
  50. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/templates/installed-plugin/pyproject.toml +0 -0
  51. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/templates/installed-plugin/src/example_ipi_plugin/__init__.py +0 -0
  52. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/templates/installed-plugin/tests/test_plugin.py +0 -0
  53. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/developing-ipi-plugins/templates/project-plugin.py +0 -0
  54. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/SKILL.md +0 -0
  55. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/references/debugging.md +0 -0
  56. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/references/execution-and-results.md +0 -0
  57. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/references/kernel-environments.md +0 -0
  58. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/references/notebook-publishing.md +0 -0
  59. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/references/parallel-execution.md +0 -0
  60. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook/references/rich-output.md +0 -0
  61. {ipinb-0.1.2 → ipinb-0.1.4}/ipi/skills/notebook-http/SKILL.md +0 -0
  62. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/package-lock.json +0 -0
  63. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/package.json +0 -0
  64. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/src/cell_chrome.ts +0 -0
  65. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/src/index.ts +0 -0
  66. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/src/intent.ts +0 -0
  67. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/src/metadata.ts +0 -0
  68. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/src/trace_chrome.ts +0 -0
  69. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/style/index.css +0 -0
  70. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/tests/index.spec.ts +0 -0
  71. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/tests/setup.ts +0 -0
  72. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/tsconfig.json +0 -0
  73. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/tsconfig.test.json +0 -0
  74. {ipinb-0.1.2 → ipinb-0.1.4}/jupyterlab-extension/vitest.config.ts +0 -0
  75. {ipinb-0.1.2 → ipinb-0.1.4}/setup.cfg +0 -0
  76. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/__init__.py +0 -0
  77. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_ansi.py +0 -0
  78. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_dependency_metadata.py +0 -0
  79. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_exception_groups.py +0 -0
  80. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_git_provenance.py +0 -0
  81. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_kernel_argv.py +0 -0
  82. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_kernel_launcher.py +0 -0
  83. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_launch_gate.py +0 -0
  84. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_markdown.py +0 -0
  85. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_model_output.py +0 -0
  86. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_names.py +0 -0
  87. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_notebook_mirror.py +0 -0
  88. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_owner_watchdog.py +0 -0
  89. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_parent_process.py +0 -0
  90. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_platform_support.py +0 -0
  91. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_self_wheel.py +0 -0
  92. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_timing.py +0 -0
  93. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_toml.py +0 -0
  94. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/__init__.py +0 -0
  95. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/address.py +0 -0
  96. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/artifacts.py +0 -0
  97. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/contract.py +0 -0
  98. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/local.py +0 -0
  99. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/master_owner.py +0 -0
  100. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/owned_directory.py +0 -0
  101. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/portable_uv.py +0 -0
  102. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/ssh.py +0 -0
  103. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/staging.py +0 -0
  104. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/supervisor.py +0 -0
  105. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_transport/supervisor_protocol.py +0 -0
  106. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/_ynotebook_ops.py +0 -0
  107. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/cell_export.py +0 -0
  108. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/config.py +0 -0
  109. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/execution_backend.py +0 -0
  110. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/execution_models.py +0 -0
  111. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/formatting.py +0 -0
  112. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/jupyter_server.py +0 -0
  113. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/kernel.py +0 -0
  114. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/labextensions/@ipi/notebook-extension/package.json +0 -0
  115. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/labextensions/@ipi/notebook-extension/static/585.5ce41466a93651634fda.js +0 -0
  116. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/labextensions/@ipi/notebook-extension/static/665.bfdd2e9a96724c3cb559.js +0 -0
  117. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/labextensions/@ipi/notebook-extension/static/remoteEntry.e0b57e0b0817ceee899e.js +0 -0
  118. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/labextensions/@ipi/notebook-extension/static/style.js +0 -0
  119. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/labextensions/@ipi/notebook-extension/static/third-party-licenses.json +0 -0
  120. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/notebook_publisher.py +0 -0
  121. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/notebook_trace.py +0 -0
  122. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/__init__.py +0 -0
  123. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/_model.py +0 -0
  124. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/api.py +0 -0
  125. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/__init__.py +0 -0
  126. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/_agents_md_impl.py +0 -0
  127. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/_image_outputs_impl.py +0 -0
  128. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/agents_md.py +0 -0
  129. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/autoreload.py +0 -0
  130. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/dataframe_display.py +0 -0
  131. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/http_user_agent.py +0 -0
  132. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/image_outputs.py +0 -0
  133. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/import_guidance.py +0 -0
  134. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/pdb.py +0 -0
  135. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/pip_guidance.py +0 -0
  136. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/project_import.py +0 -0
  137. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/builtins/shell_history.py +0 -0
  138. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/catalog.py +0 -0
  139. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/discovery.py +0 -0
  140. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/kernel.py +0 -0
  141. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/py.typed +0 -0
  142. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/plugins/server_deps.py +0 -0
  143. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/py.typed +0 -0
  144. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/records/__init__.py +0 -0
  145. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/records/py.typed +0 -0
  146. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/redaction.py +0 -0
  147. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/references.py +0 -0
  148. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resource_registry.py +0 -0
  149. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/notebook_http_skill.md +0 -0
  150. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/notebook_skill.md +0 -0
  151. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/references/debugging.md +0 -0
  152. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/references/execution-and-results.md +0 -0
  153. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/references/kernel-environments.md +0 -0
  154. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/references/notebook-publishing.md +0 -0
  155. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/references/parallel-execution.md +0 -0
  156. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/resources/references/rich-output.md +0 -0
  157. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/__init__.py +0 -0
  158. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/_subprocess.py +0 -0
  159. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/audit.py +0 -0
  160. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/bootstrap.py +0 -0
  161. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/cell_types.py +0 -0
  162. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/context.py +0 -0
  163. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/debugger.py +0 -0
  164. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/environment.py +0 -0
  165. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/formatters.py +0 -0
  166. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/magics.py +0 -0
  167. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/path_context.py +0 -0
  168. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/project.py +0 -0
  169. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/py.typed +0 -0
  170. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/replay.py +0 -0
  171. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/shell_history.py +0 -0
  172. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/runtime/state_delta.py +0 -0
  173. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/__init__.py +0 -0
  174. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/__init__.py +0 -0
  175. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/inline_python_guidance.py +0 -0
  176. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/session_trace.py +0 -0
  177. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/shell_forwarding.py +0 -0
  178. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/shell_history.py +0 -0
  179. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/builtins/view_image.py +0 -0
  180. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/execution_content.py +0 -0
  181. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/execution_server.py +0 -0
  182. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/harness.py +0 -0
  183. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/harness_environment.py +0 -0
  184. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/harness_transport.py +0 -0
  185. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/notebook_channel.py +0 -0
  186. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/plugin_resolver.py +0 -0
  187. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/plugin_tools.py +0 -0
  188. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/py.typed +0 -0
  189. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/rollout_narration.py +0 -0
  190. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/server/server.py +0 -0
  191. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/session.py +0 -0
  192. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipi/tunnel.py +0 -0
  193. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipinb.egg-info/SOURCES.txt +0 -0
  194. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipinb.egg-info/dependency_links.txt +0 -0
  195. {ipinb-0.1.2 → ipinb-0.1.4}/src/ipinb.egg-info/top_level.txt +0 -0
  196. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_ansi.py +0 -0
  197. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_build_info.py +0 -0
  198. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_config.py +0 -0
  199. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_context_runtime.py +0 -0
  200. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_credential_boundaries.py +0 -0
  201. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_credential_redaction.py +0 -0
  202. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_debugger.py +0 -0
  203. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_editable_requirements.py +0 -0
  204. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_iopub_reducer.py +0 -0
  205. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_jupyter_server.py +0 -0
  206. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_kernel_address.py +0 -0
  207. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_kernel_regressions.py +0 -0
  208. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_late_iopub.py +0 -0
  209. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_notebook_mirror.py +0 -0
  210. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_notebook_mirror_writer.py +0 -0
  211. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_notebook_publisher.py +0 -0
  212. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_notebook_publisher_e2e.py +0 -0
  213. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_output_formatting.py +0 -0
  214. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_output_noise.py +0 -0
  215. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_owner_watchdog.py +0 -0
  216. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_packaging_namespace.py +0 -0
  217. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_platform_support.py +0 -0
  218. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_plugin_kernel_integration.py +0 -0
  219. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_portable_uv.py +0 -0
  220. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_references.py +0 -0
  221. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_session.py +0 -0
  222. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_smoke.py +0 -0
  223. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_ssh_transport.py +0 -0
  224. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_timing.py +0 -0
  225. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_toml.py +0 -0
  226. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_transport_contract.py +0 -0
  227. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_transport_staging.py +0 -0
  228. {ipinb-0.1.2 → ipinb-0.1.4}/tests/core/test_tunnel.py +0 -0
  229. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_bootstrap.py +0 -0
  230. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_agents_md.py +0 -0
  231. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_autoreload.py +0 -0
  232. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_dataframe_display.py +0 -0
  233. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_http_user_agent.py +0 -0
  234. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_image_outputs.py +0 -0
  235. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_import_guidance.py +0 -0
  236. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_pdb.py +0 -0
  237. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_pip_guidance.py +0 -0
  238. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_project_import.py +0 -0
  239. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_builtin_shell_history.py +0 -0
  240. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_context.py +0 -0
  241. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_environment.py +0 -0
  242. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_formatters.py +0 -0
  243. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_import_path.py +0 -0
  244. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_magics.py +0 -0
  245. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_model_output.py +0 -0
  246. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_path_context.py +0 -0
  247. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_plugin_api.py +0 -0
  248. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_plugin_authoring_skill.py +0 -0
  249. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_plugin_catalog.py +0 -0
  250. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_plugin_discovery.py +0 -0
  251. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_plugin_kernel.py +0 -0
  252. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_plugin_server_deps.py +0 -0
  253. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_project.py +0 -0
  254. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_shell_history.py +0 -0
  255. {ipinb-0.1.2 → ipinb-0.1.4}/tests/runtime/test_smoke.py +0 -0
  256. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/conftest.py +0 -0
  257. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_builtin_inline_python_guidance.py +0 -0
  258. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_builtin_shell_history.py +0 -0
  259. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_builtin_view_image.py +0 -0
  260. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_harness_environment.py +0 -0
  261. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_multi_project_plugins.py +0 -0
  262. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_narration_doctor.py +0 -0
  263. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_notebook_channel.py +0 -0
  264. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_plugin_resolver.py +0 -0
  265. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_plugin_server_integration.py +0 -0
  266. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_plugin_tools.py +0 -0
  267. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_rollout_narration.py +0 -0
  268. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_server.py +0 -0
  269. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_session_trace.py +0 -0
  270. {ipinb-0.1.2 → ipinb-0.1.4}/tests/server/test_shell_forwarding.py +0 -0
  271. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_cell_export.py +0 -0
  272. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_consolidated_tools.py +0 -0
  273. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_debugger.py +0 -0
  274. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_execution_content_errors.py +0 -0
  275. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_execution_registry.py +0 -0
  276. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_execution_transports.py +0 -0
  277. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_namespace.py +0 -0
  278. {ipinb-0.1.2 → ipinb-0.1.4}/tests/test_resource_registry.py +0 -0
@@ -1,5 +1,17 @@
1
1
  # Breaking Changes
2
2
 
3
+ ## 2026-10-12: Claude fork hook dependency update
4
+
5
+ IPi 0.1.4 requires `typed-agent-hooks>=0.2.6` instead of exactly 0.2.5. This restores startup context for Claude Code forks and permits later hook compatibility fixes. There is no hook API change.
6
+
7
+ **Migration:** Update IPi and refresh hook installations that reference an older environment with `ipi install-hooks --provider claude_code --scope user` (or the applicable project scope), then start a new Claude process. Running servers and kernels retain their loaded dependencies until restarted. Explicit environment constraints must allow typed-agent-hooks 0.2.6 or later.
8
+
9
+ ## 2026-10-06: MCP dependencies are part of the default installation
10
+
11
+ Every `ipinb` install now includes the validated MCP and kernel dependencies. Child kernel overlays use those same pinned versions instead of the previous broad default ranges. The `mcp` extra remains an empty alias, and `publish` remains optional. Both `ipi` and `ipinb` invoke the same CLI.
12
+
13
+ **Migration:** Use `uvx ipinb` to run the server, or `uvx --from ipinb ipi` to select the existing command. Existing `ipinb[mcp]` requirements still work. Native integration installation now generates plain `ipinb` requirements. Environments with explicit constraints that conflict with IPi's validated pins must resolve those conflicts before upgrading.
14
+
3
15
  ## 2026-10-06: Explicit harness registry roots must be usable
4
16
 
5
17
  An explicit `registry_root` passed to `attach_harness_bridge`, including through `--harness-registry-root` or `server.harness_registry_root`, now raises an error when typed-agent-hooks cannot create or validate its secure directory. Previously an unusable explicit root silently left the bridge inactive. Unset roots retain the existing default-discovery behavior.
@@ -3,6 +3,18 @@
3
3
  All notable user-facing changes are recorded here. Detailed API removals and
4
4
  migration steps are maintained in [BREAKING_CHANGES.md](BREAKING_CHANGES.md).
5
5
 
6
+ ## 0.1.4 - 2026-10-12
7
+
8
+ - Require `typed-agent-hooks>=0.2.6` so Claude Code fork startup events reach native observers, shared handlers, and notebook context providers. Remove the exact dependency pin so later hook compatibility fixes can be resolved without an IPi release.
9
+ - Treat forks as normal session starts when injecting notebook context. Claude forks previously received no context, and Codex forks used the compaction path.
10
+ - Preserve startup, resume, and fork context dispatch for both Claude Code and Codex with integration regression coverage.
11
+
12
+ ## 0.1.3 - 2026-10-06
13
+
14
+ - Include the validated MCP dependencies in every installation. The `mcp` extra remains as an empty compatibility alias; notebook publication still uses the separate `publish` extra.
15
+ - Add the `ipinb` command alongside `ipi`, so `uvx ipinb` starts the MCP server directly.
16
+ - Generate and accept plain `ipinb` requirements in native integration installation. Child kernel environments now resolve the same validated default dependency pins as the host.
17
+
6
18
  ## 0.1.2 - 2026-10-06
7
19
 
8
20
  - Preserve explicitly supplied kernel virtual environments during environment discovery and disposable overlay startup. Starting a notebook in a different project no longer synchronizes the supplied base to that project's editable source or dependencies.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ipinb
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Persistent IPython notebooks for MCP agents
5
5
  Author-email: Nima Shoghi <nimashoghi@gmail.com>
6
6
  License-Expression: MIT
@@ -18,40 +18,27 @@ Classifier: Topic :: Software Development
18
18
  Requires-Python: >=3.10
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: beniget<0.6,>=0.5
22
- Requires-Dist: exceptiongroup<2,>=1.2.0; python_version < "3.11"
23
- Requires-Dist: ipykernel<8,>=6.4.2
24
- Requires-Dist: ipython<10,>=7.23.1
25
- Requires-Dist: jupyter-client<9,>=7.0.0
26
- Requires-Dist: nbformat<6,>=5.0.2
27
- Requires-Dist: packaging<27,>=23.0
28
- Requires-Dist: pydantic<3,>=2.0
29
- Requires-Dist: requests<3,>=2.32
30
- Requires-Dist: tomli<3,>=1.1.0; python_version < "3.11"
21
+ Requires-Dist: tomlkit==0.15.1
22
+ Requires-Dist: beniget==0.5.0
23
+ Requires-Dist: exceptiongroup==1.3.1; python_version < "3.11"
24
+ Requires-Dist: fastmcp==4.0.3
25
+ Requires-Dist: ipykernel==7.2.0
26
+ Requires-Dist: ipython==8.39.0; python_version < "3.11"
27
+ Requires-Dist: ipython==9.13.0; python_version >= "3.11"
28
+ Requires-Dist: jupyter-client==8.8.0
29
+ Requires-Dist: jsonschema==4.26.0
30
+ Requires-Dist: mcp==2.2.0
31
+ Requires-Dist: nbformat==5.10.4
32
+ Requires-Dist: packaging==26.2
33
+ Requires-Dist: pydantic==2.13.3
34
+ Requires-Dist: requests==2.34.2
35
+ Requires-Dist: starlette==1.3.1
36
+ Requires-Dist: tomli==2.4.1; python_version < "3.11"
31
37
  Requires-Dist: toolfuncs
32
- Requires-Dist: traitlets<6,>=5.0.0
33
- Requires-Dist: typing-extensions<5,>=4.6.1
38
+ Requires-Dist: traitlets==5.14.3
39
+ Requires-Dist: typed-agent-hooks>=0.2.6
40
+ Requires-Dist: typing-extensions==4.15.0
34
41
  Provides-Extra: mcp
35
- Requires-Dist: tomlkit==0.15.1; extra == "mcp"
36
- Requires-Dist: beniget==0.5.0; extra == "mcp"
37
- Requires-Dist: exceptiongroup==1.3.1; python_version < "3.11" and extra == "mcp"
38
- Requires-Dist: fastmcp==4.0.3; extra == "mcp"
39
- Requires-Dist: ipykernel==7.2.0; extra == "mcp"
40
- Requires-Dist: ipython==8.39.0; python_version < "3.11" and extra == "mcp"
41
- Requires-Dist: ipython==9.13.0; python_version >= "3.11" and extra == "mcp"
42
- Requires-Dist: jupyter-client==8.8.0; extra == "mcp"
43
- Requires-Dist: jsonschema==4.26.0; extra == "mcp"
44
- Requires-Dist: mcp==2.2.0; extra == "mcp"
45
- Requires-Dist: nbformat==5.10.4; extra == "mcp"
46
- Requires-Dist: packaging==26.2; extra == "mcp"
47
- Requires-Dist: pydantic==2.13.3; extra == "mcp"
48
- Requires-Dist: requests==2.34.2; extra == "mcp"
49
- Requires-Dist: starlette==1.3.1; extra == "mcp"
50
- Requires-Dist: tomli==2.4.1; python_version < "3.11" and extra == "mcp"
51
- Requires-Dist: toolfuncs; extra == "mcp"
52
- Requires-Dist: traitlets==5.14.3; extra == "mcp"
53
- Requires-Dist: typed-agent-hooks==0.2.5; extra == "mcp"
54
- Requires-Dist: typing-extensions==4.15.0; extra == "mcp"
55
42
  Provides-Extra: publish
56
43
  Requires-Dist: jupyter-collaboration==4.4.1; extra == "publish"
57
44
  Requires-Dist: jupyter-server==2.18.2; extra == "publish"
@@ -70,7 +57,7 @@ IPi is not an LLM harness. It has no provider client, agent turn loop, terminal
70
57
  UI, prompt manager, or context-window manager. The external harness owns the
71
58
  conversation; IPi owns notebook execution and typed hooks into that harness.
72
59
 
73
- The PyPI distribution is [`ipinb`](https://pypi.org/project/ipinb/); the Python import and command remain `ipi`.
60
+ The PyPI distribution is [`ipinb`](https://pypi.org/project/ipinb/). Both `ipi` and `ipinb` run the same CLI; the Python import remains `ipi`. MCP dependencies are included by default. The empty `mcp` extra remains available for existing install commands.
74
61
 
75
62
  ## Run
76
63
 
@@ -78,15 +65,14 @@ IPi supports Linux and macOS and requires Python 3.10 or newer plus `uv`. Run
78
65
  the published package without installing it permanently:
79
66
 
80
67
  ```bash
81
- uvx --isolated --from "ipinb[mcp]" ipi
68
+ uvx ipinb
82
69
  ```
83
70
 
84
- The bare `ipi` command starts a stdio MCP server. Configure MCP startup and
71
+ Either bare command starts a stdio MCP server. Configure MCP startup and
85
72
  host-event forwarding together from the project directory:
86
73
 
87
74
  ```bash
88
- uvx --isolated --from "ipinb[mcp]" \
89
- ipi install --provider all
75
+ uvx ipinb install --provider all
90
76
  ```
91
77
 
92
78
  This writes Codex's `.codex/config.toml` and `.codex/hooks.json`, and Claude
@@ -102,7 +88,7 @@ is idempotent. Files are replaced individually and atomically; rerun an
102
88
  interrupted installation to finish it.
103
89
 
104
90
  The default MCP requirement uses the installed Git commit or index version.
105
- Local/editable installs need `--requirement 'ipinb[mcp] @ git+https://...@<ref>'`.
91
+ Local/editable installs need `--requirement 'ipinb @ git+https://...@<ref>'`.
106
92
  Use that option to select a different source or add the `publish` extra. Keep
107
93
  credentials in Git's authentication configuration. Forwarding uses a separately
108
94
  pinned `typed-agent-hooks` runtime. Existing manually configured MCP servers can
@@ -236,8 +222,7 @@ lifecycle and security contract.
236
222
  Stdio is the primary transport. FastMCP HTTP is also available:
237
223
 
238
224
  ```bash
239
- uvx --isolated --from "ipinb[mcp]" \
240
- ipi --transport http --host 127.0.0.1 --port 8000
225
+ uvx ipinb --transport http --host 127.0.0.1 --port 8000
241
226
  ```
242
227
 
243
228
  The process registry owns kernels and cells independently of HTTP transport sessions. Reconnecting clients use the same explicit `kernel_id` and `cell_id`; resource IDs are not authentication credentials. Both transports use the same schemas, observation windows, and lifecycle. No `server.session_mode` setting is needed.
@@ -288,8 +273,7 @@ require `IPI_MCP_HTTP_AUTH_TOKEN`:
288
273
 
289
274
  ```bash
290
275
  IPI_MCP_HTTP_AUTH_TOKEN='<token>' \
291
- uvx --isolated --from "ipinb[mcp]" \
292
- ipi --transport http --host 127.0.0.1 --port 0 --tunnel
276
+ uvx ipinb --transport http --host 127.0.0.1 --port 0 --tunnel
293
277
  ```
294
278
 
295
279
  Tunnels are accountless Cloudflare quick tunnels, so the public
@@ -7,7 +7,7 @@ IPi is not an LLM harness. It has no provider client, agent turn loop, terminal
7
7
  UI, prompt manager, or context-window manager. The external harness owns the
8
8
  conversation; IPi owns notebook execution and typed hooks into that harness.
9
9
 
10
- The PyPI distribution is [`ipinb`](https://pypi.org/project/ipinb/); the Python import and command remain `ipi`.
10
+ The PyPI distribution is [`ipinb`](https://pypi.org/project/ipinb/). Both `ipi` and `ipinb` run the same CLI; the Python import remains `ipi`. MCP dependencies are included by default. The empty `mcp` extra remains available for existing install commands.
11
11
 
12
12
  ## Run
13
13
 
@@ -15,15 +15,14 @@ IPi supports Linux and macOS and requires Python 3.10 or newer plus `uv`. Run
15
15
  the published package without installing it permanently:
16
16
 
17
17
  ```bash
18
- uvx --isolated --from "ipinb[mcp]" ipi
18
+ uvx ipinb
19
19
  ```
20
20
 
21
- The bare `ipi` command starts a stdio MCP server. Configure MCP startup and
21
+ Either bare command starts a stdio MCP server. Configure MCP startup and
22
22
  host-event forwarding together from the project directory:
23
23
 
24
24
  ```bash
25
- uvx --isolated --from "ipinb[mcp]" \
26
- ipi install --provider all
25
+ uvx ipinb install --provider all
27
26
  ```
28
27
 
29
28
  This writes Codex's `.codex/config.toml` and `.codex/hooks.json`, and Claude
@@ -39,7 +38,7 @@ is idempotent. Files are replaced individually and atomically; rerun an
39
38
  interrupted installation to finish it.
40
39
 
41
40
  The default MCP requirement uses the installed Git commit or index version.
42
- Local/editable installs need `--requirement 'ipinb[mcp] @ git+https://...@<ref>'`.
41
+ Local/editable installs need `--requirement 'ipinb @ git+https://...@<ref>'`.
43
42
  Use that option to select a different source or add the `publish` extra. Keep
44
43
  credentials in Git's authentication configuration. Forwarding uses a separately
45
44
  pinned `typed-agent-hooks` runtime. Existing manually configured MCP servers can
@@ -173,8 +172,7 @@ lifecycle and security contract.
173
172
  Stdio is the primary transport. FastMCP HTTP is also available:
174
173
 
175
174
  ```bash
176
- uvx --isolated --from "ipinb[mcp]" \
177
- ipi --transport http --host 127.0.0.1 --port 8000
175
+ uvx ipinb --transport http --host 127.0.0.1 --port 8000
178
176
  ```
179
177
 
180
178
  The process registry owns kernels and cells independently of HTTP transport sessions. Reconnecting clients use the same explicit `kernel_id` and `cell_id`; resource IDs are not authentication credentials. Both transports use the same schemas, observation windows, and lifecycle. No `server.session_mode` setting is needed.
@@ -225,8 +223,7 @@ require `IPI_MCP_HTTP_AUTH_TOKEN`:
225
223
 
226
224
  ```bash
227
225
  IPI_MCP_HTTP_AUTH_TOKEN='<token>' \
228
- uvx --isolated --from "ipinb[mcp]" \
229
- ipi --transport http --host 127.0.0.1 --port 0 --tunnel
226
+ uvx ipinb --transport http --host 127.0.0.1 --port 0 --tunnel
230
227
  ```
231
228
 
232
229
  Tunnels are accountless Cloudflare quick tunnels, so the public
@@ -6,23 +6,13 @@ artifacts, and typed harness hooks.
6
6
 
7
7
  ## Distribution Boundary
8
8
 
9
- The repository builds one `ipinb` distribution from one `src/ipi` tree. The base
10
- install contains the dependency-light kernel and plugin APIs. The `mcp` extra
11
- adds FastMCP, Jupyter, collaboration, and `typed-agent-hooks`:
9
+ The repository builds one `ipinb` distribution from one `src/ipi` tree. Every install includes the MCP server, kernel runtime, plugin APIs, and typed harness integration. Both `ipi` and `ipinb` invoke the same CLI:
12
10
 
13
11
  ```bash
14
- uvx --isolated --from "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" ipi
12
+ uvx ipinb
15
13
  ```
16
14
 
17
- IPi is an application distributed through `uvx`, not a reusable dependency
18
- resolver. The `mcp` extra exactly pins third-party host dependencies, including
19
- the base dependencies repeated into the host environment. Our `toolfuncs` and
20
- `typed-agent-hooks` dependencies have no version constraint, so a fresh or
21
- explicitly upgraded environment can resolve their latest releases independently. Base metadata uses
22
- bounded compatibility ranges so independently resolved child-kernel overlays
23
- can select another supported version. `uv.lock` fixes the complete transitive
24
- development and CI environment; release metadata stabilizes the direct host
25
- compatibility envelope, not every transitive package selected by `uvx`.
15
+ Default requirements pin the validated direct dependencies, including the IPython and ipykernel versions required by concurrent execution. `toolfuncs` remains unconstrained. Child kernel overlays use these same default requirements. The empty `mcp` extra preserves existing install commands; notebook publication dependencies remain in the separate `publish` extra. `uv.lock` fixes the complete transitive development and CI environment; release metadata pins direct dependencies rather than every transitive package selected by `uvx`.
26
16
 
27
17
  The main source boundaries are:
28
18
 
@@ -43,7 +33,7 @@ src/ipi/
43
33
  Fresh kernels always receive the same base IPi implementation as the host. A
44
34
  source checkout is added editable; a Git install is reconstructed from PEP 610
45
35
  metadata at its immutable commit; a registry install is pinned to its exact
46
- version. Only base `ipi` is added to the child, not the host-only `mcp` extra.
36
+ version. The child installs `ipinb` with its default MCP and kernel dependencies.
47
37
  Installed plugins with kernel callbacks are likewise added using their exact
48
38
  installed version or direct source. Before loading an installed entry point,
49
39
  the child proves that its distribution version and PEP 610 source match the
@@ -1,14 +1,14 @@
1
1
  # Releasing IPi
2
2
 
3
- IPi builds one PyPI distribution named `ipinb` from `src/ipi`. The root `pyproject.toml` owns its version. The Python import, console command, plugin groups, and configuration namespace remain `ipi`.
3
+ IPi builds one PyPI distribution named `ipinb` from `src/ipi`. The root `pyproject.toml` owns its version. The `ipi` and `ipinb` console commands share one entry point. The Python import, plugin groups, and configuration namespace remain `ipi`.
4
4
 
5
5
  ## Release checks
6
6
 
7
7
  1. Set `project.version`, update `CHANGELOG.md`, and record migration steps in `BREAKING_CHANGES.md`.
8
- 2. Run `uv lock` and inspect the dependency changes. The `mcp` extra pins its validated host dependencies, except `toolfuncs`, which follows the compatible version selected for the interpreter. Base requirements retain their wider compatibility ranges for kernel overlays.
8
+ 2. Run `uv lock` and inspect the dependency changes. Default requirements pin the validated MCP and kernel dependencies, except `toolfuncs`, which follows the compatible version selected for the interpreter, and `typed-agent-hooks`, which has a minimum version so provider compatibility fixes can be resolved independently. These constraints also apply to child kernel overlays. The empty `mcp` extra preserves existing install commands; `publish` remains optional.
9
9
  3. Run the relevant tests, including packaging, installed wheel reconstruction, kernel overlays, native integration installation, and notebook publication. Run Ruff and basedpyright after functional checks pass.
10
10
  4. Build both archives with `uv build --no-sources --out-dir /tmp/ipinb-dist`. The expected files are `ipinb-<version>.tar.gz` and `ipinb-<version>-py3-none-any.whl`. Build output must contain no credentials or direct VCS dependencies.
11
- 5. Install the wheel outside the checkout and run `tests/release_smoke.py`. It checks `import ipi`, package version lookup, a real child kernel with persistent state, remote wheel reconstruction, and an independently resolved notebook publisher environment.
11
+ 5. Install the wheel outside the checkout and run `tests/release_smoke.py`. It checks both console commands, MCP startup and a tool request, `import ipi`, package version lookup, a real child kernel with persistent state, remote wheel reconstruction, and an independently resolved notebook publisher environment.
12
12
 
13
13
  For example, from the repository root:
14
14
 
@@ -47,7 +47,8 @@ Commit and push the tested release state. A manual dispatch of `release.yml` run
47
47
  Verify the completed workflow and the package version on PyPI, then install the published artifact from outside the checkout:
48
48
 
49
49
  ```bash
50
- uvx --isolated --refresh --from 'ipinb[mcp]==<version>' ipi --help
50
+ uvx --isolated --refresh --from 'ipinb==<version>' ipinb --help
51
+ uvx --isolated --refresh --from 'ipinb==<version>' ipi --help
51
52
  ```
52
53
 
53
54
  Run the installed-wheel smoke test against that same index version. Update downstream requirements only after the index artifact works. The Boltz mirror copies source branches and tags automatically; make source changes in `nimashoghi/ipi`.
@@ -156,7 +156,7 @@ Start IPi from `<project>` because the plugin contributes a server tool:
156
156
 
157
157
  ```bash
158
158
  uvx --isolated \
159
- --from "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
159
+ --from "ipinb @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
160
160
  ipi
161
161
  ```
162
162
 
@@ -592,7 +592,7 @@ With `uvx`, pass the same source through `--with`:
592
592
 
593
593
  ```bash
594
594
  uvx --isolated \
595
- --from "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
595
+ --from "ipinb @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
596
596
  --with "acme-ipi-tools==1.2.3" \
597
597
  ipi
598
598
  ```
@@ -156,7 +156,7 @@ Start IPi from `<project>` because the plugin contributes a server tool:
156
156
 
157
157
  ```bash
158
158
  uvx --isolated \
159
- --from "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
159
+ --from "ipinb @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
160
160
  ipi
161
161
  ```
162
162
 
@@ -592,7 +592,7 @@ With `uvx`, pass the same source through `--with`:
592
592
 
593
593
  ```bash
594
594
  uvx --isolated \
595
- --from "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
595
+ --from "ipinb @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
596
596
  --with "acme-ipi-tools==1.2.3" \
597
597
  ipi
598
598
  ```
@@ -170,7 +170,7 @@ Launch `uvx` with both the IPi source and the plugin:
170
170
 
171
171
  ```bash
172
172
  uvx --isolated \
173
- --from "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
173
+ --from "ipinb @ git+https://github.com/nimashoghi/ipi.git@<ref>" \
174
174
  --with "example-ipi-plugin @ <exact-source>" \
175
175
  ipi
176
176
  ```
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ipinb"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  description = "Persistent IPython notebooks for MCP agents"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -23,23 +23,6 @@ classifiers = [
23
23
  "Topic :: Software Development",
24
24
  ]
25
25
  dependencies = [
26
- "beniget>=0.5,<0.6",
27
- "exceptiongroup>=1.2.0,<2; python_version < '3.11'",
28
- "ipykernel>=6.4.2,<8",
29
- "ipython>=7.23.1,<10",
30
- "jupyter-client>=7.0.0,<9",
31
- "nbformat>=5.0.2,<6",
32
- "packaging>=23.0,<27",
33
- "pydantic>=2.0,<3",
34
- "requests>=2.32,<3",
35
- "tomli>=1.1.0,<3; python_version < '3.11'",
36
- "toolfuncs",
37
- "traitlets>=5.0.0,<6",
38
- "typing-extensions>=4.6.1,<5",
39
- ]
40
-
41
- [project.optional-dependencies]
42
- mcp = [
43
26
  "tomlkit==0.15.1",
44
27
  "beniget==0.5.0",
45
28
  "exceptiongroup==1.3.1; python_version < '3.11'",
@@ -58,9 +41,13 @@ mcp = [
58
41
  "tomli==2.4.1; python_version < '3.11'",
59
42
  "toolfuncs",
60
43
  "traitlets==5.14.3",
61
- "typed-agent-hooks==0.2.5",
44
+ "typed-agent-hooks>=0.2.6",
62
45
  "typing-extensions==4.15.0",
63
46
  ]
47
+
48
+ [project.optional-dependencies]
49
+ # Compatibility alias: MCP dependencies are included in every install.
50
+ mcp = []
64
51
  publish = [
65
52
  "jupyter-collaboration==4.4.1",
66
53
  "jupyter-server==2.18.2",
@@ -72,6 +59,7 @@ publish = [
72
59
 
73
60
  [project.scripts]
74
61
  ipi = "ipi.server.__main__:main"
62
+ ipinb = "ipi.server.__main__:main"
75
63
 
76
64
  [project.urls]
77
65
  Repository = "https://github.com/nimashoghi/ipi"
@@ -95,7 +83,7 @@ dev = [
95
83
  "pytest-xdist[psutil]>=3.8.0",
96
84
  "ruff>=0.7.0",
97
85
  "tomli>=1.1.0",
98
- "typed-agent-hooks>=0.2.5",
86
+ "typed-agent-hooks>=0.2.6",
99
87
  ]
100
88
 
101
89
  [tool.setuptools]
@@ -36,7 +36,7 @@ def install(shell: Any) -> None:
36
36
 
37
37
  if version("ipykernel") != "7.2.0" or version("ipython") not in {"8.39.0", "9.13.0"}:
38
38
  raise RuntimeError(
39
- "Concurrent execution requires IPi's validated ipykernel/IPython pins; install ipinb[mcp]"
39
+ "Concurrent execution requires IPi's validated ipykernel/IPython pins; reinstall ipinb"
40
40
  )
41
41
  from ipykernel.displayhook import ZMQShellDisplayHook
42
42
  from ipykernel.iostream import OutStream
@@ -43,10 +43,6 @@ if TYPE_CHECKING:
43
43
  _TRANSPORTS = ("stdio", "http", "sse", "streamable-http")
44
44
  _HTTP_READY_TIMEOUT_S = 30.0
45
45
  _TUNNEL_URL_TIMEOUT_S = 30.0
46
- _MCP_INSTALL_MESSAGE = (
47
- "The 'ipi' command requires the 'ipinb[mcp]' extra. "
48
- "Run: uvx --isolated --from 'ipinb[mcp]' ipi --help"
49
- )
50
46
 
51
47
 
52
48
  def main(argv: list[str] | None = None) -> None:
@@ -60,7 +56,7 @@ def main(argv: list[str] | None = None) -> None:
60
56
 
61
57
  raise SystemExit(run_doctor(args[1:]))
62
58
  with _skip_jsonschema_optional_format_plugins():
63
- _require_mcp_dependencies()
59
+ importlib.import_module("fastmcp")
64
60
  if args and args[0] == "install-hooks":
65
61
  _cmd_install_hooks(args[1:])
66
62
  return
@@ -677,16 +673,6 @@ def _skip_jsonschema_optional_format_plugins() -> Generator[None]:
677
673
  del sys.modules[name]
678
674
 
679
675
 
680
- def _require_mcp_dependencies() -> None:
681
- try:
682
- importlib.import_module("fastmcp")
683
- except ModuleNotFoundError as error:
684
- if error.name != "fastmcp":
685
- raise
686
- print(_MCP_INSTALL_MESSAGE, file=sys.stderr)
687
- raise SystemExit(1) from None
688
-
689
-
690
676
  def _cmd_install(argv: list[str]) -> None:
691
677
  from ipi.server.integration import install
692
678
 
@@ -697,7 +683,7 @@ def _cmd_install(argv: list[str]) -> None:
697
683
  parser.add_argument("--scope", choices=("project", "user"), default="project")
698
684
  parser.add_argument("--project-root", type=Path, default=None)
699
685
  parser.add_argument(
700
- "--requirement", help="Portable ipinb[mcp] requirement; defaults to this installation"
686
+ "--requirement", help="Portable ipinb requirement; defaults to this installation"
701
687
  )
702
688
  parser.add_argument(
703
689
  "--replace", action="store_true", help="Replace a conflicting ipi MCP entry"
@@ -740,7 +726,7 @@ def _cmd_install_hooks(argv: list[str]) -> None:
740
726
  except Exception:
741
727
  print(
742
728
  "Harness hooks are unavailable (typed-agent-hooks not installed). "
743
- "Install IPi with its MCP dependencies (`ipinb[mcp]`).",
729
+ "Reinstall `ipinb` to restore its required dependencies.",
744
730
  file=sys.stderr,
745
731
  )
746
732
  raise SystemExit(1) from None
@@ -51,7 +51,7 @@ def _environment(setup: EnvironmentSetup) -> None:
51
51
  runtime: _HarnessRuntime,
52
52
  ) -> _HarnessResult:
53
53
  session_id = event.context.session_id
54
- if event.source in {"startup", "resume", "clear"}:
54
+ if event.source in {"startup", "resume", "clear", "fork"}:
55
55
  if event.context.provider is Provider.CODEX:
56
56
  codex_compact_grounded_sessions.discard(session_id)
57
57
  elif event.context.provider is Provider.CLAUDE_CODE:
@@ -43,22 +43,22 @@ def installed_requirement() -> str:
43
43
  distribution = importlib.metadata.distribution("ipinb")
44
44
  raw = distribution.read_text("direct_url.json")
45
45
  if raw is None:
46
- return f"ipinb[mcp]=={distribution.version}"
46
+ return f"ipinb=={distribution.version}"
47
47
  origin = json.loads(raw)
48
48
  url = origin.get("url", "")
49
49
  vcs = origin.get("vcs_info", {})
50
50
  commit = vcs.get("commit_id", "")
51
51
  if vcs.get("vcs") != "git" or not re.fullmatch(r"(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})", commit):
52
52
  raise ValueError("Local installations need --requirement with a portable IPi source")
53
- requirement = f"ipinb[mcp] @ git+{url}@{commit}"
53
+ requirement = f"ipinb @ git+{url}@{commit}"
54
54
  _validate_requirement(requirement)
55
55
  return requirement
56
56
 
57
57
 
58
58
  def _validate_requirement(value: str) -> None:
59
59
  requirement = Requirement(value)
60
- if requirement.name != "ipinb" or "mcp" not in requirement.extras or requirement.marker:
61
- raise ValueError("requirement must install ipinb with the mcp extra, without a marker")
60
+ if requirement.name != "ipinb" or requirement.marker:
61
+ raise ValueError("requirement must install ipinb without a marker")
62
62
  if requirement.url:
63
63
  parsed = urlsplit(requirement.url.removeprefix("git+"))
64
64
  if parsed.scheme not in {"https", "ssh"} or not parsed.hostname:
@@ -11,7 +11,7 @@ Run it on the machine that misbehaves, from the same source ref the MCP
11
11
  launcher uses, so the reader under test is the reader that will run:
12
12
 
13
13
  uv run --refresh-package ipi \\
14
- --with "ipinb[mcp] @ git+https://github.com/nimashoghi/ipi.git@<ref>" \\
14
+ --with "ipinb @ git+https://github.com/nimashoghi/ipi.git@<ref>" \\
15
15
  ipi doctor-narration
16
16
 
17
17
  One link stays out of reach: an already-running MCP server keeps whatever
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ipinb
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Persistent IPython notebooks for MCP agents
5
5
  Author-email: Nima Shoghi <nimashoghi@gmail.com>
6
6
  License-Expression: MIT
@@ -18,40 +18,27 @@ Classifier: Topic :: Software Development
18
18
  Requires-Python: >=3.10
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: beniget<0.6,>=0.5
22
- Requires-Dist: exceptiongroup<2,>=1.2.0; python_version < "3.11"
23
- Requires-Dist: ipykernel<8,>=6.4.2
24
- Requires-Dist: ipython<10,>=7.23.1
25
- Requires-Dist: jupyter-client<9,>=7.0.0
26
- Requires-Dist: nbformat<6,>=5.0.2
27
- Requires-Dist: packaging<27,>=23.0
28
- Requires-Dist: pydantic<3,>=2.0
29
- Requires-Dist: requests<3,>=2.32
30
- Requires-Dist: tomli<3,>=1.1.0; python_version < "3.11"
21
+ Requires-Dist: tomlkit==0.15.1
22
+ Requires-Dist: beniget==0.5.0
23
+ Requires-Dist: exceptiongroup==1.3.1; python_version < "3.11"
24
+ Requires-Dist: fastmcp==4.0.3
25
+ Requires-Dist: ipykernel==7.2.0
26
+ Requires-Dist: ipython==8.39.0; python_version < "3.11"
27
+ Requires-Dist: ipython==9.13.0; python_version >= "3.11"
28
+ Requires-Dist: jupyter-client==8.8.0
29
+ Requires-Dist: jsonschema==4.26.0
30
+ Requires-Dist: mcp==2.2.0
31
+ Requires-Dist: nbformat==5.10.4
32
+ Requires-Dist: packaging==26.2
33
+ Requires-Dist: pydantic==2.13.3
34
+ Requires-Dist: requests==2.34.2
35
+ Requires-Dist: starlette==1.3.1
36
+ Requires-Dist: tomli==2.4.1; python_version < "3.11"
31
37
  Requires-Dist: toolfuncs
32
- Requires-Dist: traitlets<6,>=5.0.0
33
- Requires-Dist: typing-extensions<5,>=4.6.1
38
+ Requires-Dist: traitlets==5.14.3
39
+ Requires-Dist: typed-agent-hooks>=0.2.6
40
+ Requires-Dist: typing-extensions==4.15.0
34
41
  Provides-Extra: mcp
35
- Requires-Dist: tomlkit==0.15.1; extra == "mcp"
36
- Requires-Dist: beniget==0.5.0; extra == "mcp"
37
- Requires-Dist: exceptiongroup==1.3.1; python_version < "3.11" and extra == "mcp"
38
- Requires-Dist: fastmcp==4.0.3; extra == "mcp"
39
- Requires-Dist: ipykernel==7.2.0; extra == "mcp"
40
- Requires-Dist: ipython==8.39.0; python_version < "3.11" and extra == "mcp"
41
- Requires-Dist: ipython==9.13.0; python_version >= "3.11" and extra == "mcp"
42
- Requires-Dist: jupyter-client==8.8.0; extra == "mcp"
43
- Requires-Dist: jsonschema==4.26.0; extra == "mcp"
44
- Requires-Dist: mcp==2.2.0; extra == "mcp"
45
- Requires-Dist: nbformat==5.10.4; extra == "mcp"
46
- Requires-Dist: packaging==26.2; extra == "mcp"
47
- Requires-Dist: pydantic==2.13.3; extra == "mcp"
48
- Requires-Dist: requests==2.34.2; extra == "mcp"
49
- Requires-Dist: starlette==1.3.1; extra == "mcp"
50
- Requires-Dist: tomli==2.4.1; python_version < "3.11" and extra == "mcp"
51
- Requires-Dist: toolfuncs; extra == "mcp"
52
- Requires-Dist: traitlets==5.14.3; extra == "mcp"
53
- Requires-Dist: typed-agent-hooks==0.2.5; extra == "mcp"
54
- Requires-Dist: typing-extensions==4.15.0; extra == "mcp"
55
42
  Provides-Extra: publish
56
43
  Requires-Dist: jupyter-collaboration==4.4.1; extra == "publish"
57
44
  Requires-Dist: jupyter-server==2.18.2; extra == "publish"
@@ -70,7 +57,7 @@ IPi is not an LLM harness. It has no provider client, agent turn loop, terminal
70
57
  UI, prompt manager, or context-window manager. The external harness owns the
71
58
  conversation; IPi owns notebook execution and typed hooks into that harness.
72
59
 
73
- The PyPI distribution is [`ipinb`](https://pypi.org/project/ipinb/); the Python import and command remain `ipi`.
60
+ The PyPI distribution is [`ipinb`](https://pypi.org/project/ipinb/). Both `ipi` and `ipinb` run the same CLI; the Python import remains `ipi`. MCP dependencies are included by default. The empty `mcp` extra remains available for existing install commands.
74
61
 
75
62
  ## Run
76
63
 
@@ -78,15 +65,14 @@ IPi supports Linux and macOS and requires Python 3.10 or newer plus `uv`. Run
78
65
  the published package without installing it permanently:
79
66
 
80
67
  ```bash
81
- uvx --isolated --from "ipinb[mcp]" ipi
68
+ uvx ipinb
82
69
  ```
83
70
 
84
- The bare `ipi` command starts a stdio MCP server. Configure MCP startup and
71
+ Either bare command starts a stdio MCP server. Configure MCP startup and
85
72
  host-event forwarding together from the project directory:
86
73
 
87
74
  ```bash
88
- uvx --isolated --from "ipinb[mcp]" \
89
- ipi install --provider all
75
+ uvx ipinb install --provider all
90
76
  ```
91
77
 
92
78
  This writes Codex's `.codex/config.toml` and `.codex/hooks.json`, and Claude
@@ -102,7 +88,7 @@ is idempotent. Files are replaced individually and atomically; rerun an
102
88
  interrupted installation to finish it.
103
89
 
104
90
  The default MCP requirement uses the installed Git commit or index version.
105
- Local/editable installs need `--requirement 'ipinb[mcp] @ git+https://...@<ref>'`.
91
+ Local/editable installs need `--requirement 'ipinb @ git+https://...@<ref>'`.
106
92
  Use that option to select a different source or add the `publish` extra. Keep
107
93
  credentials in Git's authentication configuration. Forwarding uses a separately
108
94
  pinned `typed-agent-hooks` runtime. Existing manually configured MCP servers can
@@ -236,8 +222,7 @@ lifecycle and security contract.
236
222
  Stdio is the primary transport. FastMCP HTTP is also available:
237
223
 
238
224
  ```bash
239
- uvx --isolated --from "ipinb[mcp]" \
240
- ipi --transport http --host 127.0.0.1 --port 8000
225
+ uvx ipinb --transport http --host 127.0.0.1 --port 8000
241
226
  ```
242
227
 
243
228
  The process registry owns kernels and cells independently of HTTP transport sessions. Reconnecting clients use the same explicit `kernel_id` and `cell_id`; resource IDs are not authentication credentials. Both transports use the same schemas, observation windows, and lifecycle. No `server.session_mode` setting is needed.
@@ -288,8 +273,7 @@ require `IPI_MCP_HTTP_AUTH_TOKEN`:
288
273
 
289
274
  ```bash
290
275
  IPI_MCP_HTTP_AUTH_TOKEN='<token>' \
291
- uvx --isolated --from "ipinb[mcp]" \
292
- ipi --transport http --host 127.0.0.1 --port 0 --tunnel
276
+ uvx ipinb --transport http --host 127.0.0.1 --port 0 --tunnel
293
277
  ```
294
278
 
295
279
  Tunnels are accountless Cloudflare quick tunnels, so the public
@@ -1,2 +1,3 @@
1
1
  [console_scripts]
2
2
  ipi = ipi.server.__main__:main
3
+ ipinb = ipi.server.__main__:main