Skip to content

Commit

Permalink
Merge pull request #659 from kinode-dao/release-candidate
Browse files Browse the repository at this point in the history
v0.10.1 rc
  • Loading branch information
nick1udwig authored Jan 6, 2025
2 parents 5c377d1 + 6dadd8b commit 00d345c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kinode_lib"
authors = ["Sybil Technologies AG"]
version = "0.10.0"
version = "0.10.1"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"
Expand Down
2 changes: 1 addition & 1 deletion kinode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kinode"
authors = ["Sybil Technologies AG"]
version = "0.10.0"
version = "0.10.1"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"
Expand Down
10 changes: 7 additions & 3 deletions kinode/src/kernel/standard_host_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,13 @@ impl StandardHost for process::ProcessWasiV1 {
{
Ok(Ok(_resp)) => {
// basically assuming filesystem responding properly here
match &self.process.last_blob {
None => Ok(None),
Some(blob) => Ok(Some(blob.bytes.clone())),
if self.process.last_message_blobbed {
match &self.process.last_blob {
None => Ok(None),
Some(blob) => Ok(Some(blob.bytes.clone())),
}
} else {
Ok(None)
}
}
_ => Ok(None),
Expand Down
14 changes: 11 additions & 3 deletions kinode/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,16 @@ async fn main() {
)
.await;

#[cfg(not(feature = "simulation-mode"))]
println!(
"Welcome to Kinode.\nThe time is {}.\nLogin or register at http://localhost:{}\r",
"Welcome to Kinode.\nThe time is {}.",
chrono::Local::now().to_rfc3339(),
http_server_port,
);
let link = format!("http://localhost:{http_server_port}");
let link = make_remote_link(&link, &link);
#[cfg(feature = "simulation-mode")]
println!("Serving Kinode at {link}\r");
#[cfg(not(feature = "simulation-mode"))]
println!("Login or register at {link}\r");
#[cfg(not(feature = "simulation-mode"))]
let (our, encoded_keyfile, decoded_keyfile) = match password {
None => {
Expand Down Expand Up @@ -926,3 +930,7 @@ async fn login_with_password(

(our, disk_keyfile, k)
}

fn make_remote_link(url: &str, text: &str) -> String {
format!("\x1B]8;;{}\x1B\\{}\x1B]8;;\x1B\\", url, text)
}
4 changes: 2 additions & 2 deletions kinode/src/register-ui/src/components/EnterKnsName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function EnterKnsName({
let validities: string[] = [];
setIsPunyfied('');

if (/[A-Z]/.test(name)) {
if (!/^[a-z0-9-]*$/.test(name)) {
validities.push(NAME_URL);
setNameValidities(validities);
return;
Expand Down Expand Up @@ -119,7 +119,7 @@ function EnterKnsName({
type="text"
required
name="kns-name"
placeholder="mynode123"
placeholder="node-name"
className="kns-input"
/>
{fixedTlz && <span className="kns-suffix">{fixedTlz}</span>}
Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "lib"
authors = ["Sybil Technologies AG"]
version = "0.10.0"
version = "0.10.1"
edition = "2021"
description = "A general-purpose sovereign cloud computing platform"
homepage = "https://kinode.org"
Expand Down

0 comments on commit 00d345c

Please sign in to comment.