Skip to content

fix(package): isolate and release the Worker tool loop - #654

Merged
drewstone merged 1 commit into
mainfrom
fix/worker-tool-loop-export-20260728
Jul 29, 2026
Merged

fix(package): isolate and release the Worker tool loop#654
drewstone merged 1 commit into
mainfrom
fix/worker-tool-loop-export-20260728

Conversation

@drewstone

@drewstone drewstone commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • publish @tangle-network/agent-runtime@0.109.1
  • move runToolLoop and streamToolLoop from the broad package root to @tangle-network/agent-runtime/tool-loop
  • keep the new entry free of static external imports, including literal dynamic imports
  • bundle and execute the packed entry in a real Worker runtime without Node compatibility
  • update the generated API reference and package checks

This intentionally removes the two functions and their types from the root export. The active product consumer is Agent App, which will move to the narrow subpath after this release.

Proof

  • full tests: 1,856 passed, 6 live-only skipped, 0 failed
  • typecheck: source and examples passed
  • package: publint, package types, packed consumer, and all public subpaths passed
  • Worker: packed package bundled and executed one tool call with Wrangler and Miniflare, without Node compatibility
  • docs: generated API and freshness checks passed
  • lint: 502 files passed
  • production audit: 0 known vulnerabilities
  • merge check: git merge-tree --write-tree origin/main HEAD passed

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — ca7dde93

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-29T02:22:45Z

@drewstone
drewstone merged commit de38196 into main Jul 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants