Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
a72ed92
feat: add subprocess config serialization helpers
bkrabach Mar 22, 2026
88a0e9c
feat: add child-side session runner function
bkrabach Mar 22, 2026
404d304
feat: add child-side __main__ entry point
bkrabach Mar 22, 2026
7d35d23
feat: add parent-side run_session_in_subprocess
bkrabach Mar 22, 2026
4186336
feat: add subprocess concurrency semaphore
bkrabach Mar 22, 2026
88930cc
feat: export run_session_in_subprocess from foundation
bkrabach Mar 22, 2026
9a83c7f
feat: expand IPC payload with bundle context fields (module_paths, bu…
bkrabach Mar 22, 2026
aa27439
fix: child bootstrap — call initialize(), reconstruct module resolver…
bkrabach Mar 22, 2026
e691c96
fix: rename test_sys_paths_added_before_session_creation to test_sys_…
bkrabach Mar 22, 2026
868b71d
docs: fix stale docstring in test_sys_paths_added_before_initialize
bkrabach Mar 22, 2026
aeb9f94
refactor: merge duplicate sys.path loops and align step comment numbe…
bkrabach Mar 22, 2026
e938d8e
fix: polish — fix comment typo and strengthen sys.path ordering test
bkrabach Mar 22, 2026
e4eb6ca
fix: add stdout framing protocol to prevent print() corruption
bkrabach Mar 22, 2026
9120b25
fix: harden semaphore with set-once pattern, remove per-call max_conc…
bkrabach Mar 22, 2026
2984892
fix: sanitize error messages to prevent credential leakage in exceptions
bkrabach Mar 22, 2026
7725dab
fix: harden cleanup — move temp file into try, validate project_path,…
bkrabach Mar 22, 2026
7f26c99
fix: add env var allowlist to prevent unrelated secrets in child proc…
bkrabach Mar 22, 2026
7b606cd
fix: child emits JSON envelope, add approval_system documentation
bkrabach Mar 22, 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
5 changes: 5 additions & 0 deletions amplifier_foundation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
from amplifier_foundation.spawn_utils import apply_provider_preferences_with_resolution
from amplifier_foundation.spawn_utils import is_glob_pattern
from amplifier_foundation.spawn_utils import resolve_model_pattern

# Subprocess runner
from amplifier_foundation.subprocess_runner import run_session_in_subprocess
from amplifier_foundation.sources.protocol import SourceHandlerProtocol
from amplifier_foundation.sources.protocol import SourceHandlerWithStatusProtocol
from amplifier_foundation.sources.protocol import SourceResolverProtocol
Expand Down Expand Up @@ -179,4 +182,6 @@
"apply_provider_preferences_with_resolution",
"is_glob_pattern",
"resolve_model_pattern",
# Subprocess runner
"run_session_in_subprocess",
]
Loading
Loading