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.
Files changed (48) hide show
  1. erdo/__init__.py +35 -0
  2. erdo/_generated/__init__.py +18 -0
  3. erdo/_generated/actions/__init__.py +34 -0
  4. erdo/_generated/actions/analysis.py +179 -0
  5. erdo/_generated/actions/bot.py +186 -0
  6. erdo/_generated/actions/codeexec.py +199 -0
  7. erdo/_generated/actions/llm.py +148 -0
  8. erdo/_generated/actions/memory.py +463 -0
  9. erdo/_generated/actions/pdfextractor.py +97 -0
  10. erdo/_generated/actions/resource_definitions.py +296 -0
  11. erdo/_generated/actions/sqlexec.py +90 -0
  12. erdo/_generated/actions/utils.py +475 -0
  13. erdo/_generated/actions/webparser.py +119 -0
  14. erdo/_generated/actions/websearch.py +85 -0
  15. erdo/_generated/condition/__init__.py +556 -0
  16. erdo/_generated/internal.py +51 -0
  17. erdo/_generated/internal_actions.py +91 -0
  18. erdo/_generated/parameters.py +17 -0
  19. erdo/_generated/secrets.py +17 -0
  20. erdo/_generated/template_functions.py +55 -0
  21. erdo/_generated/types.py +3907 -0
  22. erdo/actions/__init__.py +40 -0
  23. erdo/bot_permissions.py +266 -0
  24. erdo/cli_entry.py +73 -0
  25. erdo/conditions/__init__.py +11 -0
  26. erdo/config/__init__.py +5 -0
  27. erdo/config/config.py +140 -0
  28. erdo/formatting.py +279 -0
  29. erdo/install_cli.py +140 -0
  30. erdo/integrations.py +131 -0
  31. erdo/invoke/__init__.py +11 -0
  32. erdo/invoke/client.py +234 -0
  33. erdo/invoke/invoke.py +555 -0
  34. erdo/state.py +376 -0
  35. erdo/sync/__init__.py +17 -0
  36. erdo/sync/client.py +95 -0
  37. erdo/sync/extractor.py +492 -0
  38. erdo/sync/sync.py +327 -0
  39. erdo/template.py +136 -0
  40. erdo/test/__init__.py +41 -0
  41. erdo/test/evaluate.py +272 -0
  42. erdo/test/runner.py +263 -0
  43. erdo/types.py +1431 -0
  44. erdo-0.1.31.dist-info/METADATA +471 -0
  45. erdo-0.1.31.dist-info/RECORD +48 -0
  46. erdo-0.1.31.dist-info/WHEEL +4 -0
  47. erdo-0.1.31.dist-info/entry_points.txt +2 -0
  48. 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