pythia-plsql 0.15.1__tar.gz → 0.15.2__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 (66) hide show
  1. {pythia_plsql-0.15.1/scripts/pythia_plsql.egg-info → pythia_plsql-0.15.2}/PKG-INFO +12 -1
  2. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/README.md +11 -0
  3. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/pyproject.toml +1 -1
  4. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/scripts/pythia.py +560 -32
  5. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2/scripts/pythia_plsql.egg-info}/PKG-INFO +12 -1
  6. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-setup/SKILL.md +6 -5
  7. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-setup/reference/environment.md +5 -1
  8. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_install.py +47 -1
  9. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_phase6.py +482 -3
  10. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/LICENSE +0 -0
  11. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/comment-current.sql +0 -0
  12. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/compile-errors.sql +0 -0
  13. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/current-schema.sql +0 -0
  14. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/db-nls.sql +0 -0
  15. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/db-version.sql +0 -0
  16. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/dependencies.sql +0 -0
  17. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/explain-display.sql +0 -0
  18. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/impact.sql +0 -0
  19. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/invalid-objects.sql +0 -0
  20. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/name-occupants.sql +0 -0
  21. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/object-names.sql +0 -0
  22. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/object-source.sql +0 -0
  23. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/plscope-enabled.sql +0 -0
  24. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/plscope-statements.sql +0 -0
  25. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/plscope-usages.sql +0 -0
  26. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/schema-settings.sql +0 -0
  27. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/session-privileges.sql +0 -0
  28. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/similar-candidates.sql +0 -0
  29. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/source.sql +0 -0
  30. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/table-comments.sql +0 -0
  31. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/table-indexes.sql +0 -0
  32. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/table-stats.sql +0 -0
  33. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/queries/unindexed-fks.sql +0 -0
  34. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/SOURCES.txt +0 -0
  35. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/dependency_links.txt +0 -0
  36. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/entry_points.txt +0 -0
  37. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/requires.txt +0 -0
  38. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/top_level.txt +0 -0
  39. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/setup.cfg +0 -0
  40. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-apply/SKILL.md +0 -0
  41. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-autopilot/SKILL.md +0 -0
  42. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-comment/SKILL.md +0 -0
  43. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-conventions/SKILL.md +0 -0
  44. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-deploy/SKILL.md +0 -0
  45. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-explore/SKILL.md +0 -0
  46. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-explore/reference/data-dictionary.md +0 -0
  47. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-impact/SKILL.md +0 -0
  48. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-package/SKILL.md +0 -0
  49. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-package/reference/plsql-standards.md +0 -0
  50. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-review/SKILL.md +0 -0
  51. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-review/reference/antipatterns.md +0 -0
  52. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-skill-author/SKILL.md +0 -0
  53. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-spec/SKILL.md +0 -0
  54. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-table/SKILL.md +0 -0
  55. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-table/reference/ddl-standards.md +0 -0
  56. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-tune/SKILL.md +0 -0
  57. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-tune/reference/tuning-checklist.md +0 -0
  58. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-verify/SKILL.md +0 -0
  59. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-write/SKILL.md +0 -0
  60. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/pythia-write/reference/patterns.md +0 -0
  61. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/skills/using-pythia/SKILL.md +0 -0
  62. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_mcp.py +0 -0
  63. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_phase1.py +0 -0
  64. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_phase2.py +0 -0
  65. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_phase3.py +0 -0
  66. {pythia_plsql-0.15.1 → pythia_plsql-0.15.2}/tests/test_phase5.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythia-plsql
3
- Version: 0.15.1
3
+ Version: 0.15.2
4
4
  Summary: PL/SQL development for AI agents on Oracle Database - expert data-dictionary queries, impact analysis, and a snapshot-verified write path with honest rollback.
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/thaildhe172591/pythia
@@ -197,6 +197,17 @@ each agent needs you to finish by hand.
197
197
  or while the hooks are untrusted; when the block is there, the
198
198
  SessionStart hook adds only the live state instead of repeating the guide.
199
199
 
200
+ **The interpreter is chosen by what really starts pythia.** A hook that
201
+ cannot start fails open — Claude Code treats its error as non-blocking —
202
+ so a bare `python -m pythia` goes into the shared files only when it
203
+ imports pythia outside a virtual environment. Installed in a venv, with
204
+ pipx, or where `python` is another interpreter, the hooks go to
205
+ `.claude/settings.local.json` (this machine's file, kept out of git) with
206
+ the absolute interpreter, and the MCP approver to Claude Code's local scope
207
+ (`claude mcp add --scope local`); your teammates never get a path from your
208
+ machine. `pythia doctor` starts every launcher it finds and fails the ones
209
+ that cannot import pythia.
210
+
200
211
  Skills land in `.claude/skills` (or `~/.claude/skills` with `-g`).
201
212
  2. **Restart the Claude Code session** so the hooks and the MCP server load.
202
213
  3. **Run `pythia doctor`.** It confirms the wiring and names every setting
@@ -183,6 +183,17 @@ each agent needs you to finish by hand.
183
183
  or while the hooks are untrusted; when the block is there, the
184
184
  SessionStart hook adds only the live state instead of repeating the guide.
185
185
 
186
+ **The interpreter is chosen by what really starts pythia.** A hook that
187
+ cannot start fails open — Claude Code treats its error as non-blocking —
188
+ so a bare `python -m pythia` goes into the shared files only when it
189
+ imports pythia outside a virtual environment. Installed in a venv, with
190
+ pipx, or where `python` is another interpreter, the hooks go to
191
+ `.claude/settings.local.json` (this machine's file, kept out of git) with
192
+ the absolute interpreter, and the MCP approver to Claude Code's local scope
193
+ (`claude mcp add --scope local`); your teammates never get a path from your
194
+ machine. `pythia doctor` starts every launcher it finds and fails the ones
195
+ that cannot import pythia.
196
+
186
197
  Skills land in `.claude/skills` (or `~/.claude/skills` with `-g`).
187
198
  2. **Restart the Claude Code session** so the hooks and the MCP server load.
188
199
  3. **Run `pythia doctor`.** It confirms the wiring and names every setting
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pythia-plsql"
7
- version = "0.15.1"
7
+ version = "0.15.2"
8
8
  description = "PL/SQL development for AI agents on Oracle Database - expert data-dictionary queries, impact analysis, and a snapshot-verified write path with honest rollback."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }