Skip to content

feat(core): add go_back tool for browser navigation#375

Open
Liuhanlin23 wants to merge 1 commit intoalibaba:mainfrom
Liuhanlin23:feat/go-back-tool
Open

feat(core): add go_back tool for browser navigation#375
Liuhanlin23 wants to merge 1 commit intoalibaba:mainfrom
Liuhanlin23:feat/go-back-tool

Conversation

@Liuhanlin23
Copy link
Copy Markdown

@Liuhanlin23 Liuhanlin23 commented Mar 31, 2026

What

Add go_back tool that navigates to the previous page using window.history.back().

Added goBack() method to PageController
Registered go_back as a built-in agent tool in tools/index.ts

Type

  • Bug fix
  • Feature / Improvement
  • Refactor
  • Documentation
  • Website
  • Demo / Testing
  • Breaking change

Testing

  • Tested in modern browsers
  • No console errors
  • Types/doc added

Closes #(issue)

Requirements / 要求

  • I have read and follow the Code of Conduct and Contributing Guide . / 我已阅读并遵守行为准则。
  • This PR is NOT generated by a bot or AI agent acting autonomously. I have authored or meaningfully reviewed every change. / 此 PR 不是由 bot 或 AI 自主生成的,我已亲自编写或充分审查了每一处变更。

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.

1 participant