@myrialabs/clopen 0.3.14 → 0.3.16
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/message-converter.ts +10 -8
- package/backend/engine/adapters/claude/models.ts +45 -2
- package/backend/engine/adapters/copilot/stream.ts +0 -1
- package/backend/files/file-reading.ts +1 -13
- package/backend/http/audio.ts +236 -0
- package/backend/index.ts +6 -0
- package/backend/tunnel/cloudflared/index.ts +3 -1
- package/backend/tunnel/cloudflared/tunnel.ts +42 -0
- package/backend/tunnel/global-tunnel-manager.ts +52 -1
- package/backend/ws/files/search.ts +5 -2
- package/backend/ws/files/write.ts +11 -4
- package/dist/assets/main-CYVFcz-a.js +358 -0
- package/dist/assets/{main-BqiSLc8F.css → main-DrFILAEB.css} +1 -1
- package/dist/audio/alert.ogg +0 -0
- package/dist/audio/bell.ogg +0 -0
- package/dist/audio/blip.ogg +0 -0
- package/dist/audio/chirp.ogg +0 -0
- package/dist/audio/cloud.ogg +0 -0
- package/dist/audio/glass.ogg +0 -0
- package/dist/audio/message.ogg +0 -0
- package/dist/audio/sparkle.ogg +0 -0
- package/dist/audio/subtle.ogg +0 -0
- package/dist/audio/tap.ogg +0 -0
- package/dist/audio/woodblock.ogg +0 -0
- package/dist/index.html +2 -2
- package/package.json +7 -7
- package/shared/constants/notification-sounds.ts +31 -0
- package/shared/types/stores/settings.ts +4 -0
- package/dist/assets/main-C37-Y8f-.js +0 -354
- /package/dist/audio/{notification.ogg → chime.ogg} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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-CYVFcz-a.js"></script>
|
|
62
|
+
<link rel="stylesheet" crossorigin href="/assets/main-DrFILAEB.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.16",
|
|
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",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
63
63
|
"lint": "eslint .",
|
|
64
64
|
"lint:fix": "eslint . --fix",
|
|
65
|
-
"test": "bun test",
|
|
65
|
+
"test": "bun test --isolate",
|
|
66
66
|
"generate-icons": "bun scripts/generate-icons.ts",
|
|
67
67
|
"prepublishOnly": "bun run build"
|
|
68
68
|
},
|
|
@@ -87,16 +87,16 @@
|
|
|
87
87
|
"vite": "^7.0.4"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
91
|
-
"@anthropic-ai/sdk": "^0.
|
|
90
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.156",
|
|
91
|
+
"@anthropic-ai/sdk": "^0.100.1",
|
|
92
92
|
"@elysiajs/cors": "^1.4.0",
|
|
93
|
-
"@github/copilot-sdk": "^1.0.0-beta.
|
|
93
|
+
"@github/copilot-sdk": "^1.0.0-beta.9",
|
|
94
94
|
"@iconify-json/lucide": "^1.2.57",
|
|
95
95
|
"@iconify-json/material-icon-theme": "^1.2.16",
|
|
96
96
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
97
97
|
"@monaco-editor/loader": "^1.5.0",
|
|
98
|
-
"@openai/codex-sdk": "^0.
|
|
99
|
-
"@opencode-ai/sdk": "^1.15.
|
|
98
|
+
"@openai/codex-sdk": "^0.135.0",
|
|
99
|
+
"@opencode-ai/sdk": "^1.15.12",
|
|
100
100
|
"@qwen-code/sdk": "^0.1.7",
|
|
101
101
|
"@xterm/addon-clipboard": "^0.2.0",
|
|
102
102
|
"@xterm/addon-fit": "^0.11.0",
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Notification sound presets bundled with the app (served from /audio/<id>.ogg). */
|
|
2
|
+
export const NOTIFICATION_SOUND_PRESETS = [
|
|
3
|
+
{ id: 'chime', label: 'Chime' },
|
|
4
|
+
{ id: 'message', label: 'Message' },
|
|
5
|
+
{ id: 'alert', label: 'Alert' },
|
|
6
|
+
{ id: 'chirp', label: 'Chirp' },
|
|
7
|
+
{ id: 'blip', label: 'Blip' },
|
|
8
|
+
{ id: 'tap', label: 'Tap' },
|
|
9
|
+
{ id: 'cloud', label: 'Cloud' },
|
|
10
|
+
{ id: 'subtle', label: 'Subtle' },
|
|
11
|
+
{ id: 'sparkle', label: 'Sparkle' },
|
|
12
|
+
{ id: 'glass', label: 'Glass' },
|
|
13
|
+
{ id: 'bell', label: 'Bell' },
|
|
14
|
+
{ id: 'woodblock', label: 'Woodblock' }
|
|
15
|
+
] as const;
|
|
16
|
+
|
|
17
|
+
export type NotificationSoundPresetId = (typeof NOTIFICATION_SOUND_PRESETS)[number]['id'];
|
|
18
|
+
|
|
19
|
+
/** Sentinel value for the user's uploaded custom sound. */
|
|
20
|
+
export const NOTIFICATION_SOUND_CUSTOM = 'custom';
|
|
21
|
+
|
|
22
|
+
/** Accepted upload extensions for custom notification sounds. */
|
|
23
|
+
export const NOTIFICATION_SOUND_ALLOWED_EXTS = ['mp3', 'ogg', 'wav', 'm4a'] as const;
|
|
24
|
+
export type NotificationSoundExt = (typeof NOTIFICATION_SOUND_ALLOWED_EXTS)[number];
|
|
25
|
+
|
|
26
|
+
/** Max custom sound size in bytes (500 KB). */
|
|
27
|
+
export const NOTIFICATION_SOUND_MAX_BYTES = 500 * 1024;
|
|
28
|
+
|
|
29
|
+
export function isValidNotificationSoundExt(ext: string): ext is NotificationSoundExt {
|
|
30
|
+
return (NOTIFICATION_SOUND_ALLOWED_EXTS as readonly string[]).includes(ext);
|
|
31
|
+
}
|
|
@@ -23,6 +23,10 @@ export interface AppSettings {
|
|
|
23
23
|
autoSave: boolean;
|
|
24
24
|
theme: 'light' | 'dark' | 'system';
|
|
25
25
|
soundNotifications: boolean;
|
|
26
|
+
/** Sound id — preset id (e.g. 'default', 'chime') or 'custom' for the user-uploaded file. */
|
|
27
|
+
notificationSound: string;
|
|
28
|
+
/** Playback volume, 0..1. Default: 1. */
|
|
29
|
+
notificationVolume: number;
|
|
26
30
|
pushNotifications: boolean;
|
|
27
31
|
layoutPresetVisibility: Record<string, boolean>;
|
|
28
32
|
/** Base font size in pixels (10–20). Default: 13. */
|