deepstrike 0.2.84__tar.gz → 0.2.85__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {deepstrike-0.2.84 → deepstrike-0.2.85}/Cargo.lock +7 -7
- {deepstrike-0.2.84 → deepstrike-0.2.85}/Cargo.toml +3 -3
- {deepstrike-0.2.84 → deepstrike-0.2.85}/PKG-INFO +6 -8
- {deepstrike-0.2.84 → deepstrike-0.2.85}/README.md +5 -7
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/checkpoint.rs +5 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/projection.rs +8 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/tests.rs +72 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/dynamic_workflow.py +40 -2
- {deepstrike-0.2.84 → deepstrike-0.2.85}/pyproject.toml +1 -1
- {deepstrike-0.2.84 → deepstrike-0.2.85}/LICENSE +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/Cargo.toml +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/LICENSE +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/benches/kernel_baseline.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/benches/wait_index_baseline.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/benchmark/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/archive.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/authority.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/cache_ledger.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/compression.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/config.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/fault.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/graph.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/item.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/cache.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/capabilities.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/handles.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/items.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/knowledge.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/pressure.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/report.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/tests.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/measurement.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/notes.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/partitions.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/pressure.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/renderer.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/renewal.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/skill_catalog.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/task_state.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/text.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/token_engine.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/units.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/voice.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/constraint.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/permission.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/pipeline.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/quota.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/rate_limit.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/repeat_fuse.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/veto.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/harness/eval.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/harness/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/lexical.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/lib.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/memory/curator.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/memory/durable.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/memory/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/mm/handle.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/mm/memory.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/mm/memory_candidate.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/mm/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/mm/value.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/task_graph.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/workflow/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/workflow/run.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/proc/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/projection_pairs.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/event_log.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/observation.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/binding.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/command.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/config.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/crash_point.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/continuation.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/effects.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/events.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/planning.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/provider.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver/syscall.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/effect.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/envelope.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/event.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/fault.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/memory_authority.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/projection.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/record.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/restore.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/root.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/scalar.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/syscall.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/terminal.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/tests.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/transaction.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/repair.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/replay.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/session.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/session_registry_tests.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/session_wire.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/budget_grant.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/cross_operation.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/entropy.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/mailbox.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/milestone.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/policy.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/rollback.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/runnable.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/cancellation.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/capability.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/eviction.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/gate.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/milestone_exec.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/process.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/signal.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/tests.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/workflow.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/tcb.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/wait_index.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/signals/attention.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/signals/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/signals/queue.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/signals/router.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/syscall/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/agent.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/capability.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/contract.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/durable_content.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/error.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/message.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/milestone.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/mod.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/policy.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/result.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/signal.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/skill.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/types/task.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-py/Cargo.toml +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-py/LICENSE +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-py/src/lib.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-tokenizer/Cargo.toml +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-tokenizer/LICENSE +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-tokenizer/src/lib.rs +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/agent.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/collaboration/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/collaboration/contract.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/collaboration/handoff.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/collaboration/harness.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/collaboration/modes.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/collaboration/pool.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/governance.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/harness/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/harness/harness.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/harness/judge.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/kernel/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/kernel/canonical.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/knowledge/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/knowledge/source.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/agent.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/attestation.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/authority.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/candidate_sink.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/durable.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/durable_candidate_sink.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/durable_lifecycle_store.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/in_memory_store.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/lifecycle.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/protocols.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/ranking.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/recall_projection.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/retention.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/runtime_policy.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/working.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/memory/writer.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/anthropic.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/anthropic_adapter.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/anthropic_compaction.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/anthropic_compatible.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/base.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/capability_router.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/credentials.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/embedding.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/factories.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/fallback.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/gemini.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/gemini_adapter.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/model_catalog.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/model_registry.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/ollama.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/ollama_adapter.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/openai.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/openai_chat_adapter.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/openai_responses.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/prepared_request.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/protocol_adapter.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/protocols.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/provider_error.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/qwen.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/replay.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/replay_validator.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/request_plan.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/runtime_registry.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/stop_reason.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/stream.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/text_tool_calls.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/usage.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/providers/vendor_profiles.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/_session_event_registry.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/agent_declaration.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/archive.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/canonical_kernel_step.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/context_policy.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/credential_vault.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/durable_content.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/eval.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/eval_dataset.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/event_stream.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/execution_evidence.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/execution_plane.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/facade.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/filtered_plane.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/kernel_event_log.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/kernel_journal.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/kernel_step.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/loop_driver.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/mcp_proxy_plane.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/os_profile.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/os_snapshot.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/output_schema.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/payload_store.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/process_sandbox_plane.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/provider_replay.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/reaction_checkpoint.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/reactive_session.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/reliability.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/remote_vpc_plane.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/replay_fixture.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/replay_provider.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/replay_sanitize.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/run_group.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/runner.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/session_log.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/session_repair.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/sub_agent_orchestrator.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/tool_arguments.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/turn_policy.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/workflow_replay.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/workflow_store.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/runtime/worktree_plane.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/safety/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/safety/permissions.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/signals/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/signals/gateway.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/signals/scheduled.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/signals/types.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/skills/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/skills/loader.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/skills/registry.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/skills/watcher.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/tools/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/tools/builtin/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/tools/builtin/read_file.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/tools/errors.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/tools/execution.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/tools/registry.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/types/__init__.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/types/agent.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/types/content.py +0 -0
- {deepstrike-0.2.84 → deepstrike-0.2.85}/deepstrike/types/content_policy.py +0 -0
|
@@ -293,7 +293,7 @@ dependencies = [
|
|
|
293
293
|
|
|
294
294
|
[[package]]
|
|
295
295
|
name = "deepstrike-core"
|
|
296
|
-
version = "0.2.
|
|
296
|
+
version = "0.2.85"
|
|
297
297
|
dependencies = [
|
|
298
298
|
"compact_str",
|
|
299
299
|
"deepstrike-tokenizer",
|
|
@@ -307,7 +307,7 @@ dependencies = [
|
|
|
307
307
|
|
|
308
308
|
[[package]]
|
|
309
309
|
name = "deepstrike-lab"
|
|
310
|
-
version = "0.2.
|
|
310
|
+
version = "0.2.85"
|
|
311
311
|
dependencies = [
|
|
312
312
|
"serde",
|
|
313
313
|
"serde_json",
|
|
@@ -315,7 +315,7 @@ dependencies = [
|
|
|
315
315
|
|
|
316
316
|
[[package]]
|
|
317
317
|
name = "deepstrike-node"
|
|
318
|
-
version = "0.2.
|
|
318
|
+
version = "0.2.85"
|
|
319
319
|
dependencies = [
|
|
320
320
|
"compact_str",
|
|
321
321
|
"deepstrike-core",
|
|
@@ -327,7 +327,7 @@ dependencies = [
|
|
|
327
327
|
|
|
328
328
|
[[package]]
|
|
329
329
|
name = "deepstrike-py"
|
|
330
|
-
version = "0.2.
|
|
330
|
+
version = "0.2.85"
|
|
331
331
|
dependencies = [
|
|
332
332
|
"compact_str",
|
|
333
333
|
"deepstrike-core",
|
|
@@ -338,7 +338,7 @@ dependencies = [
|
|
|
338
338
|
|
|
339
339
|
[[package]]
|
|
340
340
|
name = "deepstrike-sdk"
|
|
341
|
-
version = "0.2.
|
|
341
|
+
version = "0.2.85"
|
|
342
342
|
dependencies = [
|
|
343
343
|
"async-stream",
|
|
344
344
|
"async-trait",
|
|
@@ -376,7 +376,7 @@ dependencies = [
|
|
|
376
376
|
|
|
377
377
|
[[package]]
|
|
378
378
|
name = "deepstrike-tokenizer"
|
|
379
|
-
version = "0.2.
|
|
379
|
+
version = "0.2.85"
|
|
380
380
|
dependencies = [
|
|
381
381
|
"pretty_assertions",
|
|
382
382
|
"tiktoken-rs",
|
|
@@ -384,7 +384,7 @@ dependencies = [
|
|
|
384
384
|
|
|
385
385
|
[[package]]
|
|
386
386
|
name = "deepstrike-wasm"
|
|
387
|
-
version = "0.2.
|
|
387
|
+
version = "0.2.85"
|
|
388
388
|
dependencies = [
|
|
389
389
|
"compact_str",
|
|
390
390
|
"deepstrike-core",
|
|
@@ -3,13 +3,13 @@ resolver = "2"
|
|
|
3
3
|
members = ["crates/deepstrike-core", "crates/deepstrike-tokenizer", "crates/deepstrike-py"]
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "0.2.
|
|
6
|
+
version = "0.2.85"
|
|
7
7
|
edition = "2024"
|
|
8
8
|
repository = "https://github.com/kongusen/deepstrike"
|
|
9
9
|
|
|
10
10
|
[workspace.dependencies]
|
|
11
|
-
deepstrike-core = { path = "crates/deepstrike-core", version = "0.2.
|
|
12
|
-
deepstrike-tokenizer = { path = "crates/deepstrike-tokenizer", version = "0.2.
|
|
11
|
+
deepstrike-core = { path = "crates/deepstrike-core", version = "0.2.85" }
|
|
12
|
+
deepstrike-tokenizer = { path = "crates/deepstrike-tokenizer", version = "0.2.85" }
|
|
13
13
|
notify = "6"
|
|
14
14
|
serde = { version = "1", features = ["derive"] }
|
|
15
15
|
serde_json = "1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deepstrike
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.85
|
|
4
4
|
Requires-Dist: httpx>=0.27
|
|
5
5
|
Requires-Dist: pyyaml>=6.0
|
|
6
6
|
Requires-Dist: anyio>=4.0
|
|
@@ -13,15 +13,13 @@ License-File: LICENSE
|
|
|
13
13
|
Requires-Python: >=3.10
|
|
14
14
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
15
15
|
|
|
16
|
-
<p align="center">
|
|
17
|
-
<a href="https://github.com/kongusen/deepstrike">
|
|
18
|
-
<img src="https://raw.githubusercontent.com/kongusen/deepstrike/main/docs/public/banner.png" alt="DeepStrike" width="420" />
|
|
19
|
-
</a>
|
|
20
|
-
</p>
|
|
21
|
-
|
|
22
16
|
# DeepStrike Python SDK
|
|
23
17
|
|
|
24
|
-
Build Python
|
|
18
|
+
Build a Python assistant that can recall a project preference in a later session. With a memory store and candidate sink, your application reviews what gets saved and the model can open the full record when needed.
|
|
19
|
+
|
|
20
|
+
[Install](#install) · [Run a tool](#quick-start) · [Add memory](#memory) · [All SDKs and examples](https://github.com/kongusen/deepstrike#run-your-first-agent)
|
|
21
|
+
|
|
22
|
+

|
|
25
23
|
|
|
26
24
|
## Install
|
|
27
25
|
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://github.com/kongusen/deepstrike">
|
|
3
|
-
<img src="https://raw.githubusercontent.com/kongusen/deepstrike/main/docs/public/banner.png" alt="DeepStrike" width="420" />
|
|
4
|
-
</a>
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
1
|
# DeepStrike Python SDK
|
|
8
2
|
|
|
9
|
-
Build Python
|
|
3
|
+
Build a Python assistant that can recall a project preference in a later session. With a memory store and candidate sink, your application reviews what gets saved and the model can open the full record when needed.
|
|
4
|
+
|
|
5
|
+
[Install](#install) · [Run a tool](#quick-start) · [Add memory](#memory) · [All SDKs and examples](https://github.com/kongusen/deepstrike#run-your-first-agent)
|
|
6
|
+
|
|
7
|
+

|
|
10
8
|
|
|
11
9
|
## Install
|
|
12
10
|
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/checkpoint.rs
RENAMED
|
@@ -539,6 +539,11 @@ pub struct WorkflowGraphState {
|
|
|
539
539
|
/// private reverse edges, ready heap and agent lookup from this projection during restore.
|
|
540
540
|
#[serde(default)]
|
|
541
541
|
pub nodes: Vec<WorkflowNodeState>,
|
|
542
|
+
/// A host-driven dynamic root that is still waiting for further appends or the host's close.
|
|
543
|
+
/// Not derivable from `root_kind`, which is `Workflow` for static and dynamic roots alike: a
|
|
544
|
+
/// restore that dropped it would let the next settled batch terminate the root on its own.
|
|
545
|
+
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
|
|
546
|
+
pub dynamic_open: bool,
|
|
542
547
|
}
|
|
543
548
|
|
|
544
549
|
/// One workflow node as source state rather than a snapshot of `TaskGraph` internals.
|
|
@@ -95,6 +95,7 @@ impl CanonicalOperationDriver {
|
|
|
95
95
|
);
|
|
96
96
|
WorkflowGraphState {
|
|
97
97
|
workflow_id: workflow_id.clone(),
|
|
98
|
+
dynamic_open: engine.is_dynamic_workflow_open(),
|
|
98
99
|
nodes: runtime_nodes
|
|
99
100
|
.into_iter()
|
|
100
101
|
.zip(self.workflow_nodes.iter())
|
|
@@ -569,6 +570,13 @@ impl CanonicalOperationDriver {
|
|
|
569
570
|
let mut engine = build_engine(genesis_config);
|
|
570
571
|
install_live_policies(&mut engine, &live_config);
|
|
571
572
|
engine.set_root_workflow(state.transition.root_kind == Some(RootKind::Workflow));
|
|
573
|
+
engine.set_dynamic_workflow_open(
|
|
574
|
+
state
|
|
575
|
+
.scheduler
|
|
576
|
+
.workflow
|
|
577
|
+
.as_ref()
|
|
578
|
+
.is_some_and(|workflow| workflow.dynamic_open),
|
|
579
|
+
);
|
|
572
580
|
driver.policy = Some(LivePolicyState::restore(
|
|
573
581
|
state.syscall.policy_revision.unwrap_or(WireU64::ZERO),
|
|
574
582
|
live_config.clone(),
|
|
@@ -12565,3 +12565,75 @@ fn kernel_text_tokens_count_signals_once_and_kernel_answers() {
|
|
|
12565
12565
|
let restored = Runtime::restore_with(Some(&checkpoint), &[]);
|
|
12566
12566
|
assert_eq!(tokens(&restored), expected, "the count survives a restore");
|
|
12567
12567
|
}
|
|
12568
|
+
|
|
12569
|
+
#[test]
|
|
12570
|
+
fn a_dynamic_workflow_restored_from_a_checkpoint_stays_open_for_its_host() {
|
|
12571
|
+
let mut runtime = Runtime::new();
|
|
12572
|
+
runtime.submit(&configure());
|
|
12573
|
+
runtime.submit(&dynamic_workflow_start("dynamic-start", 1_700_000_001_000));
|
|
12574
|
+
// A checkpoint before the first append covers the empty root, too.
|
|
12575
|
+
let empty = runtime.checkpoint().decode().unwrap();
|
|
12576
|
+
let mut runtime = runtime.restore(&empty);
|
|
12577
|
+
let append = |id: &str, at: u64, node: &str| {
|
|
12578
|
+
control(
|
|
12579
|
+
id,
|
|
12580
|
+
at,
|
|
12581
|
+
HostCommand::AppendWorkflowNodes(AppendWorkflowNodesCommand {
|
|
12582
|
+
nodes: vec![wire_node(node, "dynamic work", &[])],
|
|
12583
|
+
plan: None,
|
|
12584
|
+
}),
|
|
12585
|
+
)
|
|
12586
|
+
};
|
|
12587
|
+
let first = runtime.submit(&append("append-one", 1_700_000_002_000, "node-one"));
|
|
12588
|
+
runtime.submit(&spawned(
|
|
12589
|
+
"ack-one",
|
|
12590
|
+
1_700_000_003_000,
|
|
12591
|
+
&effect_id(first.step_seq),
|
|
12592
|
+
&["wf-node0"],
|
|
12593
|
+
));
|
|
12594
|
+
runtime.submit(&child_done(
|
|
12595
|
+
"done-one",
|
|
12596
|
+
1_700_000_004_000,
|
|
12597
|
+
"wf-node0",
|
|
12598
|
+
"first result",
|
|
12599
|
+
));
|
|
12600
|
+
assert!(runtime.tx.terminal().is_none());
|
|
12601
|
+
|
|
12602
|
+
let checkpoint = runtime.checkpoint().decode().unwrap();
|
|
12603
|
+
let mut restored = runtime.restore(&checkpoint);
|
|
12604
|
+
assert!(
|
|
12605
|
+
restored.tx.terminal().is_none(),
|
|
12606
|
+
"a restore does not close the root"
|
|
12607
|
+
);
|
|
12608
|
+
|
|
12609
|
+
let second = restored.submit(&append("append-two", 1_700_000_005_000, "node-two"));
|
|
12610
|
+
assert_eq!(
|
|
12611
|
+
sole_effect(&second).tag(),
|
|
12612
|
+
EffectKindTag::SpawnTasks,
|
|
12613
|
+
"the restored root still accepts the host's next batch"
|
|
12614
|
+
);
|
|
12615
|
+
restored.submit(&spawned(
|
|
12616
|
+
"ack-two",
|
|
12617
|
+
1_700_000_006_000,
|
|
12618
|
+
&effect_id(second.step_seq),
|
|
12619
|
+
&["wf-node1"],
|
|
12620
|
+
));
|
|
12621
|
+
let done = restored.submit(&child_done(
|
|
12622
|
+
"done-two",
|
|
12623
|
+
1_700_000_007_000,
|
|
12624
|
+
"wf-node1",
|
|
12625
|
+
"second result",
|
|
12626
|
+
));
|
|
12627
|
+
assert!(done.published_effects().is_empty());
|
|
12628
|
+
assert!(
|
|
12629
|
+
restored.tx.terminal().is_none(),
|
|
12630
|
+
"a settled batch after restore still waits for the host's close"
|
|
12631
|
+
);
|
|
12632
|
+
|
|
12633
|
+
let closed = restored.submit(&control(
|
|
12634
|
+
"close",
|
|
12635
|
+
1_700_000_008_000,
|
|
12636
|
+
HostCommand::CompleteDynamicWorkflow(CompleteDynamicWorkflowCommand {}),
|
|
12637
|
+
));
|
|
12638
|
+
assert!(closed.step.disposition.is_terminal());
|
|
12639
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Plan task 6.3 · dynamic workflows: a host program decides, step by step, which agents to run.
|
|
2
2
|
|
|
3
|
-
The program is ordinary async Python. Each ``
|
|
3
|
+
The program is ordinary async Python. Each ``parallel_agents`` batch, and every set of ``agent``
|
|
4
|
+
calls made in the same turn of the event loop (the workers of a ``parallel``), becomes one
|
|
4
5
|
submission the kernel admits onto the operation's dynamic workflow root — the kernel still owns the
|
|
5
6
|
DAG, its budgets and every spawn — and the program awaits the typed result before deciding what
|
|
6
7
|
comes next. The vocabulary matches the Node SDK's ``runDynamicWorkflow``; replay of a saved run and
|
|
@@ -161,9 +162,46 @@ class DynamicWorkflowContext:
|
|
|
161
162
|
self._next_node = 0
|
|
162
163
|
self._sequence = 0
|
|
163
164
|
self._slots = asyncio.Semaphore(limits.max_concurrent_agents)
|
|
165
|
+
self._pending: list[tuple[DynamicWorkflowAgentRequest, asyncio.Future[DynamicWorkflowAgentResult | None]]] = []
|
|
166
|
+
self._flush: asyncio.Task[None] | None = None
|
|
164
167
|
|
|
165
168
|
async def agent(self, prompt: str, options: DynamicWorkflowAgentOptions | None = None) -> DynamicWorkflowAgentResult | None:
|
|
166
|
-
|
|
169
|
+
future: asyncio.Future[DynamicWorkflowAgentResult | None] = asyncio.get_running_loop().create_future()
|
|
170
|
+
self._pending.append((agent_task(prompt, options), future))
|
|
171
|
+
if self._flush is None:
|
|
172
|
+
# Its first step runs after the tasks already scheduled, so every worker of a ``parallel``
|
|
173
|
+
# reaches its call first.
|
|
174
|
+
self._flush = asyncio.ensure_future(self._flush_agents())
|
|
175
|
+
return await future
|
|
176
|
+
|
|
177
|
+
async def _flush_agents(self) -> None:
|
|
178
|
+
"""Submit the pending ``agent`` calls in batches of at most ``max_concurrent_agents``.
|
|
179
|
+
|
|
180
|
+
The host admits one submission at a time, so separate submissions would run one after another.
|
|
181
|
+
Each call settles on its own: calls past ``max_agents_per_run`` fail alone, the rest still run.
|
|
182
|
+
"""
|
|
183
|
+
calls, self._pending, self._flush = self._pending, [], None
|
|
184
|
+
size = self._limits.max_concurrent_agents
|
|
185
|
+
for start in range(0, len(calls), size):
|
|
186
|
+
chunk = calls[start:start + size]
|
|
187
|
+
room = max(0, self._limits.max_agents_per_run - self.progress.agents_started)
|
|
188
|
+
for _, future in chunk[room:]:
|
|
189
|
+
if not future.done():
|
|
190
|
+
future.set_exception(DynamicWorkflowLimitError(
|
|
191
|
+
f"dynamic workflow exceeded max_agents_per_run ({self._limits.max_agents_per_run})"))
|
|
192
|
+
admitted = chunk[:room]
|
|
193
|
+
if not admitted:
|
|
194
|
+
continue
|
|
195
|
+
try:
|
|
196
|
+
results = await self._run_batch([request for request, _ in admitted])
|
|
197
|
+
except Exception as error: # noqa: BLE001 - delivered to each waiting call
|
|
198
|
+
for _, future in admitted:
|
|
199
|
+
if not future.done():
|
|
200
|
+
future.set_exception(error)
|
|
201
|
+
continue
|
|
202
|
+
for (_, future), result in zip(admitted, results):
|
|
203
|
+
if not future.done():
|
|
204
|
+
future.set_result(result)
|
|
167
205
|
|
|
168
206
|
async def parallel_agents(self, requests: list[DynamicWorkflowAgentRequest]) -> list[DynamicWorkflowAgentResult | None]:
|
|
169
207
|
if len(requests) > self._limits.max_batch_size:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/benches/wait_index_baseline.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/capabilities.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/handles.rs
RENAMED
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/knowledge.rs
RENAMED
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/pressure.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/context/manager/report.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/governance/repeat_fuse.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/task_graph.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/workflow/mod.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/orchestration/workflow/run.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/observation.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/binding.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/command.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/config.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/driver.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/effect.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/envelope.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/event.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/fault.rs
RENAMED
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/projection.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/record.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/restore.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/root.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/scalar.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/syscall.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/terminal.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/kernel/wire/tests.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/runtime/session_registry_tests.rs
RENAMED
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/budget_grant.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/cross_operation.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/gate.rs
RENAMED
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/signal.rs
RENAMED
|
File without changes
|
{deepstrike-0.2.84 → deepstrike-0.2.85}/crates/deepstrike-core/src/scheduler/state_machine/tests.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|