@yugoo-design/dsh-design-studio-dsh 0.2.7 → 0.2.11

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.
@@ -1,5 +1,5 @@
1
1
  import { prepareStudioAuthoringDirectory } from "./authoring-reference-store.js";
2
- import { t as DshStudioAuthoringService } from "./authoring-service-BRUrHzSH.js";
2
+ import { t as DshStudioAuthoringService } from "./authoring-service-BUAl_D62.js";
3
3
  import { dshHomePath } from "@deepseek-ai/dsh-home-paths";
4
4
  //#region src/authoring-entry.ts
5
5
  const name = "studio-authoring";
@@ -55,6 +55,9 @@ function registerStudioCustomizationTool(ctx, service) {
55
55
  render: (_args, result) => [{
56
56
  type: "text",
57
57
  text: result.content
58
+ }, {
59
+ type: "text",
60
+ text: "studioUrl opens Design Studio for reusable Kit/Bundle definitions and Panel previews. To view or edit saved results in the current Design Project, use “Yugoo设计” / “Yugoo Design” in the conversation toolbar to open its Design Panel, then select the relevant design. Keep the Studio authoring URL labelled Design Studio; do not present it as a project result link."
58
61
  }]
59
62
  },
60
63
  async execute(args, exec) {
@@ -1,2 +1,2 @@
1
- import { t as DshStudioAuthoringService } from "./authoring-service-BRUrHzSH.js";
1
+ import { t as DshStudioAuthoringService } from "./authoring-service-BUAl_D62.js";
2
2
  export { DshStudioAuthoringService, DshStudioAuthoringService as default };
@@ -56,6 +56,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
56
56
  }, z.core.$strict>;
57
57
  instanceId: z.ZodOptional<z.ZodString>;
58
58
  revision: z.ZodOptional<z.ZodNumber>;
59
+ display: z.ZodOptional<z.ZodObject<{
60
+ title: z.ZodOptional<z.ZodObject<{
61
+ zh: z.ZodString;
62
+ en: z.ZodString;
63
+ }, z.core.$strict>>;
64
+ description: z.ZodOptional<z.ZodString>;
65
+ displayDescription: z.ZodOptional<z.ZodObject<{
66
+ zh: z.ZodString;
67
+ en: z.ZodString;
68
+ }, z.core.$strict>>;
69
+ }, z.core.$strict>>;
59
70
  }, z.core.$strict>>;
60
71
  createdAt: z.ZodOptional<z.ZodString>;
61
72
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -174,6 +185,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
174
185
  }, z.core.$strict>;
175
186
  instanceId: z.ZodOptional<z.ZodString>;
176
187
  revision: z.ZodOptional<z.ZodNumber>;
188
+ display: z.ZodOptional<z.ZodObject<{
189
+ title: z.ZodOptional<z.ZodObject<{
190
+ zh: z.ZodString;
191
+ en: z.ZodString;
192
+ }, z.core.$strict>>;
193
+ description: z.ZodOptional<z.ZodString>;
194
+ displayDescription: z.ZodOptional<z.ZodObject<{
195
+ zh: z.ZodString;
196
+ en: z.ZodString;
197
+ }, z.core.$strict>>;
198
+ }, z.core.$strict>>;
177
199
  }, z.core.$strict>>;
178
200
  createdAt: z.ZodOptional<z.ZodString>;
179
201
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -298,6 +320,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
298
320
  }, z.core.$strict>;
299
321
  instanceId: z.ZodOptional<z.ZodString>;
300
322
  revision: z.ZodOptional<z.ZodNumber>;
323
+ display: z.ZodOptional<z.ZodObject<{
324
+ title: z.ZodOptional<z.ZodObject<{
325
+ zh: z.ZodString;
326
+ en: z.ZodString;
327
+ }, z.core.$strict>>;
328
+ description: z.ZodOptional<z.ZodString>;
329
+ displayDescription: z.ZodOptional<z.ZodObject<{
330
+ zh: z.ZodString;
331
+ en: z.ZodString;
332
+ }, z.core.$strict>>;
333
+ }, z.core.$strict>>;
301
334
  }, z.core.$strict>>;
302
335
  createdAt: z.ZodOptional<z.ZodString>;
303
336
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -426,6 +459,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
426
459
  }, z.core.$strict>;
427
460
  instanceId: z.ZodOptional<z.ZodString>;
428
461
  revision: z.ZodOptional<z.ZodNumber>;
