Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1998 commits
Select commit Hold shift + click to select a range
8a6e243
chore: remove redundant `deps.toml` entries
rvolosatovs Jan 17, 2025
d8a20d1
feat: add `wasi-0.3.0` draft (#164)
rvolosatovs Feb 4, 2025
532b393
Unify the format of wit files (#97)
oovm Feb 5, 2025
7f52477
Document the `link` function's error conditions. (#165)
sunfishcode Feb 5, 2025
55b03a4
Port #165 to wit-0.3.0. (#166)
sunfishcode Feb 5, 2025
5ec10be
chore: pin deps
rvolosatovs Jan 17, 2025
ea84385
chore: remove redundant `deps.toml` entries
rvolosatovs Jan 17, 2025
ed70bd6
Automate publishing and signing of Wasm Components
yoshuawuyts Feb 5, 2025
24e1920
Merge pull request #113 from yoshuawuyts/publish
badeend Feb 6, 2025
7ed0f72
Fix publish.yml
yoshuawuyts Feb 4, 2025
c7b25f7
Automate publishing and signing of Wasm Components
yoshuawuyts Feb 5, 2025
2af455d
Automate publishing and signing of Wasm Components
yoshuawuyts Feb 5, 2025
6474855
Automate publishing and signing of Wasm Components
yoshuawuyts Feb 5, 2025
9b6bbe3
Create publish.yml
yoshuawuyts Feb 5, 2025
1eeab9a
Update publish.yml
yoshuawuyts Feb 6, 2025
3b3bf8a
Create publish.yml
yoshuawuyts Feb 5, 2025
0313fd9
ci: update wit version workflow
ricochet Feb 6, 2025
ec3a24d
Update to v0.2.4 (#100)
github-actions[bot] Feb 6, 2025
6a2c01f
ci: use release prefix for pr (#101)
ricochet Feb 6, 2025
e4a17ab
ci: update publish.yml with org pat (#103)
ricochet Feb 6, 2025
497d4c1
Update publish.yml
yoshuawuyts Feb 6, 2025
9da51e0
ci: set user (#104)
ricochet Feb 6, 2025
b79adda
Revert "ci: set user (#104)"
yoshuawuyts Feb 6, 2025
4fec878
Add update action
yoshuawuyts Feb 6, 2025
c15bd28
ci: fix pr branch
ricochet Feb 6, 2025
d6d66aa
ci: fix pr branch (#106)
ricochet Feb 6, 2025
a0f86bb
Merge pull request #55 from ricochet/fix-pr-branch
yoshuawuyts Feb 6, 2025
6c2f326
Add publish action
yoshuawuyts Feb 6, 2025
e294aba
Update update.yml
yoshuawuyts Feb 6, 2025
509ccaa
Update update.yml
yoshuawuyts Feb 6, 2025
de2644e
Update to v0.2.4
github-actions[bot] Feb 6, 2025
3ca6b84
Update to v0.2.4
github-actions[bot] Feb 6, 2025
79a4cd6
Add publish action
yoshuawuyts Feb 6, 2025
1a94d01
ci: fix release branch
ricochet Feb 6, 2025
86dbc8e
Merge pull request #169 from ricochet/fix-branch
yoshuawuyts Feb 6, 2025
5ac4019
Update to v0.2.4
github-actions[bot] Feb 6, 2025
b89db73
Add update github action
yoshuawuyts Feb 6, 2025
be12da9
Update to v0.2.4
github-actions[bot] Feb 6, 2025
a46cb2d
Add "update" github action
yoshuawuyts Feb 6, 2025
3c11659
ci: update deps.toml
ricochet Feb 6, 2025
f054a25
Merge pull request #58 from ricochet/deps
yoshuawuyts Feb 6, 2025
4676632
fix markdown generation
yoshuawuyts Feb 6, 2025
2f8b2d8
Add "update" action
yoshuawuyts Feb 6, 2025
d95032a
generate markdown for both worlds
yoshuawuyts Feb 6, 2025
d0ee7f5
Update publish.yml
yoshuawuyts Feb 6, 2025
ae259e2
Update to v0.2.4
github-actions[bot] Feb 6, 2025
c1efed8
Update update.yml
yoshuawuyts Feb 6, 2025
9649c84
run html gen
yoshuawuyts Feb 6, 2025
b8c6574
Merge pull request #61 from yoshuawuyts/fix-ci
yoshuawuyts Feb 6, 2025
6c33b00
specify features
yoshuawuyts Feb 6, 2025
4f4f3ea
ci: find replace deps version in update
ricochet Feb 6, 2025
a9820a0
Merge pull request #149 from ricochet/find-deps
yoshuawuyts Feb 6, 2025
4fc87fa
Update to v0.2.4
github-actions[bot] Feb 6, 2025
8dd0f57
feat: add `wit-0.3.0-draft` (#52)
rvolosatovs Feb 6, 2025
1b69eb7
Fix CI by enabling all features
yoshuawuyts Feb 7, 2025
2ffe617
re-lock 0.3.0 deps
yoshuawuyts Feb 7, 2025
7e3c8a0
Unify the format of wit files (#78)
oovm Feb 8, 2025
0f285e3
ci: render all-features
ricochet Feb 13, 2025
8d95d26
ci: render all-features
ricochet Feb 13, 2025
acfd4d6
ci: render all-features
ricochet Feb 13, 2025
3ad78a6
ci: render all-features (#107)
ricochet Feb 13, 2025
79f386d
Merge pull request #57 from ricochet/main
yoshuawuyts Feb 13, 2025
426b816
Merge pull request #172 from ricochet/main
yoshuawuyts Feb 13, 2025
ba51c68
Merge pull request #117 from WebAssembly/all-features
yoshuawuyts Feb 13, 2025
e1badd2
ci: render all-features
ricochet Feb 13, 2025
41687f1
fix CI
yoshuawuyts Feb 14, 2025
4b927fe
Merge pull request #63 from ricochet/all-fts
yoshuawuyts Feb 14, 2025
200956a
fix(wasip3): allow `send` on unbound UDP sockets
rvolosatovs Feb 25, 2025
32743b3
Merge pull request #118 from rvolosatovs/fix/unbound-udp-send
badeend Feb 26, 2025
1196041
refactor(p3): clarify `tcp-socket.receive` semantics
rvolosatovs Feb 26, 2025
4c6736e
Merge pull request #119 from rvolosatovs/refactor/unwrap-result-future
badeend Feb 27, 2025
ae04aaf
feat: allow independent retrieval of trailers (#154)
vados-cosmonic Mar 10, 2025
0a1661b
fix misplaced `>` in `body.stream` signature (#155)
dicej Mar 11, 2025
0d42393
chore(0.3): update to `wasi:cli@0.3.0` (#145)
rvolosatovs Mar 12, 2025
c0f8c19
feat(p3): allow trailer retrieval to fail (#157)
rvolosatovs Mar 12, 2025
b2d02cd
feat(p3): return owned `request-options` on consumption (#160)
rvolosatovs Mar 12, 2025
53c4b87
Update to v0.2.5 (#108)
github-actions[bot] Apr 3, 2025
7814265
Update to v0.2.5
github-actions[bot] Apr 3, 2025
ac53897
Merge pull request #58 from WebAssembly/release-v0.2.5
yoshuawuyts Apr 3, 2025
5142c48
ci: render all-features (#83)
ricochet Apr 3, 2025
0a9b965
Update to v0.2.5 (#85)
github-actions[bot] Apr 3, 2025
786af22
Update to v0.2.5
github-actions[bot] Apr 3, 2025
732e6e7
Merge pull request #173 from WebAssembly/release-v0.2.5
yoshuawuyts Apr 3, 2025
bf6c212
Update to v0.2.5
github-actions[bot] Apr 3, 2025
7c9ffeb
Merge pull request #120 from WebAssembly/release-v0.2.5
yoshuawuyts Apr 3, 2025
9fa10de
render all features on ci
yoshuawuyts Apr 3, 2025
cfd6f85
Merge pull request #68 from yoshuawuyts/all-features
yoshuawuyts Apr 3, 2025
00a4f79
Update to v0.2.5
github-actions[bot] Apr 3, 2025
f70eade
Merge pull request #69 from WebAssembly/release-v0.2.5
yoshuawuyts Apr 3, 2025
3a68dbe
Update to v0.2.5
github-actions[bot] Apr 3, 2025
d29287e
Merge pull request #166 from WebAssembly/release-v0.2.5
yoshuawuyts Apr 3, 2025
7e203f9
Link to correct version of TCP operational semantics doc
catamorphism Apr 10, 2025
3bc84cb
[v0.3] model bodies after `stream<u8, trailers, error-code>`, trap le…
rvolosatovs Apr 11, 2025
0b6c5ff
Merge pull request #121 from catamorphism/fix-link
badeend Apr 12, 2025
cab6b77
chore: wit-abi-up-to-date v24
ricochet Jun 10, 2025
0cb9855
chore: wit-abi-up-to-date@v24
ricochet Jun 10, 2025
1675146
chore: wit-abi-up-to-date@v24
ricochet Jun 10, 2025
7bd68e4
chore: wit-abi-up-to-date@v24
ricochet Jun 10, 2025
af11c3c
chore: wit-abi-up-to-date@v24
ricochet Jun 10, 2025
53140dd
chore: wit-abi-up-to-date@v24
ricochet Jun 10, 2025
76462d5
chore: wit-abi-up-to-date@v24
ricochet Jun 10, 2025
8fdb2d7
Update to v0.2.6
github-actions[bot] Jun 12, 2025
ac3bbac
Update to v0.2.6
github-actions[bot] Jun 12, 2025
ffb7afc
Update to v0.2.6
github-actions[bot] Jun 12, 2025
0c75dfa
Update to v0.2.6
github-actions[bot] Jun 12, 2025
820df64
Update to v0.2.6
github-actions[bot] Jun 12, 2025
088ba12
Update to v0.2.6
github-actions[bot] Jun 12, 2025
9208c53
output-stream: clarify semantics of blocking-write-and-flush (#112)
pchickey Jun 19, 2025
6b4b048
chore: mark async functions as such
rvolosatovs Jul 18, 2025
24c13ad
Merge pull request #126 from rvolosatovs/async-annotations
badeend Jul 18, 2025
9fbbaf5
chore: update WIT dependencies (#66)
rvolosatovs Jul 23, 2025
405a878
Add `get-*` prefix (#73)
badeend Jul 23, 2025
ef09bd2
Add `get-*` prefix to getters (#170)
badeend Jul 23, 2025
42c6a2a
Change constructors to fallible static methods.
badeend Aug 4, 2025
6ebe347
Add `async` annotation to 0.3.0-draft WITs
alexcrichton Jul 31, 2025
a88ea89
Add `get-*` prefix
badeend Jun 28, 2025
f7d6db7
Revise the documentation for WASI 0.3.0's descriptor::read.
sunfishcode Feb 8, 2025
24a22b2
Update wit-0.3.0-draft/types.wit
sunfishcode Jul 22, 2025
ffe0165
Add `get-*` prefix
badeend Jun 28, 2025
2ae4911
Update wit-0.3.0-draft/types.wit
badeend Aug 12, 2025
8ec88c2
Update wit-0.3.0-draft/types.wit
badeend Aug 12, 2025
46965d7
Update to v0.2.7 (#113)
github-actions[bot] Aug 12, 2025
f38ad95
Update to v0.2.7
github-actions[bot] Aug 12, 2025
964ada6
Update to v0.2.7
github-actions[bot] Aug 12, 2025
9d2e8c4
Merge pull request #178 from WebAssembly/release-v0.2.7
yoshuawuyts Aug 12, 2025
80c421f
Update to v0.2.7
github-actions[bot] Aug 12, 2025
509d818
Merge pull request #131 from WebAssembly/release-v0.2.7
yoshuawuyts Aug 12, 2025
a326876
Merge pull request #130 from badeend/fallible-socket-creation
badeend Aug 12, 2025
594aac9
Update to v0.2.7
github-actions[bot] Aug 12, 2025
786a249
Merge pull request #76 from WebAssembly/release-v0.2.7
yoshuawuyts Aug 12, 2025
2bd6d23
Update to v0.2.7
github-actions[bot] Aug 12, 2025
4daa976
Merge pull request #171 from WebAssembly/release-v0.2.7
yoshuawuyts Aug 12, 2025
dccc714
ci: update, test, publish 0.3.0 workflows
ricochet Aug 14, 2025
3298d76
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-14
github-actions[bot] Aug 14, 2025
94400eb
Merge pull request #7 from ricochet/update-wit-0.3.0-rc-2025-08-14
ricochet Aug 14, 2025
145bc34
ci: publish workflows for 0.3.0-rc's
ricochet Aug 14, 2025
e64e6ac
ci: update, test, publish 0.3.0 workflows
ricochet Aug 14, 2025
171e314
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-15 (#92)
github-actions[bot] Aug 15, 2025
b090ec2
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-15
github-actions[bot] Aug 15, 2025
560df25
ci: add 0.3 publishing workflows
ricochet Aug 15, 2025
72c7646
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-15
github-actions[bot] Aug 15, 2025
503065e
fix: regex to include all wit directives
ricochet Aug 15, 2025
6c07397
ci: fix 0.3 wit-deps update
ricochet Aug 15, 2025
2c3ee2a
ci: must use same oci URI as 0.2
ricochet Aug 15, 2025
310b6af
fix: regex to include all wit directives
ricochet Aug 15, 2025
ffea481
ci: must use same oci URI package as 0.2
ricochet Aug 15, 2025
f07667c
ci: publish 0.3. workflows
ricochet Aug 15, 2025
5d91676
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-15
github-actions[bot] Aug 15, 2025
90f6d7b
ci: must use same oci URI package as 0.2
ricochet Aug 15, 2025
974cc2b
ci: publish 0.3. workflows
ricochet Aug 15, 2025
7604ad1
p3: add `async` annotations
rvolosatovs Aug 15, 2025
89ee3f8
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-15
github-actions[bot] Aug 15, 2025
d74deb2
ci: publish 0.3. workflows
ricochet Aug 15, 2025
409bb0d
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-08-15
github-actions[bot] Aug 15, 2025
fba397f
Merge pull request #174 from WebAssembly/update-wit-0.3.0-rc-2025-08-15
ricochet Aug 15, 2025
7e74231
fix: 0.3 remove additional -draft
ricochet Aug 15, 2025
6225539
Merge pull request #175 from ricochet/fix-draft
ricochet Aug 15, 2025
de13592
correct grammar (#95)
EugenDueck Aug 16, 2025
5fae773
Flag `wasi:cli/run#run` as an async function (#79)
alexcrichton Sep 8, 2025
26e5038
Document that `monotonic-clock.now` doesn't wrap. (#96)
sunfishcode Sep 8, 2025
9e42094
add new types.wit package to hold `duration` (#98)
bakkot Sep 8, 2025
1f2b9ac
stdio: Update interfaces to support error results
lann Sep 8, 2025
506143f
p3: rework `consume-body` (#185)
rvolosatovs Sep 15, 2025
b1d3853
stdio: Tweak method names
lann Sep 15, 2025
7b057a9
Merge pull request #82 from lann/stdio-errors
lann Sep 15, 2025
4c5cae5
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
3e634ac
Merge pull request #67 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
e33f06c
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
6a98257
Merge pull request #192 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
74447cc
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
0c90454
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
9b838e7
Merge pull request #186 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
e701fb7
Merge pull request #137 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
badeend Sep 16, 2025
7fea3a4
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16-1
github-actions[bot] Sep 16, 2025
acd8939
Merge pull request #68 from WebAssembly/update-wit-0.3.0-rc-2025-09-16-1
yoshuawuyts Sep 16, 2025
c1ee1cb
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16-1"
yoshuawuyts Sep 16, 2025
fb1c237
Merge pull request #69 from WebAssembly/revert-68-update-wit-0.3.0-rc…
yoshuawuyts Sep 16, 2025
d0e9226
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16"
yoshuawuyts Sep 16, 2025
16298c4
Merge pull request #70 from WebAssembly/revert-67-update-wit-0.3.0-rc…
yoshuawuyts Sep 16, 2025
7c0110a
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16"
yoshuawuyts Sep 16, 2025
fdfe834
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16"
yoshuawuyts Sep 16, 2025
fd48cfc
Merge pull request #138 from WebAssembly/revert-137-update-wit-0.3.0-…
yoshuawuyts Sep 16, 2025
738fa8f
Merge pull request #188 from WebAssembly/revert-186-update-wit-0.3.0-…
yoshuawuyts Sep 16, 2025
718418c
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16"
yoshuawuyts Sep 16, 2025
885da97
Merge pull request #193 from WebAssembly/revert-192-update-wit-0.3.0-…
yoshuawuyts Sep 16, 2025
dcdadcf
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16-1
github-actions[bot] Sep 16, 2025
1775905
Merge pull request #71 from WebAssembly/update-wit-0.3.0-rc-2025-09-16-1
yoshuawuyts Sep 16, 2025
377abcd
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
2608e10
Merge pull request #194 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
4458fd4
fix ci (#102)
yoshuawuyts Sep 16, 2025
e590539
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16 (#103)
github-actions[bot] Sep 16, 2025
9ba65ff
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16"
yoshuawuyts Sep 16, 2025
d0ccdf0
Merge pull request #195 from WebAssembly/revert-194-update-wit-0.3.0-…
yoshuawuyts Sep 16, 2025
b42d966
stdio: Fix error-code references
lann Sep 16, 2025
a0216aa
Merge pull request #83 from lann/fix-error-code
yoshuawuyts Sep 16, 2025
f367c46
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
cde4bf1
Merge pull request #84 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
07b94eb
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
d39a03a
Merge pull request #196 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
8259d1d
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
1fae07f
Merge pull request #139 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
ce50692
Revert "Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16-1"
ricochet Sep 16, 2025
b8931ee
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
73adc80
Merge pull request #73 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
f4e1913
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
2973204
Merge pull request #86 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
74cdc6d
Update 0.3.0 WIT definitions to 0.3.0-rc-2025-09-16
github-actions[bot] Sep 16, 2025
a75be61
Merge pull request #189 from WebAssembly/update-wit-0.3.0-rc-2025-09-16
yoshuawuyts Sep 16, 2025
afae8b8
feat: Avoid nonstandard use of names for types in wit-0.3.0-draft (#79)
bakkot Sep 22, 2025
6f69e6d
Feat: Timezone improvements (#71)
ptomato Sep 26, 2025
2b0b317
use new clocks/types.{duration} instead of clocks/monotonic (#191)
bakkot Oct 6, 2025
b7ef60b
use new clocks/types.{duration} instead of clocks/monotonic
bakkot Sep 30, 2025
34b716c
Update to v0.2.8
github-actions[bot] Oct 7, 2025
c609be7
Merge pull request #74 from WebAssembly/release-v0.2.8
ricochet Oct 7, 2025
8e90993
Revert "Release v0.2.8"
ricochet Oct 7, 2025
036fca9
Update to v0.2.8
github-actions[bot] Oct 7, 2025
e9cdcf6
Merge pull request #76 from WebAssembly/release-v0.2.8
ricochet Oct 7, 2025
0ba9e5d
fix: incorrect revert, 0.2.7 pin
ricochet Oct 7, 2025
1c2668e
Update to v0.2.8
github-actions[bot] Oct 7, 2025
98c51be
Update to v0.2.8
github-actions[bot] Oct 7, 2025
1d2f2f0
Update to v0.2.8
github-actions[bot] Oct 7, 2025
e57b432
Merge pull request #201 from WebAssembly/release-v0.2.8
ricochet Oct 7, 2025
07e8a0e
Update to v0.2.8
github-actions[bot] Oct 7, 2025
ec5204c
Merge pull request #141 from WebAssembly/release-v0.2.8
ricochet Oct 7, 2025
ce9f5a9
Update to v0.2.8
github-actions[bot] Oct 7, 2025
7de53c0
Merge pull request #88 from WebAssembly/release-v0.2.8
ricochet Oct 7, 2025
5c7a4e0
Update to v0.2.8
github-actions[bot] Oct 7, 2025
439540c
Merge pull request #200 from WebAssembly/release-v0.2.8
ricochet Oct 7, 2025
7e3231e
Regenerate markdown
lann Oct 10, 2025
00f1146
Rework 0.3 handlers and worlds
lann Oct 6, 2025
6b3bbb0
Address PR feedback
lann Oct 15, 2025
fff534d
Adopt PR feedback
lann Oct 16, 2025
7bb5c6f
Add note about linking client to handler
lann Oct 16, 2025
3930ac1
Use `.` instead of `/` for interface members.
sunfishcode Oct 27, 2025
4463112
Update imports.md.
sunfishcode Oct 27, 2025
644cd71
Use wit-bindgen 0.43.1.
sunfishcode Oct 27, 2025
f43af35
Use `.` instead of `/` for interface members.
sunfishcode Oct 27, 2025
2d46382
Renegerate markdown files with wit-bindgen 0.43.1.
sunfishcode Oct 27, 2025
8a42980
Update to WebAssembly/wit-abi-up-to-date@v25.
sunfishcode Oct 27, 2025
0cbeedc
Generate docs with --all-features.
sunfishcode Oct 27, 2025
1e64277
[0.3.0-draft] Include the full wasi:random/imports
sunfishcode Nov 3, 2025
d7c7ce0
ignore files in tmp/
yoshuawuyts Nov 25, 2025
a0429fc
Merge wasi:io proposal
yoshuawuyts Nov 25, 2025
e98eaca
Merge wasi:clocks proposal
yoshuawuyts Nov 25, 2025
98ae974
Merge wasi:cli proposal
yoshuawuyts Nov 25, 2025
e5ddfdb
Merge wasi:filesystem proposal
yoshuawuyts Nov 25, 2025
1ad1659
Merge wasi:http proposal
yoshuawuyts Nov 25, 2025
ec93a74
Merge wasi:random proposal
yoshuawuyts Nov 25, 2025
50e80ee
Merge wasi:sockets proposal
yoshuawuyts Nov 25, 2025
3a487f4
Remove the .github dirs from merged proposals
yoshuawuyts Nov 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.wasm
*.wasm
tmp/
8 changes: 8 additions & 0 deletions proposals/cli/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Copyright © 2019-2024 the Contributors to the WASI Specification, published
by the [WebAssembly Community Group][cg] under the
[W3C Community Contributor License Agreement (CLA)][cla]. A human-readable
[summary][summary] is available.

[cg]: https://www.w3.org/community/webassembly/
[cla]: https://www.w3.org/community/about/agreements/cla/
[summary]: https://www.w3.org/community/about/agreements/cla-deed/
119 changes: 119 additions & 0 deletions proposals/cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# WASI CLI World

A proposed [WebAssembly System Interface](https://github.com/WebAssembly/WASI) API.

### Current Phase

wasi-cli is currently in [Phase 3].

[Phase 3]: https://github.com/WebAssembly/WASI/blob/main/Proposals.md#phase-3---implementation-phase-cg--wg

### Champions

- Dan Gohman

### Portability Criteria

WASI CLI must have host implementations which can pass the testsuite
on at least Windows, macOS, and Linux.

WASI CLI must have at least two complete independent implementations.

## Table of Contents

- [Introduction](#introduction)
- [Goals [or Motivating Use Cases, or Scenarios]](#goals-or-motivating-use-cases-or-scenarios)
- [Non-goals](#non-goals)
- [API walk-through](#api-walk-through)
- [Use case 1](#use-case-1)
- [Use case 2](#use-case-2)
- [Detailed design discussion](#detailed-design-discussion)
- [Should stdout be an `output-stream`?](#should-stdout-be-an-output-stream)
- [Should stderr be an `output-stream`?](#should-stderr-be-an-output-stream)
- [Should environment variables be arguments to `command`?](#should-environment-variables-be-arguments-to-command)
- [Stakeholder Interest & Feedback](#stakeholder-interest--feedback)
- [References & acknowledgements](#references--acknowledgements)

### Introduction

Wasi-cli a [World] proposal for a Command-Line Interface (CLI) environment. It provides APIs commonly available in such environments, such as filesystems and sockets, and also provides command-line facilities such as command-line arguments, environment variables, and stdio.

[World]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md#wit-worlds

### Goals

Wasi-cli aims to be useful for:

- Interactive command-line argument programs.

- Servers that use filesystems, sockets, and related APIs and expect to be started with
a CLI-style command-line.

- Stream filters that read from standard input and write to standard output.

### Non-goals

Wasi-cli is not aiming to significantly re-imagine the concept of command-line interface programs. While WASI as a whole is exploring ideas such as [Typed Main], wasi-cli sticks to the traditional list-of-strings style command-line arguments.

[Typed Main]: https://sunfishcode.github.io/typed-main-wasi-presentation/

### API walk-through

The full API documentation can be found [here](command.md).

TODO [Walk through of how someone would use this API.]

#### [Use case 1]

[Provide example code snippets and diagrams explaining how the API would be used to solve the given problem]

#### [Use case 2]

[etc.]

### Detailed design discussion

#### Should stdout be an `output-stream`?

For server use cases, standard output (stdout) is typically used as a log,
where it's typically not meaningfully blocking, async, or fallible. It's just
a place for the program to send messages to and forget about them. One option
would be to give such use cases a dedicated API, which would have a single
function to allow printing strings that doesn't return a `result`, meaning it
never fails.

However, it'd only be a minor simplification in practice, and dedicated cloud
or edge use cases should ideally migrate to more specialized worlds than the
wasi-cli world anyway, as they can result in much greater simplifications, so
this doesn't seem worthwhile.

#### Should stderr be an `output-stream`?

This is similar to the question for stdout, but for standard error (stderr),
it's a little more tempting to do something like this because stderr is used
in this logging style by many kinds of applications.

However, it seems better overall to keep stderr consistent with stdout, and
focus our desires for simplification toward other worlds, which can achieve
even greater simplifications.

#### Should environment variables be arguments to `command`?

Environment variables are useful in some non-cli use cases, so leaving them
as separate imports means they can be used from worlds that don't have a
`command` entrypoint.

### Stakeholder Interest & Feedback

TODO before entering Phase 3.

[This should include a list of implementers who have expressed interest in implementing the proposal]

### References & acknowledgements

The concept of wasi-cli has been in development for over a year since the proposal is
posted here, and many people have contributed ideas that have influenced. Many thanks
for valuable feedback and advice in particular from:

- Luke Wagner
- Pat Hickey
Loading