diff --git a/Cargo.toml b/Cargo.toml index f1475d35..baf2d6e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ color-eyre = { version = "0.6", features = ["capture-spantrace"] } dirs = "5.0" fs-err = "2.11" hex = "0.4" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib.git", rev = "9ac9e51" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib.git", rev = "2a526c8" } nix = { version = "0.27", features = ["process", "signal", "term"] } regex = "1" reqwest = { version = "0.12", features = ["json"] } @@ -65,7 +65,7 @@ tracing-appender = "0.2" tracing-error = "0.2" tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "std"] } walkdir = "2.4" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" zip = "0.6" [workspace] diff --git a/src/new/templates/javascript/no-ui/chat/api/chat:template.os-v0.wit b/src/new/templates/javascript/no-ui/chat/api/chat:template.os-v0.wit index 9adc12ec..5ec0cff8 100644 --- a/src/new/templates/javascript/no-ui/chat/api/chat:template.os-v0.wit +++ b/src/new/templates/javascript/no-ui/chat/api/chat:template.os-v0.wit @@ -23,5 +23,5 @@ interface chat { world chat-template-dot-os-v0 { import chat; - include process; + include process-v1; } diff --git a/src/new/templates/javascript/no-ui/chat/pkg/manifest.json b/src/new/templates/javascript/no-ui/chat/pkg/manifest.json index 3da591df..00b8b966 100644 --- a/src/new/templates/javascript/no-ui/chat/pkg/manifest.json +++ b/src/new/templates/javascript/no-ui/chat/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys" + "http-server:distro:sys" ], "grant_capabilities": [], "public": true diff --git a/src/new/templates/javascript/no-ui/chat/send/Cargo.toml b/src/new/templates/javascript/no-ui/chat/send/Cargo.toml index 5dcbe593..0e3ebecf 100644 --- a/src/new/templates/javascript/no-ui/chat/send/Cargo.toml +++ b/src/new/templates/javascript/no-ui/chat/send/Cargo.toml @@ -6,10 +6,10 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "84b3d84" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/javascript/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit b/src/new/templates/javascript/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit index c87f01eb..731256ee 100644 --- a/src/new/templates/javascript/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit +++ b/src/new/templates/javascript/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit @@ -1,5 +1,5 @@ world chat-test-template-dot-os-v0 { import chat; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/javascript/no-ui/chat/test/chat_test/chat_test/Cargo.toml b/src/new/templates/javascript/no-ui/chat/test/chat_test/chat_test/Cargo.toml index 7c5126db..f52bfb69 100644 --- a/src/new/templates/javascript/no-ui/chat/test/chat_test/chat_test/Cargo.toml +++ b/src/new/templates/javascript/no-ui/chat/test/chat_test/chat_test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.3" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/javascript/no-ui/chat/test/chat_test/metadata.json b/src/new/templates/javascript/no-ui/chat/test/chat_test/metadata.json index 8161d7d6..fdfbc660 100644 --- a/src/new/templates/javascript/no-ui/chat/test/chat_test/metadata.json +++ b/src/new/templates/javascript/no-ui/chat/test/chat_test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "chat:template.os", "tester:sys" diff --git a/src/new/templates/javascript/no-ui/echo/pkg/manifest.json b/src/new/templates/javascript/no-ui/echo/pkg/manifest.json index 7fc7826e..a367fe77 100644 --- a/src/new/templates/javascript/no-ui/echo/pkg/manifest.json +++ b/src/new/templates/javascript/no-ui/echo/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys" + "http-server:distro:sys" ], "grant_capabilities": [], "public": true diff --git a/src/new/templates/javascript/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit b/src/new/templates/javascript/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit index c4b22457..cd80f8ab 100644 --- a/src/new/templates/javascript/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit +++ b/src/new/templates/javascript/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit @@ -1,4 +1,4 @@ world echo-test-template-dot-os-v0 { import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/javascript/no-ui/echo/test/echo_test/echo_test/Cargo.toml b/src/new/templates/javascript/no-ui/echo/test/echo_test/echo_test/Cargo.toml index f0207b23..4d7a87ae 100644 --- a/src/new/templates/javascript/no-ui/echo/test/echo_test/echo_test/Cargo.toml +++ b/src/new/templates/javascript/no-ui/echo/test/echo_test/echo_test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.3" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/javascript/no-ui/echo/test/echo_test/metadata.json b/src/new/templates/javascript/no-ui/echo/test/echo_test/metadata.json index 11c67227..5bcde9f5 100644 --- a/src/new/templates/javascript/no-ui/echo/test/echo_test/metadata.json +++ b/src/new/templates/javascript/no-ui/echo/test/echo_test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "tester:sys" ] diff --git a/src/new/templates/javascript/no-ui/fibonacci/pkg/manifest.json b/src/new/templates/javascript/no-ui/fibonacci/pkg/manifest.json index b621d87d..b070b39f 100644 --- a/src/new/templates/javascript/no-ui/fibonacci/pkg/manifest.json +++ b/src/new/templates/javascript/no-ui/fibonacci/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys" + "http-server:distro:sys" ], "grant_capabilities": [], "public": true diff --git a/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit b/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit index bef06257..53c1405a 100644 --- a/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit +++ b/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit @@ -1,5 +1,5 @@ world fibonacci-test-template-dot-os-v0 { import fibonacci; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml b/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml index 5485e2e1..2dfba20a 100644 --- a/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml +++ b/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.3" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/metadata.json b/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/metadata.json index daeaff69..0aa1c076 100644 --- a/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/metadata.json +++ b/src/new/templates/javascript/no-ui/fibonacci/test/fibonacci_test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "fibonacci:template.os", "tester:sys" diff --git a/src/new/templates/python/no-ui/chat/api/chat:template.os-v0.wit b/src/new/templates/python/no-ui/chat/api/chat:template.os-v0.wit index 9adc12ec..5ec0cff8 100644 --- a/src/new/templates/python/no-ui/chat/api/chat:template.os-v0.wit +++ b/src/new/templates/python/no-ui/chat/api/chat:template.os-v0.wit @@ -23,5 +23,5 @@ interface chat { world chat-template-dot-os-v0 { import chat; - include process; + include process-v1; } diff --git a/src/new/templates/python/no-ui/chat/pkg/manifest.json b/src/new/templates/python/no-ui/chat/pkg/manifest.json index 3da591df..00b8b966 100644 --- a/src/new/templates/python/no-ui/chat/pkg/manifest.json +++ b/src/new/templates/python/no-ui/chat/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys" + "http-server:distro:sys" ], "grant_capabilities": [], "public": true diff --git a/src/new/templates/python/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit b/src/new/templates/python/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit index c87f01eb..731256ee 100644 --- a/src/new/templates/python/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit +++ b/src/new/templates/python/no-ui/chat/test/chat_test/api/chat_test:template.os-v0.wit @@ -1,5 +1,5 @@ world chat-test-template-dot-os-v0 { import chat; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/python/no-ui/chat/test/chat_test/chat_test/Cargo.toml b/src/new/templates/python/no-ui/chat/test/chat_test/chat_test/Cargo.toml index 7c5126db..f52bfb69 100644 --- a/src/new/templates/python/no-ui/chat/test/chat_test/chat_test/Cargo.toml +++ b/src/new/templates/python/no-ui/chat/test/chat_test/chat_test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.3" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/python/no-ui/chat/test/chat_test/metadata.json b/src/new/templates/python/no-ui/chat/test/chat_test/metadata.json index 8161d7d6..fdfbc660 100644 --- a/src/new/templates/python/no-ui/chat/test/chat_test/metadata.json +++ b/src/new/templates/python/no-ui/chat/test/chat_test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "chat:template.os", "tester:sys" diff --git a/src/new/templates/python/no-ui/echo/pkg/manifest.json b/src/new/templates/python/no-ui/echo/pkg/manifest.json index 7fc7826e..a367fe77 100644 --- a/src/new/templates/python/no-ui/echo/pkg/manifest.json +++ b/src/new/templates/python/no-ui/echo/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys" + "http-server:distro:sys" ], "grant_capabilities": [], "public": true diff --git a/src/new/templates/python/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit b/src/new/templates/python/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit index c4b22457..cd80f8ab 100644 --- a/src/new/templates/python/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit +++ b/src/new/templates/python/no-ui/echo/test/echo_test/api/echo_test:template.os-v0.wit @@ -1,4 +1,4 @@ world echo-test-template-dot-os-v0 { import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/python/no-ui/echo/test/echo_test/echo_test/Cargo.toml b/src/new/templates/python/no-ui/echo/test/echo_test/echo_test/Cargo.toml index f0207b23..4d7a87ae 100644 --- a/src/new/templates/python/no-ui/echo/test/echo_test/echo_test/Cargo.toml +++ b/src/new/templates/python/no-ui/echo/test/echo_test/echo_test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.3" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/python/no-ui/echo/test/echo_test/metadata.json b/src/new/templates/python/no-ui/echo/test/echo_test/metadata.json index 11c67227..5bcde9f5 100644 --- a/src/new/templates/python/no-ui/echo/test/echo_test/metadata.json +++ b/src/new/templates/python/no-ui/echo/test/echo_test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "tester:sys" ] diff --git a/src/new/templates/python/no-ui/fibonacci/pkg/manifest.json b/src/new/templates/python/no-ui/fibonacci/pkg/manifest.json index b621d87d..b070b39f 100644 --- a/src/new/templates/python/no-ui/fibonacci/pkg/manifest.json +++ b/src/new/templates/python/no-ui/fibonacci/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys" + "http-server:distro:sys" ], "grant_capabilities": [], "public": true diff --git a/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit b/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit index bef06257..53c1405a 100644 --- a/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit +++ b/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/api/fibonacci_test:template.os-v0.wit @@ -1,5 +1,5 @@ world fibonacci-test-template-dot-os-v0 { import fibonacci; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml b/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml index 5485e2e1..2dfba20a 100644 --- a/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml +++ b/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/fibonacci_test/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.3" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/metadata.json b/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/metadata.json index daeaff69..0aa1c076 100644 --- a/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/metadata.json +++ b/src/new/templates/python/no-ui/fibonacci/test/fibonacci_test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "fibonacci:template.os", "tester:sys" diff --git a/src/new/templates/rust/no-ui/blank/blank/Cargo.toml b/src/new/templates/rust/no-ui/blank/blank/Cargo.toml index 93af21c3..adba17ef 100644 --- a/src/new/templates/rust/no-ui/blank/blank/Cargo.toml +++ b/src/new/templates/rust/no-ui/blank/blank/Cargo.toml @@ -5,10 +5,10 @@ edition = "2021" publish = false [dependencies] -kinode_process_lib = "0.9.2" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/blank/blank/src/lib.rs b/src/new/templates/rust/no-ui/blank/blank/src/lib.rs index 55852914..05a38ccc 100644 --- a/src/new/templates/rust/no-ui/blank/blank/src/lib.rs +++ b/src/new/templates/rust/no-ui/blank/blank/src/lib.rs @@ -2,7 +2,7 @@ use kinode_process_lib::{await_message, call_init, println, Address}; wit_bindgen::generate!({ path: "target/wit", - world: "process-v0", + world: "process-v1", }); call_init!(init); diff --git a/src/new/templates/rust/no-ui/blank/metadata.json b/src/new/templates/rust/no-ui/blank/metadata.json index 013b3109..4c4ba6d8 100644 --- a/src/new/templates/rust/no-ui/blank/metadata.json +++ b/src/new/templates/rust/no-ui/blank/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [] }, "external_url": "", diff --git a/src/new/templates/rust/no-ui/chat/api/chat:template.os-v0.wit b/src/new/templates/rust/no-ui/chat/api/chat:template.os-v0.wit index d883229b..5ec0cff8 100644 --- a/src/new/templates/rust/no-ui/chat/api/chat:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/chat/api/chat:template.os-v0.wit @@ -23,5 +23,5 @@ interface chat { world chat-template-dot-os-v0 { import chat; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/chat/chat/Cargo.toml b/src/new/templates/rust/no-ui/chat/chat/Cargo.toml index aabd451e..46f9696d 100644 --- a/src/new/templates/rust/no-ui/chat/chat/Cargo.toml +++ b/src/new/templates/rust/no-ui/chat/chat/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { version = "0.9.6", features = ["logging"] } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8", features = ["logging"] } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/chat/metadata.json b/src/new/templates/rust/no-ui/chat/metadata.json index 267211d6..8f9795c5 100644 --- a/src/new/templates/rust/no-ui/chat/metadata.json +++ b/src/new/templates/rust/no-ui/chat/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [] }, "external_url": "", diff --git a/src/new/templates/rust/no-ui/chat/pkg/manifest.json b/src/new/templates/rust/no-ui/chat/pkg/manifest.json index 0e55daa8..51a73ac0 100644 --- a/src/new/templates/rust/no-ui/chat/pkg/manifest.json +++ b/src/new/templates/rust/no-ui/chat/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys", + "http-server:distro:sys", "vfs:distro:sys" ], "grant_capabilities": [], diff --git a/src/new/templates/rust/no-ui/chat/send/Cargo.toml b/src/new/templates/rust/no-ui/chat/send/Cargo.toml index 7055c900..0e3ebecf 100644 --- a/src/new/templates/rust/no-ui/chat/send/Cargo.toml +++ b/src/new/templates/rust/no-ui/chat/send/Cargo.toml @@ -6,10 +6,10 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = "0.9.6" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/chat/test/chat-test/api/chat_test:template.os-v0.wit b/src/new/templates/rust/no-ui/chat/test/chat-test/api/chat_test:template.os-v0.wit index c87f01eb..731256ee 100644 --- a/src/new/templates/rust/no-ui/chat/test/chat-test/api/chat_test:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/chat/test/chat-test/api/chat_test:template.os-v0.wit @@ -1,5 +1,5 @@ world chat-test-template-dot-os-v0 { import chat; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/chat/test/chat-test/chat-test/Cargo.toml b/src/new/templates/rust/no-ui/chat/test/chat-test/chat-test/Cargo.toml index 1c280c2c..443ce8d9 100644 --- a/src/new/templates/rust/no-ui/chat/test/chat-test/chat-test/Cargo.toml +++ b/src/new/templates/rust/no-ui/chat/test/chat-test/chat-test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = "0.9.2" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/chat/test/chat-test/metadata.json b/src/new/templates/rust/no-ui/chat/test/chat-test/metadata.json index 0d0d5a63..23c66111 100644 --- a/src/new/templates/rust/no-ui/chat/test/chat-test/metadata.json +++ b/src/new/templates/rust/no-ui/chat/test/chat-test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "chat:template.os", "tester:sys" diff --git a/src/new/templates/rust/no-ui/echo/echo/Cargo.toml b/src/new/templates/rust/no-ui/echo/echo/Cargo.toml index 540c5530..c8661be2 100644 --- a/src/new/templates/rust/no-ui/echo/echo/Cargo.toml +++ b/src/new/templates/rust/no-ui/echo/echo/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { version = "0.9.6", features = ["logging"] } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8", features = ["logging"] } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/echo/echo/src/lib.rs b/src/new/templates/rust/no-ui/echo/echo/src/lib.rs index 7455a10d..41ddd305 100644 --- a/src/new/templates/rust/no-ui/echo/echo/src/lib.rs +++ b/src/new/templates/rust/no-ui/echo/echo/src/lib.rs @@ -3,7 +3,7 @@ use kinode_process_lib::{await_message, call_init, println, Address, Message, Re wit_bindgen::generate!({ path: "target/wit", - world: "process-v0", + world: "process-v1", }); fn handle_message(message: &Message) -> anyhow::Result<()> { diff --git a/src/new/templates/rust/no-ui/echo/metadata.json b/src/new/templates/rust/no-ui/echo/metadata.json index 1c6395fe..354570c0 100644 --- a/src/new/templates/rust/no-ui/echo/metadata.json +++ b/src/new/templates/rust/no-ui/echo/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [] }, "external_url": "", diff --git a/src/new/templates/rust/no-ui/echo/pkg/manifest.json b/src/new/templates/rust/no-ui/echo/pkg/manifest.json index 94fced60..396a6eff 100644 --- a/src/new/templates/rust/no-ui/echo/pkg/manifest.json +++ b/src/new/templates/rust/no-ui/echo/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys", + "http-server:distro:sys", "vfs:distro:sys" ], "grant_capabilities": [], diff --git a/src/new/templates/rust/no-ui/echo/test/echo-test/api/echo_test:template.os-v0.wit b/src/new/templates/rust/no-ui/echo/test/echo-test/api/echo_test:template.os-v0.wit index c4b22457..cd80f8ab 100644 --- a/src/new/templates/rust/no-ui/echo/test/echo-test/api/echo_test:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/echo/test/echo-test/api/echo_test:template.os-v0.wit @@ -1,4 +1,4 @@ world echo-test-template-dot-os-v0 { import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/echo/test/echo-test/echo-test/Cargo.toml b/src/new/templates/rust/no-ui/echo/test/echo-test/echo-test/Cargo.toml index d50a734c..460b5d76 100644 --- a/src/new/templates/rust/no-ui/echo/test/echo-test/echo-test/Cargo.toml +++ b/src/new/templates/rust/no-ui/echo/test/echo-test/echo-test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = "0.9.2" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/echo/test/echo-test/metadata.json b/src/new/templates/rust/no-ui/echo/test/echo-test/metadata.json index 1e78c119..7caeb0e4 100644 --- a/src/new/templates/rust/no-ui/echo/test/echo-test/metadata.json +++ b/src/new/templates/rust/no-ui/echo/test/echo-test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "tester:sys" ] diff --git a/src/new/templates/rust/no-ui/fibonacci/api/fibonacci:template.os-v0.wit b/src/new/templates/rust/no-ui/fibonacci/api/fibonacci:template.os-v0.wit index c1bf5012..4d8f6ac1 100644 --- a/src/new/templates/rust/no-ui/fibonacci/api/fibonacci:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/fibonacci/api/fibonacci:template.os-v0.wit @@ -12,5 +12,5 @@ interface fibonacci { world fibonacci-template-dot-os-v0 { import fibonacci; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/fibonacci/fibonacci/Cargo.toml b/src/new/templates/rust/no-ui/fibonacci/fibonacci/Cargo.toml index a8ace65e..1a68f78b 100644 --- a/src/new/templates/rust/no-ui/fibonacci/fibonacci/Cargo.toml +++ b/src/new/templates/rust/no-ui/fibonacci/fibonacci/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { version = "0.9.6", features = ["logging"] } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8", features = ["logging"] } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/fibonacci/metadata.json b/src/new/templates/rust/no-ui/fibonacci/metadata.json index 7f1b5264..14aec060 100644 --- a/src/new/templates/rust/no-ui/fibonacci/metadata.json +++ b/src/new/templates/rust/no-ui/fibonacci/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [] }, "external_url": "", diff --git a/src/new/templates/rust/no-ui/fibonacci/number/Cargo.toml b/src/new/templates/rust/no-ui/fibonacci/number/Cargo.toml index 46e5cd04..9a680a73 100644 --- a/src/new/templates/rust/no-ui/fibonacci/number/Cargo.toml +++ b/src/new/templates/rust/no-ui/fibonacci/number/Cargo.toml @@ -6,10 +6,10 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = "0.9.6" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/fibonacci/pkg/manifest.json b/src/new/templates/rust/no-ui/fibonacci/pkg/manifest.json index 7ac53d13..8aa9b5e1 100644 --- a/src/new/templates/rust/no-ui/fibonacci/pkg/manifest.json +++ b/src/new/templates/rust/no-ui/fibonacci/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys", + "http-server:distro:sys", "vfs:distro:sys" ], "grant_capabilities": [], diff --git a/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/api/fibonacci_test:template.os-v0.wit b/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/api/fibonacci_test:template.os-v0.wit index bef06257..53c1405a 100644 --- a/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/api/fibonacci_test:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/api/fibonacci_test:template.os-v0.wit @@ -1,5 +1,5 @@ world fibonacci-test-template-dot-os-v0 { import fibonacci; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/fibonacci-test/Cargo.toml b/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/fibonacci-test/Cargo.toml index 6c0545af..72829a7a 100644 --- a/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/fibonacci-test/Cargo.toml +++ b/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/fibonacci-test/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = "0.9.2" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/metadata.json b/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/metadata.json index ac9d24c4..b985f761 100644 --- a/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/metadata.json +++ b/src/new/templates/rust/no-ui/fibonacci/test/fibonacci-test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "fibonacci:template.os", "tester:sys" diff --git a/src/new/templates/rust/no-ui/file-transfer/api/file-transfer:template.os-v0.wit b/src/new/templates/rust/no-ui/file-transfer/api/file-transfer:template.os-v0.wit index 3f5a3ed2..bcacddfc 100644 --- a/src/new/templates/rust/no-ui/file-transfer/api/file-transfer:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/file-transfer/api/file-transfer:template.os-v0.wit @@ -75,5 +75,5 @@ world file-transfer-worker-api-v0 { world file-transfer-template-dot-os-v0 { import file-transfer; import file-transfer-worker; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/file-transfer/download/Cargo.toml b/src/new/templates/rust/no-ui/file-transfer/download/Cargo.toml index 11b7a6a7..770af5cd 100644 --- a/src/new/templates/rust/no-ui/file-transfer/download/Cargo.toml +++ b/src/new/templates/rust/no-ui/file-transfer/download/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = "0.9.6" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker-api/Cargo.toml b/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker-api/Cargo.toml index 9c945335..985ea365 100644 --- a/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker-api/Cargo.toml +++ b/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker-api/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = "0.9.6" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker/Cargo.toml b/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker/Cargo.toml index 58fdcaf1..0f8dbf5c 100644 --- a/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker/Cargo.toml +++ b/src/new/templates/rust/no-ui/file-transfer/file-transfer-worker/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { version = "0.9.6", features = ["logging"] } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8", features = ["logging"] } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/file-transfer/file-transfer/Cargo.toml b/src/new/templates/rust/no-ui/file-transfer/file-transfer/Cargo.toml index 25514d57..8c3c3eea 100644 --- a/src/new/templates/rust/no-ui/file-transfer/file-transfer/Cargo.toml +++ b/src/new/templates/rust/no-ui/file-transfer/file-transfer/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = { version = "0.9.6", features = ["logging"] } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8", features = ["logging"] } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/file-transfer/list-files/Cargo.toml b/src/new/templates/rust/no-ui/file-transfer/list-files/Cargo.toml index e296d065..10607023 100644 --- a/src/new/templates/rust/no-ui/file-transfer/list-files/Cargo.toml +++ b/src/new/templates/rust/no-ui/file-transfer/list-files/Cargo.toml @@ -6,11 +6,11 @@ publish = false [dependencies] anyhow = "1.0" -kinode_process_lib = "0.9.6" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/file-transfer/metadata.json b/src/new/templates/rust/no-ui/file-transfer/metadata.json index 359b738c..44e7295f 100644 --- a/src/new/templates/rust/no-ui/file-transfer/metadata.json +++ b/src/new/templates/rust/no-ui/file-transfer/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "file-transfer:template.os" ] diff --git a/src/new/templates/rust/no-ui/file-transfer/pkg/manifest.json b/src/new/templates/rust/no-ui/file-transfer/pkg/manifest.json index f5385b24..68d17308 100644 --- a/src/new/templates/rust/no-ui/file-transfer/pkg/manifest.json +++ b/src/new/templates/rust/no-ui/file-transfer/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys", + "http-server:distro:sys", "vfs:distro:sys" ], "grant_capabilities": [], diff --git a/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/api/file-transfer-test:template.os-v0.wit b/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/api/file-transfer-test:template.os-v0.wit index 99b62ce1..ce6ea67d 100644 --- a/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/api/file-transfer-test:template.os-v0.wit +++ b/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/api/file-transfer-test:template.os-v0.wit @@ -1,5 +1,5 @@ world file-transfer-test-template-dot-os-v0 { import file-transfer; import tester; - include process-v0; + include process-v1; } diff --git a/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/file-transfer-test/Cargo.toml b/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/file-transfer-test/Cargo.toml index 38908c67..b9d5cc24 100644 --- a/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/file-transfer-test/Cargo.toml +++ b/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/file-transfer-test/Cargo.toml @@ -7,13 +7,13 @@ publish = false [dependencies] anyhow = "1.0" bincode = "1.3" -kinode_process_lib = "0.9.2" +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } process_macros = { git = "https://github.com/kinode-dao/process_macros", rev = "626e501" } rmp-serde = "1.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/metadata.json b/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/metadata.json index 18e8694b..92bfe2c0 100644 --- a/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/metadata.json +++ b/src/new/templates/rust/no-ui/file-transfer/test/file-transfer-test/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [ "file-transfer:template.os", "tester:sys" diff --git a/src/new/templates/rust/ui/chat/chat/Cargo.toml b/src/new/templates/rust/ui/chat/chat/Cargo.toml index 42cb0fee..92155c77 100644 --- a/src/new/templates/rust/ui/chat/chat/Cargo.toml +++ b/src/new/templates/rust/ui/chat/chat/Cargo.toml @@ -6,10 +6,10 @@ edition = "2021" [dependencies] anyhow = "1.0" bincode = "1.3.3" -kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", tag = "v0.8.0" } +kinode_process_lib = { git = "https://github.com/kinode-dao/process_lib", rev = "2a526c8" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -wit-bindgen = "0.24.0" +wit-bindgen = "0.36.0" [lib] crate-type = ["cdylib"] diff --git a/src/new/templates/rust/ui/chat/chat/src/lib.rs b/src/new/templates/rust/ui/chat/chat/src/lib.rs index 687b0520..aecc7c39 100644 --- a/src/new/templates/rust/ui/chat/chat/src/lib.rs +++ b/src/new/templates/rust/ui/chat/chat/src/lib.rs @@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize}; wit_bindgen::generate!({ path: "target/wit", - world: "process-v0", + world: "process-v1", }); #[derive(Debug, Serialize, Deserialize)] @@ -204,11 +204,7 @@ fn handle_chat_request( }; // Send a WebSocket message to the http server in order to update the UI - send_ws_push( - channel_id.clone(), - WsMessageType::Text, - blob, - ); + send_ws_push(channel_id.clone(), WsMessageType::Text, blob); } ChatRequest::History => { // If this is an HTTP request, send a response to the http server diff --git a/src/new/templates/rust/ui/chat/metadata.json b/src/new/templates/rust/ui/chat/metadata.json index 267211d6..8f9795c5 100644 --- a/src/new/templates/rust/ui/chat/metadata.json +++ b/src/new/templates/rust/ui/chat/metadata.json @@ -10,7 +10,7 @@ "code_hashes": { "0.1.0": "" }, - "wit_version": 0, + "wit_version": 1, "dependencies": [] }, "external_url": "", diff --git a/src/new/templates/rust/ui/chat/pkg/manifest.json b/src/new/templates/rust/ui/chat/pkg/manifest.json index 0e55daa8..51a73ac0 100644 --- a/src/new/templates/rust/ui/chat/pkg/manifest.json +++ b/src/new/templates/rust/ui/chat/pkg/manifest.json @@ -5,7 +5,7 @@ "on_exit": "Restart", "request_networking": true, "request_capabilities": [ - "http_server:distro:sys", + "http-server:distro:sys", "vfs:distro:sys" ], "grant_capabilities": [],