markdown-flow 0.2.15__tar.gz → 0.2.16__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.
Potentially problematic release.
This version of markdown-flow might be problematic. Click here for more details.
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/PKG-INFO +1 -1
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/__init__.py +1 -1
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/constants.py +3 -3
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow.egg-info/PKG-INFO +1 -1
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/LICENSE +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/README.md +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/core.py +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/enums.py +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/exceptions.py +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/llm.py +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/models.py +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow/utils.py +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow.egg-info/SOURCES.txt +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow.egg-info/dependency_links.txt +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/markdown_flow.egg-info/top_level.txt +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/pyproject.toml +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/setup.cfg +0 -0
- {markdown_flow-0.2.15 → markdown_flow-0.2.16}/tests/test_dynamic_interaction.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown-flow
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.16
|
|
4
4
|
Summary: An agent library designed to parse and process MarkdownFlow documents
|
|
5
5
|
Project-URL: Homepage, https://github.com/ai-shifu/markdown-flow-agent-py
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/ai-shifu/markdown-flow-agent-py/issues
|
|
@@ -9,7 +9,7 @@ import re
|
|
|
9
9
|
|
|
10
10
|
# Pre-compiled regex patterns
|
|
11
11
|
COMPILED_PERCENT_VARIABLE_REGEX = re.compile(
|
|
12
|
-
r"%\{\{([
|
|
12
|
+
r"%\{\{([\w]+)\}\}" # Match %{{variable}} format for preserved variables
|
|
13
13
|
)
|
|
14
14
|
|
|
15
15
|
# Interaction regex base patterns
|
|
@@ -20,11 +20,11 @@ INTERACTION_PATTERN_SPLIT = r"((?<!\\)\?\[[^\]]*\](?!\())" # Pattern for re.spl
|
|
|
20
20
|
# InteractionParser specific regex patterns
|
|
21
21
|
COMPILED_INTERACTION_REGEX = re.compile(INTERACTION_PATTERN) # Main interaction pattern matcher
|
|
22
22
|
COMPILED_LAYER1_INTERACTION_REGEX = COMPILED_INTERACTION_REGEX # Layer 1: Basic format validation (alias)
|
|
23
|
-
COMPILED_LAYER2_VARIABLE_REGEX = re.compile(r"^%\{\{([
|
|
23
|
+
COMPILED_LAYER2_VARIABLE_REGEX = re.compile(r"^%\{\{([\w]+)\}\}(.*)$") # Layer 2: Variable detection
|
|
24
24
|
COMPILED_LAYER3_ELLIPSIS_REGEX = re.compile(r"^(.*)\.\.\.(.*)") # Layer 3: Split content around ellipsis
|
|
25
25
|
COMPILED_LAYER3_BUTTON_VALUE_REGEX = re.compile(r"^(.+)//(.+)$") # Layer 3: Parse Button//value format
|
|
26
26
|
COMPILED_BRACE_VARIABLE_REGEX = re.compile(
|
|
27
|
-
r"(?<!%)\{\{([
|
|
27
|
+
r"(?<!%)\{\{([\w]+)\}\}" # Match {{variable}} format for replaceable variables
|
|
28
28
|
)
|
|
29
29
|
COMPILED_INTERACTION_CONTENT_RECONSTRUCT_REGEX = re.compile(
|
|
30
30
|
r"(\?\[[^]]*\.\.\.)([^]]*\])" # Reconstruct interaction content: prefix + question + suffix
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown-flow
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.16
|
|
4
4
|
Summary: An agent library designed to parse and process MarkdownFlow documents
|
|
5
5
|
Project-URL: Homepage, https://github.com/ai-shifu/markdown-flow-agent-py
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/ai-shifu/markdown-flow-agent-py/issues
|
|
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
|