kcode-k1-chat-thread-actions 0.2.0

Synchronous CurrentTime dispatch for K1 chat threads
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Public API

```rust
pub fn dispatch(
    calls: &[kcode_k1_chat_chatend::DispatchCall],
) -> Vec<kcode_k1_chat_chatend::DispatchOutcome>;
```

`dispatch` returns one terminal outcome for each call in input order. `CurrentTime` accepts only JSON objects with no fields and returns the current UTC timestamp; malformed or nonempty arguments and unknown names return deterministic errors.

Performance: Each call performs JSON validation and, for `CurrentTime`, one system-clock read and timestamp formatting operation.