@openfin/core 46.100.64 → 46.100.66

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.
@@ -2166,6 +2166,15 @@ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2166
2166
  */
2167
2167
  declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
2168
2168
 
2169
+ /** Minimal V8 CallSite shape — js-adapter does not include @types/node. */
2170
+ declare interface CallSite {
2171
+ getFileName(): string | null;
2172
+ toString(): string;
2173
+ }
2174
+
2175
+ /** V8 CallSite objects, or native stack-frame strings from browsers that ignore Error.prepareStackTrace. */
2176
+ declare type CapturedStack = CallSite[] | string[];
2177
+
2169
2178
  /**
2170
2179
  * Configuration for page capture.
2171
2180
  *
@@ -4667,6 +4676,54 @@ declare type CustomRequestHeaders = {
4667
4676
 
4668
4677
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4669
4678
 
4679
+ export declare type DefaultColorChannelId = keyof typeof defaultColorChannels;
4680
+
4681
+ /**
4682
+ * The default FDC3 user channels advertised by the Interop Broker.
4683
+ */
4684
+ export declare const defaultColorChannels: {
4685
+ readonly 'fdc3.channel.1': {
4686
+ readonly name: "Channel 1";
4687
+ readonly color: "red";
4688
+ readonly glyph: "1";
4689
+ };
4690
+ readonly 'fdc3.channel.2': {
4691
+ readonly name: "Channel 2";
4692
+ readonly color: "orange";
4693
+ readonly glyph: "2";
4694
+ };
4695
+ readonly 'fdc3.channel.3': {
4696
+ readonly name: "Channel 3";
4697
+ readonly color: "yellow";
4698
+ readonly glyph: "3";
4699
+ };
4700
+ readonly 'fdc3.channel.4': {
4701
+ readonly name: "Channel 4";
4702
+ readonly color: "green";
4703
+ readonly glyph: "4";
4704
+ };
4705
+ readonly 'fdc3.channel.5': {
4706
+ readonly name: "Channel 5";
4707
+ readonly color: "cyan";
4708
+ readonly glyph: "5";
4709
+ };
4710
+ readonly 'fdc3.channel.6': {
4711
+ readonly name: "Channel 6";
4712
+ readonly color: "blue";
4713
+ readonly glyph: "6";
4714
+ };
4715
+ readonly 'fdc3.channel.7': {
4716
+ readonly name: "Channel 7";
4717
+ readonly color: "magenta";
4718
+ readonly glyph: "7";
4719
+ };
4720
+ readonly 'fdc3.channel.8': {
4721
+ readonly name: "Channel 8";
4722
+ readonly color: "purple";
4723
+ readonly glyph: "8";
4724
+ };
4725
+ };
4726
+
4670
4727
  /**
4671
4728
  * @deprecated Use {@link OpenFin.DomainSettings} instead.
4672
4729
  * @interface
@@ -7039,17 +7096,19 @@ declare type InteropActionLoggingOption = {
7039
7096
  * "interopBrokerConfiguration": {
7040
7097
  * "contextGroups": [
7041
7098
  * {
7042
- * "id": "green",
7099
+ * "id": "fdc3.channel.4",
7043
7100
  * "displayMetadata": {
7044
- * "color": "#00CC88",
7045
- * "name": "green"
7101
+ * "color": "green",
7102
+ * "name": "Channel 4",
7103
+ * "glyph": "4"
7046
7104
  * }
7047
7105
  * },
7048
7106
  * {
7049
- * "id": "purple",
7107
+ * "id": "fdc3.channel.8",
7050
7108
  * "displayMetadata": {
7051
- * "color": "#8C61FF",
7052
- * "name": "purple"
7109
+ * "color": "purple",
7110
+ * "name": "Channel 8",
7111
+ * "glyph": "8"
7053
7112
  * }
7054
7113
  * },
7055
7114
  * ]
@@ -7183,7 +7242,7 @@ declare class InteropBroker extends Base {
7183
7242
  * @param joinContextGroupOptions - Id of the Context Group and identity of the entity to join to the group.
7184
7243
  * @param senderIdentity - Identity of the client sender.
7185
7244
  */
