Release 0.2.0 #4

Merged
dguiducci merged 96 commits from main into release 2026-08-17 18:07:20 +01:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit 11f4ba8ed2 - Show all commits
+2 -2
View File
@@ -78,7 +78,7 @@ impl PushItem {
match self.kind() {
PushKind::Content => json!({
"aps": {
"alert": { "title": "Skald", "body": "Azione richiesta" },
"alert": { "title": "Skald", "body": "Action required" },
"badge": 1,
"sound": "default",
"mutable-content": 1,
@@ -93,7 +93,7 @@ impl PushItem {
}),
PushKind::Wake => json!({
"aps": {
"alert": { "title": "Skald", "body": "Azione richiesta" },
"alert": { "title": "Skald", "body": "Action required" },
"badge": 1,
"sound": "default",
"content-available": 1
+6 -6
View File
@@ -185,8 +185,8 @@ async fn handle_socket(mut socket: WebSocket, skald: Arc<Skald>, source: String,
if cmd == "/sethome" {
let msg = match chat_hub.set_home(&source).await {
Ok(_) => "🏠 Web impostato come **home**. Le notifiche degli agenti arriveranno qui.".to_string(),
Err(e) => format!("⚠️ Errore: {e}"),
Ok(_) => "🏠 Web set as **home**. Agent notifications will be delivered here.".to_string(),
Err(e) => format!("⚠️ Error: {e}"),
};
let _ = socket.send(to_msg(&ServerEvent::Done {
message_id: 0,
@@ -238,7 +238,7 @@ async fn handle_socket(mut socket: WebSocket, skald: Arc<Skald>, source: String,
let _ = socket.send(to_msg(&ServerEvent::Done {
message_id: 0,
stack_id: 0,
content: format!("💰 Costo sessione: ${c:.4}"),
content: format!("💰 Session cost: ${c:.4}"),
input_tokens: None,
output_tokens: None,
reasoning_content: None,
@@ -248,7 +248,7 @@ async fn handle_socket(mut socket: WebSocket, skald: Arc<Skald>, source: String,
let _ = socket.send(to_msg(&ServerEvent::Done {
message_id: 0,
stack_id: 0,
content: "💰 Nessun costo registrato per questa sessione.".to_string(),
content: "💰 No cost recorded for this session.".to_string(),
input_tokens: None,
output_tokens: None,
reasoning_content: None,
@@ -267,7 +267,7 @@ async fn handle_socket(mut socket: WebSocket, skald: Arc<Skald>, source: String,
let _ = socket.send(to_msg(&ServerEvent::Done {
message_id: 0,
stack_id: 0,
content: "✅ Contesto compattato.".to_string(),
content: "✅ Context compacted.".to_string(),
input_tokens: None,
output_tokens: None,
reasoning_content: None,
@@ -277,7 +277,7 @@ async fn handle_socket(mut socket: WebSocket, skald: Arc<Skald>, source: String,
let _ = socket.send(to_msg(&ServerEvent::Done {
message_id: 0,
stack_id: 0,
content: "⏩ Compaction skipped (nothing to summarize).".to_string(),
content: "⏩ Compaction skipped (nothing to summarise).".to_string(),
input_tokens: None,
output_tokens: None,
reasoning_content: None,