pactkit-codex 3.1.0__tar.gz → 4.0.0__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.
- {pactkit_codex-3.1.0/src/pactkit_codex.egg-info → pactkit_codex-4.0.0}/PKG-INFO +2 -2
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/pyproject.toml +2 -2
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex/deployer.py +10 -12
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0/src/pactkit_codex.egg-info}/PKG-INFO +2 -2
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex.egg-info/requires.txt +1 -1
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/LICENSE +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/README.md +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/setup.cfg +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex/__init__.py +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex/declarations.py +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex/enforcement.py +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex.egg-info/SOURCES.txt +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex.egg-info/dependency_links.txt +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex.egg-info/entry_points.txt +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/src/pactkit_codex.egg-info/top_level.txt +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/tests/test_capability_contract.py +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/tests/test_host_body_snapshot.py +0 -0
- {pactkit_codex-3.1.0 → pactkit_codex-4.0.0}/tests/test_profile_contract.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pactkit-codex
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: PactKit adapter for OpenAI Codex CLI
|
|
5
5
|
Author: Slim
|
|
6
6
|
License: MIT
|
|
@@ -21,7 +21,7 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
21
21
|
Requires-Python: >=3.10
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: pactkit<
|
|
24
|
+
Requires-Dist: pactkit<4.1.0,>=4.0.0
|
|
25
25
|
Requires-Dist: tomli>=1.1.0; python_version < "3.11"
|
|
26
26
|
Dynamic: license-file
|
|
27
27
|
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pactkit-codex"
|
|
7
|
-
version = "
|
|
7
|
+
version = "4.0.0"
|
|
8
8
|
description = "PactKit adapter for OpenAI Codex CLI"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
11
11
|
requires-python = ">=3.10"
|
|
12
12
|
dependencies = [
|
|
13
|
-
"pactkit>=
|
|
13
|
+
"pactkit>=4.0.0,<4.1.0",
|
|
14
14
|
"tomli>=1.1.0; python_version < '3.11'",
|
|
15
15
|
]
|
|
16
16
|
|
|
@@ -45,7 +45,11 @@ from pactkit.generators.deployer import (
|
|
|
45
45
|
_cleanup_legacy_portable_methods,
|
|
46
46
|
_enforce_deploy_integrity,
|
|
47
47
|
)
|
|
48
|
-
from pactkit.generators.spi import
|
|
48
|
+
from pactkit.generators.spi import (
|
|
49
|
+
generate_config_if_missing,
|
|
50
|
+
render_prompt,
|
|
51
|
+
render_skill_md,
|
|
52
|
+
)
|
|
49
53
|
from pactkit.prompts.guides import GUIDES_FILES
|
|
50
54
|
from pactkit.prompts.rules import (
|
|
51
55
|
COMMAND_CONDITIONAL_RULES_MAP,
|
|
@@ -1027,17 +1031,11 @@ class CodexDeployer(DeployerBase):
|
|
|
1027
1031
|
if not local_md_path.exists():
|
|
1028
1032
|
atomic_write(local_md_path, _CODEX_LOCAL_AGENTS_MD)
|
|
1029
1033
|
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
f"stack: {stack}\n"
|
|
1036
|
-
f"version: 0.0.1\n"
|
|
1037
|
-
f"root: .\n"
|
|
1038
|
-
f'developer: ""\n'
|
|
1039
|
-
)
|
|
1040
|
-
atomic_write(yaml_path, yaml_content)
|
|
1034
|
+
# SPEC-4.0-22 Step 8 R-②-1: this adapter declares WHERE its config
|
|
1035
|
+
# lives and WHETHER it deploys; Core's canonical format-aware generator
|
|
1036
|
+
# owns the content. The template this replaced wrote `stack: unknown`,
|
|
1037
|
+
# a value Core's own validator rejects — see the classification row.
|
|
1038
|
+
generate_config_if_missing(format="codex", project_root=project_root)
|
|
1041
1039
|
|
|
1042
1040
|
@staticmethod
|
|
1043
1041
|
def deploy_codex_skills(skills_dir, enabled_skills, profile):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pactkit-codex
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: PactKit adapter for OpenAI Codex CLI
|
|
5
5
|
Author: Slim
|
|
6
6
|
License: MIT
|
|
@@ -21,7 +21,7 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
21
21
|
Requires-Python: >=3.10
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: pactkit<
|
|
24
|
+
Requires-Dist: pactkit<4.1.0,>=4.0.0
|
|
25
25
|
Requires-Dist: tomli>=1.1.0; python_version < "3.11"
|
|
26
26
|
Dynamic: license-file
|
|
27
27
|
|
|
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
|