@yugoo-design/dsh-design-studio-dsh 0.2.3 → 0.2.5
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/README.md +6 -0
- package/lib/authoring/panel-components.json +118 -81
- package/lib/authoring/studio-creators/material.json +1 -1
- package/lib/authoring-entry.js +1 -1
- package/lib/{authoring-service-WClXJGik.js → authoring-service-BRUrHzSH.js} +4 -2
- package/lib/authoring-service.js +1 -1
- package/lib/typert.host.d.ts +2 -2
- package/licenses/dsh-distribution.json +84 -84
- package/package.json +5 -5
package/lib/authoring-entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { prepareStudioAuthoringDirectory } from "./authoring-reference-store.js";
|
|
2
|
-
import { t as DshStudioAuthoringService } from "./authoring-service-
|
|
2
|
+
import { t as DshStudioAuthoringService } from "./authoring-service-BRUrHzSH.js";
|
|
3
3
|
import { dshHomePath } from "@deepseek-ai/dsh-home-paths";
|
|
4
4
|
//#region src/authoring-entry.ts
|
|
5
5
|
const name = "studio-authoring";
|
|
@@ -102,10 +102,12 @@ function registerStudioCustomizationTool(ctx, service) {
|
|
|
102
102
|
break;
|
|
103
103
|
default: throw new Error("Unknown Studio customization action");
|
|
104
104
|
}
|
|
105
|
-
const
|
|
105
|
+
const studioPath = (args.action === "prepareChanges" ? STUDIO_AUTHORING_RPC_SCHEMAS.prepareChanges.result.parse(result) : void 0)?.authoring?.url ?? `/design-studio/?agentId=${encodeURIComponent(String(agent.id))}`;
|
|
106
|
+
const webServer = ctx.get("webServer");
|
|
107
|
+
const studioUrl = webServer ? new URL(studioPath, `http://127.0.0.1:${webServer.port}`).href : studioPath;
|
|
106
108
|
return { content: JSON.stringify({
|
|
107
109
|
result,
|
|
108
|
-
studioUrl
|
|
110
|
+
studioUrl
|
|
109
111
|
}) };
|
|
110
112
|
}
|
|
111
113
|
}));
|
package/lib/authoring-service.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DshStudioAuthoringService } from "./authoring-service-
|
|
1
|
+
import { t as DshStudioAuthoringService } from "./authoring-service-BRUrHzSH.js";
|
|
2
2
|
export { DshStudioAuthoringService, DshStudioAuthoringService as default };
|
package/lib/typert.host.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare const TYPERT: {
|
|
|
10
10
|
readonly events: readonly [];
|
|
11
11
|
readonly objects: readonly [];
|
|
12
12
|
};
|
|
13
|
-
readonly invocations: readonly ({
|
|
13
|
+
readonly invocations: readonly (StudioRemoteDescriptor | {
|
|
14
14
|
id: string;
|
|
15
15
|
service: string;
|
|
16
16
|
namespace: string;
|
|
@@ -835,7 +835,7 @@ declare const TYPERT: {
|
|
|
835
835
|
sha256: import("zod").ZodString;
|
|
836
836
|
}, import("zod/v4/core").$strict>;
|
|
837
837
|
};
|
|
838
|
-
}
|
|
838
|
+
})[];
|
|
839
839
|
};
|
|
840
840
|
//#endregion
|
|
841
841
|
export { TYPERT, TYPERT as default };
|