Compare commits

...
2 Commits
Author SHA1 Message Date
Gitea Actions c392dfe39f Release 0.1.25 [auto-version-bump] 2026-10-15 08:51:06 +02:00
Ein Anderssono 5a44d3d4f4 Show external service traces in admin player view
Build and publish frontend / publish (push) Successful in 45s
2026-10-15 08:50:48 +02:00
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
0.1.24
0.1.25
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: ai-spel-frontend
description: Static web frontend for the Swedish life simulator
type: application
version: 0.1.24
appVersion: "0.1.24"
version: 0.1.25
appVersion: "0.1.25"
+5
View File
@@ -180,6 +180,11 @@
for (const [index, entry] of entries.entries()) {
const status = entry.data.execution_mode || entry.data.metadata?.decision || entry.data.outcome || 'status okänd';
adminJson(`${index + 1}. ${entry.kind} · ${status} · ${entry.at} · ${entry.order}`, entry.data);
if (entry.data.external_call && Object.keys(entry.data.external_call).length > 0) {
const call = entry.data.external_call;
const outcome = call.error || `HTTP ${call.response_status ?? 'okänt'}`;
adminJson(`Externt tjänsteanrop · ${call.service || 'okänd tjänst'} · ${outcome} · ${call.duration_ms ?? '?'} ms`, call);
}
}
}
async function loadAdminPrompts() {
+2
View File
@@ -17,6 +17,8 @@ grep -q '/api/admin/players?' index.html
grep -q "request('/api/admin/prompts'" index.html
grep -q "request('/api/admin/rules'" index.html
grep -q '/api/admin/audit?limit=200' index.html
grep -q 'entry.data.external_call' index.html
grep -q 'Externt tjänsteanrop' index.html
grep -q "request('/api/world/start'" index.html
grep -q "request('/api/character'" index.html
grep -q 'location = /healthz' nginx/default.conf