CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
Commits on main
fix(providers): classify stream-level SDK errors in outer except handlers
9fc9876 xf gong committed 5 months ago
fix(errors): catch SDK-specific connection/timeout error classes
6e41640 xf gong committed 5 months ago
test(errors): cover _status_of fallback, _estimate_input_tokens edge cases, _retry_after_from branches
80e9467 xf gong committed 5 months ago
feat(providers): wrap SDK exceptions with typed cubepi errors
0e5636d xf gong committed 5 months ago
feat(errors): add typed ProviderError taxonomy + classify_and_raise
ad411b6 xf gong committed 5 months ago
test(tracing): cover mid-stream cancel and mark defensive paths no-cover
707f95b xf gong committed 5 months ago
fix(tracing): preserve reserved oneshot_operation key; close stream file on subscribe error
1b5b344 xf gong committed 5 months ago
fix(tracing): surface silent producer failures from stream.result()
1c915f5 xf gong committed 5 months ago
fix(tracing): mark oneshot root span on provider failure / cancellation
2ae97e5 xf gong committed 5 months ago
fix(tracing): forward abort signal to oneshot provider stream
fc41131 xf gong committed 5 months ago
fix(tracing): open and close per-run stream file for oneshot when record_stream=True
c1f3824 xf gong committed 5 months ago
fix(tracing): await stream.result() before exiting oneshot generate()
81e1274 xf gong committed 5 months ago
fix(tracing): don't reuse _close_open_spans for oneshot — only close chat_span
bbbe2cd xf gong committed 5 months ago
fix(tracing): close open chat spans and unwind partial subscriptions on oneshot cleanup
73f084f xf gong committed 5 months ago
docs(tracing): clarify oneshot operation dual-attribute and --meta filter usage in docstring
2583232 xf gong committed 5 months ago
fix(tracing): expose oneshot operation as cubepi.metadata.oneshot_operation for --meta filter
d626e71 xf gong committed 5 months ago
test(tracing): improve oneshot coverage — add edge-case tests and remove dead code
6e02187 xf gong committed 5 months ago
feat(tracing): add Tracer.oneshot() for instrumented one-shot LLM calls
90533c6 xf gong committed 5 months ago