@myrialabs/clopen 0.3.20 → 0.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/engine/adapters/claude/models.ts +43 -0
- package/backend/engine/install-recipes.ts +52 -31
- package/backend/engine/version-check.ts +145 -0
- package/backend/git/git-parser.ts +11 -0
- package/backend/git/git-service.ts +52 -7
- package/backend/index.ts +27 -12
- package/backend/ws/chat/stream.ts +17 -6
- package/backend/ws/system-tools/status.ts +14 -0
- package/dist/assets/main-BgOiIS43.js +360 -0
- package/dist/assets/{main-ClADBkFf.css → main-CJdJeen6.css} +1 -1
- package/dist/index.html +2 -2
- package/package.json +3 -1
- package/shared/types/git.ts +8 -0
- package/dist/assets/main-72Z_L-nD.js +0 -362
package/dist/index.html
CHANGED
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
}
|
|
59
59
|
})();
|
|
60
60
|
</script>
|
|
61
|
-
<script type="module" crossorigin src="/assets/main-
|
|
62
|
-
<link rel="stylesheet" crossorigin href="/assets/main-
|
|
61
|
+
<script type="module" crossorigin src="/assets/main-BgOiIS43.js"></script>
|
|
62
|
+
<link rel="stylesheet" crossorigin href="/assets/main-CJdJeen6.css">
|
|
63
63
|
</head>
|
|
64
64
|
<body
|
|
65
65
|
class="min-h-dvh bg-white text-slate-900 dark:bg-slate-950 dark:text-slate-100 transition-colors duration-200"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myrialabs/clopen",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.21",
|
|
4
4
|
"description": "All-in-one web workspace for Claude Code & OpenCode — chat, terminal, git, browser preview, checkpoints, and real-time collaboration",
|
|
5
5
|
"author": "Myria Labs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"@sveltejs/vite-plugin-svelte": "^6.0.0",
|
|
72
72
|
"@tailwindcss/vite": "^4.1.11",
|
|
73
73
|
"@types/bun": "^1.2.18",
|
|
74
|
+
"@types/dompurify": "^3.2.0",
|
|
74
75
|
"@types/node": "^24.0.14",
|
|
75
76
|
"@types/qrcode": "^1.5.6",
|
|
76
77
|
"@types/random-useragent": "^0.3.3",
|
|
@@ -107,6 +108,7 @@
|
|
|
107
108
|
"@xterm/headless": "^6.0.0",
|
|
108
109
|
"@xterm/xterm": "^6.0.0",
|
|
109
110
|
"bun-pty": "^0.4.2",
|
|
111
|
+
"dompurify": "^3.4.9",
|
|
110
112
|
"elysia": "^1.4.19",
|
|
111
113
|
"fflate": "^0.8.3",
|
|
112
114
|
"file-type": "^21.0.0",
|
package/shared/types/git.ts
CHANGED
|
@@ -52,12 +52,20 @@ export interface GitBranch {
|
|
|
52
52
|
lastCommit?: string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/** In-progress git operation that leaves the repo in a detached/transitional state */
|
|
56
|
+
export type GitOperation = 'rebase' | 'merge' | 'cherry-pick' | 'revert' | 'bisect';
|
|
57
|
+
|
|
55
58
|
export interface GitBranchInfo {
|
|
59
|
+
/** Active branch name, or a short commit hash when HEAD is detached */
|
|
56
60
|
current: string;
|
|
57
61
|
local: GitBranch[];
|
|
58
62
|
remote: GitBranch[];
|
|
59
63
|
ahead: number;
|
|
60
64
|
behind: number;
|
|
65
|
+
/** True when HEAD is detached (no branch checked out) */
|
|
66
|
+
detached?: boolean;
|
|
67
|
+
/** The in-progress operation, if any (rebase, merge, …) */
|
|
68
|
+
operation?: GitOperation | null;
|
|
61
69
|
}
|
|
62
70
|
|
|
63
71
|
// ============================================
|