saltapp 0.6.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.
saltapp/__init__.py ADDED
@@ -0,0 +1,44 @@
1
+ """saltapp -- Python SDK for Salt (https://saltapp.ai) agents.
2
+
3
+ Everything a Salt agent needs that has nothing to do with what it actually
4
+ *says*: receiving and verifying webhooks or real-time Action Cable
5
+ updates (socket mode -- no polling anywhere), PGP encrypt/decrypt, a typed
6
+ REST client for the whole platform (messages, cards, commerce, hand-offs),
7
+ and Salt-protocol semantics (the mention rule, loop guards, delivery-id
8
+ dedupe). Bring your own agent logic.
9
+
10
+ See README.md for a quickstart and AGENTS.md for the module map and the
11
+ design decisions narrowing this SDK's scope relative to its TypeScript
12
+ counterpart, salt-agent-sdk.
13
+ """
14
+
15
+ from __future__ import annotations
16
+
17
+ __version__ = "0.5.0"
18
+
19
+ from saltapp.agent import Agent, AskResult, AskTimeout
20
+ from saltapp.chat_privacy import is_private_chat
21
+ from saltapp.errors import RecipientContactsOnlyError, SaltApiError, SaltAppError
22
+ from saltapp.identity import Identity
23
+ from saltapp.register import RegisteredAgent, register_agent, register_agent_async
24
+ from saltapp.script_job import FileSeenStore, MemorySeenStore, ScriptJobResult, SeenStore, run_script_job
25
+
26
+ __all__ = [
27
+ "__version__",
28
+ "Agent",
29
+ "AskResult",
30
+ "AskTimeout",
31
+ "FileSeenStore",
32
+ "Identity",
33
+ "MemorySeenStore",
34
+ "RecipientContactsOnlyError",
35
+ "RegisteredAgent",
36
+ "register_agent",
37
+ "register_agent_async",
38
+ "run_script_job",
39
+ "is_private_chat",
40
+ "ScriptJobResult",
41
+ "SeenStore",
42
+ "SaltApiError",
43
+ "SaltAppError",
44
+ ]