Skip to content

feat(sdk): sync go/ts/python SDKs with server find/search, recall, an… - #3737

Draft
zhoujh01 wants to merge 1 commit into
mainfrom
feat/sdk-level-extra-recall-admin
Draft

feat(sdk): sync go/ts/python SDKs with server find/search, recall, an…#3737
zhoujh01 wants to merge 1 commit into
mainfrom
feat/sdk-level-extra-recall-admin

Conversation

@zhoujh01

@zhoujh01 zhoujh01 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

…d admin changes

Server-side changes recently landed that the language SDKs had drifted from:

Changes:

  • python: add level/since/until/time_field to find/search; add an extra escape hatch to find/search/add_resource/write/batch_write so new server fields can be passed without an SDK bump (only forwarded when set, preserving level=0); add recall and the four admin methods.
  • go: fix MatchedContext (add Tags, drop removed fields), add Recall and the four admin methods.
  • typescript: type MatchedContext/FindResult, add RecallOptions, add recall and the four admin methods.

Description

Human Involvement

  • A human participated in the implementation or review loop
  • This PR was generated entirely by AI agents without human participation in the loop

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Notes

…d admin changes

Server-side changes recently landed that the language SDKs had drifted from:

- find/search results now return `tags` and no longer return
  `category`/`match_reason`/`relations`/`overview` (#3730). Go's strict
  struct was the only one broken; update MatchedContext accordingly.
- new admin endpoints for agent-evolution and per-account settings (#3695).
- public `search/recall` endpoint was missing from all SDKs.

Changes:
- python: add `level`/`since`/`until`/`time_field` to find/search; add an
  `extra` escape hatch to find/search/add_resource/write/batch_write so new
  server fields can be passed without an SDK bump (only forwarded when set,
  preserving `level=0`); add `recall` and the four admin methods.
- go: fix MatchedContext (add Tags, drop removed fields), add Recall and the
  four admin methods.
- typescript: type MatchedContext/FindResult, add RecallOptions, add `recall`
  and the four admin methods.

Co-authored-by: TRAE CLI <noreply@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant