erdo 0.1.31__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.
- erdo/__init__.py +35 -0
- erdo/_generated/__init__.py +18 -0
- erdo/_generated/actions/__init__.py +34 -0
- erdo/_generated/actions/analysis.py +179 -0
- erdo/_generated/actions/bot.py +186 -0
- erdo/_generated/actions/codeexec.py +199 -0
- erdo/_generated/actions/llm.py +148 -0
- erdo/_generated/actions/memory.py +463 -0
- erdo/_generated/actions/pdfextractor.py +97 -0
- erdo/_generated/actions/resource_definitions.py +296 -0
- erdo/_generated/actions/sqlexec.py +90 -0
- erdo/_generated/actions/utils.py +475 -0
- erdo/_generated/actions/webparser.py +119 -0
- erdo/_generated/actions/websearch.py +85 -0
- erdo/_generated/condition/__init__.py +556 -0
- erdo/_generated/internal.py +51 -0
- erdo/_generated/internal_actions.py +91 -0
- erdo/_generated/parameters.py +17 -0
- erdo/_generated/secrets.py +17 -0
- erdo/_generated/template_functions.py +55 -0
- erdo/_generated/types.py +3907 -0
- erdo/actions/__init__.py +40 -0
- erdo/bot_permissions.py +266 -0
- erdo/cli_entry.py +73 -0
- erdo/conditions/__init__.py +11 -0
- erdo/config/__init__.py +5 -0
- erdo/config/config.py +140 -0
- erdo/formatting.py +279 -0
- erdo/install_cli.py +140 -0
- erdo/integrations.py +131 -0
- erdo/invoke/__init__.py +11 -0
- erdo/invoke/client.py +234 -0
- erdo/invoke/invoke.py +555 -0
- erdo/state.py +376 -0
- erdo/sync/__init__.py +17 -0
- erdo/sync/client.py +95 -0
- erdo/sync/extractor.py +492 -0
- erdo/sync/sync.py +327 -0
- erdo/template.py +136 -0
- erdo/test/__init__.py +41 -0
- erdo/test/evaluate.py +272 -0
- erdo/test/runner.py +263 -0
- erdo/types.py +1431 -0
- erdo-0.1.31.dist-info/METADATA +471 -0
- erdo-0.1.31.dist-info/RECORD +48 -0
- erdo-0.1.31.dist-info/WHEEL +4 -0
- erdo-0.1.31.dist-info/entry_points.txt +2 -0
- erdo-0.1.31.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# DO NOT EDIT THIS FILE MANUALLY - it will be overwritten.
|
|
2
|
+
# Generated by: erdo gen-client
|
|
3
|
+
"""
|
|
4
|
+
Integration parameters type definitions.
|
|
5
|
+
|
|
6
|
+
Type-safe access to integration parameters via PARAMETERS['integration_key']['field_name']
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from typing import TYPE_CHECKING, TypedDict
|
|
10
|
+
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
pass
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# Master type dictionary for IDE autocompletion
|
|
16
|
+
class ParametersDict(TypedDict):
|
|
17
|
+
"""Type-safe access to integration parameters: PARAMETERS['integration_key']"""
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# DO NOT EDIT THIS FILE MANUALLY - it will be overwritten.
|
|
2
|
+
# Generated by: erdo gen-client
|
|
3
|
+
"""
|
|
4
|
+
Integration secrets type definitions.
|
|
5
|
+
|
|
6
|
+
Type-safe access to integration secrets via SECRETS['integration_key']['field_name']
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from typing import TYPE_CHECKING, TypedDict
|
|
10
|
+
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
pass
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# Master type dictionary for IDE autocompletion
|
|
16
|
+
class SecretsDict(TypedDict):
|
|
17
|
+
"""Type-safe access to integration secrets: SECRETS['integration_key']"""
|
|
@@ -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
|