Skip to content

feat: add workspace interface#1942

Open
yuluo-yx wants to merge 2 commits into
agentscope-ai:mainfrom
yuluo-yx:0626-yuluo/add-worksapce-interface
Open

feat: add workspace interface#1942
yuluo-yx wants to merge 2 commits into
agentscope-ai:mainfrom
yuluo-yx:0626-yuluo/add-worksapce-interface

Conversation

@yuluo-yx

Copy link
Copy Markdown

No description provided.

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
@yuluo-yx yuluo-yx requested review from a team and Copilot June 26, 2026 14:31
@CLAassistant

CLAassistant commented Jun 26, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new io.agentscope.core.workspace.Workspace contract in agentscope-core, intended to represent an agent execution environment (sandbox lifecycle + instructions + MCP clients + skills + context offloading). It also updates the package-level documentation to reflect the new abstraction.

Changes:

  • Added the Workspace interface (plus related sandbox/offload/MCP/skills contracts) under io.agentscope.core.workspace.
  • Updated package-info.java to describe the new workspace API surface.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
agentscope-core/src/main/java/io/agentscope/core/workspace/Workspace.java Adds the new workspace contract and supporting interfaces for lifecycle, offloading, MCP client management, and skill catalog operations.
agentscope-core/src/main/java/io/agentscope/core/workspace/package-info.java Updates package docs to match the new Workspace contract.

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...n/java/io/agentscope/core/workspace/Workspace.java 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
@yuluo-yx yuluo-yx force-pushed the 0626-yuluo/add-worksapce-interface branch from 1c8b45c to f8f0f2f Compare June 26, 2026 14:54

@zouyx zouyx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我在设计层面有个问题想问问,如果这个概念是工作区的话,现在设计应该是在 sandbox 之上构建工作区。会不会存在 sandbox 内构建工作区?

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.

4 participants