Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
aafa171
feat: expose linked TinyBox module
senamakel Sep 25, 2026
97f341d
fix: resolve TinyBus through registry version
senamakel Sep 25, 2026
ca66373
docs: update TinyBus linked module pin
senamakel Sep 25, 2026
24a0515
fix: update TinyBus manifest cache pin
senamakel Sep 25, 2026
ca8d82a
feat: select static TinyBus module exports
senamakel Sep 25, 2026
4c87e50
feat(shell): expose scan module and its test module
senamakel Sep 30, 2026
a1b5bf0
fix(scan): remove redundant continue and simplify pattern matches
senamakel Sep 30, 2026
5e9053c
Merge upstream main into linked module PR
senamakel Sep 30, 2026
ae4283a
feat(scan): detect background ampersands inside command substitutions
senamakel Sep 30, 2026
09bb35d
fix(jail): move command-substitution parsing after quote handling
senamakel Sep 30, 2026
b243a00
test: handle permission-denied errors in jail spawn tests
senamakel Sep 30, 2026
ceb12b8
fix(shell): handle unquoted heredoc bodies and nested command substit…
senamakel Sep 30, 2026
250619c
fix(scan): skip heredoc body stripping when no delimiters are quoted
senamakel Sep 30, 2026
d73c3ed
refactor(scan): simplify heredoc body stripping logic
senamakel Sep 30, 2026
8ab01ec
Merge oh-cwd-jail into shell scan branch
senamakel Sep 30, 2026
2e964c3
test(tinybox-jail): add test modules and a new integration test
senamakel Sep 30, 2026
30374a9
test(registry): add tests for rollback on index persistence failure
senamakel Sep 30, 2026
408297f
test(registry): add tests for nested directory creation and missing j…
senamakel Sep 30, 2026
fdb48ed
test: replace `.err().expect()` with `.expect_err()` in jail tests
senamakel Sep 30, 2026
ec58096
test(linux_tests): add landlock feature gate to spawn_rejects_a_missi…
senamakel Sep 30, 2026
3eb878c
Merge remote-tracking branch 'upstream/oh-cwd-jail' into pr/13
senamakel Sep 30, 2026
e3f3ec7
chore(tinybox-jail): delegate lint configuration to workspace
senamakel Sep 30, 2026
5a62849
Merge pull request #10 from senamakel/windows-linked-modules
senamakel Sep 30, 2026
40f2e4f
chore(tinybox-jail): remove platform-specific backend modules
senamakel Sep 30, 2026
75ab43e
test(linux_tests): handle Landlock-unavailable systems in spawn test
senamakel Sep 30, 2026
0296da2
chore(tinybox-jail): remove redundant clippy and rustdoc lint overrides
senamakel Sep 30, 2026
c7a43b2
test(linux_tests): guard Landlock-specific test logic behind the feat…
senamakel Sep 30, 2026
1a396ab
feat(registry): handle directory collision when creating jail ids
senamakel Sep 30, 2026
566542b
chore(tinybox-jail): add must_use annotations and polish documentation
senamakel Sep 30, 2026
b87b170
docs: add error documentation to jail public API
senamakel Sep 30, 2026
db17029
docs(registry): document error and panic conditions for all public me…
senamakel Sep 30, 2026
5b44110
feat(jail): mark `add_read_only` as `#[must_use]`
senamakel Sep 30, 2026
0d359dc
chore: add coverage-jail.txt to track coverage exclusions
senamakel Sep 30, 2026
2f6f274
chore: remove stale coverage report and unused test import
senamakel Sep 30, 2026
46f4360
chore(tinybox-jail): remove conditional compilation guard from test
senamakel Sep 30, 2026
99a0aa7
refactor(jail): extract availability check and ruleset application
senamakel Sep 30, 2026
00bc4ef
chore: add coverage.info to gitignore
senamakel Sep 30, 2026
fdb0743
docs: update tinybox-jail README and fix doc link in registry
senamakel Sep 30, 2026
1983075
test(detect): add tests for backend availability and selection
senamakel Sep 30, 2026
d34a49a
test(registry): add tests for delete behaviour with missing directory…
senamakel Sep 30, 2026
5074ce7
Merge remote-tracking branch 'upstream/oh-cwd-jail' into pr/13
senamakel Sep 30, 2026
6cd0dbf
Revert "Merge remote-tracking branch 'upstream/oh-cwd-jail' into pr/13"
senamakel Sep 30, 2026
7ad0963
test(detect): reformat assertion for readability
senamakel Sep 30, 2026
ecd2502
refactor(detect): remove unused backend selection helpers
senamakel Sep 30, 2026
d469174
chore(coverage): strip stale coverage data from a previous worktree
senamakel Sep 30, 2026
4004386
Merge pull request #12 from tinyhumansai/oh-cwd-jail
senamakel Sep 30, 2026
3f8bec0
chore(tinybox-jail): adopt workspace lint configuration and disable p…
senamakel Sep 30, 2026
9006c64
chore: remove coverage.info from version control
senamakel Sep 30, 2026
d6d73d2
refactor(linux): extract landlock restrict_self into a standalone fun…
senamakel Sep 30, 2026
4ff51a7
test(scan): add heredoc edge‑case tests for body parsing and delimite…
senamakel Sep 30, 2026
de7423e
refactor(scan): rewrite heredoc body stripping and fix escape handlin…
senamakel Sep 30, 2026
550bbb9
fix(scan): dereference quoted flag in heredoc body stripping
senamakel Sep 30, 2026
74bcb95
refactor(scan): extract command substitution parsing into helper func…
senamakel Sep 30, 2026
a01be2b
Merge remote-tracking branch 'upstream/main' into pr/13
senamakel Sep 30, 2026
4a17fd8
Merge oh-w2-tinybox-on-v0.1.8: land shell::scan module
senamakel Sep 30, 2026
2a56dca
chore(vendor): bump nested tinybus to df6f990
senamakel Sep 30, 2026
479d0e3
Merge pull request #14 from tinyhumansai/vendor-refresh
senamakel Sep 30, 2026
2ce02d9
Merge remote-tracking branch 'upstream/main' into pr/13
senamakel Sep 30, 2026
93c2fb5
chore(deps): update tinybus submodule
senamakel Sep 30, 2026
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
9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ categories = ["development-tools", "virtualization"]
[workspace.dependencies]
# TinyBus defines the message types, interface macro, and frozen module ABI used
# by the bus adapter. Socket and CLI features are unnecessary here.
tinybus = { path = "vendor/tinybus/crates/tinybus", version = "0.1.0", default-features = false, features = [
tinybus = { version = "=0.1.2", default-features = false, features = [
"macros",
"modules",
] }
# The module-side SDK owns the isolated runtime and exports the ABI entrypoints
# required by TinyBus's dynamic loader.
tinybus-module = { path = "vendor/tinybus/crates/tinybus-module", version = "0.1.0" }
tinybus-module = "=0.1.2"

# Derive macros for the crate-wide error type in `tinybox-core`.
thiserror = "2"
# `Host` and `Sandbox` are object-safe async traits stored as trait objects in a
Expand Down Expand Up @@ -99,3 +100,7 @@ private_intra_doc_links = "warn"
lto = "thin"
codegen-units = 1
strip = "debuginfo"

[patch.crates-io]
tinybus = { path = "vendor/tinybus/crates/tinybus" }
tinybus-module = { path = "vendor/tinybus/crates/tinybus-module" }
4 changes: 4 additions & 0 deletions crates/tinybox-core/src/shell/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,9 @@ pub fn script(
parts.join(" ")
}

pub mod scan;

#[cfg(test)]
mod scan_test;
#[cfg(test)]
mod test;
Loading
Loading