chcodex
chcodex
## Summary This is a **design discussion**, not a bug report. `LocalFilesystemSpec.projectWritable(true)` (backed by `ProjectAwareOverlay`) routes writes to the project directory for non-workspace paths so code-generation agents can write directly...
### Problem In `agentscope-extensions-sandbox-e2b`, `E2bPersistenceMode.NATIVE_SNAPSHOT` calls `POST /sandboxes/{id}/snapshots` on every `stop()` (`E2bSandbox.doPersistWorkspace()`). The resulting snapshots are team-level, persistent, TTL-less E2B resources — AgentScope never deletes them, so they accumulate indefinitely...
## Problem In sandbox filesystem mode, a sandbox session is created/resumed on EVERY agent call, even when the turn is pure chat (no command execution, no file read/write). This includes...
## Question Is the current persistence design for runtime workspace files intentional? Two classes of runtime files (sessions and MEMORY.md) currently follow **two completely different persistence paths**, which leads to...
**Is your feature request related to a problem? Please describe.** In sandbox mode, `WorkspaceContextMiddleware` renders a `## Workspace` paragraph that instructs the model to "use the upload/download tools to move...
### Description After the agent finishes streaming its reply, the event stream stays open for several seconds. SSE/HTTP consumers keep the "generating" state until the stream completes. Root cause: `MemoryFlushMiddleware.onAgent`...
**Describe the bug** When a `HarnessAgent` is configured with a sandbox-backed filesystem (e.g. `SandboxBackedFilesystem` via the sandbox lifecycle middleware), the background maintenance threads of `WorkspaceTaskRepository` (`ws-task-maint-*`) cannot persist or read...
## Description `MemoryFlushManager.flushMemories()` performs a full LLM extraction call plus disk writes, and it currently blocks the end of the agent's reply stream. ## Location `agentscope-harness/src/main/java/io/agentscope/harness/agent/middleware/MemoryFlushMiddleware.java` (lines 143-152): ```java return...
## Summary Cubesandbox (`api.e2b.cloud.ketanyun.cn`) diverges from official E2B (`api.e2b.app`) on `POST /sandboxes/{id}/snapshots`. Official returns `snapshotID` as the qualified alias (`team/alias:tag`), while Cubesandbox returns `snapshotID=snap-*` with `names=[alias]` split. This breaks SDKs...
**Is your feature request related to a problem? Please describe.** `agentscope-extensions-agui` already defines AG-UI snapshot types (`StateSnapshot` / `StateDelta` / `MessagesSnapshot` / `ActivitySnapshot` / `ActivityDelta` in `AguiEvent.java` + `AguiEventType.java`, `AguiStateConverter`...