462
+ display: z.ZodOptional<z.ZodObject<{
463
+ title: z.ZodOptional<z.ZodObject<{
464
+ zh: z.ZodString;
465
+ en: z.ZodString;
466
+ }, z.core.$strict>>;
467
+ description: z.ZodOptional<z.ZodString>;
468
+ displayDescription: z.ZodOptional<z.ZodObject<{
469
+ zh: z.ZodString;
470
+ en: z.ZodString;
471
+ }, z.core.$strict>>;
472
+ }, z.core.$strict>>;
429
473
  }, z.core.$strict>>;
430
474
  createdAt: z.ZodOptional<z.ZodString>;
431
475
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -560,6 +604,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
560
604
  }, z.core.$strict>;
561
605
  instanceId: z.ZodOptional<z.ZodString>;
562
606
  revision: z.ZodOptional<z.ZodNumber>;
607
+ display: z.ZodOptional<z.ZodObject<{
608
+ title: z.ZodOptional<z.ZodObject<{
609
+ zh: z.ZodString;
610
+ en: z.ZodString;
611
+ }, z.core.$strict>>;
612
+ description: z.ZodOptional<z.ZodString>;
613
+ displayDescription: z.ZodOptional<z.ZodObject<{
614
+ zh: z.ZodString;
615
+ en: z.ZodString;
616
+ }, z.core.$strict>>;
617
+ }, z.core.$strict>>;
563
618
  }, z.core.$strict>>;
564
619
  createdAt: z.ZodOptional<z.ZodString>;
565
620
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -688,6 +743,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
688
743
  }, z.core.$strict>;
689
744
  instanceId: z.ZodOptional<z.ZodString>;
690
745
  revision: z.ZodOptional<z.ZodNumber>;
746
+ display: z.ZodOptional<z.ZodObject<{
747
+ title: z.ZodOptional<z.ZodObject<{
748
+ zh: z.ZodString;
749
+ en: z.ZodString;
750
+ }, z.core.$strict>>;
751
+ description: z.ZodOptional<z.ZodString>;
752
+ displayDescription: z.ZodOptional<z.ZodObject<{
753
+ zh: z.ZodString;
754
+ en: z.ZodString;
755
+ }, z.core.$strict>>;
756
+ }, z.core.$strict>>;
691
757
  }, z.core.$strict>>;
692
758
  createdAt: z.ZodOptional<z.ZodString>;
693
759
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -810,6 +876,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
810
876
  }, z.core.$strict>;
811
877
  instanceId: z.ZodOptional<z.ZodString>;
812
878
  revision: z.ZodOptional<z.ZodNumber>;
879
+ display: z.ZodOptional<z.ZodObject<{
880
+ title: z.ZodOptional<z.ZodObject<{
881
+ zh: z.ZodString;
882
+ en: z.ZodString;
883
+ }, z.core.$strict>>;
884
+ description: z.ZodOptional<z.ZodString>;
885
+ displayDescription: z.ZodOptional<z.ZodObject<{
886
+ zh: z.ZodString;
887
+ en: z.ZodString;
888
+ }, z.core.$strict>>;
889
+ }, z.core.$strict>>;
813
890
  }, z.core.$strict>>;
814
891
  createdAt: z.ZodOptional<z.ZodString>;
815
892
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -953,6 +1030,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
953
1030
  }, z.core.$strict>;
954
1031
  instanceId: z.ZodOptional<z.ZodString>;
955
1032
  revision: z.ZodOptional<z.ZodNumber>;
1033
+ display: z.ZodOptional<z.ZodObject<{
1034
+ title: z.ZodOptional<z.ZodObject<{
1035
+ zh: z.ZodString;
1036
+ en: z.ZodString;
1037
+ }, z.core.$strict>>;
1038
+ description: z.ZodOptional<z.ZodString>;
1039
+ displayDescription: z.ZodOptional<z.ZodObject<{
1040
+ zh: z.ZodString;
1041
+ en: z.ZodString;
1042
+ }, z.core.$strict>>;
1043
+ }, z.core.$strict>>;
956
1044
  }, z.core.$strict>>;
957
1045
  createdAt: z.ZodOptional<z.ZodString>;
958
1046
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -1155,6 +1243,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
1155
1243
  }, z.core.$strict>;
1156
1244
  instanceId: z.ZodOptional<z.ZodString>;
1157
1245
  revision: z.ZodOptional<z.ZodNumber>;
1246
+ display: z.ZodOptional<z.ZodObject<{
1247
+ title: z.ZodOptional<z.ZodObject<{
1248
+ zh: z.ZodString;
1249
+ en: z.ZodString;
1250
+ }, z.core.$strict>>;
1251
+ description: z.ZodOptional<z.ZodString>;
1252
+ displayDescription: z.ZodOptional<z.ZodObject<{
1253
+ zh: z.ZodString;
1254
+ en: z.ZodString;
1255
+ }, z.core.$strict>>;
1256
+ }, z.core.$strict>>;
1158
1257
  }, z.core.$strict>>;
