suemo 0.1.3 → 0.1.4
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.
- package/README.md +2 -1
- package/package.json +1 -1
- package/skills/suemo/SKILL.md +1 -1
- package/skills/suemo/references/agents-snippet.md +1 -1
- package/skills/suemo/references/cli-reference.md +1 -1
- package/skills/suemo/references/core-workflow.md +1 -1
- package/skills/suemo/references/manual-test-plan.md +1 -1
- package/skills/suemo/references/mcp-reference.md +1 -1
- package/skills/suemo/references/schema-retention-longevity.md +1 -1
- package/skills/suemo/references/sync-local-vps.md +1 -1
- package/src/cli/commands/init.ts +5 -5
package/README.md
CHANGED
|
@@ -52,6 +52,7 @@ For suemo, the critical capability is allowing custom functions:
|
|
|
52
52
|
- `search::*` (for `search::score`)
|
|
53
53
|
- `math::*` (for `math::mean`, `math::min`)
|
|
54
54
|
- `rand::*` (used in `wander` query)
|
|
55
|
+
- `array::*` (used in `recall` query)
|
|
55
56
|
|
|
56
57
|
If you run with strict capability mode, use an allowlist like:
|
|
57
58
|
|
|
@@ -138,7 +139,7 @@ What these commands do:
|
|
|
138
139
|
- `suemo init fastembed`
|
|
139
140
|
- checks `python-fastembed`, `python-fastapi`, `python-uvicorn` via `pacman -Q`
|
|
140
141
|
- installs `data/fastembed-server.py` to `/opt/suemo/fastembed-server.py`
|
|
141
|
-
- creates `/opt/fastembed/local.env` once (user override file; not overwritten)
|
|
142
|
+
- creates `/opt/suemo/fastembed/local.env` once (user override file; not overwritten)
|
|
142
143
|
- writes `/etc/systemd/system/suemo-fastembed.service`
|
|
143
144
|
- enables + starts `suemo-fastembed.service`
|
|
144
145
|
|
package/package.json
CHANGED
package/skills/suemo/SKILL.md
CHANGED
package/src/cli/commands/init.ts
CHANGED
|
@@ -34,7 +34,7 @@ const SURREAL_LOCAL_ENV_PATH = '/opt/suemo/surreal/local.env'
|
|
|
34
34
|
const SURREAL_SYSTEMD_UNIT_PATH = '/etc/systemd/system/suemo-surreal@.service'
|
|
35
35
|
const SURREAL_DATA_DIR = '/var/lib/surrealdb'
|
|
36
36
|
const FASTEMBED_INSTALL_DIR = '/opt/suemo'
|
|
37
|
-
const FASTEMBED_LOCAL_ENV_DIR = '/opt/fastembed'
|
|
37
|
+
const FASTEMBED_LOCAL_ENV_DIR = '/opt/suemo/fastembed'
|
|
38
38
|
const FASTEMBED_SCRIPT_TARGET = '/opt/suemo/fastembed-server.py'
|
|
39
39
|
const FASTEMBED_CACHE_DIR = '/var/cache/fastembed'
|
|
40
40
|
const FASTEMBED_SERVICE_PATH = '/etc/systemd/system/suemo-fastembed.service'
|
|
@@ -118,7 +118,7 @@ SURREAL_TRANSACTION_TIMEOUT=15s
|
|
|
118
118
|
|
|
119
119
|
# Capability allowlist (required for suemo workflows)
|
|
120
120
|
SURREAL_CAPS_DENY_ALL=true
|
|
121
|
-
SURREAL_CAPS_ALLOW_FUNC=fn,time,vector,search,math,rand,ml
|
|
121
|
+
SURREAL_CAPS_ALLOW_FUNC=fn,time,vector,search,math,rand,ml,array
|
|
122
122
|
|
|
123
123
|
# Logging
|
|
124
124
|
SURREAL_LOG=warn
|
|
@@ -165,7 +165,7 @@ SURREAL_EXTERNAL_SORTING_BUFFER_LIMIT=25000
|
|
|
165
165
|
SURREAL_MEMORY_THRESHOLD=512m
|
|
166
166
|
`
|
|
167
167
|
|
|
168
|
-
const FASTEMBED_LOCAL_ENV_PATH = '/opt/fastembed/local.env'
|
|
168
|
+
const FASTEMBED_LOCAL_ENV_PATH = '/opt/suemo/fastembed/local.env'
|
|
169
169
|
|
|
170
170
|
const FASTEMBED_LOCAL_ENV_TEMPLATE = `# User overrides - edit this file to customize settings
|
|
171
171
|
# This file is NOT overwritten by suemo init fastembed
|
|
@@ -192,7 +192,7 @@ Environment=FASTEMBED_HOST=127.0.0.1
|
|
|
192
192
|
Environment=FASTEMBED_PORT=8080
|
|
193
193
|
Environment=FASTEMBED_MODEL=sentence-transformers/all-MiniLM-L6-v2
|
|
194
194
|
Environment=FASTEMBED_CACHE_DIR=/var/cache/fastembed
|
|
195
|
-
EnvironmentFile=-/opt/fastembed/local.env
|
|
195
|
+
EnvironmentFile=-/opt/suemo/fastembed/local.env
|
|
196
196
|
ExecStart=/usr/bin/python /opt/suemo/fastembed-server.py
|
|
197
197
|
Restart=on-failure
|
|
198
198
|
RestartSec=5s
|
|
@@ -200,7 +200,7 @@ NoNewPrivileges=true
|
|
|
200
200
|
PrivateTmp=true
|
|
201
201
|
ProtectSystem=strict
|
|
202
202
|
ProtectHome=true
|
|
203
|
-
ReadWritePaths=/var/cache/fastembed
|
|
203
|
+
ReadWritePaths=/var/cache/fastembed /var/lib/fastembed
|
|
204
204
|
StandardOutput=journal
|
|
205
205
|
StandardError=journal
|
|
206
206
|
SyslogIdentifier=suemo-fastembed
|