Closed
Conversation
sync fork w/upstream
Implements a complete conversational agentic chat flow using the Vercel AI SDK as a standalone module in vercel-ai-agent/. Core features: - ConversationalAgent class with full generateText/streamText support - Multi-step tool calling with maxSteps configuration - Streaming support with onChunk, onStepFinish, onFinish callbacks - Human-in-the-loop tool approval via onToolApproval - Configurable stop conditions (maxSteps, toolResult, custom predicates) Components: - src/agent.ts: Main agent class with run(), runStream(), runWithApproval() - src/types.ts: Full TypeScript types for messages, tools, callbacks - src/tools/: Tool registry and built-in tools (calculator, datetime, etc.) - src/conversation.ts: Session-based conversation history management - src/streaming.ts: Stream processor with batching and transformation utilities Providers supported: OpenAI, Anthropic, Google, and custom (OpenAI-compatible) Includes comprehensive tests and usage examples. https://claude.ai/code/session_0134bJEVR3aimGqHwAPMYdx5
Owner
Author
|
@claude is this PR integrating with the pi embedded runtime / runtime agents in openclaw/clawdbot? |
dgarson
added a commit
that referenced
this pull request
Feb 2, 2026
…lZoOO docs: add agentic workflow UX audit
dgarson
added a commit
that referenced
this pull request
Feb 7, 2026
* feat: added work-queue workflow workers and a worker manager, integrate w/cron * fix: address 12 logic flaws in workflow engine, adapter, phases, and cron types - engine: capture phase before clobbering in catch handler (#1) - engine: remove dead `state.plan ?? plan` fallback (#2) - engine: mark workflow failed when all execution nodes fail (#6) - adapter: fix retry count off-by-one (attemptNumber vs retryCount) (#3) - adapter: clean up abort listener in sleep on timeout (#10) - discover: fix batch/entries index mismatch when spawns fail (#4) - execute: add cycle detection to topological sort (#5) - review: add autoApproved flag to distinguish fallback approvals (#7) - plan: add comment clarifying sessionKey reuse across repair attempts (#8) - decompose: remove unused model/maxPhases/maxTasksPerPhase/maxSubtasksPerTask opts (#9) - types: add autoApproved to ReviewIteration (#7) - cron/state: use discriminated union for CronEvent (CronJobEvent | CronHealthEvent) (#12) - tests: add WorkflowWorkerAdapter test suite (8 tests) (#11) https://claude.ai/code/session_01L8kquwpmUh5zmU9S4MHgPu --------- Co-authored-by: Claude <noreply@anthropic.com>
dgarson
added a commit
that referenced
this pull request
Feb 7, 2026
…cron types (openclaw#217) - engine: capture phase before clobbering in catch handler (#1) - engine: remove dead `state.plan ?? plan` fallback (#2) - engine: mark workflow failed when all execution nodes fail (#6) - adapter: fix retry count off-by-one (attemptNumber vs retryCount) (#3) - adapter: clean up abort listener in sleep on timeout (#10) - discover: fix batch/entries index mismatch when spawns fail (#4) - execute: add cycle detection to topological sort (#5) - review: add autoApproved flag to distinguish fallback approvals (#7) - plan: add comment clarifying sessionKey reuse across repair attempts (#8) - decompose: remove unused model/maxPhases/maxTasksPerPhase/maxSubtasksPerTask opts (#9) - types: add autoApproved to ReviewIteration (#7) - cron/state: use discriminated union for CronEvent (CronJobEvent | CronHealthEvent) (#12) - tests: add WorkflowWorkerAdapter test suite (8 tests) (#11) https://claude.ai/code/session_01L8kquwpmUh5zmU9S4MHgPu Co-authored-by: Claude <noreply@anthropic.com>
Owner
Author
|
Superseded by completed ExecutionKernel + Claude SDK adapter implementation. |
dgarson
added a commit
that referenced
this pull request
Feb 26, 2026
dgarson
added a commit
that referenced
this pull request
Feb 27, 2026
dgarson
added a commit
that referenced
this pull request
Feb 27, 2026
dgarson
added a commit
that referenced
this pull request
Mar 2, 2026
dgarson
pushed a commit
that referenced
this pull request
Mar 2, 2026
… and docs (openclaw#16761) Add inline file attachment support for sessions_spawn (subagent runtime only): - Schema: attachments[] (name, content, encoding, mimeType) and attachAs.mountPath hint - Materialization: files written to .openclaw/attachments/<uuid>/ with manifest.json - Validation: strict base64 decode, filename checks, size limits, duplicate detection - Transcript redaction: sanitizeToolCallInputs redacts attachment content from persisted transcripts - Lifecycle cleanup: safeRemoveAttachmentsDir with symlink-safe path containment check - Config: tools.sessions_spawn.attachments (enabled, maxFiles, maxFileBytes, maxTotalBytes, retainOnSessionKeep) - Registry: attachmentsDir/attachmentsRootDir/retainAttachmentsOnKeep on SubagentRunRecord - ACP rejection: attachments rejected for runtime=acp with clear error message - Docs: updated tools/index.md, concepts/session-tool.md, configuration-reference.md - Tests: 85 new/updated tests across 5 test files Fixes: - Guard fs.rm in materialization catch block with try/catch (review concern #1) - Remove unreachable fallback in safeRemoveAttachmentsDir (review concern #7) - Move attachment cleanup out of retry path to avoid timing issues with announce loop Co-authored-by: Tyler Yust <TYTYYUST@YAHOO.COM> Co-authored-by: napetrov <napetrov@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a complete conversational agentic chat flow using the Vercel AI SDK as a standalone module in vercel-ai-agent/.
Core features:
Components:
Providers supported: OpenAI, Anthropic, Google, and custom (OpenAI-compatible)
Includes comprehensive tests and usage examples.
https://claude.ai/code/session_0134bJEVR3aimGqHwAPMYdx5