aliax 1.0.0__py3-none-any.whl
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.
- aliax/__init__.py +22 -0
- aliax/_version.py +13 -0
- aliax/client.py +3581 -0
- aliax/dom-mapper.min.js +2 -0
- aliax/prompts.py +352 -0
- aliax/py.typed +0 -0
- aliax-1.0.0.dist-info/METADATA +265 -0
- aliax-1.0.0.dist-info/RECORD +11 -0
- aliax-1.0.0.dist-info/WHEEL +5 -0
- aliax-1.0.0.dist-info/licenses/LICENSE +21 -0
- aliax-1.0.0.dist-info/top_level.txt +1 -0
aliax/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from ._version import __version__
|
|
2
|
+
from .client import (
|
|
3
|
+
Aliax,
|
|
4
|
+
AliaxError,
|
|
5
|
+
AliaxInvalidKeyError,
|
|
6
|
+
AliaxOutOfCreditsError,
|
|
7
|
+
AttemptedAction,
|
|
8
|
+
ParseContext,
|
|
9
|
+
)
|
|
10
|
+
from .prompts import ALIAX_SYSTEM_INSTRUCTIONS, SYSTEM_INSTRUCTIONS
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"__version__",
|
|
14
|
+
"Aliax",
|
|
15
|
+
"AliaxError",
|
|
16
|
+
"AliaxInvalidKeyError",
|
|
17
|
+
"AliaxOutOfCreditsError",
|
|
18
|
+
"AttemptedAction",
|
|
19
|
+
"ParseContext",
|
|
20
|
+
"SYSTEM_INSTRUCTIONS",
|
|
21
|
+
"ALIAX_SYSTEM_INSTRUCTIONS",
|
|
22
|
+
]
|
aliax/_version.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Single source of truth for the SDK version.
|
|
2
|
+
|
|
3
|
+
Bumped manually on each PyPI release. Read by:
|
|
4
|
+
- aliax.client.Aliax (sent as `sdk_version` form field on every capture
|
|
5
|
+
and in the /v1/telemetry pings emitted from parse_ui / execute)
|
|
6
|
+
- pyproject.toml (via [tool.setuptools.dynamic] — so pip metadata matches)
|
|
7
|
+
- the background version-ping that warns users on stale installs
|
|
8
|
+
|
|
9
|
+
Bump the Cloudflare Worker's LATEST_SDK_VERSION wrangler var in the same
|
|
10
|
+
release so existing installs see the upgrade nag.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
__version__ = "1.0.0"
|