Skip to content

feat(channel): support platform workspace setting for sessions#633

Open
hencter wants to merge 3 commits into
iOfficeAI:mainfrom
hencter:feat/channel-workspace-setting
Open

feat(channel): support platform workspace setting for sessions#633
hencter wants to merge 3 commits into
iOfficeAI:mainfrom
hencter:feat/channel-workspace-setting

Conversation

@hencter

@hencter hencter commented Jul 17, 2026

Copy link
Copy Markdown

Summary

Add per-platform workspace configuration for channel sessions so IM-originated conversations can use a user-specified folder instead of auto-provisioned temporary workspaces.

Changes

  • ChannelWorkspaceSetting API type and workspace field on ChannelPlatformSettingsResponse
  • Persist assistant.{platform}.workspace via client preferences
  • PUT /api/channel/settings/{platform}/workspace (empty path clears setting)
  • create_conversation_for_session injects configured path into extra.workspace
  • Clears channel sessions when workspace setting changes (same pattern as assistant/model)

Companion

AionUi branch feat/channel-workspace-setting consumes this API in Channels settings UI.

Test plan

  • Unit: cargo test -p aionui-channel workspace_setting --lib
  • Unit: cargo test -p aionui-channel parse_channel_workspace --lib
  • Manual: set workspace via PUT, send channel message, confirm conversation uses path (not *-temp-*)
  • Manual: clear workspace (empty path), next session uses temp again

hencter added 3 commits July 17, 2026 16:04
Persist assistant.{platform}.workspace in client preferences, expose GET/PUT channel settings workspace APIs, and inject the configured path when creating channel conversations so they skip temporary workspace auto-provisioning.
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