py-opencode-wrapper 0.1.4__tar.gz → 0.1.5__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.
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/PKG-INFO +2 -2
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/opencode_wrapper/config.py +2 -2
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/PKG-INFO +2 -2
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/pyproject.toml +2 -2
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/README.md +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/opencode_wrapper/__init__.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/opencode_wrapper/client.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/opencode_wrapper/errors.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/opencode_wrapper/events.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/SOURCES.txt +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/dependency_links.txt +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/requires.txt +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/top_level.txt +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/setup.cfg +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_client_async.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_config_instructions.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_config_permission.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_event_parser.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_external_directory.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_instructions.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_multi_agent_weather.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_opencode.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_parallel.py +0 -0
- {py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_run_result_fuzzy_text.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py-opencode-wrapper
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: Async Python wrapper for OpenCode CLI (opencode run --format json)
|
|
5
5
|
Project-URL: Homepage, https://github.com/idailylife/oc_py_wrapper
|
|
6
6
|
Project-URL: Repository, https://github.com/idailylife/oc_py_wrapper
|
|
7
7
|
Project-URL: Issues, https://github.com/idailylife/oc_py_wrapper/issues
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.8
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
Provides-Extra: dev
|
|
11
11
|
Requires-Dist: pytest>=8; extra == "dev"
|
|
@@ -5,13 +5,13 @@ from __future__ import annotations
|
|
|
5
5
|
import json
|
|
6
6
|
from dataclasses import dataclass
|
|
7
7
|
from pathlib import Path
|
|
8
|
-
from typing import Any, Mapping
|
|
8
|
+
from typing import Any, Dict, Mapping
|
|
9
9
|
|
|
10
10
|
# Permission values accepted by OpenCode
|
|
11
11
|
PermissionAction = str # "allow" | "ask" | "deny"
|
|
12
12
|
|
|
13
13
|
# Nested permission maps: tool name -> action or pattern -> action
|
|
14
|
-
PermissionMap =
|
|
14
|
+
PermissionMap = Dict[str, Any]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
def _deep_merge(base: dict[str, Any], override: Mapping[str, Any]) -> dict[str, Any]:
|
{py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/PKG-INFO
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py-opencode-wrapper
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: Async Python wrapper for OpenCode CLI (opencode run --format json)
|
|
5
5
|
Project-URL: Homepage, https://github.com/idailylife/oc_py_wrapper
|
|
6
6
|
Project-URL: Repository, https://github.com/idailylife/oc_py_wrapper
|
|
7
7
|
Project-URL: Issues, https://github.com/idailylife/oc_py_wrapper/issues
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.8
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
Provides-Extra: dev
|
|
11
11
|
Requires-Dist: pytest>=8; extra == "dev"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "py-opencode-wrapper"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.5"
|
|
4
4
|
description = "Async Python wrapper for OpenCode CLI (opencode run --format json)"
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.8"
|
|
7
7
|
dependencies = []
|
|
8
8
|
|
|
9
9
|
[project.optional-dependencies]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/requires.txt
RENAMED
|
File without changes
|
{py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/py_opencode_wrapper.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_external_directory.py
RENAMED
|
File without changes
|
{py_opencode_wrapper-0.1.4 → py_opencode_wrapper-0.1.5}/tests/test_integration_instructions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|