ci, docs: CI workflow, cargo-deny, architecture and TS6 protocol notes
- .github/workflows/ci.yml: fmt/clippy (strict for own crates), build and test on ubuntu-24.04 and windows-2025, cargo-deny, TS3/TS6 smoke test - deny.toml: permissive licenses only, advisories, sources - README, docs/architecture.md (design + milestones), docs/protocol-notes/ts6-streaming.md incl. first probe results against 6.0.0-beta13.1 (setupstream works for guests, joinstreamrequest exists) - tsctl repl: /raw command Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
6 files changed
+392
No files matched your search
@@ -291,6 +291,7 @@ commands:
|
||||
/server <text> send to the server chat
|
||||
/channel <text> send to the current channel
|
||||
/msg <clid> <text> send a private message
|
||||
/raw <command> send a raw, already escaped command
|
||||
/tree print the channel tree
|
||||
/whoami print own client and channel
|
||||
/quit disconnect";
|
||||
@@ -327,6 +328,7 @@ async fn repl(con: &mut Connection) -> Result<()> {
|
||||
println!("error (command {}): {error}", handle.0);
|
||||
}
|
||||
StreamItem::MessageResult(handle, Ok(())) if Some(handle) == pending => {
|
||||
println!("ok (command {})", handle.0);
|
||||
pending = None;
|
||||
}
|
||||
_ => {}
|
||||
@@ -358,6 +360,16 @@ async fn repl(con: &mut Connection) -> Result<()> {
|
||||
);
|
||||
continue;
|
||||
}
|
||||
"/raw" => {
|
||||
let cmd = OutCommand::new(
|
||||
Direction::C2S,
|
||||
Flags::empty(),
|
||||
PacketType::Command,
|
||||
rest,
|
||||
);
|
||||
pending = Some(cmd.send_with_result(con)?);
|
||||
continue;
|
||||
}
|
||||
"/server" => ChatTarget::Server { message: rest.into() },
|
||||
"/channel" => ChatTarget::Channel { message: rest.into() },
|
||||
"/msg" => {
|
||||
|
||||
Reference in new issue
Block a user