1159
1258
  createdAt: z.ZodOptional<z.ZodString>;
1160
1259
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -1294,6 +1393,17 @@ declare const STUDIO_AUTHORING_RPC_SCHEMAS: {
1294
1393
  }, z.core.$strict>;
1295
1394
  instanceId: z.ZodOptional<z.ZodString>;
1296
1395
  revision: z.ZodOptional<z.ZodNumber>;
1396
+ display: z.ZodOptional<z.ZodObject<{
1397
+ title: z.ZodOptional<z.ZodObject<{
1398
+ zh: z.ZodString;
1399
+ en: z.ZodString;
1400
+ }, z.core.$strict>>;
1401
+ description: z.ZodOptional<z.ZodString>;
1402
+ displayDescription: z.ZodOptional<z.ZodObject<{
1403
+ zh: z.ZodString;
1404
+ en: z.ZodString;
1405
+ }, z.core.$strict>>;
1406
+ }, z.core.$strict>>;
1297
1407
  }, z.core.$strict>>;
1298
1408
  createdAt: z.ZodOptional<z.ZodString>;
1299
1409
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -2016,6 +2126,17 @@ declare const STUDIO_AUTHORING_REMOTE: {
2016
2126
  }, z.core.$strict>;
2017
2127
  instanceId: z.ZodOptional<z.ZodString>;
2018
2128
  revision: z.ZodOptional<z.ZodNumber>;
2129
+ display: z.ZodOptional<z.ZodObject<{
2130
+ title: z.ZodOptional<z.ZodObject<{
2131
+ zh: z.ZodString;
2132
+ en: z.ZodString;
2133
+ }, z.core.$strict>>;
2134
+ description: z.ZodOptional<z.ZodString>;
2135
+ displayDescription: z.ZodOptional<z.ZodObject<{
2136
+ zh: z.ZodString;
2137
+ en: z.ZodString;
2138
+ }, z.core.$strict>>;
2139
+ }, z.core.$strict>>;
2019
2140
  }, z.core.$strict>>;
2020
2141
  createdAt: z.ZodOptional<z.ZodString>;
2021
2142
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -2127,6 +2248,17 @@ declare const STUDIO_AUTHORING_REMOTE: {
2127
2248
  }, z.core.$strict>;
2128
2249
  instanceId: z.ZodOptional<z.ZodString>;
2129
2250
  revision: z.ZodOptional<z.ZodNumber>;
2251
+ display: z.ZodOptional<z.ZodObject<{
2252
+ title: z.ZodOptional<z.ZodObject<{
2253
+ zh: z.ZodString;
2254
+ en: z.ZodString;
2255
+ }, z.core.$strict>>;
2256
+ description: z.ZodOptional<z.ZodString>;
2257
+ displayDescription: z.ZodOptional<z.ZodObject<{
2258
+ zh: z.ZodString;
2259
+ en: z.ZodString;
2260
+ }, z.core.$strict>>;
2261
+ }, z.core.$strict>>;
2130
2262
  }, z.core.$strict>>;
2131
2263
  createdAt: z.ZodOptional<z.ZodString>;
2132
2264
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -2290,6 +2422,17 @@ declare const STUDIO_AUTHORING_REMOTE: {
2290
2422
  }, z.core.$strict>;
2291
2423
  instanceId: z.ZodOptional<z.ZodString>;
2292
2424
  revision: z.ZodOptional<z.ZodNumber>;
2425
+ display: z.ZodOptional<z.ZodObject<{
2426
+ title: z.ZodOptional<z.ZodObject<{
2427
+ zh: z.ZodString;
2428
+ en: z.ZodString;
2429
+ }, z.core.$strict>>;
2430
+ description: z.ZodOptional<z.ZodString>;
2431
+ displayDescription: z.ZodOptional<z.ZodObject<{
2432
+ zh: z.ZodString;
2433
+ en: z.ZodString;
2434
+ }, z.core.$strict>>;
2435
+ }, z.core.$strict>>;
2293
2436
  }, z.core.$strict>>;
2294
2437
  createdAt: z.ZodOptional<z.ZodString>;
2295
2438
  deletedAt: z.ZodOptional<z.ZodString>;
