niri: drop untracked noctalia.kdl include; sync memory skills
- remove 'include noctalia.kdl' from shared config.kdl: the file is a per-host noctalia template render (colors from local palette), was never committed, and made every config load fail hard on hosts where it was absent — niri 26.04 falls back to DEFAULT config on parse error, silently killing keybinds/rules/layout/autostart - theme integration now only via keybinds (noctalia msg verbs) + the host-local rendered files (see managed skill noctalia-template-offline-render) - sync agent memories: delete retired memory-store skills, add new ones
This commit is contained in:
1 parent
fc049ce7fb
commit
970ceed554
33 files changed
+200
-62
No files matched your search
@@ -0,0 +1 @@
|
||||
Manages dual AI model configs (`~/.pi/agent/models.json` as source, `~/.omp/agent/models.yml` as import/generated). Always edit both in lock-step. Context sizes use Ki-style multiples (e.g., 200k = 204800). For `frank-default-small`, update `contextWindow` and `maxTokens` together. Validate with `jq` and `python3 -c "import yaml..."`. Providers: `llamacpp (dankserver)` & `llamacpp (dankclaw)`. NPU `gemma4-it:e4b` uses port 7771.
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
When updating context from 160k to 200k:
|
||||
1. Convert to Ki: 200 × 1024 = 204800
|
||||
2. Update `contextWindow` and `maxTokens` in both `~/.pi/agent/models.json` and `~/.omp/agent/models.yml`
|
||||
3. No cache flush required; applies on next config read.
|
||||
4. Validate with validation script.
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Validate both JSON and YAML context/tokens match
|
||||
JSON_VAL=$(jq -e '.providers."llamacpp (dankserver)".models[0] | .contextWindow, .maxTokens' ~/.pi/agent/models.json)
|
||||
YAML_VAL=$(python3 -c "import yaml; d=yaml.safe_load(open('/home/dank/.omp/agent/models.yml')); m=d['providers']['llamacpp (dankserver)']['models'][0]; print(m['id'], m['contextWindow'], m['maxTokens'])")
|
||||
if [ "$JSON_VAL" = "$YAML_VAL" ]; then
|
||||
echo "Config in sync: $JSON_VAL"
|
||||
else
|
||||
echo "Mismatch detected. JSON: $JSON_VAL | YAML: $YAML_VAL"
|
||||
fi
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"providers": {
|
||||
"llamacpp (dankserver)": {
|
||||
"baseUrl": "http://192.168.0.235:7770/v1",
|
||||
"api": "openai-completions",
|
||||
"auth": "none",
|
||||
"models": [
|
||||
{
|
||||
"id": "frank-default-small",
|
||||
"contextWindow": 204800,
|
||||
"maxTokens": 204800,
|
||||
"reasoning": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user