@deepseek-ai/dsh-cordis-client-runner 0.2.2-rc.4 → 0.2.3-alpha.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.
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.2-rc.4",
4
+ "version": "0.2.3-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -42,15 +42,16 @@
42
42
  "@deepseek-ai/cordis": "~4.1.0"
43
43
  },
44
44
  "devDependencies": {
45
+ "@deepseek-ai/dsh-brand": "0.2.3-alpha.1",
45
46
  "@deepseek-ai/cordis-plugin-loader": "~1.1.0",
46
47
  "@deepseek-ai/cordis-plugin-timer": "~1.2.0",
47
- "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.4",
48
- "@deepseek-ai/dsh-client-modules": "0.2.2-rc.4",
49
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.4",
50
- "@deepseek-ai/dsh-client-ui-theme": "0.2.2-rc.4",
48
+ "@deepseek-ai/dsh-api-remotes": "0.2.3-alpha.1",
49
+ "@deepseek-ai/dsh-client-modules": "0.2.3-alpha.1",
50
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.1",
51
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.3-alpha.1",
51
52
  "@deepseek-ai/cordis": "~4.1.0",
52
53
  "react": "^18.2.0",
53
- "@deepseek-ai/dsh-util-values": "0.2.2-rc.4"
54
+ "@deepseek-ai/dsh-util-values": "0.2.3-alpha.1"
54
55
  },
