dsh-modellix 0.1.1 → 0.2.1

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +107 -167
  3. package/README.zh-CN.md +105 -165
  4. package/cordis.patch.yml +0 -13
  5. package/docs/assets/chat-media-generation-en.webp +0 -0
  6. package/docs/assets/chat-media-generation-zh.webp +0 -0
  7. package/docs/assets/design-results-drawer-en.webp +0 -0
  8. package/docs/assets/design-results-drawer-zh.webp +0 -0
  9. package/docs/assets/llm-model-selector-en.webp +0 -0
  10. package/docs/assets/llm-model-selector-zh.webp +0 -0
  11. package/docs/assets/media-players-en.webp +0 -0
  12. package/docs/assets/media-players-zh.webp +0 -0
  13. package/docs/assets/settings-ready-en.webp +0 -0
  14. package/docs/assets/settings-ready-zh.webp +0 -0
  15. package/docs/assets/web-tools-auto-en.webp +0 -0
  16. package/docs/assets/web-tools-auto-zh.webp +0 -0
  17. package/docs/en-US/LOCAL_USAGE.md +20 -16
  18. package/docs/en-US/RELEASE_CHECKLIST.md +270 -0
  19. package/docs/en-US/USER_GUIDE.md +186 -394
  20. package/docs/zh-CN/LOCAL_USAGE.md +20 -16
  21. package/docs/zh-CN/RELEASE_CHECKLIST.md +270 -0
  22. package/docs/zh-CN/USER_GUIDE.md +185 -393
  23. package/lib/client.d.ts +18 -4
  24. package/lib/client.js +1271 -454
  25. package/lib/client.js.map +1 -1
  26. package/lib/index.d.ts +166 -112
  27. package/lib/index.js +1008 -197
  28. package/lib/index.js.map +1 -1
  29. package/package.json +72 -48
  30. package/docs/assets/design-desktop-en.webp +0 -0
  31. package/docs/assets/design-desktop-zh.webp +0 -0
  32. package/docs/assets/design-proposal-en.webp +0 -0
  33. package/docs/assets/design-proposal-zh.webp +0 -0
  34. package/docs/assets/design-results-media-en.webp +0 -0
  35. package/docs/assets/design-results-media-zh.webp +0 -0
  36. package/docs/assets/web-tools-en.webp +0 -0
  37. package/docs/assets/web-tools-zh.webp +0 -0
package/lib/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import { ClientContext } from "@deepseek-ai/dsh-client-runtime/client";
2
+ import { Context } from "@deepseek-ai/cordis";
3
3
 
4
4
  //#region src/shared/design-presentation-codes.d.ts
5
5
  declare const DESIGN_NOTICE_CODES: readonly ["schema-unavailable", "schema-invalid", "catalog-stale", "catalog-unavailable", "credential-reloaded"];
@@ -69,6 +69,8 @@ interface DesignModelWire {
69
69
  readonly id: string;
70
70
  readonly label: string;
71
71
  readonly kind: "image" | "video" | "audio" | "unknown";
72
+ readonly taskType?: string;
73
+ readonly description?: string;
72
74
  readonly featured: boolean;
73
75
  readonly available: boolean;
74
76
  readonly unavailableReason: DesignModelUnavailableCode | null;
@@ -190,6 +192,10 @@ declare const MODELLIX_CLIENT_SLOTS: readonly [{
190
192
  readonly name: "shell.overlay";
191
193
  readonly id: "modellix.credential-recovery";
192
194
  readonly order: 10;
195
+ }, {
196
+ readonly name: "shell.overlay";
197
+ readonly id: "modellix.design-drawer";
198
+ readonly order: 20;
193
199
  }, {
194
200
  readonly name: "settings.onboarding";
195
201
  readonly id: "modellix.onboarding";
@@ -199,15 +205,23 @@ declare const MODELLIX_CLIENT_SLOTS: readonly [{
199
205
  readonly id: "modellix";
200
206
  readonly order: 30;
201
207
  }, {
202
- readonly name: "conversation.view";
203
- readonly id: "modellix.design";
208
+ readonly name: "conversation.session.header.utilities";
209
+ readonly id: "modellix.design-launcher";
204
210
  readonly order: 20;
211
+ }, {
212
+ readonly name: "tool.call.toolview";
213
+ readonly key: "modellix_media_generate";
214
+ readonly priority: 20;
215
+ }, {
216
+ readonly name: "tool.call.toolview";
217
+ readonly key: "modellix_media_get_result";
218
+ readonly priority: 20;
205
219
  }];
206
220
  type ModellixClientSlotDefinition = (typeof MODELLIX_CLIENT_SLOTS)[number];
207
221
  //#endregion
208
222
  //#region src/client/index.d.ts
209
223
  declare const inject: string[];
210
- declare function apply(ctx: ClientContext): void;
224
+ declare function apply(ctx: Context): void;
211
225
  //#endregion
212
226
  export { AckWire, ClientJsonValue, CredentialDescriptorWire, CredentialVerificationWire, DesignDiagnosticWire, DesignDraftWire, DesignEnumOptionWire, DesignFieldWire, DesignJobWire, DesignModelWire, DesignMutationWire, DesignProposalChangeWire, DesignProposalWire, DesignResourceWire, DesignSnapshotWire, MODELLIX_CLIENT_SLOTS, MODELLIX_CLIENT_WIRE_VERSION, MODELLIX_RPC_CHANNEL, MODELLIX_RPC_ENDPOINTS, ModellixClientContractError, ModellixClientSlotDefinition, ModellixRpcEndpoint, ServiceTogglesWire, SettingsMutationWire, SettingsSnapshotWire, apply, inject, parseAck, parseDesignMutation, parseDesignSnapshot, parseSettingsMutation, parseSettingsSnapshot, safeResourceHref, sanitizeParameters };
213
227