mirror of
https://github.com/open-webui/computer.git
synced 2026-11-20 21:41:54 +03:00
refac
This commit is contained in:
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.9.1] - 2026-07-11
|
||||
|
||||
### Fixed
|
||||
|
||||
- 🏠 **Home chats work like workspace chats.** Home keeps chats, terminals, and browser pages alive while you switch tabs, streams replies as they arrive, and correctly loads global skills.
|
||||
|
||||
## [0.9.0] - 2026-07-11
|
||||
|
||||
### Added
|
||||
|
||||
@@ -351,16 +351,23 @@
|
||||
});
|
||||
}
|
||||
|
||||
// Connect system events when workspace is active
|
||||
// Chat events belong to the authenticated user, not a workspace.
|
||||
$effect(() => {
|
||||
if (authState === 'authenticated') {
|
||||
socketStore.connect();
|
||||
bindGlobalChatListener();
|
||||
} else {
|
||||
socketStore.disconnect();
|
||||
}
|
||||
});
|
||||
|
||||
// Filesystem events remain workspace-scoped.
|
||||
$effect(() => {
|
||||
const ws = $currentWorkspace;
|
||||
if (ws) {
|
||||
systemEvents.connect(ws.fileBrowserCwd || ws.path);
|
||||
socketStore.connect();
|
||||
bindGlobalChatListener();
|
||||
} else {
|
||||
systemEvents.disconnect();
|
||||
socketStore.disconnect();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -423,7 +423,7 @@ def discover_skills(workspace: str) -> list[SkillMeta]:
|
||||
ws = Path(workspace)
|
||||
|
||||
# 1. Workspace-level skills (project-specific, git-trackable)
|
||||
if ws.is_dir():
|
||||
if workspace and ws.is_dir():
|
||||
for rel_dir in WORKSPACE_SKILL_DIRS:
|
||||
skills_dir = ws / rel_dir
|
||||
for skill in _scan_skills_dir(skills_dir, source="workspace", workspace=workspace):
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "cptr"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
description = "Your computer, from anywhere. Code, manage, and control your machine from the web."
|
||||
license = {file = "LICENSE"}
|
||||
readme = "README.md"
|
||||
|
||||
Reference in New Issue
Block a user