ragnarbot-ai 0.1.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.
Files changed (56) hide show
  1. ragnarbot/__init__.py +6 -0
  2. ragnarbot/__main__.py +8 -0
  3. ragnarbot/agent/__init__.py +8 -0
  4. ragnarbot/agent/context.py +223 -0
  5. ragnarbot/agent/loop.py +365 -0
  6. ragnarbot/agent/memory.py +109 -0
  7. ragnarbot/agent/skills.py +228 -0
  8. ragnarbot/agent/subagent.py +241 -0
  9. ragnarbot/agent/tools/__init__.py +6 -0
  10. ragnarbot/agent/tools/base.py +102 -0
  11. ragnarbot/agent/tools/cron.py +114 -0
  12. ragnarbot/agent/tools/filesystem.py +191 -0
  13. ragnarbot/agent/tools/message.py +86 -0
  14. ragnarbot/agent/tools/registry.py +73 -0
  15. ragnarbot/agent/tools/shell.py +141 -0
  16. ragnarbot/agent/tools/spawn.py +65 -0
  17. ragnarbot/agent/tools/web.py +163 -0
  18. ragnarbot/bus/__init__.py +6 -0
  19. ragnarbot/bus/events.py +37 -0
  20. ragnarbot/bus/queue.py +81 -0
  21. ragnarbot/channels/__init__.py +6 -0
  22. ragnarbot/channels/base.py +121 -0
  23. ragnarbot/channels/manager.py +129 -0
  24. ragnarbot/channels/telegram.py +302 -0
  25. ragnarbot/cli/__init__.py +1 -0
  26. ragnarbot/cli/commands.py +568 -0
  27. ragnarbot/config/__init__.py +6 -0
  28. ragnarbot/config/loader.py +95 -0
  29. ragnarbot/config/schema.py +114 -0
  30. ragnarbot/cron/__init__.py +6 -0
  31. ragnarbot/cron/service.py +346 -0
  32. ragnarbot/cron/types.py +59 -0
  33. ragnarbot/heartbeat/__init__.py +5 -0
  34. ragnarbot/heartbeat/service.py +130 -0
  35. ragnarbot/providers/__init__.py +6 -0
  36. ragnarbot/providers/base.py +69 -0
  37. ragnarbot/providers/litellm_provider.py +135 -0
  38. ragnarbot/providers/transcription.py +67 -0
  39. ragnarbot/session/__init__.py +5 -0
  40. ragnarbot/session/manager.py +202 -0
  41. ragnarbot/skills/README.md +24 -0
  42. ragnarbot/skills/cron/SKILL.md +40 -0
  43. ragnarbot/skills/github/SKILL.md +48 -0
  44. ragnarbot/skills/skill-creator/SKILL.md +371 -0
  45. ragnarbot/skills/summarize/SKILL.md +67 -0
  46. ragnarbot/skills/tmux/SKILL.md +121 -0
  47. ragnarbot/skills/tmux/scripts/find-sessions.sh +112 -0
  48. ragnarbot/skills/tmux/scripts/wait-for-text.sh +83 -0
  49. ragnarbot/skills/weather/SKILL.md +49 -0
  50. ragnarbot/utils/__init__.py +5 -0
  51. ragnarbot/utils/helpers.py +91 -0
  52. ragnarbot_ai-0.1.0.dist-info/METADATA +28 -0
  53. ragnarbot_ai-0.1.0.dist-info/RECORD +56 -0
  54. ragnarbot_ai-0.1.0.dist-info/WHEEL +4 -0
  55. ragnarbot_ai-0.1.0.dist-info/entry_points.txt +2 -0
  56. ragnarbot_ai-0.1.0.dist-info/licenses/LICENSE +22 -0
