alive-ai 0.1.6 → 0.1.7

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.
@@ -9,6 +9,7 @@
9
9
  "WEBUI_ENABLED": true,
10
10
  "WEBUI_PORT": 8080,
11
11
  "language": "en",
12
+ "HOT_RELOAD_ENABLED": false,
12
13
  "MESSAGE_BATCH_DELAY_SECONDS": 3.5,
13
14
  "TERMINAL_MESSAGE_BATCH_DELAY_SECONDS": 5.0,
14
15
  "LLM_PROVIDER": "ollama",
package/core/self.py CHANGED
@@ -120,13 +120,18 @@ class Self:
120
120
  # Start emotion decay timer
121
121
  self._timer_task = asyncio.create_task(self._decay_timer())
122
122
 
123
- # Start hot reloader
124
- try:
125
- from .hot_reload import HotReloader
126
- self._hot_reload = HotReloader(self.nervous)
127
- self._hot_reload.start()
128
- except Exception as e:
129
- print(f"[{name}] Hot reload unavailable: {e}")
123
+ # Hot reload is developer tooling. Keep it opt-in for normal npm installs.
124
+ import os
125
+ hot_reload_enabled = str(
126
+ self.config.settings.get("HOT_RELOAD_ENABLED", os.environ.get("ALIVE_AI_HOT_RELOAD", "false"))
127
+ ).lower() in ("1", "true", "yes", "on")
128
+ if hot_reload_enabled:
129
+ try:
130
+ from .hot_reload import HotReloader
131
+ self._hot_reload = HotReloader(self.nervous)
132
+ self._hot_reload.start()
133
+ except Exception as e:
134
+ print(f"[{name}] Hot reload unavailable: {e}")
130
135
 
131
136
  print(f"[{name}] Ready!")
132
137
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alive-ai",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Local-first emotional AI runtime with memory, impulses, and a live dashboard.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://vindepemarte.github.io/alive-ai/",
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "alive-ai-runtime"
3
- version = "0.1.6"
3
+ version = "0.1.7"
4
4
  description = "Local-first emotional AI runtime with memory, impulses, and a live dashboard."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"