erdo 0.1.4__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.
Potentially problematic release.
This version of erdo might be problematic. Click here for more details.
- erdo/__init__.py +35 -0
- erdo/_generated/__init__.py +18 -0
- erdo/_generated/actions/__init__.py +32 -0
- erdo/_generated/actions/analysis.py +67 -0
- erdo/_generated/actions/bot.py +124 -0
- erdo/_generated/actions/codeexec.py +172 -0
- erdo/_generated/actions/llm.py +104 -0
- erdo/_generated/actions/memory.py +252 -0
- erdo/_generated/actions/resource_definitions.py +194 -0
- erdo/_generated/actions/utils.py +397 -0
- erdo/_generated/actions/webparser.py +109 -0
- erdo/_generated/actions/websearch.py +75 -0
- erdo/_generated/condition/__init__.py +504 -0
- erdo/_generated/internal.py +51 -0
- erdo/_generated/internal_actions.py +79 -0
- erdo/_generated/parameters.py +17 -0
- erdo/_generated/secrets.py +17 -0
- erdo/_generated/template_functions.py +55 -0
- erdo/_generated/types.py +2514 -0
- erdo/actions/__init__.py +40 -0
- erdo/cli_entry.py +73 -0
- erdo/conditions/__init__.py +11 -0
- erdo/install_cli.py +140 -0
- erdo/integrations.py +131 -0
- erdo/py.typed +1 -0
- erdo/state.py +376 -0
- erdo/template.py +136 -0
- erdo/types.py +1142 -0
- erdo-0.1.4.dist-info/METADATA +344 -0
- erdo-0.1.4.dist-info/RECORD +33 -0
- erdo-0.1.4.dist-info/WHEEL +4 -0
- erdo-0.1.4.dist-info/entry_points.txt +2 -0
- erdo-0.1.4.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# DO NOT EDIT THIS FILE MANUALLY - it will be overwritten.
|
|
2
|
+
# Generated by: erdo gen-client
|
|
3
|
+
"""
|
|
4
|
+
Template function definitions from shared erdo-common.
|
|
5
|
+
|
|
6
|
+
This module provides the list of available Go template functions that can be used
|
|
7
|
+
in state references and template expressions.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
# Basic functions that don't require .Data and .MissingKeys
|
|
11
|
+
BASIC_TEMPLATE_FUNCTIONS = [
|
|
12
|
+
"truthy",
|
|
13
|
+
"toJSON",
|
|
14
|
+
"len",
|
|
15
|
+
"add",
|
|
16
|
+
"sub",
|
|
17
|
+
"gt",
|
|
18
|
+
"lt",
|
|
19
|
+
"mergeRaw",
|
|
20
|
+
"nilToEmptyString",
|
|
21
|
+
"truthyValue",
|
|
22
|
+
"toString",
|
|
23
|
+
"truncateString",
|
|
24
|
+
"regexReplace",
|
|
25
|
+
"noop",
|
|
26
|
+
"list",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
# Functions that require .Data and .MissingKeys parameters
|
|
30
|
+
DATA_TEMPLATE_FUNCTIONS = [
|
|
31
|
+
"get",
|
|
32
|
+
"concat",
|
|
33
|
+
"getOrOriginal",
|
|
34
|
+
"sliceEnd",
|
|
35
|
+
"sliceEndKeepFirstUserMessage",
|
|
36
|
+
"slice",
|
|
37
|
+
"extractSlice",
|
|
38
|
+
"dedupeBy",
|
|
39
|
+
"find",
|
|
40
|
+
"findByValue",
|
|
41
|
+
"getAtIndex",
|
|
42
|
+
"merge",
|
|
43
|
+
"coalescelist",
|
|
44
|
+
"addkey",
|
|
45
|
+
"removekey",
|
|
46
|
+
"mapToDict",
|
|
47
|
+
"addkeytoall",
|
|
48
|
+
"incrementCounter",
|
|
49
|
+
"incrementCounterBy",
|
|
50
|
+
"coalesce",
|
|
51
|
+
"filter",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
# All template functions combined
|
|
55
|
+
ALL_TEMPLATE_FUNCTIONS = BASIC_TEMPLATE_FUNCTIONS + DATA_TEMPLATE_FUNCTIONS
|