7186
- joinContextGroup({ contextGroupId, target }: {
7245
+ joinContextGroup({ contextGroupId: requestedContextGroupId, target }: {
7187
7246
  contextGroupId: string;
7188
7247
  target?: OpenFin_2.ClientIdentity | OpenFin_2.Identity;
7189
7248
  }, senderIdentity: OpenFin_2.ClientIdentity): Promise<void>;
@@ -7194,7 +7253,7 @@ declare class InteropBroker extends Base {
7194
7253
  * @param addClientToContextGroupOptions - Contains the contextGroupId
7195
7254
  * @param clientIdentity - Identity of the client sender.
7196
7255
  */
7197
- addClientToContextGroup({ contextGroupId }: {
7256
+ addClientToContextGroup({ contextGroupId: requestedContextGroupId }: {
7198
7257
  contextGroupId: string;
7199
7258
  }, clientIdentity: OpenFin_2.ClientIdentity): Promise<void>;
7200
7259
  /**
@@ -7607,6 +7666,8 @@ declare class InteropBroker extends Base {
7607
7666
  };
7608
7667
  private getClientState;
7609
7668
  private static toObject;
7669
+ private normalizeContextGroupStates;
7670
+ private normalizeContextGroupId;
7610
7671
  static checkContextIntegrity: (context: OpenFin_2.Context) => {
7611
7672
  isValid: true;
7612
7673
  } | {
@@ -7834,7 +7895,7 @@ declare class InteropClient extends Base {
7834
7895
  *
7835
7896
  * getLastFocusedView()
7836
7897
  * .then(lastFocusedViewIdentity => {
7837
- * joinViewToContextGroup('red', lastFocusedViewIdentity)
7898
+ * joinViewToContextGroup('fdc3.channel.1', lastFocusedViewIdentity)
7838
7899
  * })
7839
7900
  * ```
7840
7901
  */
@@ -7869,7 +7930,7 @@ declare class InteropClient extends Base {
7869
7930
  *
7870
7931
  * @example
7871
7932
  * ```js
7872
- * fin.me.interop.getAllClientsInContextGroup('red')
7933
+ * fin.me.interop.getAllClientsInContextGroup('fdc3.channel.1')
7873
7934
  * .then(clientsInContextGroup => {
7874
7935
  * console.log(clientsInContextGroup)
7875
7936
  * })
@@ -7884,7 +7945,7 @@ declare class InteropClient extends Base {
7884
7945
  *
7885
7946
  * @example
7886
7947
  * ```js
7887
- * fin.me.interop.getInfoForContextGroup('red')
7948
+ * fin.me.interop.getInfoForContextGroup('fdc3.channel.1')
7888
7949
  * .then(contextGroupInfo => {
7889
7950
  * console.log(contextGroupInfo.displayMetadata.name)
7890
7951
  * console.log(contextGroupInfo.displayMetadata.color)
@@ -7941,12 +8002,12 @@ declare class InteropClient extends Base {
7941
8002
  *
7942
8003
  * @example
7943
8004
  * ```js
7944
- * await fin.me.interop.joinContextGroup('yellow');
8005
+ * await fin.me.interop.joinContextGroup('fdc3.channel.3');
7945
8006
  * await fin.me.interop.setContext({ type: 'instrument', id: { ticker: 'FOO' }});
7946
8007
  * const currentContext = await fin.me.interop.getCurrentContext();
7947
8008
  *
7948
8009
  * // with a specific context
7949
- * await fin.me.interop.joinContextGroup('yellow');
8010
+ * await fin.me.interop.joinContextGroup('fdc3.channel.3');
7950
8011
  * await fin.me.interop.setContext({ type: 'country', id: { ISOALPHA3: 'US' }});
7951
8012
  * await fin.me.interop.setContext({ type: 'instrument', id: { ticker: 'FOO' }});
7952
8013
  * const currentContext = await fin.me.interop.getCurrentContext('country');
@@ -8108,7 +8169,7 @@ declare type InteropClientOnDisconnectionListener = (InteropBrokerDisconnectionE
8108
8169
  */
8109
8170
  declare type InteropConfig = {
8110
8171
  /**
8111
- * Context Group for the client. (green, yellow, red, etc.).
8172
+ * Context Group ID for the client (for example, `fdc3.channel.4`).
8112
8173
  */
8113
8174
  currentContextGroup?: string | null;
8114
8175
  /**
@@ -8157,7 +8218,7 @@ declare class InteropModule extends Base {
8157
8218
  * @example
8158
8219
  * ```js
8159
8220
  * const interopConfig = {
8160
- * currentContextGroup: 'green'
8221
+ * currentContextGroup: 'fdc3.channel.4'
8161
8222
  * }
8162
8223
  *
8163
8224
  * const interopBroker = await fin.Interop.init('openfin');
@@ -9261,6 +9322,20 @@ declare type LayoutSyncApi = {
9261
9322
  updateAccessibilityOptions(options: Partial<LayoutAccessibilityOptions>): void;
9262
9323
  };
9263
9324
 
9325
+ declare type LegacyColorChannelId = keyof typeof legacyColorChannelIds;
9326
+
9327
+ declare const legacyColorChannelIds: {
9328
+ readonly red: "fdc3.channel.1";
9329
+ readonly orange: "fdc3.channel.2";
9330
+ readonly yellow: "fdc3.channel.3";
9331
+ readonly green: "fdc3.channel.4";
9332
+ readonly teal: "fdc3.channel.5";
9333
+ readonly blue: "fdc3.channel.6";
9334
+ readonly pink: "fdc3.channel.7";
9335
+ readonly indigo: "fdc3.channel.8";
9336
+ readonly purple: "fdc3.channel.8";
9337
+ };
9338
+
9264
9339
  /**
9265
9340
  * @interface
9266
9341
  */
@@ -9445,6 +9520,10 @@ declare type Manifest = {
9445
9520
  experimentalExtensionPolicyBlockedHosts?: {
9446
9521
  hosts: string[];
9447
9522
  };
9523
+ /**
9524
+ * Chromium extensions to install and enable for this application.
9525
+ */
9526
+ extensions?: ManifestExtension[];
9448
9527
  licenseKey: string;
9449
9528
  offlineAccess?: boolean;
9450
9529
  platform?: PlatformOptions;
@@ -9498,6 +9577,27 @@ declare type ManifestChangedEvent = BaseEvents.IdentityEvent & {
9498
9577
  type: 'manifest-changed';
9499
9578
  };
9500
9579
 
9580
+ /**
9581
+ * Chromium extension entry in an application configuration.
9582
+ *
9583
+ * @interface
9584
+ */
9585
+ declare type ManifestExtension = {
9586
+ /** Chromium extension ID. */
9587
+ id: string;
9588
+ /** Extension server URL used to install the extension. */
9589
+ serverURL: string;
9590
+ /**
9591
+ * Rules declaring where this extension may inject content scripts into
9592
+ * non-tab surfaces (for example the AI Center). Omit or leave empty to keep
9593
+ * the extension restricted to browser tabs — identical to historic
9594
+ * behavior. A wildcard pattern in `match` grants blanket coverage.
9595
+ * `matchOptions` behaves as it does for domain settings. Intended for
9596
+ * security extensions rather than extensions that add visible UI.
9597
+ */
9598
+ nonTabInjections?: NonTabInjectionRule[];
9599
+ };
9600
+
9501
9601
  /**
9502
9602
  * @interface
9503
9603
  */
@@ -10288,6 +10388,40 @@ declare type NonPropagatedWebContentsEvent = never;
10288
10388
  */
10289
10389
  declare type NonPropagatedWindowEvent = never;
10290
10390
 
10391
+ /**
10392
+ * Rule permitting a Chromium extension to inject content scripts into non-tab
10393
+ * web content whose URL matches the given patterns.
10394
+ *
10395
+ * Match patterns use the same Chromium
10396
+ * [match pattern](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10397
+ * syntax as {@link DomainSettingsRule}. Omitting `matchOptions` uses the same
10398
+ * default scheme-matching behavior as domain settings.
10399
+ *
10400
+ * @interface
10401
+ */
10402
+ declare type NonTabInjectionRule = {
10403
+ /**
10404
+ * Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10405
+ * specifying the content locations where the extension may inject outside
10406
+ * browser tabs. An empty array grants no permission. A wildcard grants
10407
+ * blanket coverage of all content locations.
10408
+ */
10409
+ match: string[];
10410
+ /**
10411
+ * Options to use when comparing URIs to the `match` patterns. Behaves as
10412
+ * {@link DomainSettingsRule.matchOptions} / {@link RuleMatchOptions}.
10413
+ */
10414
+ matchOptions?: RuleMatchOptions;
10415
+ };
10416
+
10417
+ /**
10418
+ * Converts a legacy color-named channel ID to its canonical FDC3 user-channel ID.
10419
+ * The removed legacy gray channel resolves to no channel.
10420
+ */
10421
+ export declare function normalizeColorChannelId<T extends string>(colorChannelId: T): NormalizedColorChannelId<T>;
10422
+
10423
+ declare type NormalizedColorChannelId<T extends string> = string extends T ? string | undefined : T extends 'gray' ? undefined : T extends LegacyColorChannelId ? (typeof legacyColorChannelIds)[T] : T;
10424
+
10291
10425
  /* Excluded from this release type: NotCloseRequested */
10292
10426
 
10293
10427
  declare type NotificationEvent = {
@@ -10596,6 +10730,8 @@ declare namespace OpenFin_2 {
10596
10730
  ThemeColorsMap,
10597
10731
  ThemeColorId,
10598
10732
  ThemePalette,
10733
+ NonTabInjectionRule,
10734
+ ManifestExtension,
10599
10735
  Manifest,
10600
10736
  LayoutContent,
10601
10737
  LayoutItemConfig,
@@ -17567,7 +17703,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17567
17703
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17568
17704
  private authorize;
17569
17705
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17570
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17706
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17571
17707
  ferryAction(origData: any): Promise<Message<any>>;
17572
17708
  registerMessageHandler(handler: MessageHandler): void;
17573
17709
  protected addWireListener(id: number, resolve: Function, handleNack: NackHandler, uncorrelated: boolean): void;
@@ -2166,6 +2166,15 @@ declare type ByType_8<Type extends EventType_8> = Payload_10<Type>;
2166
2166
  */
2167
2167
  declare type ByType_9<Type extends EventType_9> = Payload_11<Type>;
2168
2168
 
2169
+ /** Minimal V8 CallSite shape — js-adapter does not include @types/node. */
2170
+ declare interface CallSite {
2171
+ getFileName(): string | null;
2172
+ toString(): string;
2173
+ }
2174
+
2175
+ /** V8 CallSite objects, or native stack-frame strings from browsers that ignore Error.prepareStackTrace. */
2176
+ declare type CapturedStack = CallSite[] | string[];
2177
+
2169
2178
  /**
2170
2179
  * Configuration for page capture.
2171
2180
  *
@@ -4667,6 +4676,54 @@ declare type CustomRequestHeaders = {
4667
4676
 
4668
4677
  declare type DataChannelReadyState = RTCDataChannel['readyState'];
4669
4678
 
4679
+ export declare type DefaultColorChannelId = keyof typeof defaultColorChannels;
4680
+
4681
+ /**
4682
+ * The default FDC3 user channels advertised by the Interop Broker.
4683
+ */
4684
+ export declare const defaultColorChannels: {
4685
+ readonly 'fdc3.channel.1': {
4686
+ readonly name: "Channel 1";
4687
+ readonly color: "red";
4688
+ readonly glyph: "1";
4689
+ };
4690
+ readonly 'fdc3.channel.2': {
4691
+ readonly name: "Channel 2";
4692
+ readonly color: "orange";
4693
+ readonly glyph: "2";
4694
+ };
4695
+ readonly 'fdc3.channel.3': {
4696
+ readonly name: "Channel 3";
4697
+ readonly color: "yellow";
4698
+ readonly glyph: "3";
4699
+ };
4700
+ readonly 'fdc3.channel.4': {
4701
+ readonly name: "Channel 4";
4702
+ readonly color: "green";
4703
+ readonly glyph: "4";
4704
+ };
4705
+ readonly 'fdc3.channel.5': {
4706
+ readonly name: "Channel 5";
4707
+ readonly color: "cyan";
4708
+ readonly glyph: "5";
4709
+ };
4710
+ readonly 'fdc3.channel.6': {
4711
+ readonly name: "Channel 6";
4712
+ readonly color: "blue";
4713
+ readonly glyph: "6";
4714
+ };
4715
+ readonly 'fdc3.channel.7': {
4716
+ readonly name: "Channel 7";
4717
+ readonly color: "magenta";
4718
+ readonly glyph: "7";
4719
+ };
4720
+ readonly 'fdc3.channel.8': {
4721
+ readonly name: "Channel 8";
4722
+ readonly color: "purple";
4723
+ readonly glyph: "8";
4724
+ };
4725
+ };
4726
+
4670
4727
  /**
4671
4728
  * @deprecated Use {@link OpenFin.DomainSettings} instead.
4672
4729
  * @interface
@@ -7039,17 +7096,19 @@ declare type InteropActionLoggingOption = {
7039
7096
  * "interopBrokerConfiguration": {
7040
7097
  * "contextGroups": [
7041
7098
  * {
7042
- * "id": "green",
7099
+ * "id": "fdc3.channel.4",
7043
7100
  * "displayMetadata": {
7044
- * "color": "#00CC88",
7045
- * "name": "green"
7101
+ * "color": "green",
7102
+ * "name": "Channel 4",
7103
+ * "glyph": "4"
7046
7104
  * }
7047
7105
  * },
7048
7106
  * {
7049
- * "id": "purple",
7107
+ * "id": "fdc3.channel.8",
7050
7108
  * "displayMetadata": {
7051
- * "color": "#8C61FF",
7052
- * "name": "purple"
7109
+ * "color": "purple",
7110
+ * "name": "Channel 8",
7111
+ * "glyph": "8"
7053
7112
  * }
7054
7113
  * },
7055
7114
  * ]
@@ -7183,7 +7242,7 @@ declare class InteropBroker extends Base {
7183
7242
  * @param joinContextGroupOptions - Id of the Context Group and identity of the entity to join to the group.
7184
7243
  * @param senderIdentity - Identity of the client sender.
7185
7244
  */
7186
- joinContextGroup({ contextGroupId, target }: {
7245
+ joinContextGroup({ contextGroupId: requestedContextGroupId, target }: {
7187
7246
  contextGroupId: string;
7188
7247
  target?: OpenFin_2.ClientIdentity | OpenFin_2.Identity;
7189
7248
  }, senderIdentity: OpenFin_2.ClientIdentity): Promise<void>;
@@ -7194,7 +7253,7 @@ declare class InteropBroker extends Base {
7194
7253
  * @param addClientToContextGroupOptions - Contains the contextGroupId
7195
7254
  * @param clientIdentity - Identity of the client sender.
7196
7255
  */
7197
- addClientToContextGroup({ contextGroupId }: {
7256
+ addClientToContextGroup({ contextGroupId: requestedContextGroupId }: {
7198
7257
  contextGroupId: string;
7199
7258
  }, clientIdentity: OpenFin_2.ClientIdentity): Promise<void>;
7200
7259
  /**
@@ -7607,6 +7666,8 @@ declare class InteropBroker extends Base {
7607
7666
  };
7608
7667
  private getClientState;
7609
7668
  private static toObject;
7669
+ private normalizeContextGroupStates;
7670
+ private normalizeContextGroupId;
7610
7671
  static checkContextIntegrity: (context: OpenFin_2.Context) => {
7611
7672
  isValid: true;
7612
7673
  } | {
@@ -7834,7 +7895,7 @@ declare class InteropClient extends Base {
7834
7895
  *
7835
7896
  * getLastFocusedView()
7836
7897
  * .then(lastFocusedViewIdentity => {
7837
- * joinViewToContextGroup('red', lastFocusedViewIdentity)
7898
+ * joinViewToContextGroup('fdc3.channel.1', lastFocusedViewIdentity)
7838
7899
  * })
7839
7900
  * ```
7840
7901
  */
@@ -7869,7 +7930,7 @@ declare class InteropClient extends Base {
7869
7930
  *
7870
7931
  * @example
7871
7932
  * ```js
7872
- * fin.me.interop.getAllClientsInContextGroup('red')
7933
+ * fin.me.interop.getAllClientsInContextGroup('fdc3.channel.1')
7873
7934
  * .then(clientsInContextGroup => {
7874
7935
  * console.log(clientsInContextGroup)
7875
7936
  * })
@@ -7884,7 +7945,7 @@ declare class InteropClient extends Base {
7884
7945
  *
7885
7946
  * @example
7886
7947
  * ```js
7887
- * fin.me.interop.getInfoForContextGroup('red')
7948
+ * fin.me.interop.getInfoForContextGroup('fdc3.channel.1')
7888
7949
  * .then(contextGroupInfo => {
7889
7950
  * console.log(contextGroupInfo.displayMetadata.name)
7890
7951
  * console.log(contextGroupInfo.displayMetadata.color)
@@ -7941,12 +8002,12 @@ declare class InteropClient extends Base {
7941
8002
  *
7942
8003
  * @example
7943
8004
  * ```js
7944
- * await fin.me.interop.joinContextGroup('yellow');
8005
+ * await fin.me.interop.joinContextGroup('fdc3.channel.3');
7945
8006
  * await fin.me.interop.setContext({ type: 'instrument', id: { ticker: 'FOO' }});
7946
8007
  * const currentContext = await fin.me.interop.getCurrentContext();
7947
8008
  *
7948
8009
  * // with a specific context
7949
- * await fin.me.interop.joinContextGroup('yellow');
8010
+ * await fin.me.interop.joinContextGroup('fdc3.channel.3');
7950
8011
  * await fin.me.interop.setContext({ type: 'country', id: { ISOALPHA3: 'US' }});
7951
8012
  * await fin.me.interop.setContext({ type: 'instrument', id: { ticker: 'FOO' }});
7952
8013
  * const currentContext = await fin.me.interop.getCurrentContext('country');
@@ -8108,7 +8169,7 @@ declare type InteropClientOnDisconnectionListener = (InteropBrokerDisconnectionE
8108
8169
  */
8109
8170
  declare type InteropConfig = {
8110
8171
  /**
8111
- * Context Group for the client. (green, yellow, red, etc.).
8172
+ * Context Group ID for the client (for example, `fdc3.channel.4`).
8112
8173
  */
8113
8174
  currentContextGroup?: string | null;
8114
8175
  /**
@@ -8157,7 +8218,7 @@ declare class InteropModule extends Base {
8157
8218
  * @example
8158
8219
  * ```js
8159
8220
  * const interopConfig = {
8160
- * currentContextGroup: 'green'
8221
+ * currentContextGroup: 'fdc3.channel.4'
8161
8222
  * }
8162
8223
  *
8163
8224
  * const interopBroker = await fin.Interop.init('openfin');
@@ -9261,6 +9322,20 @@ declare type LayoutSyncApi = {
9261
9322
  updateAccessibilityOptions(options: Partial<LayoutAccessibilityOptions>): void;
9262
9323
  };
9263
9324
 
9325
+ declare type LegacyColorChannelId = keyof typeof legacyColorChannelIds;
9326
+
9327
+ declare const legacyColorChannelIds: {
9328
+ readonly red: "fdc3.channel.1";
9329
+ readonly orange: "fdc3.channel.2";
9330
+ readonly yellow: "fdc3.channel.3";
9331
+ readonly green: "fdc3.channel.4";
9332
+ readonly teal: "fdc3.channel.5";
9333
+ readonly blue: "fdc3.channel.6";
9334
+ readonly pink: "fdc3.channel.7";
9335
+ readonly indigo: "fdc3.channel.8";
9336
+ readonly purple: "fdc3.channel.8";
9337
+ };
9338
+
9264
9339
  /**
9265
9340
  * @interface
9266
9341
  */
@@ -9445,6 +9520,10 @@ declare type Manifest = {
9445
9520
  experimentalExtensionPolicyBlockedHosts?: {
9446
9521
  hosts: string[];
9447
9522
  };
9523
+ /**
9524
+ * Chromium extensions to install and enable for this application.
9525
+ */
9526
+ extensions?: ManifestExtension[];
9448
9527
  licenseKey: string;
9449
9528
  offlineAccess?: boolean;
9450
9529
  platform?: PlatformOptions;
@@ -9498,6 +9577,27 @@ declare type ManifestChangedEvent = BaseEvents.IdentityEvent & {
9498
9577
  type: 'manifest-changed';
9499
9578
  };
9500
9579
 
9580
+ /**
9581
+ * Chromium extension entry in an application configuration.
9582
+ *
9583
+ * @interface
9584
+ */
9585
+ declare type ManifestExtension = {
9586
+ /** Chromium extension ID. */
9587
+ id: string;
9588
+ /** Extension server URL used to install the extension. */
9589
+ serverURL: string;
9590
+ /**
9591
+ * Rules declaring where this extension may inject content scripts into
9592
+ * non-tab surfaces (for example the AI Center). Omit or leave empty to keep
9593
+ * the extension restricted to browser tabs — identical to historic
9594
+ * behavior. A wildcard pattern in `match` grants blanket coverage.
9595
+ * `matchOptions` behaves as it does for domain settings. Intended for
9596
+ * security extensions rather than extensions that add visible UI.
9597
+ */
9598
+ nonTabInjections?: NonTabInjectionRule[];
9599
+ };
9600
+
9501
9601
  /**
9502
9602
  * @interface
9503
9603
  */
@@ -10288,6 +10388,40 @@ declare type NonPropagatedWebContentsEvent = never;
10288
10388
  */
10289
10389
  declare type NonPropagatedWindowEvent = never;
10290
10390
 
10391
+ /**
10392
+ * Rule permitting a Chromium extension to inject content scripts into non-tab
10393
+ * web content whose URL matches the given patterns.
10394
+ *
10395
+ * Match patterns use the same Chromium
10396
+ * [match pattern](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10397
+ * syntax as {@link DomainSettingsRule}. Omitting `matchOptions` uses the same
10398
+ * default scheme-matching behavior as domain settings.
10399
+ *
10400
+ * @interface
10401
+ */
10402
+ declare type NonTabInjectionRule = {
10403
+ /**
10404
+ * Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns)
10405
+ * specifying the content locations where the extension may inject outside
10406
+ * browser tabs. An empty array grants no permission. A wildcard grants
10407
+ * blanket coverage of all content locations.
10408
+ */
10409
+ match: string[];
10410
+ /**
10411
+ * Options to use when comparing URIs to the `match` patterns. Behaves as
10412
+ * {@link DomainSettingsRule.matchOptions} / {@link RuleMatchOptions}.
10413
+ */
10414
+ matchOptions?: RuleMatchOptions;
10415
+ };
10416
+
10417
+ /**
10418
+ * Converts a legacy color-named channel ID to its canonical FDC3 user-channel ID.
10419
+ * The removed legacy gray channel resolves to no channel.
10420
+ */
10421
+ export declare function normalizeColorChannelId<T extends string>(colorChannelId: T): NormalizedColorChannelId<T>;
10422
+
10423
+ declare type NormalizedColorChannelId<T extends string> = string extends T ? string | undefined : T extends 'gray' ? undefined : T extends LegacyColorChannelId ? (typeof legacyColorChannelIds)[T] : T;
10424
+
10291
10425
  /* Excluded from this release type: NotCloseRequested */
10292
10426
 
10293
10427
  declare type NotificationEvent = {
@@ -10596,6 +10730,8 @@ declare namespace OpenFin_2 {
10596
10730
  ThemeColorsMap,
10597
10731
  ThemeColorId,
10598
10732
  ThemePalette,
10733
+ NonTabInjectionRule,
10734
+ ManifestExtension,
10599
10735
  Manifest,
10600
10736
  LayoutContent,
10601
10737
  LayoutItemConfig,
@@ -17567,7 +17703,7 @@ declare class Transport<MeType extends EntityType = EntityType> extends EventEmi
17567
17703
  connectByPort(config: ExistingConnectConfig): Promise<void>;
17568
17704
  private authorize;
17569
17705
  sendAction<T extends keyof ProtocolMap>(action: T, payload?: ProtocolMap[T]['request'], uncorrelated?: boolean): SentMessage<SendActionResponse<T>>;
17570
- protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: NodeJS.CallSite[]): void;
17706
+ protected nackHandler(payloadOrMessage: RuntimeErrorPayload | string, reject: Function, callSites?: CapturedStack): void;
17571
17707
  ferryAction(origData: any): Promise<Message<any>>;
17572
17708
  registerMessageHandler(handler: MessageHandler): void;
17573
17709
  protected addWireListener(id: number, resolve: Function, handleNack: NackHandler, uncorrelated: boolean): void;