@hera-al/server 1.6.14 → 1.6.15

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.
@@ -6,7 +6,7 @@ gmabPath: "~/gmab" # root data directory (expanded at run
6
6
  host: "127.0.0.1" # bind address for HTTP servers
7
7
  logLevel: "info" # debug | info | warn | error
8
8
  verboseDebugLogs: true # show full prompt/response text in debug logs (false = truncate to 15 chars)
9
- timezone: "" # auto-detected on first boot (e.g. Europe/Rome, America/New_York)
9
+ timezone: "Europe/Rome" # auto-detected on first boot (e.g. Europe/Rome, America/New_York)
10
10
  fastProxyUrl: "http://localhost:4181" # Anthropic Tool Name proxy URL (atn-proxy)
11
11
 
12
12
  channels:
@@ -23,20 +23,20 @@ channels:
23
23
  allowFrom: [] # telegram user IDs allowed (for allowlist policy)
24
24
 
25
25
  # ─── Advanced Features (optional) ───────────────────────────────────
26
- # name: "Main Bot" # optional display name for multi-account setups
26
+ name: "Main Bot" # optional display name for multi-account setups
27
27
 
28
- # reactionLevel: "ack" # agent reaction capability (default: "ack")
28
+ reactionLevel: "minimal" # agent reaction capability (default: "ack")
29
29
  # off - no reactions
30
30
  # ack - bot shows eye while processing
31
31
  # minimal - agent can react sparingly (~1 per 5-10 messages)
32
32
  # extensive - agent can react liberally when appropriate
33
33
 
34
- # reactionNotifications: "off" # user reaction notifications (default: "off")
34
+ reactionNotifications: "own" # user reaction notifications (default: "off")
35
35
  # off - ignore all reactions
36
36
  # own - notify when users react to bot messages
37
37
  # all - notify agent of all reactions
38
38
 
39
- # inlineButtonsScope: "allowlist" # where inline buttons are allowed (default: "allowlist")
39
+ inlineButtonsScope: "all" # where inline buttons are allowed (default: "allowlist")
40
40
  # off - buttons disabled everywhere
41
41
  # dm - buttons only in direct messages
42
42
  # group - buttons only in groups
@@ -49,20 +49,20 @@ channels:
49
49
  # partial - stream text before tool calls
50
50
  # block - stream block-by-block
51
51
 
52
- # linkPreview: true # show link previews in messages (default: true)
52
+ linkPreview: true # show link previews in messages (default: true)
53
53
 
54
- # actions: # enable/disable specific actions (default: all true except sticker)
55
- # reactions: true # allow message reactions
56
- # sendMessage: true # allow sending messages
57
- # editMessage: true # allow editing messages
58
- # deleteMessage: true # allow deleting messages
59
- # sticker: false # enable sticker cache & search (default: false)
60
- # createForumTopic: false # allow creating forum topics (default: false)
54
+ actions: # enable/disable specific actions (default: all true except sticker)
55
+ reactions: true # allow message reactions
56
+ sendMessage: true # allow sending messages
57
+ editMessage: true # allow editing messages
58
+ deleteMessage: true # allow deleting messages
59
+ sticker: false # enable sticker cache & search (default: false)
60
+ createForumTopic: false # allow creating forum topics (default: false)
61
61
 
62
- # retry: # retry policy for API calls (default: 3 attempts, 1s base delay)
63
- # maxAttempts: 3
64
- # baseDelayMs: 1000
65
- # maxDelayMs: 30000
62
+ retry: # retry policy for API calls (default: 3 attempts, 1s base delay)
63
+ maxAttempts: 3
64
+ baseDelayMs: 1000
65
+ maxDelayMs: 30000
66
66
 
67
67
  # timeoutSeconds: 60 # API timeout (optional)
68
68
  # proxy: "socks5://..." # SOCKS5 proxy for Telegram API (optional)
@@ -126,7 +126,7 @@ channels:
126
126
 
127
127
  responses:
128
128
  enabled: true
129
- port: 3004
129
+ port: 3002
130
130
 
131
131
  models: # model registry
132
132
  # ─── Internal models (Anthropic, via SDK) ──────────────────────
@@ -155,9 +155,9 @@ models: # model registry
155
155
  - id: embeddinggemma
156
156
  name: Embedding Gemma
157
157
  types: [external]
158
- apiKey: "${EMBEDDING_GEMMA}"
159
- baseURL: http://localhost:11434/api # local Ollama endpoint
160
- useEnvVar: EMBEDDING_GEMMA
158
+ apiKey: "sk-12345" # dummy key (Ollama doesn't require auth, but the field is required)
159
+ baseURL: http://host.docker.internal:11434/api # Ollama endpoint (from inside Docker)
160
+ useEnvVar: ""
161
161
  contextWindow: 8192
162
162
  costInput: 0
163
163
  costOutput: 0
@@ -281,13 +281,13 @@ memory:
281
281
  search:
282
282
  enabled: true # enable hybrid BM25 + semantic search over memory
283
283
  modelRef: "Embedding Gemma" # references a model in the models registry (for API key + base URL)
284
- embeddingModel: "text-embedding-3-small"
285
- prefixQuery: "" # prefix template for query embeddings (use {content} placeholder)
286
- prefixDocument: "" # prefix template for document embeddings (use {content} placeholder)
287
- embeddingDimensions: 1536 # 512, 768, or 1536 (native) — lower = faster, higher = more precise
284
+ embeddingModel: "embeddinggemma" # Ollama model (run: ollama pull gemma)
285
+ prefixQuery: "task: search result | query: {content}" # prefix template for query embeddings (use {content} placeholder)
286
+ prefixDocument: "title: none | text: {content}" # prefix template for document embeddings (use {content} placeholder)
287
+ embeddingDimensions: 768 # 512, 768, or 1536 (native) — lower = faster, higher = more precise
288
288
  updateDebounceMs: 3000 # debounce for fs.watch before re-indexing
289
289
  embedIntervalMs: 300000 # interval (ms) between embedding cycles (5 min)
290
- maxResults: 6 # default max results returned by memory_search
290
+ maxResults: 10 # default max results returned by memory_search
291
291
  maxSnippetChars: 700 # max chars per snippet in results
292
292
  maxInjectedChars: 4000 # max total chars injected into context from search results
293
293
  rrfK: 60 # RRF fusion constant (higher = smoother blending)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hera-al/server",
3
- "version": "1.6.14",
3
+ "version": "1.6.15",
4
4
  "private": false,
5
5
  "description": "Hera Artificial Life — Multi-channel AI agent gateway with autonomous capabilities",
6
6
  "license": "MIT",