gcf-python 0.1.1__tar.gz → 0.1.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.
- {gcf_python-0.1.1 → gcf_python-0.1.2}/CHANGELOG.md +5 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/PKG-INFO +1 -1
- {gcf_python-0.1.1 → gcf_python-0.1.2}/pyproject.toml +1 -1
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/__init__.py +1 -1
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/generic.py +3 -2
- {gcf_python-0.1.1 → gcf_python-0.1.2}/.github/workflows/ci.yml +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/.github/workflows/publish.yml +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/.gitignore +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/LICENSE +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/README.md +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/cli.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/constants.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/decode.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/delta.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/encode.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/session.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/src/gcf/types.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/__init__.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/test_decode.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/test_delta.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/test_encode.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/test_generic.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/test_roundtrip.py +0 -0
- {gcf_python-0.1.1 → gcf_python-0.1.2}/tests/test_session.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gcf-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Python implementation of GCF (Graph Compact Format): token-optimized wire format for LLM tool responses
|
|
5
5
|
Project-URL: Homepage, https://github.com/blackwell-systems/gcf-python
|
|
6
6
|
Project-URL: Documentation, https://blackwell-systems.github.io/gcf/
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "gcf-python"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Python implementation of GCF (Graph Compact Format): token-optimized wire format for LLM tool responses"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -140,8 +140,9 @@ def _format_value(value: Any) -> str:
|
|
|
140
140
|
if isinstance(value, (int, float)):
|
|
141
141
|
return str(value)
|
|
142
142
|
s = str(value)
|
|
143
|
-
if "|" in s or "\n" in s:
|
|
144
|
-
|
|
143
|
+
if "|" in s or "\n" in s or s == "":
|
|
144
|
+
escaped = s.replace("\\", "\\\\").replace('"', '\\"')
|
|
145
|
+
return f'"{escaped}"'
|
|
145
146
|
return s
|
|
146
147
|
|
|
147
148
|
|
|
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
|
|
File without changes
|
|
File without changes
|