@spencer-kit/coder-studio 0.3.9 → 0.3.10
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/CHANGELOG.md +6 -0
- package/dist/esm/bin.mjs +10 -17
- package/dist/esm/bin.mjs.map +2 -2
- package/dist/esm/server-runner.mjs +10 -17
- package/dist/esm/server-runner.mjs.map +2 -2
- package/dist/web/assets/index-DBpngHWV.js +111 -0
- package/dist/web/assets/index-DBpngHWV.js.map +1 -0
- package/dist/web/assets/index-DUGzjla1.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-BwryTUQ9.css +0 -1
- package/dist/web/assets/index-Z64V-v_U.js +0 -111
- package/dist/web/assets/index-Z64V-v_U.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#43](https://github.com/spencerkit/coder-studio/pull/43) [`ee20f64`](https://github.com/spencerkit/coder-studio/commit/ee20f641888663152f1a5ce5774e5e2b5a52e7b3) Thanks [@pallyoung](https://github.com/pallyoung)! - Fix supervisor dialog polish by removing the duplicated desktop intro panel and ensuring the scheduled-time picker popover renders above modal overlays.
|
|
8
|
+
|
|
3
9
|
## 0.3.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/esm/bin.mjs
CHANGED
|
@@ -1065,7 +1065,7 @@ async function readFile(workspaceId, rootPath, relPath) {
|
|
|
1065
1065
|
const abs = resolveSafe(rootPath, relPath);
|
|
1066
1066
|
const imageType = getImageTypeInfo(relPath);
|
|
1067
1067
|
if (imageType) {
|
|
1068
|
-
const
|
|
1068
|
+
const bytes = await fsReadFile(abs);
|
|
1069
1069
|
const params = new URLSearchParams({
|
|
1070
1070
|
workspaceId,
|
|
1071
1071
|
path: relPath
|
|
@@ -1074,8 +1074,9 @@ async function readFile(workspaceId, rootPath, relPath) {
|
|
|
1074
1074
|
kind: "image",
|
|
1075
1075
|
mime: imageType.mime,
|
|
1076
1076
|
url: `/api/file?${params.toString()}`,
|
|
1077
|
-
size:
|
|
1078
|
-
isTextBacked: imageType.isTextBacked
|
|
1077
|
+
size: bytes.byteLength,
|
|
1078
|
+
isTextBacked: imageType.isTextBacked,
|
|
1079
|
+
version: createHash("sha256").update(bytes).digest("hex")
|
|
1079
1080
|
};
|
|
1080
1081
|
}
|
|
1081
1082
|
const content = await fsReadFile(abs, "utf-8");
|
|
@@ -8190,20 +8191,8 @@ function createTreeVisibilityFilter() {
|
|
|
8190
8191
|
return (name) => !isTreeHidden(name);
|
|
8191
8192
|
}
|
|
8192
8193
|
function createWatcherIgnoreFilter(rootPath) {
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
return (path10) => DEFAULT_WATCHER_IGNORED_PATTERNS.some((p) => p.test(normalizePath(path10)));
|
|
8196
|
-
}
|
|
8197
|
-
const gitignoreContent = readFileSync5(gitignorePath, "utf-8");
|
|
8198
|
-
const ig = ignore().add(gitignoreContent);
|
|
8199
|
-
return (path10) => {
|
|
8200
|
-
const normalizedPath = normalizePath(path10);
|
|
8201
|
-
if (DEFAULT_WATCHER_IGNORED_PATTERNS.some((p) => p.test(normalizedPath))) {
|
|
8202
|
-
return true;
|
|
8203
|
-
}
|
|
8204
|
-
const relativePath = relativeToRoot(rootPath, path10);
|
|
8205
|
-
return isIgnoredByGitignore(ig, relativePath);
|
|
8206
|
-
};
|
|
8194
|
+
void rootPath;
|
|
8195
|
+
return (path10) => DEFAULT_WATCHER_IGNORED_PATTERNS.some((p) => p.test(normalizePath(path10)));
|
|
8207
8196
|
}
|
|
8208
8197
|
var DEFAULT_WATCHER_IGNORED_PATTERNS;
|
|
8209
8198
|
var init_gitignore = __esm({
|
|
@@ -10023,6 +10012,7 @@ var init_workspace = __esm({
|
|
|
10023
10012
|
bottomPanelHeight: z6.number(),
|
|
10024
10013
|
focusMode: z6.boolean(),
|
|
10025
10014
|
activeSessionId: z6.string().optional(),
|
|
10015
|
+
fileTreeExpandedDirs: z6.array(z6.string()).optional(),
|
|
10026
10016
|
paneLayout: z6.object({
|
|
10027
10017
|
id: z6.string(),
|
|
10028
10018
|
type: z6.enum(["leaf", "split"]),
|
|
@@ -12038,6 +12028,9 @@ var init_settings2 = __esm({
|
|
|
12038
12028
|
themeId: z13.string().optional(),
|
|
12039
12029
|
terminalRenderer: z13.enum(["standard", "compatibility"]).optional(),
|
|
12040
12030
|
terminalCopyOnSelect: z13.boolean().optional(),
|
|
12031
|
+
terminalFontSize: z13.number().int().min(10).max(18).optional(),
|
|
12032
|
+
desktopTerminalFontSize: z13.number().int().min(10).max(18).optional(),
|
|
12033
|
+
mobileTerminalFontSize: z13.number().int().min(10).max(18).optional(),
|
|
12041
12034
|
locale: z13.enum(["zh", "en"]).optional()
|
|
12042
12035
|
}).optional(),
|
|
12043
12036
|
providers: ProviderSettingsSchema.optional()
|