Commit Graph

114 Commits

Author SHA1 Message Date
huanghuoguoguo
759f427110 chore(agent-runner): align split runtime files with base 2026-06-14 21:26:21 +08:00
huanghuoguoguo
4205858957 chore(agent-runner): merge split tool runtime base
# Conflicts:
#	src/langbot/pkg/box/workspace.py
#	src/langbot/pkg/provider/tools/loaders/mcp_stdio.py
#	src/langbot/pkg/provider/tools/loaders/native.py
#	src/langbot/pkg/provider/tools/loaders/skill.py
#	tests/unit_tests/box/test_workspace.py
#	tests/unit_tests/provider/test_mcp_box_integration.py
2026-06-14 21:22:05 +08:00
huanghuoguoguo
0a71747eec chore(agent-runner): remove split-out incidental fixes 2026-06-14 21:20:31 +08:00
huanghuoguoguo
9fa3251f3d fix(tools): decouple runtime from agent runner 2026-06-14 21:15:21 +08:00
huanghuoguoguo
7b67dcc302 fix(tools): bootstrap Python workspaces with available interpreter 2026-06-14 11:32:10 +08:00
huanghuoguoguo
a60827f221 fix(tools): harden agent runner tool runtimes 2026-06-14 11:32:10 +08:00
huanghuoguoguo
e9fe2f2d43 feat(agent-runner): support host tool lookup (#2244) 2026-06-14 11:29:57 +08:00
huanghuoguoguo
5b9e541998 chore(agent-runner): stack on latest tool runtime fixes 2026-06-14 11:23:41 +08:00
huanghuoguoguo
4013f2ffd1 fix(tools): bootstrap Python workspaces with available interpreter 2026-06-14 11:23:09 +08:00
huanghuoguoguo
a26f3c2afd chore(agent-runner): drop tool fix residuals from feature branch 2026-06-14 11:20:22 +08:00
huanghuoguoguo
2da174361f chore(agent-runner): stack on tool runtime fixes
# Conflicts:
#	src/langbot/pkg/provider/tools/loaders/mcp_stdio.py
#	tests/unit_tests/provider/test_mcp_box_integration.py
2026-06-14 11:19:12 +08:00
huanghuoguoguo
cff9ac5683 chore(agent-runner): split litellm usage details 2026-06-14 11:16:17 +08:00
huanghuoguoguo
27be09ab15 fix(provider): preserve litellm usage details (#2246) 2026-06-14 11:12:29 +08:00
huanghuoguoguo
2f90e3c59b fix(tools): harden agent runner tool runtimes 2026-06-14 11:07:46 +08:00
huanghuoguoguo
ee24398d80 feat(agent-runner): support host tool lookup 2026-06-14 11:04:52 +08:00
huanghuoguoguo
09adf4c541 Propagate agent runner model usage context 2026-06-14 07:41:57 +08:00
RockChinQ
b7d8332cb0 feat(telemetry): include instance_create_ts in heartbeat payload
Load the instance creation timestamp from data/labels/instance_id.json
(backfilling+persisting it for instances created before the field existed),
expose it as constants.instance_create_ts, and include it in the heartbeat
payload so Space can anchor Time-To-Value / onboarding analytics on real
install time rather than first-heartbeat.

Verified: py_compile, ruff, pytest tests/unit_tests/telemetry/ (37 passed).
2026-06-13 11:13:18 -04:00
huanghuoguoguo
7fe3eedeea fix(provider): use LiteLLM input window for context length (#2243) 2026-06-13 21:27:47 +08:00
huanghuoguoguo
1153433693 fix(agent-runner): harden run lifecycle and protocol stores 2026-06-13 21:22:13 +08:00
huanghuoguoguo
735a0011b0 fix(agent-runner): reconcile master rebase 2026-06-13 17:52:25 +08:00
huanghuoguoguo
313798bf0a fix(plugin): preserve marketplace package metadata 2026-06-13 17:48:26 +08:00
huanghuoguoguo
d0b0a682c7 feat(agent-runner): expose effective prompt pull api 2026-06-13 17:48:26 +08:00
huanghuoguoguo
c4fa39f684 refactor(agent-runner): migrate deerflow and weknora to plugins 2026-06-13 17:47:48 +08:00
huanghuoguoguo
e7779bd16f fix: harden agent runner runtime boundaries 2026-06-13 17:47:48 +08:00
huanghuoguoguo
2094993afb Fix agent runner host migration and runtime guards
Migrates legacy runner blocks into plugin runner configs, preserves run-scoped history boundaries, enforces operation/file authorization, and sanitizes inline attachment persistence. Also fixes plugin runner form dirty handling and adds regression coverage.
2026-06-13 17:46:50 +08:00
huanghuoguoguo
c9ef788072 Fix agent runner steering and lifecycle hardening 2026-06-13 17:46:50 +08:00
huanghuoguoguo
9cf99815ba feat(agent-runner): audit steering injection 2026-06-13 17:46:50 +08:00
huanghuoguoguo
c10ce6cc2e chore: commit workspace changes 2026-06-13 17:46:50 +08:00
huanghuoguoguo
86ec12a391 feat(agent-runner): enforce typed host permissions 2026-06-13 17:46:50 +08:00
huanghuoguoguo
4e016ad23e fix(agent-runner): harden state and event APIs 2026-06-13 17:46:31 +08:00
huanghuoguoguo
5831198f38 refactor(agent-runner): remove protocol_version from various components and update related documentation 2026-06-13 17:46:31 +08:00
huanghuoguoguo
7675f565ff test(agent): harden runner persistence coverage 2026-06-13 17:46:31 +08:00
huanghuoguoguo
54bba1a1f5 feat(agent-runner): expose skill resources through host context 2026-06-13 17:45:53 +08:00
huanghuoguoguo
a6a90f7d1b test: cover host skill tool scoping 2026-06-13 17:45:53 +08:00
huanghuoguoguo
4a8c1a76d7 refactor(agent-runner): use protocol version field 2026-06-13 17:45:53 +08:00
huanghuoguoguo
2de6d15d07 refactor(provider): formalize tool lookup contract 2026-06-13 17:45:53 +08:00
huanghuoguoguo
f1a44ea8a8 refactor agent runner orchestration boundaries 2026-06-13 17:45:53 +08:00
huanghuoguoguo
3773e3dfaf fix(agent-runner): align plugin runner runtime boundaries 2026-06-13 17:45:53 +08:00
huanghuoguoguo
23d3b7c279 feat(agent-runner): add bounded native tool artifacts 2026-06-13 17:45:53 +08:00
huanghuoguoguo
058721cca3 feat(agent-runner): expose effective prompt and transcript history 2026-06-13 17:45:53 +08:00
huanghuoguoguo
e13a3b845c refactor(agent-runner): make agent binding and auth snapshot explicit 2026-06-13 17:45:53 +08:00
huanghuoguoguo
dc4cf5711e refactor(agent-runner): simplify event-first entry path 2026-06-13 17:45:53 +08:00
huanghuoguoguo
1384d328d6 refactor(agent-runner): align config with agent semantics 2026-06-13 17:45:14 +08:00
huanghuoguoguo
16faeca508 refactor(agent-runner): remove host context windowing 2026-06-13 17:45:14 +08:00
huanghuoguoguo
4852b21f9b feat(agent-runner): normalize binding config boundaries 2026-06-13 17:45:14 +08:00
huanghuoguoguo
0b9778abd9 fix: enforce agent run API permissions 2026-06-13 17:45:14 +08:00
huanghuoguoguo
c296c187f4 fix(agent-runner): authorize external runner tools 2026-06-13 17:45:14 +08:00
huanghuoguoguo
94c0adc8a1 docs(agent-runner): align runner protocol boundaries 2026-06-13 17:45:14 +08:00
huanghuoguoguo
fc2dc34ecf fix(agent-runner): stabilize event context and streams 2026-06-13 17:45:14 +08:00
huanghuoguoguo
819a2843e7 refactor(agent-runner): tighten protocol v1 runtime boundaries 2026-06-13 17:44:44 +08:00