@lincyaw/studio 0.2.0-rc.46 → 0.2.0-rc.48
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/package.json +3 -3
- package/src/studio.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lincyaw/studio",
|
|
3
|
-
"version": "0.2.0-rc.
|
|
3
|
+
"version": "0.2.0-rc.48",
|
|
4
4
|
"description": "presmium studio: Presmium's workbench on DeepSeek Harness in one command, with the workspace service of a directory (experimental)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@deepseek-ai/dsh": "0.2.1-alpha.4",
|
|
40
40
|
"http-proxy-3": "2.0.1",
|
|
41
41
|
"jiti": "^2.7.0",
|
|
42
|
-
"@lincyaw/dsh": "0.2.0-rc.
|
|
42
|
+
"@lincyaw/dsh": "0.2.0-rc.48"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@lincyaw/cli": "1.0.0-rc.
|
|
45
|
+
"@lincyaw/cli": "1.0.0-rc.49"
|
|
46
46
|
}
|
|
47
47
|
}
|
package/src/studio.ts
CHANGED
|
@@ -252,8 +252,9 @@ export async function startStudio(options: StudioOptions): Promise<Studio> {
|
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
try {
|
|
255
|
+
const presmium = options.presmium ?? presmiumBin(env, t.presmiumMissing)
|
|
255
256
|
const server = launchWorkspaceServer({
|
|
256
|
-
presmium
|
|
257
|
+
presmium,
|
|
257
258
|
dir: resolve(options.dir),
|
|
258
259
|
serviceToken,
|
|
259
260
|
mcpToken,
|
|
@@ -285,6 +286,7 @@ export async function startStudio(options: StudioOptions): Promise<Studio> {
|
|
|
285
286
|
...inheritedEnv(env, name => isLauncherVariable(name) || ['DEEPSEEK_API_KEY', 'DEEPSEEK_BASE_URL', 'DEEPSEEK_SEARCH_BASE_URL'].includes(name)),
|
|
286
287
|
...modelEnv(env).env,
|
|
287
288
|
...launchEnv(home, env),
|
|
289
|
+
PRESMIUM_COMMAND: presmium,
|
|
288
290
|
PRESMIUM_SERVICE_URL: url,
|
|
289
291
|
PRESMIUM_SERVICE_TOKEN: serviceToken,
|
|
290
292
|
PRESMIUM_WORKSPACE: root,
|