55
56
  "files": [
56
57
  "locale/*.json",
@@ -860,8 +860,8 @@ export const TYPE_API: readonly TypeApiEntry[] = [
860
860
  declaration: 'export class RemoteStream<Item> implements AsyncIterable<RemoteStreamItem<Item>> {\n constructor(private readonly connection: Pick<ConnectionHandle, \'generation\'>, private readonly options: RemoteStreamOptions<Item>);\n get signal(): AbortSignal;\n restart(): void;\n dispose(): Promise<void>;\n [Symbol.asyncIterator](): AsyncIterator<RemoteStreamItem<Item>>;\n}',
861
861
  },
862
862
  {
863
- name: 'RemoteStreamCarrierError',
864
- declaration: 'export class RemoteStreamCarrierError extends Error {\n constructor(message: string, options?: ErrorOptions);\n}',
863
+ name: 'RemoteStreamCarrierFailure',
864
+ declaration: 'export interface RemoteStreamCarrierFailure extends Error {\n readonly code: \'gateway/carrier-lost\';\n}',
865
865
  },
866
866
  {
867
867
  name: 'RemoteStreamItem',
@@ -869,7 +869,7 @@ export const TYPE_API: readonly TypeApiEntry[] = [
869
869
  },
870
870
  {
871
871
  name: 'RemoteStreamOptions',
872
- declaration: 'export interface RemoteStreamOptions<Item> {\n readonly name: string;\n readonly open: (signal: AbortSignal) => AsyncIterable<Item>;\n readonly ended: (accepted: boolean) => Error;\n readonly carrierFailed?: (error: RemoteStreamCarrierError) => void;\n}',
872
+ declaration: 'export interface RemoteStreamOptions<Item> {\n readonly name: string;\n readonly open: (signal: AbortSignal) => AsyncIterable<Item>;\n readonly ended: (accepted: boolean) => Error;\n readonly carrierFailed?: (error: RemoteStreamCarrierFailure) => void;\n}',
873
873
  },
874
874
  {
875
875
  name: 'RenderFactorySlot',
@@ -955,13 +955,21 @@ export const TYPE_API: readonly TypeApiEntry[] = [
955
955
  name: 'SessionRequestId',
956
956
  declaration: 'export type SessionRequestId = Branded<\'session-request-id\'>;',
957
957
  },
958
+ {
959
+ name: 'SessionRetainFacet',
960
+ declaration: 'export type SessionRetainFacet = Extract<keyof SessionRetainFacetMap, string>;',
961
+ },
962
+ {
963
+ name: 'SessionRetainFacetMap',
964
+ declaration: 'export interface SessionRetainFacetMap {\n}',
965
+ },
958
966
  {
959
967
  name: 'SessionRetainInfo',
960
- declaration: 'export interface SessionRetainInfo {\n readonly referenceCount: number;\n readonly retainedBy: Readonly<Partial<Record<SessionReferenceSource, number>>>;\n}',
968
+ declaration: 'export interface SessionRetainInfo {\n readonly referenceCount: number;\n readonly retainedBy: Readonly<Partial<Record<SessionReferenceSource, number>>>;\n readonly retainedFacets?: Readonly<Partial<Record<SessionRetainFacet, number>>>;\n readonly connectionCount?: number;\n}',
961
969
  },
962
970
  {
963
971
  name: 'SessionRetainOptions',
964
- declaration: 'export interface SessionRetainOptions {\n readonly source: SessionReferenceSource;\n readonly signal?: AbortSignal | undefined;\n}',
972
+ declaration: 'export interface SessionRetainOptions {\n readonly source: SessionReferenceSource;\n readonly connection?: boolean | undefined;\n readonly facets?: Readonly<Partial<Record<SessionRetainFacet, true>>> | undefined;\n readonly signal?: AbortSignal | undefined;\n}',
965
973
  },
966
974
  {
967
975
  name: 'SessionSearchResultItem',
@@ -1041,7 +1049,7 @@ export const TYPE_API: readonly TypeApiEntry[] = [
1041
1049
  },
1042
1050
  {
1043
1051
  name: 'StoredEntry',
1044
- declaration: 'export interface StoredEntry {\n component: unknown;\n options: {\n key?: string;\n id?: string;\n order?: number;\n label?: SlotLabel;\n priority?: number;\n };\n select?: ((owner: never) => unknown) | undefined;\n inject?: ((...args: never[]) => Record<string, unknown>) | undefined;\n children?: Readonly<Record<string, SlotSpec<SlotEntryDef>>> | undefined;\n store?: StoreDecl | undefined;\n locale?: string | undefined;\n registrant?: string | undefined;\n}',
1052
+ declaration: 'export interface StoredEntry {\n component: unknown;\n options: {\n key?: string;\n id?: string;\n order?: number;\n label?: SlotLabel;\n priority?: number;\n };\n select?: ((owner: never) => unknown) | undefined;\n inject?: ((...args: never[]) => Record<string, unknown>) | undefined;\n children?: Readonly<Record<string, SlotSpec<SlotEntryDef>>> | undefined;\n store?: StoreDecl | undefined;\n locale?: string | undefined;\n registrant?: string | undefined;\n module?: string | undefined;\n}',
1045
1053
  },
1046
1054
  {
1047
1055
  name: 'StoredFactory',
@@ -1113,7 +1121,7 @@ export const INHERITED_CTX_API: readonly InheritedApiEntry[] = [
1113
1121
  { name: 'ctx.effect', summary: 'Register a disposable side effect tied to the fiber.' },
1114
1122
  { name: 'ctx.get / ctx.set / ctx.provide / ctx.accessor / ctx.mixin', summary: 'Low-level service-store access and binding.' },
1115
1123
  { name: 'ctx.extend / ctx.isolate / ctx.intercept', summary: 'Derive a child context (scoped services / isolation / interception).' },
1116
- { name: 'ctx.root / ctx.fiber / ctx.registry / ctx.reflect / ctx.events / ctx.logger', summary: 'Ambient handles onto the running context graph.' },
1124
+ { name: 'ctx[Context.root] / ctx.fiber / ctx.registry / ctx.reflect / ctx.events / ctx.logger', summary: 'Ambient handles onto the running context graph.' },
1117
1125
  { name: 'ctx.timer (+ interval / timeout / throttle / debounce)', summary: 'Disposable timer helpers. The `timer` key is provided at runtime; the four supported helpers are mixed onto ctx directly (declared via Pick).' },
1118
1126
  { name: 'ctx.loader', summary: 'The config Loader that booted the app (present under the loader).' },
1119
1127
  ]