feat(portable): Phase 6.1 format v2 with strict v1 migration and job format; Phase 7 capability negotiation and extensions

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-10-07 06:54:11 +05:00
1 parent f6006edfaf
commit 35a2d5dea7
35 files changed
+2936 -41

No files matched your search

+6
View File
@@ -118,6 +118,12 @@ impl Ra {
}
}
/// `portable capabilities`: the realm's core says what it is and what portable features it has. An older core does not know the command.
pub fn portable_capabilities(&mut self) -> Result<crate::portable::capabilities::CoreReport> {
let out = self.command("portable capabilities")?;
crate::portable::capabilities::CoreReport::parse(&out).map_err(|e| Error::Invalid(e.to_string()))
}
/// `portable release <session>`: lets a held portable character play. Sent only after its baseline was persisted.
pub fn portable_release(&mut self, session: crate::portable::SessionId) -> Result<()> {
let out = self.command(&format!("portable release {session}"))?;