pythia-plsql 0.14.1__tar.gz → 0.14.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.14.1/scripts/pythia_plsql.egg-info → pythia_plsql-0.14.2}/PKG-INFO +1 -1
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/pyproject.toml +1 -1
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia.py +13 -5
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2/scripts/pythia_plsql.egg-info}/PKG-INFO +1 -1
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-apply/SKILL.md +1 -1
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/LICENSE +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/README.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/compile-errors.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/current-schema.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/dependencies.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/impact.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/invalid-objects.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/name-occupants.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/object-names.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/object-source.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/plscope-enabled.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/plscope-statements.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/plscope-usages.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/session-privileges.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/similar-candidates.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/queries/source.sql +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia_plsql.egg-info/SOURCES.txt +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia_plsql.egg-info/dependency_links.txt +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia_plsql.egg-info/entry_points.txt +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia_plsql.egg-info/requires.txt +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia_plsql.egg-info/top_level.txt +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/setup.cfg +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-comment/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-conventions/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-explore/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-explore/reference/data-dictionary.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-impact/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-review/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-review/reference/antipatterns.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-setup/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-skill-author/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-spec/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-write/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-write/reference/patterns.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/using-pythia/SKILL.md +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/tests/test_install.py +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/tests/test_mcp.py +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/tests/test_phase1.py +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/tests/test_phase2.py +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/tests/test_phase3.py +0 -0
- {pythia_plsql-0.14.1 → pythia_plsql-0.14.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.14.
|
|
3
|
+
Version: 0.14.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
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pythia-plsql"
|
|
7
|
-
version = "0.14.
|
|
7
|
+
version = "0.14.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" }
|
|
@@ -2286,8 +2286,11 @@ def run_apply(conn, schema, ns, file_text, origin=None):
|
|
|
2286
2286
|
"dim", en))
|
|
2287
2287
|
if not confirmed:
|
|
2288
2288
|
print("\n To apply — the developer approves, then the agent confirms:")
|
|
2289
|
-
print(" in chat:
|
|
2289
|
+
print(" in chat (Claude): the agent asks (AskUserQuestion) with the text of "
|
|
2290
2290
|
+ paint(f"{invocation()} approve --card {token}", "cyan", en))
|
|
2291
|
+
print(" on Codex: the agent calls the "
|
|
2292
|
+
+ paint("pythia_approve", "cyan", en)
|
|
2293
|
+
+ f" MCP tool with token {token}")
|
|
2291
2294
|
print(" or in a terminal: "
|
|
2292
2295
|
+ paint(f"{invocation()} approve {token}", "cyan", en))
|
|
2293
2296
|
print(" then the agent: "
|
|
@@ -2826,15 +2829,20 @@ def agents_md_block():
|
|
|
2826
2829
|
"""The pythia section for AGENTS.md — Codex's always-loaded instruction
|
|
2827
2830
|
file. Body is BRIEF_GUIDE verbatim (the same constant `guide --brief`
|
|
2828
2831
|
prints and the Claude SessionStart hook runs, so the two cannot drift),
|
|
2829
|
-
plus the
|
|
2832
|
+
plus the lines Codex needs that Claude gets from its hook: where the
|
|
2830
2833
|
approval door is, since Codex has no chat-mint. Marker-wrapped so a re-run
|
|
2831
2834
|
replaces it in place and the developer's own text is untouched."""
|
|
2832
2835
|
return (f"{AGENTS_BEGIN}\n"
|
|
2833
2836
|
"## pythia — developing PL/SQL on Oracle\n\n"
|
|
2834
2837
|
f"{BRIEF_GUIDE.rstrip()}\n\n"
|
|
2835
|
-
"
|
|
2836
|
-
"
|
|
2837
|
-
"
|
|
2838
|
+
"APPROVAL ON CODEX: your approval door is the `pythia_approve` MCP "
|
|
2839
|
+
"tool, not AskUserQuestion (Codex has none). After `pythia apply "
|
|
2840
|
+
"<file>` prints a token, call the `pythia_approve` tool with that "
|
|
2841
|
+
"token — the developer answers a select prompt, and on Approve the "
|
|
2842
|
+
"grant is minted. Then YOU run `pythia apply <file> --confirm "
|
|
2843
|
+
"<token>` yourself; do not stop at the preview or hand the "
|
|
2844
|
+
"developer a command to type. If the tool is not available "
|
|
2845
|
+
"(older Codex), relay `pythia approve <token>` for their terminal.\n"
|
|
2838
2846
|
f"{AGENTS_END}")
|
|
2839
2847
|
|
|
2840
2848
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythia-plsql
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.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
|
|
@@ -60,7 +60,7 @@ confirms a number you already knew.
|
|
|
60
60
|
in the option descriptions; the hook does not read those. Header `pythia`;
|
|
61
61
|
options exactly `Approve` / `Reject`, no "(Recommended)"; up to four tokens
|
|
62
62
|
per call. Anything but `Approve` is not approval: stop and ask what should
|
|
63
|
-
change. File changed → step 1.
|
|
63
|
+
change. File changed → step 1. On Codex: call the `pythia_approve` MCP tool with the token — its select prompt is your door — then run `--confirm` yourself. No tool/hook? Relay `pythia approve <token>` for the terminal.
|
|
64
64
|
4. **Apply** by running the exact `then the agent:` line pythia printed. Two
|
|
65
65
|
refusals are normal here, and neither is a malfunction:
|
|
66
66
|
- *"no developer approval is on file"* — the answer was not `Approve`, or
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/scripts/pythia_plsql.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythia_plsql-0.14.1 → pythia_plsql-0.14.2}/skills/pythia-explore/reference/data-dictionary.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|