@@ -61,7 +61,11 @@ const instance = z.object({
61
61
  runtimeName: identity.optional(),
62
62
  sourceId: identity.optional(),
63
63
  baseSnapshot: identity,
64
- mounts: z.array(mount),
64
+ mounts: z.array(mount.extend({ display: z.object({
65
+ title: title.optional(),
66
+ description: text.optional(),
67
+ displayDescription: title.optional()
68
+ }).strict().optional() }).strict()),
65
69
  createdAt: text.optional(),
66
70
  deletedAt: text.optional(),
67
71
  bundlePath: text.optional(),
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/lib/page-client.js
3
- size: 38636393 bytes
4
- sha256: 02c6e06dbb79b270a8a07d2b1312afceba2729ec276de7012d5e5ec16ae40364
3
+ size: 38738767 bytes
4
+ sha256: f40cbac5d6ddc03c48911b1582779b85c06dc5f6b3061f5d643839a219cc9ca2
@@ -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;
@@ -300,6 +300,17 @@ declare const TYPERT: {
300
300
  }, import("zod/v4/core").$strict>;
301
301
  instanceId: import("zod").ZodOptional<import("zod").ZodString>;
302
302
  revision: import("zod").ZodOptional<import("zod").ZodNumber>;
303
+ display: import("zod").ZodOptional<import("zod").ZodObject<{
304
+ title: import("zod").ZodOptional<import("zod").ZodObject<{
305
+ zh: import("zod").ZodString;
306
+ en: import("zod").ZodString;
307
+ }, import("zod/v4/core").$strict>>;
308
+ description: import("zod").ZodOptional<import("zod").ZodString>;
309
+ displayDescription: import("zod").ZodOptional<import("zod").ZodObject<{
310
+ zh: import("zod").ZodString;
311
+ en: import("zod").ZodString;
312
+ }, import("zod/v4/core").$strict>>;
313
+ }, import("zod/v4/core").$strict>>;
303
314
  }, import("zod/v4/core").$strict>>;
304
315
  createdAt: import("zod").ZodOptional<import("zod").ZodString>;
305
316
  deletedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -411,6 +422,17 @@ declare const TYPERT: {
411
422
  }, import("zod/v4/core").$strict>;
412
423
  instanceId: import("zod").ZodOptional<import("zod").ZodString>;
413
424
  revision: import("zod").ZodOptional<import("zod").ZodNumber>;
425
+ display: import("zod").ZodOptional<import("zod").ZodObject<{
426
+ title: import("zod").ZodOptional<import("zod").ZodObject<{
427
+ zh: import("zod").ZodString;
428
+ en: import("zod").ZodString;
429
+ }, import("zod/v4/core").$strict>>;
430
+ description: import("zod").ZodOptional<import("zod").ZodString>;
431
+ displayDescription: import("zod").ZodOptional<import("zod").ZodObject<{
432
+ zh: import("zod").ZodString;
433
+ en: import("zod").ZodString;
434
+ }, import("zod/v4/core").$strict>>;
435
+ }, import("zod/v4/core").$strict>>;
414
436
  }, import("zod/v4/core").$strict>>;
415
437
  createdAt: import("zod").ZodOptional<import("zod").ZodString>;
416
438
  deletedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -574,6 +596,17 @@ declare const TYPERT: {
574
596
  }, import("zod/v4/core").$strict>;
575
597
  instanceId: import("zod").ZodOptional<import("zod").ZodString>;
576
598
  revision: import("zod").ZodOptional<import("zod").ZodNumber>;
599
+ display: import("zod").ZodOptional<import("zod").ZodObject<{
600
+ title: import("zod").ZodOptional<import("zod").ZodObject<{
601
+ zh: import("zod").ZodString;
602
+ en: import("zod").ZodString;
603
+ }, import("zod/v4/core").$strict>>;
604
+ description: import("zod").ZodOptional<import("zod").ZodString>;
605
+ displayDescription: import("zod").ZodOptional<import("zod").ZodObject<{
606
+ zh: import("zod").ZodString;
607
+ en: import("zod").ZodString;
608
+ }, import("zod/v4/core").$strict>>;
609
+ }, import("zod/v4/core").$strict>>;
577
610
  }, import("zod/v4/core").$strict>>;
578
611
  createdAt: import("zod").ZodOptional<import("zod").ZodString>;
579
612
  deletedAt: import("zod").ZodOptional<import("zod").ZodString>;
@@ -835,7 +868,7 @@ declare const TYPERT: {
835
868
  sha256: import("zod").ZodString;
836
869
  }, import("zod/v4/core").$strict>;
837
870
  };
838
- } | StudioRemoteDescriptor)[];
871
+ })[];
839
872
  };
840
873
  //#endregion
841
874
  export { TYPERT, TYPERT as default };