diff --git a/proposals/cli/command.md b/proposals/cli/command.md index 006b06fd..0ce0d59c 100644 --- a/proposals/cli/command.md +++ b/proposals/cli/command.md @@ -2,37 +2,37 @@
wasi:cli/environment@0.3.1wasi:cli/exit@0.3.1wasi:cli/types@0.3.1wasi:cli/stdin@0.3.1wasi:cli/stdout@0.3.1wasi:cli/stderr@0.3.1wasi:cli/terminal-input@0.3.1wasi:cli/terminal-output@0.3.1wasi:cli/terminal-stdin@0.3.1wasi:cli/terminal-stdout@0.3.1wasi:cli/terminal-stderr@0.3.1wasi:clocks/types@0.3.1wasi:clocks/monotonic-clock@0.3.1wasi:clocks/system-clock@0.3.1wasi:clocks/timezone@0.3.1wasi:filesystem/types@0.3.1wasi:filesystem/preopens@0.3.1wasi:sockets/types@0.3.1wasi:sockets/ip-name-lookup@0.3.1wasi:random/random@0.3.1wasi:random/insecure@0.3.1wasi:random/insecure-seed@0.3.1wasi:cli/environment@0.3.2wasi:cli/exit@0.3.2wasi:cli/types@0.3.2wasi:cli/stdin@0.3.2wasi:cli/stdout@0.3.2wasi:cli/stderr@0.3.2wasi:cli/terminal-input@0.3.2wasi:cli/terminal-output@0.3.2wasi:cli/terminal-stdin@0.3.2wasi:cli/terminal-stdout@0.3.2wasi:cli/terminal-stderr@0.3.2wasi:clocks/types@0.3.2wasi:clocks/monotonic-clock@0.3.2wasi:clocks/system-clock@0.3.2wasi:clocks/timezone@0.3.2wasi:filesystem/types@0.3.2wasi:filesystem/preopens@0.3.2wasi:sockets/types@0.3.2wasi:sockets/ip-name-lookup@0.3.2wasi:random/random@0.3.2wasi:random/insecure@0.3.2wasi:random/insecure-seed@0.3.2wasi:cli/run@0.3.1wasi:cli/run@0.3.2get-environment: func. as shorthand for this.
-exit: funcenum error-codeBroken pipe -
type error-codeu8>, future<result<_, error-code>>)type error-codeerror-code>>type error-codeerror-code>>Terminal input.
In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through @@ -175,7 +175,7 @@ immediately, querying supported features, and so on.
resource terminal-inputThe input side of a terminal.
-Terminal output.
In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported @@ -184,7 +184,7 @@ features, and so on.
resource terminal-outputThe output side of a terminal.
-An interface providing an optional terminal-input for stdin as a
link-time authority.
terminal-input>>An interface providing an optional terminal-output for stdout as a
link-time authority.
terminal-output>>An interface providing an optional terminal-output for stderr as a
link-time authority.
terminal-output>>This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
It is intended to be portable at least between Unix-family platforms and @@ -292,7 +292,7 @@ corresponding to a clock tick.
how-long: durationWASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.
It is intended to be portable at least between Unix-family platforms and @@ -340,7 +340,7 @@ that the implementation permits distinguishing.
-type instantWASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.
@@ -1229,7 +1229,7 @@ to by a directory descriptor and a relative path.metadata-hash-value, error-code>type descriptordescriptor>, string)>type durationerror-code>type ip-addressip-address>, error-code>WASI Random is a random data API.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -2454,7 +2454,7 @@ represented as au64.
-The insecure interface for insecure pseudo-random numbers.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -2489,7 +2489,7 @@ list without trapping. -The insecure-seed interface for seeding hash-map DoS resistance.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -2513,7 +2513,7 @@ protection. -run: funcwasi:cli/environment@0.3.1wasi:cli/exit@0.3.1wasi:cli/types@0.3.1wasi:cli/stdin@0.3.1wasi:cli/stdout@0.3.1wasi:cli/stderr@0.3.1wasi:cli/terminal-input@0.3.1wasi:cli/terminal-output@0.3.1wasi:cli/terminal-stdin@0.3.1wasi:cli/terminal-stdout@0.3.1wasi:cli/terminal-stderr@0.3.1wasi:clocks/types@0.3.1wasi:clocks/monotonic-clock@0.3.1wasi:clocks/system-clock@0.3.1wasi:clocks/timezone@0.3.1wasi:filesystem/types@0.3.1wasi:filesystem/preopens@0.3.1wasi:sockets/types@0.3.1wasi:sockets/ip-name-lookup@0.3.1wasi:random/random@0.3.1wasi:random/insecure@0.3.1wasi:random/insecure-seed@0.3.1wasi:cli/environment@0.3.2wasi:cli/exit@0.3.2wasi:cli/types@0.3.2wasi:cli/stdin@0.3.2wasi:cli/stdout@0.3.2wasi:cli/stderr@0.3.2wasi:cli/terminal-input@0.3.2wasi:cli/terminal-output@0.3.2wasi:cli/terminal-stdin@0.3.2wasi:cli/terminal-stdout@0.3.2wasi:cli/terminal-stderr@0.3.2wasi:clocks/types@0.3.2wasi:clocks/monotonic-clock@0.3.2wasi:clocks/system-clock@0.3.2wasi:clocks/timezone@0.3.2wasi:filesystem/types@0.3.2wasi:filesystem/preopens@0.3.2wasi:sockets/types@0.3.2wasi:sockets/ip-name-lookup@0.3.2wasi:random/random@0.3.2wasi:random/insecure@0.3.2wasi:random/insecure-seed@0.3.2get-environment: func. as shorthand for this.
-exit: funcenum error-codeBroken pipe -
type error-codeu8>, future<result<_, error-code>>)type error-codeerror-code>>type error-codeerror-code>>Terminal input.
In the future, this may include functions for disabling echoing, disabling input buffering so that keyboard events are sent through @@ -170,7 +170,7 @@ immediately, querying supported features, and so on.
resource terminal-inputThe input side of a terminal.
-Terminal output.
In the future, this may include functions for querying the terminal size, being notified of terminal size changes, querying supported @@ -179,7 +179,7 @@ features, and so on.
resource terminal-outputThe output side of a terminal.
-An interface providing an optional terminal-input for stdin as a
link-time authority.
terminal-input>>An interface providing an optional terminal-output for stdout as a
link-time authority.
terminal-output>>An interface providing an optional terminal-output for stderr as a
link-time authority.
terminal-output>>This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
It is intended to be portable at least between Unix-family platforms and @@ -287,7 +287,7 @@ corresponding to a clock tick.
how-long: durationWASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.
It is intended to be portable at least between Unix-family platforms and @@ -335,7 +335,7 @@ that the implementation permits distinguishing.
-type instantWASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.
@@ -1224,7 +1224,7 @@ to by a directory descriptor and a relative path.metadata-hash-value, error-code>type descriptordescriptor>, string)>type durationerror-code>type ip-addressip-address>, error-code>WASI Random is a random data API.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -2449,7 +2449,7 @@ represented as au64.
-The insecure interface for insecure pseudo-random numbers.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -2484,7 +2484,7 @@ list without trapping. -The insecure-seed interface for seeding hash-map DoS resistance.
It is intended to be portable at least between Unix-family platforms and Windows.
diff --git a/proposals/cli/wit/command.wit b/proposals/cli/wit/command.wit index 10a13c60..0f64b9d0 100644 --- a/proposals/cli/wit/command.wit +++ b/proposals/cli/wit/command.wit @@ -1,4 +1,4 @@ -package wasi:cli@0.3.1; +package wasi:cli@0.3.2; @since(version = 0.3.0) world command { diff --git a/proposals/cli/wit/deps.lock b/proposals/cli/wit/deps.lock index 7d0d89d7..20998cbe 100644 --- a/proposals/cli/wit/deps.lock +++ b/proposals/cli/wit/deps.lock @@ -1,19 +1,19 @@ [clocks] path = "../../clocks/wit" -sha256 = "cee7f7ffff62be2416295a0bbdc13d822f5b4449ce37e0eb7cbdf3195156429d" -sha512 = "446835d225349f00f44b8c47fb3e6189491cfc19fdf3b394e3edd85276e3f1d7a515efb318cd11ef271c164ec54a54307110f2d0b72212a0108324f449d9b946" +sha256 = "5cb223966f6b05ff20069dabf48a49d9b451bd7915f582bc7c58d8adcb0665a8" +sha512 = "c7985d84cf71fb467b86247e8d75ca2a8bae4704be1e3fc75638de68aca6486e5e6b9d501b379eb8fb48026d1edbff1c338bec27f84d09e0d24195801728ad93" [filesystem] path = "../../filesystem/wit" -sha256 = "7e29e1b85da02279d2853dff263bbfe647b1b19105b96bb2a850ea8d201e7bbb" -sha512 = "7cdba2ef1090aa6b83eb292dd90992df2a9db24f577728b9275e0c3eb4fe19bcb8f0e7defa914d79e7adee72029d8c9501b2cc6387723b515d0ff296c3c1acff" +sha256 = "7696414aa37faba93797b4b293628944da5a9de41358c25eca687cb529538a8d" +sha512 = "bc5e81fd9fd91f35e7220aaaebe24bc58c141dd7826428f19f94cc6f90acbab61e1592695804519b1ff5826a3ad342ec815f1449d53a1abc88cf98c2c1e80680" [random] path = "../../random/wit" -sha256 = "5196da126852cb29c39790da453ec6d5f46a266283dadd69a5f93f10a9850376" -sha512 = "4147e0f33b26cd6bf46cc1da4afed21e620fe8ede4b06199c8826fd456ed4977974ac1b6437dccdfb602f1b352d06a455717852f43ae5143fffc01e75ca3d74d" +sha256 = "f3f1be21aad52a5cdbdf7714e29e71a29fe2c4b9a7ae694ca00bc24ffb301de4" +sha512 = "cc9212ee4a7c2b646f3f693e5809e89e0477769cc9afde3b6024460ecf1f7c0a4f3386ddd0c17fcf6fa1f35f8e197d929df545fcb667082c129a361d30acc4d4" [sockets] path = "../../sockets/wit" -sha256 = "8db169a251f64d3b06162f2012a3b0b794a2e65187b130fc21adf5c913ddb140" -sha512 = "6d2a2a4b0b575a3856eb1d0448b4637357587123d12d4633b1e8bded88530085a1f36bfcfda6a2e27ce633581d7e3b778c2658f796b884972d3d2043ae7b5795" +sha256 = "2d64795d2520adb3f20805527f67ad5d812edeb2b12d21f0d9d1b8087f86e990" +sha512 = "6e261b35a3c908bade85a6f70a56cd1e7ef98d193149f4a7fa6b91a37cf8a85aa6f3aa2e1b32bc6f6fc600e9df5041eaef9a041738ce43c3d496f5cf49d26623" diff --git a/proposals/cli/wit/imports.wit b/proposals/cli/wit/imports.wit index 488604f4..dd3f7abf 100644 --- a/proposals/cli/wit/imports.wit +++ b/proposals/cli/wit/imports.wit @@ -1,15 +1,15 @@ -package wasi:cli@0.3.1; +package wasi:cli@0.3.2; @since(version = 0.3.0) world imports { @since(version = 0.3.0) - include wasi:clocks/imports@0.3.1; + include wasi:clocks/imports@0.3.2; @since(version = 0.3.0) - include wasi:filesystem/imports@0.3.1; + include wasi:filesystem/imports@0.3.2; @since(version = 0.3.0) - include wasi:sockets/imports@0.3.1; + include wasi:sockets/imports@0.3.2; @since(version = 0.3.0) - include wasi:random/imports@0.3.1; + include wasi:random/imports@0.3.2; @since(version = 0.3.0) import environment; diff --git a/proposals/clocks/imports.md b/proposals/clocks/imports.md index b3f30638..544330f4 100644 --- a/proposals/clocks/imports.md +++ b/proposals/clocks/imports.md @@ -2,21 +2,21 @@wasi:clocks/types@0.3.1wasi:clocks/monotonic-clock@0.3.1wasi:clocks/system-clock@0.3.1wasi:clocks/timezone@0.3.1wasi:clocks/types@0.3.2wasi:clocks/monotonic-clock@0.3.2wasi:clocks/system-clock@0.3.2wasi:clocks/timezone@0.3.2This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
It is intended to be portable at least between Unix-family platforms and @@ -66,7 +66,7 @@ corresponding to a clock tick.
how-long: durationWASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.
It is intended to be portable at least between Unix-family platforms and @@ -114,7 +114,7 @@ that the implementation permits distinguishing.
-type instantwasi:clocks/types@0.3.1wasi:clocks/system-clock@0.3.1wasi:filesystem/types@0.3.1wasi:filesystem/preopens@0.3.1wasi:clocks/types@0.3.2wasi:clocks/system-clock@0.3.2wasi:filesystem/types@0.3.2wasi:filesystem/preopens@0.3.2This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
WASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.
It is intended to be portable at least between Unix-family platforms and @@ -64,7 +64,7 @@ that the implementation permits distinguishing.
-WASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.
@@ -901,7 +901,7 @@ to by a directory descriptor and a relative path.metadata-hash-value, error-code>type descriptorwasi:clocks/types@0.3.1wasi:http/types@0.3.1wasi:http/handler@0.3.1wasi:cli/types@0.3.1wasi:cli/stdout@0.3.1wasi:cli/stderr@0.3.1wasi:cli/stdin@0.3.1wasi:http/client@0.3.1wasi:clocks/monotonic-clock@0.3.1wasi:clocks/system-clock@0.3.1wasi:clocks/timezone@0.3.1wasi:random/random@0.3.1wasi:random/insecure@0.3.1wasi:random/insecure-seed@0.3.1wasi:clocks/types@0.3.2wasi:http/types@0.3.2wasi:http/handler@0.3.2wasi:cli/types@0.3.2wasi:cli/stdout@0.3.2wasi:cli/stderr@0.3.2wasi:cli/stdin@0.3.2wasi:http/client@0.3.2wasi:clocks/monotonic-clock@0.3.2wasi:clocks/system-clock@0.3.2wasi:clocks/timezone@0.3.2wasi:random/random@0.3.2wasi:random/insecure@0.3.2wasi:random/insecure-seed@0.3.2wasi:http/handler@0.3.1wasi:http/handler@0.3.2This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
This interface defines all of the types and methods for implementing HTTP Requests and Responses, as well as their headers, trailers, and bodies.
u8>, future<result<option<own<trailers>>, error-code>>)This interface defines a handler of HTTP Requests.
In a wasi:http/service this interface is exported to respond to an
incoming HTTP Request with a Response.
response>, error-code>enum error-codeBroken pipe -
type error-codeerror-code>>type error-codeerror-code>>type error-codeu8>, future<result<_, error-code>>)This interface defines an HTTP client for sending "outgoing" requests.
Most components are expected to import this interface to provide the capability to send HTTP requests to arbitrary destinations on a network.
@@ -870,7 +870,7 @@ network or to forward it to another component.response>, error-code>WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
It is intended to be portable at least between Unix-family platforms and @@ -920,7 +920,7 @@ corresponding to a clock tick.
how-long: durationWASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.
It is intended to be portable at least between Unix-family platforms and @@ -968,7 +968,7 @@ that the implementation permits distinguishing.
-type instantWASI Random is a random data API.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -1060,7 +1060,7 @@ represented as au64.
-The insecure interface for insecure pseudo-random numbers.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -1095,7 +1095,7 @@ list without trapping. -The insecure-seed interface for seeding hash-map DoS resistance.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -1119,7 +1119,7 @@ protection. -type requestwasi:http/middleware.
wasi:cli/types@0.3.1wasi:cli/stdout@0.3.1wasi:cli/stderr@0.3.1wasi:cli/stdin@0.3.1wasi:clocks/types@0.3.1wasi:http/types@0.3.1wasi:http/client@0.3.1wasi:clocks/monotonic-clock@0.3.1wasi:clocks/system-clock@0.3.1wasi:clocks/timezone@0.3.1wasi:random/random@0.3.1wasi:random/insecure@0.3.1wasi:random/insecure-seed@0.3.1wasi:cli/types@0.3.2wasi:cli/stdout@0.3.2wasi:cli/stderr@0.3.2wasi:cli/stdin@0.3.2wasi:clocks/types@0.3.2wasi:http/types@0.3.2wasi:http/client@0.3.2wasi:clocks/monotonic-clock@0.3.2wasi:clocks/system-clock@0.3.2wasi:clocks/timezone@0.3.2wasi:random/random@0.3.2wasi:random/insecure@0.3.2wasi:random/insecure-seed@0.3.2wasi:http/handler@0.3.1wasi:http/handler@0.3.2enum error-codewasi:http/middleware.
Broken pipe -
type error-codeerror-code>>type error-codeerror-code>>type error-codeu8>, future<result<_, error-code>>)This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
This interface defines all of the types and methods for implementing HTTP Requests and Responses, as well as their headers, trailers, and bodies.
u8>, future<result<option<own<trailers>>, error-code>>)This interface defines an HTTP client for sending "outgoing" requests.
Most components are expected to import this interface to provide the capability to send HTTP requests to arbitrary destinations on a network.
@@ -837,7 +837,7 @@ network or to forward it to another component.response>, error-code>WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
It is intended to be portable at least between Unix-family platforms and @@ -887,7 +887,7 @@ corresponding to a clock tick.
how-long: durationWASI System Clock is a clock API intended to let users query the current time. The clock is not necessarily monotonic as it may be reset.
It is intended to be portable at least between Unix-family platforms and @@ -935,7 +935,7 @@ that the implementation permits distinguishing.
-type instantWASI Random is a random data API.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -1027,7 +1027,7 @@ represented as au64.
-The insecure interface for insecure pseudo-random numbers.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -1062,7 +1062,7 @@ list without trapping. -The insecure-seed interface for seeding hash-map DoS resistance.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -1086,7 +1086,7 @@ protection. -type requestwasi:random/random@0.3.1wasi:random/insecure@0.3.1wasi:random/insecure-seed@0.3.1wasi:random/random@0.3.2wasi:random/insecure@0.3.2wasi:random/insecure-seed@0.3.2WASI Random is a random data API.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -48,7 +48,7 @@ represented as au64.
-The insecure interface for insecure pseudo-random numbers.
It is intended to be portable at least between Unix-family platforms and Windows.
@@ -83,7 +83,7 @@ list without trapping. -The insecure-seed interface for seeding hash-map DoS resistance.
It is intended to be portable at least between Unix-family platforms and Windows.
diff --git a/proposals/random/wit/insecure-seed.wit b/proposals/random/wit/insecure-seed.wit index 5442acb9..77d84f7e 100644 --- a/proposals/random/wit/insecure-seed.wit +++ b/proposals/random/wit/insecure-seed.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; /// The insecure-seed interface for seeding hash-map DoS resistance. /// /// It is intended to be portable at least between Unix-family platforms and diff --git a/proposals/random/wit/insecure.wit b/proposals/random/wit/insecure.wit index 2332118e..2c29435c 100644 --- a/proposals/random/wit/insecure.wit +++ b/proposals/random/wit/insecure.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; /// The insecure interface for insecure pseudo-random numbers. /// /// It is intended to be portable at least between Unix-family platforms and diff --git a/proposals/random/wit/random.wit b/proposals/random/wit/random.wit index f16e3ff7..35fb1ac9 100644 --- a/proposals/random/wit/random.wit +++ b/proposals/random/wit/random.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; /// WASI Random is a random data API. /// /// It is intended to be portable at least between Unix-family platforms and diff --git a/proposals/random/wit/world.wit b/proposals/random/wit/world.wit index 25d7dfdb..e08d0692 100644 --- a/proposals/random/wit/world.wit +++ b/proposals/random/wit/world.wit @@ -1,4 +1,4 @@ -package wasi:random@0.3.1; +package wasi:random@0.3.2; @since(version = 0.3.0) world imports { diff --git a/proposals/sockets/imports.md b/proposals/sockets/imports.md index 8e744aa7..4d0c2e9f 100644 --- a/proposals/sockets/imports.md +++ b/proposals/sockets/imports.md @@ -2,20 +2,20 @@wasi:clocks/types@0.3.1wasi:sockets/types@0.3.1wasi:sockets/ip-name-lookup@0.3.1wasi:clocks/types@0.3.2wasi:sockets/types@0.3.2wasi:sockets/ip-name-lookup@0.3.2This interface common types used throughout wasi:clocks.
type durationu64
A duration of time, in nanoseconds. -
type durationerror-code>type ip-address