@deepseek-ai/dsh-cordis-client-runner 0.1.7-rc.2 → 0.2.0-rc.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 (2) hide show
  1. package/lib/client.js +12 -6
  2. package/package.json +6 -6
package/lib/client.js CHANGED
@@ -1329,11 +1329,11 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
1329
1329
  returns: "bounded results, or a business/transport error."
1330
1330
  },
1331
1331
  {
1332
- signature: "fork(opts: { sessionId: SessionId; atSeq?: number; increaseTitle?: boolean }): Promise<SessionId>",
1332
+ signature: "fork(opts: { sessionId: SessionId atSeq?: number increaseTitle?: boolean onCreated?: (childId: SessionId) => void }): Promise<SessionId>",
1333
1333
  description: "Fork a session from an exact inclusive prefix of the source; on resolution the child is catalogued and can be explicitly retained.",
1334
1334
  parameters: [{
1335
1335
  name: "opts",
1336
- description: "source session id, the optional exact inclusive boundary seq (a real event seq the caller already knows; a cut inside an open turn is balanced Host-side with synthetic closers, and omission selects the latest completed-turn prefix), and whether to increment an inherited durable title before resolving."
1336
+ description: "source session id, the optional exact inclusive boundary seq (a real event seq the caller already knows; a cut inside an open turn is balanced Host-side with synthetic closers, and omission selects the latest completed-turn prefix), and whether to increment an inherited durable title before resolving. `onCreated` observes the catalogued child before that optional rename."
1337
1337
  }],
1338
1338
  returns: "the child session id.",
1339
1339
  throws: ["when the fork fails, or when a requested child-title rename fails after creation."]
@@ -1509,13 +1509,16 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
1509
1509
  throws: ["on failure; a refused creation is also shown through the Workspace notice unless a later navigation or disposal superseded the request."]
1510
1510
  },
1511
1511
  {
1512
- signature: "forkSession(sessionId: SessionId): Promise<void>",
1512
+ signature: "forkSession(sessionId: SessionId, onCreated?: (childId: SessionId) => void): Promise<SessionId>",
1513
1513
  description: "Fork a Session without changing the current selection.",
1514
1514
  parameters: [{
1515
1515
  name: "sessionId",
1516
1516
  description: "source Session."
1517
+ }, {
1518
+ name: "onCreated",
1519
+ description: "observer before the optional child-title update."
1517
1520
  }],
1518
- returns: "completion after child creation and inherited-title increment."
1521
+ returns: "the child SessionId after creation and inherited-title increment."
1519
1522
  },
1520
1523
  {
1521
1524
  signature: "connectWorkspace(workspaceId: WorkspaceId): Promise<SessionId>",
@@ -4442,6 +4445,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4442
4445
  "client-ui-permission-presets PermissionRow id 'permission'",
4443
4446
  "client-ui-settings-general DeveloperToolsRow id 'developer-tools'",
4444
4447
  "client-ui-settings-general CurrentVersionRow id 'current-version'",
4448
+ "client-ui-settings-session-log UploadRow",
4445
4449
  "client-ui-shortcuts ShortcutsRow id 'shortcuts'",
4446
4450
  "client-ui-theme AppearanceRow id 'appearance'",
4447
4451
  "client-ui-theme FontSizeRow id 'font-size'"
@@ -4850,9 +4854,11 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4850
4854
  declaredBy: "an entry in 'root' (client-ui-layout), so it exists while that entry is mounted",
4851
4855
  occupants: [
4852
4856
  "client-ui-chat QuotaNoticeHost id 'chat.quota-notice'",
4857
+ "client-ui-plugin-manager PluginRefreshToast id 'plugin-manager.refresh-toast'",
4853
4858
  "client-ui-schedule ScheduleDeleteToast id 'schedule.delete-toast'",
4854
4859
  "client-ui-settings-account DesktopOnboardingEntry id 'desktop-onboarding'",
4855
4860
  "client-ui-settings-account AccountPlatformHost id 'account.platform-page'",
4861
+ "client-ui-settings-session-log UploadToast id 'session-log-upload-toast'",
4856
4862
  "client-ui-shortcuts ShortcutReference id 'shortcuts'",
4857
4863
  "client-ui-workspace SessionRenameDialog id 'workspace.session-rename'",
4858
4864
  "client-ui-workspace SessionArchiveConfirmDialog id 'workspace.session-archive'",
@@ -5797,7 +5803,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5797
5803
  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."
5798
5804
  }
5799
5805
  ],
5800
- ownerProps: ["/** Owner share of one Session row action occurrence: the row the action belongs to. */\nexport interface SessionRowOwnerProps {\n /** Session the row shows. */\n sessionId: SessionId\n /** Row display title: persisted title, project basename, or Session id. */\n displayTitle: string\n}"],
5806
+ ownerProps: ["/** Owner share of one Session row action occurrence: the row the action belongs to. */\nexport interface SessionRowOwnerProps {\n /** Session the row shows. */\n sessionId: SessionId\n /** Row display title: persisted title, or empty when the Session has none. */\n displayTitle: string\n}"],
5801
5807
  ownerPropsReferences: ["SessionId"],
5802
5808
  standardProps: [
5803
5809
  "useResource: UseResource",
@@ -5848,7 +5854,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5848
5854
  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."
5849
5855
  }
5850
5856
  ],
5851
- ownerProps: ["/** Owner share of one Session row action occurrence: the row the action belongs to. */\nexport interface SessionRowOwnerProps {\n /** Session the row shows. */\n sessionId: SessionId\n /** Row display title: persisted title, project basename, or Session id. */\n displayTitle: string\n}"],
5857
+ ownerProps: ["/** Owner share of one Session row action occurrence: the row the action belongs to. */\nexport interface SessionRowOwnerProps {\n /** Session the row shows. */\n sessionId: SessionId\n /** Row display title: persisted title, or empty when the Session has none. */\n displayTitle: string\n}"],
5852
5858
  ownerPropsReferences: ["SessionId"],
5853
5859
  standardProps: [
5854
5860
  "useResource: UseResource",
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.1.7-rc.2",
4
+ "version": "0.2.0-rc.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -44,12 +44,12 @@
44
44
  "@types/react": "~18.3.1",
45
45
  "react": "^18.2.0",
46
46
  "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
47
- "@deepseek-ai/dsh-client-modules": "0.1.7-rc.2",
48
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
49
- "@deepseek-ai/dsh-client-ui-theme": "0.1.7-rc.2",
47
+ "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.1",
48
+ "@deepseek-ai/dsh-client-modules": "0.2.0-rc.1",
49
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
50
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.0-rc.1",
50
51
  "@deepseek-ai/cordis": "~4.0.4",
51
- "@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
52
- "@deepseek-ai/dsh-util-values": "0.1.7-rc.2"
52
+ "@deepseek-ai/dsh-util-values": "0.2.0-rc.1"
53
53
  },
54
54
  "files": [
55
55
  "lib/index.js",