Skip to content

refactor(adk): export backend struct types for external access#692

Closed
JonXSnow wants to merge 1 commit intomainfrom
feat/adk_backend_v2
Closed

refactor(adk): export backend struct types for external access#692
JonXSnow wants to merge 1 commit intomainfrom
feat/adk_backend_v2

Conversation

@JonXSnow
Copy link
Copy Markdown
Contributor

@JonXSnow JonXSnow commented Feb 25, 2026

Export struct types to enable direct type references from external packages.

Main changes:

  • Rename sandboxToolBackend to SandboxToolBackend in agentkit package
  • Rename backend to Backend in local package
  • Update NewSandboxToolBackend() return type from filesystem.Backend interface to concrete *SandboxToolBackend
  • Update NewBackend() return type from filesystem.Backend interface to concrete *Backend
  • Update all method receivers and test assertions to use the exported type names

Impact:

  • External packages can now access the concrete backend types directly
  • Enables type assertions and direct struct field access when needed
  • Maintains backward compatibility since the types still implement filesystem.Backend interface

@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

⚠️ Please create and push new version tags for these modules after merging this PR.

@JonXSnow JonXSnow force-pushed the feat/adk_backend_v2 branch from 80f4ed6 to d00cc03 Compare February 25, 2026 13:20
@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

⚠️ Please create and push new version tags for these modules after merging this PR.

1 similar comment
@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

⚠️ Please create and push new version tags for these modules after merging this PR.

@JonXSnow JonXSnow force-pushed the feat/adk_backend_v2 branch from d1c5d60 to d00cc03 Compare February 26, 2026 03:29
@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

⚠️ Please create and push new version tags for these modules after merging this PR.

@JonXSnow JonXSnow force-pushed the feat/adk_backend_v2 branch 2 times, most recently from 419034e to 80f7cc7 Compare February 26, 2026 04:33
@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

⚠️ Please create and push new version tags for these modules after merging this PR.

@JonXSnow JonXSnow force-pushed the feat/adk_backend_v2 branch from 80f7cc7 to db4423c Compare February 26, 2026 06:12
@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

⚠️ Please create and push new version tags for these modules after merging this PR.

Export struct types to enable direct type references from external packages.

Main changes:
- Rename sandboxToolBackend to SandboxToolBackend in agentkit package
- Rename backend to Backend in local package
- Update NewSandboxToolBackend() return type from filesystem.Backend interface to concrete *SandboxToolBackend
- Update NewBackend() return type from filesystem.Backend interface to concrete *Backend
- Update all method receivers and test assertions to use the exported type names

Impact:
- External packages can now access the concrete backend types directly
- Enables type assertions and direct struct field access when needed
- Maintains backward compatibility since the types still implement filesystem.Backend interface
@JonXSnow JonXSnow force-pushed the feat/adk_backend_v2 branch from db4423c to e5a9b38 Compare February 26, 2026 06:29
@github-actions
Copy link
Copy Markdown

Need to create a new tag

The following modules have changes and may need version updates:

  • components/model/gemini (Current: components/model/gemini/v0.1.28)

  • components/model/ark (Current: components/model/ark/v0.1.64)

  • components/model/claude (Current: components/model/claude/v0.1.15)

  • adk/backend/local (Current: adk/backend/local/v0.1.1)

  • adk/backend/agentkit (Current: adk/backend/agentkit/v0.1.0)

⚠️ Please create and push new version tags for these modules after merging this PR.

@JonXSnow JonXSnow closed this Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant