@deepseek-ai/dsh-cordis-client-runner 0.2.1-alpha.3 → 0.2.1-alpha.4

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 (2) hide show
  1. package/lib/client.js +57 -8
  2. package/package.json +6 -6
package/lib/client.js CHANGED
@@ -4402,7 +4402,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4402
4402
  occupants: ["client-ui-agent-preset CreatePluginMenuItem id 'create-plugin'"],
4403
4403
  replaceRisk: "none",
4404
4404
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.add.actions', () => ctx.slots.register(\n { name: 'plugins.add.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4405
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:89"
4405
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:118"
4406
4406
  },
4407
4407
  {
4408
4408
  key: "plugins.bundle.activation",
@@ -4436,7 +4436,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4436
4436
  occupants: ["experimental-client-ui-voice-input VoiceSetupPrompt key '@deepseek-ai/dsh-experimental-voice-input-bundle'"],
4437
4437
  replaceRisk: "shadows-shipped-ui",
4438
4438
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.bundle.activation', () => ctx.slots.register(\n { name: 'plugins.bundle.activation', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4439
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:91"
4439
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:126"
4440
4440
  },
4441
4441
  {
4442
4442
  key: "plugins.bundle.config",
@@ -4470,7 +4470,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4470
4470
  occupants: ["experimental-client-ui-cot-translation TranslationSettings key '@deepseek-ai/dsh-experimental-cot-translation-bundle'", "experimental-client-ui-voice-input VoicePreparation key '@deepseek-ai/dsh-experimental-voice-input-bundle'"],
4471
4471
  replaceRisk: "shadows-shipped-ui",
4472
4472
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.bundle.config', () => ctx.slots.register(\n { name: 'plugins.bundle.config', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4473
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:107"
4473
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:142"
4474
4474
  },
4475
4475
  {
4476
4476
  key: "plugins.detail.actions",
@@ -4518,7 +4518,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4518
4518
  occupants: [],
4519
4519
  replaceRisk: "none",
4520
4520
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.detail.actions', () => ctx.slots.register(\n { name: 'plugins.detail.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4521
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:121"
4521
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:156"
4522
4522
  },
4523
4523
  {
4524
4524
  key: "plugins.detail.badge",
@@ -4566,7 +4566,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4566
4566
  occupants: [],
4567
4567
  replaceRisk: "none",
4568
4568
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.detail.badge', () => ctx.slots.register(\n { name: 'plugins.detail.badge', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4569
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:126"
4569
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:161"
4570
4570
  },
4571
4571
  {
4572
4572
  key: "plugins.detail.section",
@@ -4614,7 +4614,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4614
4614
  occupants: [],
4615
4615
  replaceRisk: "none",
4616
4616
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.detail.section', () => ctx.slots.register(\n { name: 'plugins.detail.section', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4617
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:133"
4617
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:168"
4618
4618
  },
4619
4619
  {
4620
4620
  key: "plugins.item",
@@ -4667,7 +4667,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4667
4667
  ],
4668
4668
  replaceRisk: "none",
4669
4669
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.item', () => ctx.slots.register(\n { name: 'plugins.item', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4670
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:101"
4670
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:136"
4671
4671
  },
4672
4672
  {
4673
4673
  key: "plugins.row.config",
@@ -4701,7 +4701,55 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4701
4701
  occupants: [],
4702
4702
  replaceRisk: "none",
4703
4703
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.row.config', () => ctx.slots.register(\n { name: 'plugins.row.config', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4704
- source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:115"
4704
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:150"
4705
+ },
4706
+ {
4707
+ key: "plugins.tab",
4708
+ kind: "list",
4709
+ scope: "root",
4710
+ summary: "Tabs after the page's own Installed tab, such as Discover: `label` names the tab and `order` places it.",
4711
+ doc: "Tabs after the page's own Installed tab, such as Discover: `label` names the tab and `order` places it. The\npage renders the selected entry under its header and tabs; the entry draws its own content and installs\nthrough the owner's `install`.",
4712
+ registerOptions: [
4713
+ {
4714
+ name: "id",
4715
+ requirement: "required",
4716
+ type: "string",
4717
+ doc: "Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it."
4718
+ },
4719
+ {
4720
+ name: "order",
4721
+ requirement: "optional",
4722
+ type: "number",
4723
+ doc: "Position among the entries, ascending (default 0)."
4724
+ },
4725
+ {
4726
+ name: "label",
4727
+ requirement: "optional",
4728
+ type: "string | (() => string)",
4729
+ doc: "Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering."
4730
+ }
4731
+ ],
4732
+ ownerProps: ["/** Owner props of a page tab another plugin contributes, such as Discover. */\nexport interface PluginTabProps {\n /**\n * Install an exact version the person already confirmed: the page's install dialog opens at its check and progress\n * screens, without the spec form, and names the plugin and version above the spec.\n * @param target - the spec, optional registry, and display text.\n */\n readonly install: (target: PluginTabInstall) => void\n /**\n * Switch to the Installed tab and open a bundle's page.\n * @param packageName - npm package name of the bundle.\n */\n readonly openPackage: (packageName: string) => void\n}"],
4733
+ ownerPropsReferences: ["PluginTabInstall"],
4734
+ standardProps: [
4735
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4736
+ "useResource: UseResource",
4737
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4738
+ "usePanelInfo: UsePanelInfo",
4739
+ "useSessions: UseSessions",
4740
+ "useSessionStatus: UseSessionStatus",
4741
+ "useSessionRetainInfo: UseSessionRetainInfo",
4742
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
4743
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
4744
+ ],
4745
+ keyDomain: "",
4746
+ hookContext: "",
4747
+ slotInject: "",
4748
+ declaredBy: "an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted",
4749
+ occupants: ["client-ui-plugin-market DiscoverSection id 'discover'"],
4750
+ replaceRisk: "none",
4751
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('plugins.tab', () => ctx.slots.register(\n { name: 'plugins.tab', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4752
+ source: "packages/client/ui-plugin-manager/src/client/slot-contract.ts:124"
4705
4753
  },
4706
4754
  {
4707
4755
  key: "rightbar",
@@ -5392,6 +5440,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5392
5440
  "client-ui-schedule ScheduleDeleteToast id 'schedule.delete-toast'",
5393
5441
  "client-ui-settings-account DesktopOnboardingEntry id 'desktop-onboarding'",
5394
5442
  "client-ui-settings-account AccountPlatformHost id 'account.platform-page'",
5443
+ "client-ui-settings-general HostReleasePrompt id 'host-release-change'",
5395
5444
  "client-ui-settings-session-log UploadToast id 'session-log-upload-toast'",
5396
5445
  "client-ui-shortcuts ShortcutReference id 'shortcuts'",
5397
5446
  "client-ui-workspace SessionRenameDialog id 'workspace.session-rename'",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-cordis-client-runner",
3
3
  "description": "Browser half of dynamic dual-half plugin packages: event subscription, closure evaluation, guard facade, and loader entries",
4
- "version": "0.2.1-alpha.3",
4
+ "version": "0.2.1-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -43,13 +43,13 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.2",
46
- "@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.3",
47
- "@deepseek-ai/dsh-client-modules": "0.2.1-alpha.3",
48
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.3",
49
- "@deepseek-ai/dsh-client-ui-theme": "0.2.1-alpha.3",
46
+ "@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.4",
47
+ "@deepseek-ai/dsh-client-modules": "0.2.1-alpha.4",
48
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.4",
49
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.1-alpha.4",
50
50
  "@deepseek-ai/cordis": "~4.0.5-alpha.2",
51
51
  "react": "^18.2.0",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-alpha.3"
52
+ "@deepseek-ai/dsh-util-values": "0.2.1-alpha.4"
53
53
  },
54
54
  "files": [
55
55
  "locale/*.json",