pythia-plsql 0.15.0__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.
- {pythia_plsql-0.15.0/scripts/pythia_plsql.egg-info → pythia_plsql-0.15.2}/PKG-INFO +19 -2
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/README.md +18 -1
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/pyproject.toml +1 -1
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/scripts/pythia.py +633 -38
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2/scripts/pythia_plsql.egg-info}/PKG-INFO +19 -2
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-setup/SKILL.md +6 -5
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-setup/reference/environment.md +5 -1
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/tests/test_install.py +120 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/tests/test_phase6.py +482 -3
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/LICENSE +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/comment-current.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/compile-errors.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/current-schema.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/db-nls.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/db-version.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/dependencies.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/explain-display.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/impact.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/invalid-objects.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/name-occupants.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/object-names.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/object-source.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/plscope-enabled.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/plscope-statements.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/plscope-usages.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/schema-settings.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/session-privileges.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/similar-candidates.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/source.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/table-comments.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/table-indexes.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/table-stats.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/queries/unindexed-fks.sql +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/SOURCES.txt +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/dependency_links.txt +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/entry_points.txt +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/requires.txt +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/scripts/pythia_plsql.egg-info/top_level.txt +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/setup.cfg +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-apply/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-autopilot/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-comment/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-conventions/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-deploy/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-explore/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-explore/reference/data-dictionary.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-impact/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-package/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-package/reference/plsql-standards.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-review/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-review/reference/antipatterns.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-skill-author/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-spec/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-table/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-table/reference/ddl-standards.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-tune/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-tune/reference/tuning-checklist.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-verify/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-write/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/pythia-write/reference/patterns.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/skills/using-pythia/SKILL.md +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/tests/test_mcp.py +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/tests/test_phase1.py +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/tests/test_phase2.py +0 -0
- {pythia_plsql-0.15.0 → pythia_plsql-0.15.2}/tests/test_phase3.py +0 -0
- {pythia_plsql-0.15.0 → 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.
|
|
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
|
|
@@ -139,7 +139,7 @@ Or the same thing piecewise:
|
|
|
139
139
|
|
|
140
140
|
```bash
|
|
141
141
|
pip install pythia-plsql # the CLI (thin driver — no Oracle Instant Client needed)
|
|
142
|
-
python -m pythia install # skills + .pythia/ scaffold + Claude Code hooks + Codex AGENTS.md/MCP approver
|
|
142
|
+
python -m pythia install # skills + .pythia/ scaffold + Claude Code CLAUDE.md/hooks + Codex AGENTS.md/MCP approver
|
|
143
143
|
pythia check # fill in connections.json first, then verify
|
|
144
144
|
```
|
|
145
145
|
|
|
@@ -191,6 +191,23 @@ each agent needs you to finish by hand.
|
|
|
191
191
|
- a `deny` rule so the agent cannot forge a grant, and the MCP server
|
|
192
192
|
enabled.
|
|
193
193
|
|
|
194
|
+
It also writes the harness into **`CLAUDE.md`** — the file Claude Code
|
|
195
|
+
itself loads every session — in a marker-delimited block, leaving your own
|
|
196
|
+
text untouched. The rules hold even with `--no-hooks`, before a restart,
|
|
197
|
+
or while the hooks are untrusted; when the block is there, the
|
|
198
|
+
SessionStart hook adds only the live state instead of repeating the guide.
|
|
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
|
+
|
|
194
211
|
Skills land in `.claude/skills` (or `~/.claude/skills` with `-g`).
|
|
195
212
|
2. **Restart the Claude Code session** so the hooks and the MCP server load.
|
|
196
213
|
3. **Run `pythia doctor`.** It confirms the wiring and names every setting
|
|
@@ -125,7 +125,7 @@ Or the same thing piecewise:
|
|
|
125
125
|
|
|
126
126
|
```bash
|
|
127
127
|
pip install pythia-plsql # the CLI (thin driver — no Oracle Instant Client needed)
|
|
128
|
-
python -m pythia install # skills + .pythia/ scaffold + Claude Code hooks + Codex AGENTS.md/MCP approver
|
|
128
|
+
python -m pythia install # skills + .pythia/ scaffold + Claude Code CLAUDE.md/hooks + Codex AGENTS.md/MCP approver
|
|
129
129
|
pythia check # fill in connections.json first, then verify
|
|
130
130
|
```
|
|
131
131
|
|
|
@@ -177,6 +177,23 @@ each agent needs you to finish by hand.
|
|
|
177
177
|
- a `deny` rule so the agent cannot forge a grant, and the MCP server
|
|
178
178
|
enabled.
|
|
179
179
|
|
|
180
|
+
It also writes the harness into **`CLAUDE.md`** — the file Claude Code
|
|
181
|
+
itself loads every session — in a marker-delimited block, leaving your own
|
|
182
|
+
text untouched. The rules hold even with `--no-hooks`, before a restart,
|
|
183
|
+
or while the hooks are untrusted; when the block is there, the
|
|
184
|
+
SessionStart hook adds only the live state instead of repeating the guide.
|
|
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
|
+
|
|
180
197
|
Skills land in `.claude/skills` (or `~/.claude/skills` with `-g`).
|
|
181
198
|
2. **Restart the Claude Code session** so the hooks and the MCP server load.
|
|
182
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.
|
|
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" }
|