Skip to content

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Sep 19, 2025

Summary

Implements user interruption functionality allowing users to insert messages while the agent is processing, using a more elegant architecture that reuses existing APIs.

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link

netlify bot commented Sep 19, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 620c65c
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68e5188f3501250008eb844f
😎 Deploy Preview https://deploy-preview-1582--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz changed the title feat(tarko-agent-server,tarko-agent-ui): support user message insertion during agent execution feat(tarko-agent): support user message insertion during agent execution Sep 19, 2025
@netlify
Copy link

netlify bot commented Sep 19, 2025

Deploy Preview for tarko ready!

Name Link
🔨 Latest commit 620c65c
🔍 Latest deploy log https://app.netlify.com/projects/tarko/deploys/68e5188f1300de000806f99a
😎 Deploy Preview https://deploy-preview-1582--tarko.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz force-pushed the feat/agent-session-interrupt branch 2 times, most recently from 0fba7bf to 08455f1 Compare September 20, 2025 14:07
@ulivz ulivz changed the title feat(tarko-agent): support user message insertion during agent execution WIP: feat(tarko-agent): support user message insertion during agent execution Sep 20, 2025
@ulivz ulivz force-pushed the feat/agent-session-interrupt branch from 5ab8130 to edb1e86 Compare October 7, 2025 03:06
@ulivz ulivz self-assigned this Oct 7, 2025
ulivz added 4 commits October 7, 2025 21:41
…ring agent execution

- Reuse existing query APIs instead of creating new endpoints
- Insert user messages as environment_input when agent is running
- Add UserInterruptMetadata type for proper event categorization
- Agent can process user interrupts in next execution loop
- Update placeholder text to indicate interruption capability
- Maintain API simplicity and architectural consistency
- Add getProcessingStatus and insertEnvironmentInput methods to test mocks
- Ensure all tests properly reset agent processing status to false
- Fix contextual-references.test.ts and queries.test.ts compatibility
- All 62 tests now pass successfully
@ulivz ulivz force-pushed the feat/agent-session-interrupt branch from edb1e86 to 620c65c Compare October 7, 2025 13:41
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