@@ -0,0 +1,83 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ usage() {
5
+ cat <<'USAGE'
6
+ Usage: wait-for-text.sh -t target -p pattern [options]
7
+
8
+ Poll a tmux pane for text and exit when found.
9
+
10
+ Options:
11
+ -t, --target tmux target (session:window.pane), required
12
+ -p, --pattern regex pattern to look for, required
13
+ -F, --fixed treat pattern as a fixed string (grep -F)
14
+ -T, --timeout seconds to wait (integer, default: 15)
15
+ -i, --interval poll interval in seconds (default: 0.5)
16
+ -l, --lines number of history lines to inspect (integer, default: 1000)
17
+ -h, --help show this help
18
+ USAGE
19
+ }
20
+
21
+ target=""
22
+ pattern=""
23
+ grep_flag="-E"
24
+ timeout=15
25
+ interval=0.5
26
+ lines=1000
27
+
28
+ while [[ $# -gt 0 ]]; do
29
+ case "$1" in
30
+ -t|--target) target="${2-}"; shift 2 ;;
31
+ -p|--pattern) pattern="${2-}"; shift 2 ;;
32
+ -F|--fixed) grep_flag="-F"; shift ;;
33
+ -T|--timeout) timeout="${2-}"; shift 2 ;;
34
+ -i|--interval) interval="${2-}"; shift 2 ;;
35
+ -l|--lines) lines="${2-}"; shift 2 ;;
36
+ -h|--help) usage; exit 0 ;;
37
+ *) echo "Unknown option: $1" >&2; usage; exit 1 ;;
38
+ esac
39
+ done
40
+
41
+ if [[ -z "$target" || -z "$pattern" ]]; then
42
+ echo "target and pattern are required" >&2
43
+ usage
44
+ exit 1
45
+ fi
46
+
47
+ if ! [[ "$timeout" =~ ^[0-9]+$ ]]; then
48
+ echo "timeout must be an integer number of seconds" >&2
49
+ exit 1
50
+ fi
51
+
52
+ if ! [[ "$lines" =~ ^[0-9]+$ ]]; then
53
+ echo "lines must be an integer" >&2
54
+ exit 1
55
+ fi
56
+
57
+ if ! command -v tmux >/dev/null 2>&1; then
58
+ echo "tmux not found in PATH" >&2
59
+ exit 1
60
+ fi
61
+
62
+ # End time in epoch seconds (integer, good enough for polling)
63
+ start_epoch=$(date +%s)
64
+ deadline=$((start_epoch + timeout))
65
+
66
+ while true; do
67
+ # -J joins wrapped lines, -S uses negative index to read last N lines
68
+ pane_text="$(tmux capture-pane -p -J -t "$target" -S "-${lines}" 2>/dev/null || true)"
69
+
70
+ if printf '%s\n' "$pane_text" | grep $grep_flag -- "$pattern" >/dev/null 2>&1; then
71
+ exit 0
72
+ fi
73
+
74
+ now=$(date +%s)
75
+ if (( now >= deadline )); then
76
+ echo "Timed out after ${timeout}s waiting for pattern: $pattern" >&2
77
+ echo "Last ${lines} lines from $target:" >&2
78
+ printf '%s\n' "$pane_text" >&2
79
+ exit 1
80
+ fi
81
+
82
+ sleep "$interval"
83
+ done
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: weather
3
+ description: Get current weather and forecasts (no API key required).
4
+ homepage: https://wttr.in/:help
5
+ metadata: {"ragnarbot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
6
+ ---
7
+
8
+ # Weather
9
+
10
+ Two free services, no API keys needed.
11
+
12
+ ## wttr.in (primary)
13
+
14
+ Quick one-liner:
15
+ ```bash
16
+ curl -s "wttr.in/London?format=3"
17
+ # Output: London: ⛅️ +8°C
18
+ ```
19
+
20
+ Compact format:
21
+ ```bash
22
+ curl -s "wttr.in/London?format=%l:+%c+%t+%h+%w"
23
+ # Output: London: ⛅️ +8°C 71% ↙5km/h
24
+ ```
25
+
26
+ Full forecast:
27
+ ```bash
28
+ curl -s "wttr.in/London?T"
29
+ ```
30
+
31
+ Format codes: `%c` condition · `%t` temp · `%h` humidity · `%w` wind · `%l` location · `%m` moon
32
+
33
+ Tips:
34
+ - URL-encode spaces: `wttr.in/New+York`
35
+ - Airport codes: `wttr.in/JFK`
36
+ - Units: `?m` (metric) `?u` (USCS)
37
+ - Today only: `?1` · Current only: `?0`
38
+ - PNG: `curl -s "wttr.in/Berlin.png" -o /tmp/weather.png`
39
+
40
+ ## Open-Meteo (fallback, JSON)
41
+
42
+ Free, no key, good for programmatic use:
43
+ ```bash
44
+ curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true"
45
+ ```
46
+
47
+ Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.
48
+
49
+ Docs: https://open-meteo.com/en/docs
@@ -0,0 +1,5 @@
1
+ """Utility functions for ragnarbot."""
2
+
3
+ from ragnarbot.utils.helpers import ensure_dir, get_workspace_path, get_data_path
4
+
5
+ __all__ = ["ensure_dir", "get_workspace_path", "get_data_path"]
@@ -0,0 +1,91 @@
1
+ """Utility functions for ragnarbot."""
2
+
3
+ from pathlib import Path
4
+ from datetime import datetime
5
+
6
+
7
+ def ensure_dir(path: Path) -> Path:
8
+ """Ensure a directory exists, creating it if necessary."""
9
+ path.mkdir(parents=True, exist_ok=True)
10
+ return path
11
+
12
+
13
+ def get_data_path() -> Path:
14
+ """Get the ragnarbot data directory (~/.ragnarbot)."""
15
+ return ensure_dir(Path.home() / ".ragnarbot")
16
+
17
+
18
+ def get_workspace_path(workspace: str | None = None) -> Path:
19
+ """
20
+ Get the workspace path.
21
+
22
+ Args:
23
+ workspace: Optional workspace path. Defaults to ~/.ragnarbot/workspace.
24
+
25
+ Returns:
26
+ Expanded and ensured workspace path.
27
+ """
28
+ if workspace:
29
+ path = Path(workspace).expanduser()
30
+ else:
31
+ path = Path.home() / ".ragnarbot" / "workspace"
32
+ return ensure_dir(path)
33
+
34
+
35
+ def get_sessions_path() -> Path:
36
+ """Get the sessions storage directory."""
37
+ return ensure_dir(get_data_path() / "sessions")
38
+
39
+
40
+ def get_memory_path(workspace: Path | None = None) -> Path:
41
+ """Get the memory directory within the workspace."""
42
+ ws = workspace or get_workspace_path()
43
+ return ensure_dir(ws / "memory")
44
+
45
+
46
+ def get_skills_path(workspace: Path | None = None) -> Path:
47
+ """Get the skills directory within the workspace."""
48
+ ws = workspace or get_workspace_path()
49
+ return ensure_dir(ws / "skills")
50
+
51
+
52
+ def today_date() -> str:
53
+ """Get today's date in YYYY-MM-DD format."""
54
+ return datetime.now().strftime("%Y-%m-%d")
55
+
56
+
57
+ def timestamp() -> str:
58
+ """Get current timestamp in ISO format."""
59
+ return datetime.now().isoformat()
60
+
61
+
62
+ def truncate_string(s: str, max_len: int = 100, suffix: str = "...") -> str:
63
+ """Truncate a string to max length, adding suffix if truncated."""
64
+ if len(s) <= max_len:
65
+ return s
66
+ return s[: max_len - len(suffix)] + suffix
67
+
68
+
69
+ def safe_filename(name: str) -> str:
70
+ """Convert a string to a safe filename."""
71
+ # Replace unsafe characters
72
+ unsafe = '<>:"/\\|?*'
73
+ for char in unsafe:
74
+ name = name.replace(char, "_")
75
+ return name.strip()
76
+
77
+
78
+ def parse_session_key(key: str) -> tuple[str, str]:
79
+ """
80
+ Parse a session key into channel and chat_id.
81
+
82
+ Args:
83
+ key: Session key in format "channel:chat_id"
84
+
85
+ Returns:
86
+ Tuple of (channel, chat_id)
87
+ """
88
+ parts = key.split(":", 1)
89
+ if len(parts) != 2:
90
+ raise ValueError(f"Invalid session key: {key}")
91
+ return parts[0], parts[1]
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: ragnarbot-ai
3
+ Version: 0.1.0
4
+ Summary: A lightweight personal AI assistant framework
5
+ Author: BlckLvls
6
+ License: MIT
7
+ License-File: LICENSE
8
+ Keywords: agent,ai,chatbot
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Requires-Python: >=3.11
15
+ Requires-Dist: croniter>=2.0.0
16
+ Requires-Dist: httpx>=0.25.0
17
+ Requires-Dist: litellm>=1.0.0
18
+ Requires-Dist: loguru>=0.7.0
19
+ Requires-Dist: pydantic-settings>=2.0.0
20
+ Requires-Dist: pydantic>=2.0.0
21
+ Requires-Dist: python-telegram-bot>=21.0
22
+ Requires-Dist: readability-lxml>=0.8.0
23
+ Requires-Dist: rich>=13.0.0
24
+ Requires-Dist: typer>=0.9.0
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
27
+ Requires-Dist: pytest>=7.0.0; extra == 'dev'
28
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
@@ -0,0 +1,56 @@
1
+ ragnarbot/__init__.py,sha256=OUT1tDZljafxn5kD-Ez2nHhkI-aHTphw7xGJYm9rB_Q,94
2
+ ragnarbot/__main__.py,sha256=2TZT_5uKLSr_Olx1L_4NnQZrNLS8QfP3fyI0suAAxnQ,153
3
+ ragnarbot/agent/__init__.py,sha256=n6FWiCbesoGOv0NCrC2GtvgOgG08lFvFBDDtyXk5luM,289
4
+ ragnarbot/agent/context.py,sha256=HrKoD-_H9L-pI7qLWpglOkV_UaUgpR1-L_795IMBPJg,7524
5
+ ragnarbot/agent/loop.py,sha256=tJo2Wx1Ugo1i7HVTcBs6EhXEd-x_MntDpm1MqLWsqyo,13172
6
+ ragnarbot/agent/memory.py,sha256=vPXLsTPjdP_NzD9a_KsAvZ4Ou4QJ9UsxP11mSpSCn1U,3441
7
+ ragnarbot/agent/skills.py,sha256=WMTf7PjAObGLsbxI2Di6Tmj-PSSb_B3l89OFrVkfGTA,8476
8
+ ragnarbot/agent/subagent.py,sha256=oTW2V6pvPC711jaFeACwAFtA6VreHv8BgL03ZgIBLVk,8747
9
+ ragnarbot/agent/tools/__init__.py,sha256=9TY0QmbwRMD7FFLUgXxMrt4oOypKtbey-0nDjv9yJyk,163
10
+ ragnarbot/agent/tools/base.py,sha256=1WHEsaXd4K2w4cZp8zWIBDKPPwNIRmWQe1RXF_cZ1E0,3665
11
+ ragnarbot/agent/tools/cron.py,sha256=fydGyYXkqKX5etLVR2g4wT-YtaknOaJGN-B99E-jmRs,3841
12
+ ragnarbot/agent/tools/filesystem.py,sha256=-GSUAb6FokS4jv15TYnr0V1oc4nzuy6Wiea3y3iecOw,6097
13
+ ragnarbot/agent/tools/message.py,sha256=1OYJswx7zoMcSrfiNJM6FqpYylFX6mNF-WNzc-nzQu0,2719
14
+ ragnarbot/agent/tools/registry.py,sha256=u-jL70bN9X2w4YVrmF0JoS8j5FAAFnuoh783TEJGeKY,2096
15
+ ragnarbot/agent/tools/shell.py,sha256=FpKXpQINtzp-YxGUI0iZRIn96kmJyneOeAWalKa4KWo,4999
16
+ ragnarbot/agent/tools/spawn.py,sha256=toLNP_fXISmQivXR8G7sUGHNRmkoZDDS1US1u16ob7Y,2056
17
+ ragnarbot/agent/tools/web.py,sha256=j_DHJ1E_WX-lK6RkCgFk-FAEFkLxLegwg_UKYiDwwXE,6379
18
+ ragnarbot/bus/__init__.py,sha256=uuPH31J1Fe8WU1ns8FHK-swj-cW2_fDGVhqXgp0CeXU,240
19
+ ragnarbot/bus/events.py,sha256=rxV-th0uqJ5-SlXjvXusVOQvzngTTz8ZX3D8iGJA-nc,1019
20
+ ragnarbot/bus/queue.py,sha256=k19dexFfAnT78MzdNPD9LzUERty6ZoUlvtsYD0T-RBo,2931
21
+ ragnarbot/channels/__init__.py,sha256=pv-NQVou_1GVpDL4wCu1t1KHkg3zBvNFQRbCq130qG8,201
22
+ ragnarbot/channels/base.py,sha256=_K1t3ZCTkx73cx1iUUfbo7TykShZ_PMjKlFygQX5GR8,3350
23
+ ragnarbot/channels/manager.py,sha256=YOAmfhkb5nzryo-8sn3LDy_d_SaDkusQLMTm0F3Dfb4,4294
24
+ ragnarbot/channels/telegram.py,sha256=fY3f5zZz5FBlyn9-9Sq-Wnmt8ghlB7nnaXO6FaJwru8,11328
25
+ ragnarbot/cli/__init__.py,sha256=rl-hhW3zBjN9Po_9DVuhd-YxQxE6o7PaTSkvO1Rjxvo,32
26
+ ragnarbot/cli/commands.py,sha256=U3rjq0XD71nztLEXsBeHE1DOazUXKV5kqcog5UGw1Y4,17689
27
+ ragnarbot/config/__init__.py,sha256=5_p4XkzKsu3HQyrP7I9Du3_h_L1Wmq_j2oA9fTGU-LE,207
28
+ ragnarbot/config/loader.py,sha256=-TqVy1b8VR82_ksgAIUXg-p6GTmqi8xqG8ax3cf1pJE,2698
29
+ ragnarbot/config/schema.py,sha256=WNlQzsojEwe6U9uKLNnmKB3ynkIE-6BnXOso_FS4t34,3755
30
+ ragnarbot/cron/__init__.py,sha256=VRDCTQb_jPSJKqklQ06IfFIK0Mye5Oqgf1JQ5cAaiVA,203
31
+ ragnarbot/cron/service.py,sha256=6K6rmuhjThb9tub_MWp9Uvu0MuEgIIx_W17Dw-2h0nU,12033
32
+ ragnarbot/cron/types.py,sha256=iHQPyeuVK8TD5xi9svNijFvFTkjvhmd1oMMiCWJD0hs,1586
33
+ ragnarbot/heartbeat/__init__.py,sha256=y6Jsb38xK161gRj31uBeniHaFhxwqcQIp2Oo6UOoVsU,143
34
+ ragnarbot/heartbeat/service.py,sha256=AndTBgyF0uWLDgbe47UW3mdHBjg28tbm0MLzh5-6uqY,4310
35
+ ragnarbot/providers/__init__.py,sha256=HEYXA02TgsK_gj0URSVkn7jw_7TvwN3tiAAH86EQpB8,228
36
+ ragnarbot/providers/base.py,sha256=XNPYJzTiVUwiV3GPbk-XNMlA62wIo2BeBH-j0S5tVPo,1900
37
+ ragnarbot/providers/litellm_provider.py,sha256=1FSRmvWu-JFze84e21aRVEn1EVCWi3pmHQJBfq5Fhoc,4544
38
+ ragnarbot/providers/transcription.py,sha256=x-ZK_XtKa0deFCAO9v91kNLTUW1wQXz952qk40R-sn0,2140
39
+ ragnarbot/session/__init__.py,sha256=fAUCyfVS9eMs3HkIM7cs40oR_TZQ63zzTcw0xenjIs4,137
40
+ ragnarbot/session/manager.py,sha256=QcRFmv5yAt-67hbCQFqYtY0jBXxFQPX7GaJm7SDJPEE,6329
41
+ ragnarbot/skills/README.md,sha256=YZEM09n5cydolRep8tcf8KCjKEao482jiogsxXJDzrQ,801
42
+ ragnarbot/skills/cron/SKILL.md,sha256=t7vA07fui1XzPXOpS_Ub5mOgdnTT-ZW5wU3Ws26FnCg,872
43
+ ragnarbot/skills/github/SKILL.md,sha256=ZYEylTx_-_hVy3IyC43xwImFvUx0HozIULFazAh1kic,1376
44
+ ragnarbot/skills/skill-creator/SKILL.md,sha256=yyeFoRM5BbzJUq_FABub0g-SqPRzvpM2_R-fAdsFtqA,18460
45
+ ragnarbot/skills/summarize/SKILL.md,sha256=MC-DNvY4UElBNO7fWf0wLK1MVMVlTx_L-oi2ir-WQe0,2042
46
+ ragnarbot/skills/tmux/SKILL.md,sha256=VBJnWpytx2Hw2wUnlFT9Xvx16jfcjDWbTi7yBzSKHV0,4081
47
+ ragnarbot/skills/tmux/scripts/find-sessions.sh,sha256=Q62hQXa0VT5LAlWFmqsTflJ8tSb-Max2JAdenT-pQ84,2948
48
+ ragnarbot/skills/tmux/scripts/wait-for-text.sh,sha256=lrxCcC9zU8MiM8Ij1h3RHy-ZAzJnru-sg4rqiYOmdzU,2139
49
+ ragnarbot/skills/weather/SKILL.md,sha256=oNWG-wax_jXI30Gpmr4LJ1Kw4AnhtKDD5g5asFzcRtk,1170
50
+ ragnarbot/utils/__init__.py,sha256=Fyk2GWFZY7fJR3eCwTTMXSXv9SakjUpRLfvig1kuunw,187
51
+ ragnarbot/utils/helpers.py,sha256=8gLY6pPcTU7iNXXtB8NRSzLShXLqfd6Hv2Qr3yfjVBU,2420
52
+ ragnarbot_ai-0.1.0.dist-info/METADATA,sha256=CrL_fURD7HriXz61dfFuKy8aqm2sz5xXJqwnlzdOAAc,943
53
+ ragnarbot_ai-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
54
+ ragnarbot_ai-0.1.0.dist-info/entry_points.txt,sha256=d2yHV6ULmeQBn1Iqpd5OVqDHsz7kOBqcn-qw3WneMP4,57
55
+ ragnarbot_ai-0.1.0.dist-info/licenses/LICENSE,sha256=VUHeEuXnVpiQLDTWKv1uemFt_j8w4oin6ipM_BTBB2U,1104
56
+ ragnarbot_ai-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ragnarbot = ragnarbot.cli.commands:app
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 nanobot contributors
4
+ Copyright (c) 2025 BlckLvls
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.