@vscode/chat-lib 0.43.2026033104 → 0.43.2026040102
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/dist/src/_internal/extension/inlineEdits/node/nesConfigs.d.ts +1 -0
- package/dist/src/_internal/extension/inlineEdits/node/nesConfigs.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +8 -2
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +38 -7
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
- package/dist/src/_internal/extension/xtab/common/inlineSuggestion.d.ts +3 -4
- package/dist/src/_internal/extension/xtab/common/inlineSuggestion.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/common/inlineSuggestion.js +5 -7
- package/dist/src/_internal/extension/xtab/common/inlineSuggestion.js.map +1 -1
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js +1 -1
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
- package/dist/src/_internal/extension/xtab/common/xtabCurrentDocument.d.ts +22 -1
- package/dist/src/_internal/extension/xtab/common/xtabCurrentDocument.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/common/xtabCurrentDocument.js +33 -1
- package/dist/src/_internal/extension/xtab/common/xtabCurrentDocument.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.d.ts +3 -2
- package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.js +8 -3
- package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +2 -0
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js +52 -49
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +7 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +7 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.d.ts +0 -1
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.js +0 -1
- package/dist/src/_internal/platform/endpoint/common/endpointTypes.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/phaseDataContainer.d.ts +2 -8
- package/dist/src/_internal/platform/endpoint/common/phaseDataContainer.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/phaseDataContainer.js +2 -26
- package/dist/src/_internal/platform/endpoint/common/phaseDataContainer.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js +8 -20
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +21 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +23 -2
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
- package/dist/src/_internal/platform/networking/common/fetch.d.ts +0 -2
- package/dist/src/_internal/platform/networking/common/fetch.d.ts.map +1 -1
- package/dist/src/_internal/platform/networking/common/fetch.js.map +1 -1
- package/dist/src/package.json +39 -116
- package/package.json +1 -1
- package/dist/src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.d.ts +0 -19
- package/dist/src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.d.ts.map +0 -1
- package/dist/src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.js +0 -64
- package/dist/src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.js.map +0 -1
package/dist/src/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"icon": "assets/copilot.png",
|
|
24
24
|
"pricing": "Trial",
|
|
25
25
|
"engines": {
|
|
26
|
-
"vscode": "^1.
|
|
26
|
+
"vscode": "^1.115.0",
|
|
27
27
|
"npm": ">=9.0.0",
|
|
28
28
|
"node": ">=22.14.0"
|
|
29
29
|
},
|
|
@@ -146,7 +146,8 @@
|
|
|
146
146
|
"workspaceTrust",
|
|
147
147
|
"environmentPower",
|
|
148
148
|
"terminalTitle",
|
|
149
|
-
"toolInvocationApproveCombination"
|
|
149
|
+
"toolInvocationApproveCombination",
|
|
150
|
+
"chatSessionCustomizationProvider"
|
|
150
151
|
],
|
|
151
152
|
"contributes": {
|
|
152
153
|
"languageModelTools": [
|
|
@@ -1069,29 +1070,6 @@
|
|
|
1069
1070
|
]
|
|
1070
1071
|
}
|
|
1071
1072
|
},
|
|
1072
|
-
{
|
|
1073
|
-
"name": "copilot_toolReplay",
|
|
1074
|
-
"modelDescription": "Replays a tool call from a previous chat session.",
|
|
1075
|
-
"displayName": "tool replay",
|
|
1076
|
-
"when": "false",
|
|
1077
|
-
"inputSchema": {
|
|
1078
|
-
"type": "object",
|
|
1079
|
-
"properties": {
|
|
1080
|
-
"toolCallId": {
|
|
1081
|
-
"type": "string",
|
|
1082
|
-
"description": "the id of the tool original tool call"
|
|
1083
|
-
},
|
|
1084
|
-
"toolName": {
|
|
1085
|
-
"type": "string",
|
|
1086
|
-
"description": "the name of the tool being replayed"
|
|
1087
|
-
},
|
|
1088
|
-
"toolCallArgs": {
|
|
1089
|
-
"type": "object",
|
|
1090
|
-
"description": "the arguments of the tool call"
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
}
|
|
1094
|
-
},
|
|
1095
1073
|
{
|
|
1096
1074
|
"name": "copilot_switchAgent",
|
|
1097
1075
|
"toolReferenceName": "switchAgent",
|
|
@@ -1734,15 +1712,6 @@
|
|
|
1734
1712
|
]
|
|
1735
1713
|
}
|
|
1736
1714
|
]
|
|
1737
|
-
},
|
|
1738
|
-
{
|
|
1739
|
-
"id": "github.copilot.chatReplay",
|
|
1740
|
-
"name": "chatReplay",
|
|
1741
|
-
"fullName": "Chat Replay",
|
|
1742
|
-
"when": "debugType == 'vscode-chat-replay'",
|
|
1743
|
-
"locations": [
|
|
1744
|
-
"panel"
|
|
1745
|
-
]
|
|
1746
1715
|
}
|
|
1747
1716
|
],
|
|
1748
1717
|
"languageModelChatProviders": [
|
|
@@ -2256,24 +2225,6 @@
|
|
|
2256
2225
|
"icon": "$(terminal)",
|
|
2257
2226
|
"category": "Copilot CLI"
|
|
2258
2227
|
},
|
|
2259
|
-
{
|
|
2260
|
-
"command": "github.copilot.chat.replay",
|
|
2261
|
-
"title": "Start Chat Replay",
|
|
2262
|
-
"icon": "$(debug-line-by-line)",
|
|
2263
|
-
"enablement": "resourceFilename === 'benchRun.chatReplay.json' && !inDebugMode"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"command": "github.copilot.chat.replay.enableWorkspaceEditTracing",
|
|
2267
|
-
"title": "%github.copilot.command.enableEditTracing%",
|
|
2268
|
-
"category": "Developer",
|
|
2269
|
-
"enablement": "!github.copilot.chat.replay.workspaceEditTracing"
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
"command": "github.copilot.chat.replay.disableWorkspaceEditTracing",
|
|
2273
|
-
"title": "%github.copilot.command.disableEditTracing%",
|
|
2274
|
-
"category": "Developer",
|
|
2275
|
-
"enablement": "github.copilot.chat.replay.workspaceEditTracing"
|
|
2276
|
-
},
|
|
2277
2228
|
{
|
|
2278
2229
|
"command": "github.copilot.chat.compact",
|
|
2279
2230
|
"title": "%github.copilot.command.compactConversation%"
|
|
@@ -2700,11 +2651,6 @@
|
|
|
2700
2651
|
"title": "Submit NES Captures",
|
|
2701
2652
|
"category": "Copilot"
|
|
2702
2653
|
},
|
|
2703
|
-
{
|
|
2704
|
-
"command": "github.copilot.chat.showAsChatSession",
|
|
2705
|
-
"title": "Show as chat session",
|
|
2706
|
-
"icon": "$(chat-sparkle)"
|
|
2707
|
-
},
|
|
2708
2654
|
{
|
|
2709
2655
|
"command": "github.copilot.debug.collectWorkspaceIndexDiagnostics",
|
|
2710
2656
|
"title": "%github.copilot.command.collectWorkspaceIndexDiagnostics%",
|
|
@@ -4610,6 +4556,14 @@
|
|
|
4610
4556
|
"advanced"
|
|
4611
4557
|
]
|
|
4612
4558
|
},
|
|
4559
|
+
"github.copilot.chat.cli.sessionControllerForSessionsApp.enabled": {
|
|
4560
|
+
"type": "boolean",
|
|
4561
|
+
"default": false,
|
|
4562
|
+
"markdownDescription": "%github.copilot.config.cli.sessionControllerForSessionsApp.enabled%",
|
|
4563
|
+
"tags": [
|
|
4564
|
+
"advanced"
|
|
4565
|
+
]
|
|
4566
|
+
},
|
|
4613
4567
|
"github.copilot.chat.cli.terminalLinks.enabled": {
|
|
4614
4568
|
"type": "boolean",
|
|
4615
4569
|
"default": true,
|
|
@@ -4696,6 +4650,17 @@
|
|
|
4696
4650
|
"onExp"
|
|
4697
4651
|
]
|
|
4698
4652
|
},
|
|
4653
|
+
"github.copilot.chat.agentDebugLog.fileLogging.maxSessionLogSizeMB": {
|
|
4654
|
+
"type": "number",
|
|
4655
|
+
"default": 100,
|
|
4656
|
+
"minimum": 1,
|
|
4657
|
+
"markdownDescription": "%github.copilot.config.chat.agentDebugLog.fileLogging.maxSessionLogSizeMB%",
|
|
4658
|
+
"tags": [
|
|
4659
|
+
"advanced",
|
|
4660
|
+
"experimental",
|
|
4661
|
+
"onExp"
|
|
4662
|
+
]
|
|
4663
|
+
},
|
|
4699
4664
|
"github.copilot.chat.otel.enabled": {
|
|
4700
4665
|
"type": "boolean",
|
|
4701
4666
|
"default": false,
|
|
@@ -4793,16 +4758,6 @@
|
|
|
4793
4758
|
"when": "config.github.copilot.chat.notebook.followCellExecution.enabled && github.copilot.notebookFollowInSessionEnabled && github.copilot.notebookAgentModeUsage && !config.notebook.globalToolbar",
|
|
4794
4759
|
"group": "navigation@10"
|
|
4795
4760
|
},
|
|
4796
|
-
{
|
|
4797
|
-
"command": "github.copilot.chat.replay",
|
|
4798
|
-
"group": "navigation@9",
|
|
4799
|
-
"when": "resourceFilename === 'benchRun.chatReplay.json'"
|
|
4800
|
-
},
|
|
4801
|
-
{
|
|
4802
|
-
"command": "github.copilot.chat.showAsChatSession",
|
|
4803
|
-
"group": "navigation@9",
|
|
4804
|
-
"when": "resourceFilename === 'benchRun.chatReplay.json' || resourceFilename === 'chat-export-logs.json'"
|
|
4805
|
-
},
|
|
4806
4761
|
{
|
|
4807
4762
|
"command": "github.copilot.chat.copilotCLI.acceptDiff",
|
|
4808
4763
|
"group": "navigation@1",
|
|
@@ -4822,11 +4777,6 @@
|
|
|
4822
4777
|
}
|
|
4823
4778
|
],
|
|
4824
4779
|
"explorer/context": [
|
|
4825
|
-
{
|
|
4826
|
-
"command": "github.copilot.chat.showAsChatSession",
|
|
4827
|
-
"when": "resourceFilename === 'benchRun.chatReplay.json' || resourceFilename === 'chat-export-logs.json'",
|
|
4828
|
-
"group": "2_copilot@1"
|
|
4829
|
-
},
|
|
4830
4780
|
{
|
|
4831
4781
|
"command": "github.copilot.chat.copilotCLI.addFileReference",
|
|
4832
4782
|
"group": "copilot",
|
|
@@ -5244,10 +5194,6 @@
|
|
|
5244
5194
|
"command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
|
|
5245
5195
|
"when": "false"
|
|
5246
5196
|
},
|
|
5247
|
-
{
|
|
5248
|
-
"command": "github.copilot.chat.showAsChatSession",
|
|
5249
|
-
"when": "false"
|
|
5250
|
-
},
|
|
5251
5197
|
{
|
|
5252
5198
|
"command": "github.copilot.chat.checkoutPullRequestReroute",
|
|
5253
5199
|
"when": "false"
|
|
@@ -5669,6 +5615,23 @@
|
|
|
5669
5615
|
"when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasGitRepository && sessions.changesVersionMode == branchChanges",
|
|
5670
5616
|
"group": "navigation@1"
|
|
5671
5617
|
}
|
|
5618
|
+
],
|
|
5619
|
+
"chat/customizations/create": [
|
|
5620
|
+
{
|
|
5621
|
+
"command": "copilot.claude.agents",
|
|
5622
|
+
"when": "aiCustomizationManagementHarness == claude-code && aiCustomizationManagementSection == agents",
|
|
5623
|
+
"group": "navigation@1"
|
|
5624
|
+
},
|
|
5625
|
+
{
|
|
5626
|
+
"command": "copilot.claude.hooks",
|
|
5627
|
+
"when": "aiCustomizationManagementHarness == claude-code && aiCustomizationManagementSection == hooks",
|
|
5628
|
+
"group": "navigation@1"
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
"command": "copilot.claude.memory",
|
|
5632
|
+
"when": "aiCustomizationManagementHarness == claude-code && aiCustomizationManagementSection == instructions",
|
|
5633
|
+
"group": "navigation@1"
|
|
5634
|
+
}
|
|
5672
5635
|
]
|
|
5673
5636
|
},
|
|
5674
5637
|
"icons": {
|
|
@@ -5770,17 +5733,6 @@
|
|
|
5770
5733
|
]
|
|
5771
5734
|
}
|
|
5772
5735
|
],
|
|
5773
|
-
"notebooks": [
|
|
5774
|
-
{
|
|
5775
|
-
"type": "copilot-chat-replay",
|
|
5776
|
-
"displayName": "Copilot Chat Replay",
|
|
5777
|
-
"selector": [
|
|
5778
|
-
{
|
|
5779
|
-
"filenamePattern": "*.chatreplay.json"
|
|
5780
|
-
}
|
|
5781
|
-
]
|
|
5782
|
-
}
|
|
5783
|
-
],
|
|
5784
5736
|
"views": {
|
|
5785
5737
|
"copilot-chat": [
|
|
5786
5738
|
{
|
|
@@ -6136,35 +6088,6 @@
|
|
|
6136
6088
|
"autoAttachReferences": true
|
|
6137
6089
|
}
|
|
6138
6090
|
],
|
|
6139
|
-
"debuggers": [
|
|
6140
|
-
{
|
|
6141
|
-
"type": "vscode-chat-replay",
|
|
6142
|
-
"label": "vscode-chat-replay",
|
|
6143
|
-
"languages": [
|
|
6144
|
-
"json"
|
|
6145
|
-
],
|
|
6146
|
-
"when": "resourceFilename === 'benchRun.chatReplay.json'",
|
|
6147
|
-
"configurationAttributes": {
|
|
6148
|
-
"launch": {
|
|
6149
|
-
"properties": {
|
|
6150
|
-
"program": {
|
|
6151
|
-
"type": "string",
|
|
6152
|
-
"description": "Chat replay file to debug (parse for headers)",
|
|
6153
|
-
"default": "${file}"
|
|
6154
|
-
},
|
|
6155
|
-
"stopOnEntry": {
|
|
6156
|
-
"type": "boolean",
|
|
6157
|
-
"default": true,
|
|
6158
|
-
"description": "Break immediately to step through manually."
|
|
6159
|
-
}
|
|
6160
|
-
},
|
|
6161
|
-
"required": [
|
|
6162
|
-
"program"
|
|
6163
|
-
]
|
|
6164
|
-
}
|
|
6165
|
-
}
|
|
6166
|
-
}
|
|
6167
|
-
],
|
|
6168
6091
|
"chatAgents": [],
|
|
6169
6092
|
"chatPromptFiles": [
|
|
6170
6093
|
{
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BasePromptElementProps, PromptElement, Raw } from '@vscode/prompt-tsx';
|
|
2
|
-
export interface IResponseOutputMessageIdContainerProps extends BasePromptElementProps {
|
|
3
|
-
responseOutputMessageId: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Helper element to embed a Responses API output message ID into assistant messages
|
|
7
|
-
* as an opaque content part.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ResponseOutputMessageIdContainer extends PromptElement<IResponseOutputMessageIdContainerProps> {
|
|
10
|
-
render(): any;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Attempts to parse a Raw opaque content part into a Responses API output message ID.
|
|
14
|
-
* Falls back to legacy phase payloads that stored the ID alongside the phase.
|
|
15
|
-
*/
|
|
16
|
-
export declare function rawPartAsResponseOutputMessageId(part: Raw.ChatCompletionContentPartOpaque): string | undefined;
|
|
17
|
-
export declare function encodeResponseOutputMessageId(responseOutputMessageId: string): Uint8Array;
|
|
18
|
-
export declare function decodeResponseOutputMessageId(data: Uint8Array): string;
|
|
19
|
-
//# sourceMappingURL=responseOutputMessageIdContainer.d.ts.map
|
package/dist/src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responseOutputMessageIdContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAahF,MAAM,WAAW,sCAAuC,SAAQ,sBAAsB;IACrF,uBAAuB,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,qBAAa,gCAAiC,SAAQ,aAAa,CAAC,sCAAsC,CAAC;IAC1G,MAAM;CAQN;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,CAAC,+BAA+B,GAAG,MAAM,GAAG,SAAS,CAsB9G;AAED,wBAAgB,6BAA6B,CAAC,uBAAuB,EAAE,MAAM,GAAG,UAAU,CAEzF;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CActE"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.ResponseOutputMessageIdContainer = void 0;
|
|
8
|
-
exports.rawPartAsResponseOutputMessageId = rawPartAsResponseOutputMessageId;
|
|
9
|
-
exports.encodeResponseOutputMessageId = encodeResponseOutputMessageId;
|
|
10
|
-
exports.decodeResponseOutputMessageId = decodeResponseOutputMessageId;
|
|
11
|
-
const prompt_tsx_1 = require("@vscode/prompt-tsx");
|
|
12
|
-
const endpointTypes_1 = require("./endpointTypes");
|
|
13
|
-
/**
|
|
14
|
-
* Helper element to embed a Responses API output message ID into assistant messages
|
|
15
|
-
* as an opaque content part.
|
|
16
|
-
*/
|
|
17
|
-
class ResponseOutputMessageIdContainer extends prompt_tsx_1.PromptElement {
|
|
18
|
-
render() {
|
|
19
|
-
const { responseOutputMessageId } = this.props;
|
|
20
|
-
const container = {
|
|
21
|
-
type: endpointTypes_1.CustomDataPartMimeTypes.ResponseOutputMessageId,
|
|
22
|
-
responseOutputMessageId,
|
|
23
|
-
};
|
|
24
|
-
return vscpp("opaque", { value: container });
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.ResponseOutputMessageIdContainer = ResponseOutputMessageIdContainer;
|
|
28
|
-
/**
|
|
29
|
-
* Attempts to parse a Raw opaque content part into a Responses API output message ID.
|
|
30
|
-
* Falls back to legacy phase payloads that stored the ID alongside the phase.
|
|
31
|
-
*/
|
|
32
|
-
function rawPartAsResponseOutputMessageId(part) {
|
|
33
|
-
const value = part.value;
|
|
34
|
-
if (!value || typeof value !== 'object') {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
const data = value;
|
|
38
|
-
if (data.type === endpointTypes_1.CustomDataPartMimeTypes.ResponseOutputMessageId
|
|
39
|
-
&& typeof data.responseOutputMessageId === 'string') {
|
|
40
|
-
return data.responseOutputMessageId;
|
|
41
|
-
}
|
|
42
|
-
if (data.type === endpointTypes_1.CustomDataPartMimeTypes.PhaseData
|
|
43
|
-
&& typeof data.responseOutputMessageId === 'string') {
|
|
44
|
-
return data.responseOutputMessageId;
|
|
45
|
-
}
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
function encodeResponseOutputMessageId(responseOutputMessageId) {
|
|
49
|
-
return new TextEncoder().encode(responseOutputMessageId);
|
|
50
|
-
}
|
|
51
|
-
function decodeResponseOutputMessageId(data) {
|
|
52
|
-
const decoded = new TextDecoder().decode(data);
|
|
53
|
-
try {
|
|
54
|
-
const parsed = JSON.parse(decoded);
|
|
55
|
-
if (typeof parsed.responseOutputMessageId === 'string') {
|
|
56
|
-
return parsed.responseOutputMessageId;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
catch {
|
|
60
|
-
// Backward compatibility with plain string payloads.
|
|
61
|
-
}
|
|
62
|
-
return decoded;
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=responseOutputMessageIdContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responseOutputMessageIdContainer.js","sourceRoot":"","sources":["../../../../../../src/_internal/platform/endpoint/common/responseOutputMessageIdContainer.tsx"],"names":[],"mappings":";AAAA;;;gGAGgG;;;AAsChG,4EAsBC;AAED,sEAEC;AAED,sEAcC;AA9ED,mDAAgF;AAChF,mDAA0D;AAgB1D;;;GAGG;AACH,MAAa,gCAAiC,SAAQ,0BAAqD;IAC1G,MAAM;QACL,MAAM,EAAE,uBAAuB,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QAC/C,MAAM,SAAS,GAAmC;YACjD,IAAI,EAAE,uCAAuB,CAAC,uBAAuB;YACrD,uBAAuB;SACvB,CAAC;QACF,OAAO,kBAAQ,KAAK,EAAE,SAAS,GAAI,CAAC;IACrC,CAAC;CACD;AATD,4EASC;AAED;;;GAGG;AACH,SAAgB,gCAAgC,CAAC,IAAyC;IACzF,MAAM,KAAK,GAAG,IAAI,CAAC,KAAgB,CAAC;IACpC,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACzC,OAAO;IACR,CAAC;IAED,MAAM,IAAI,GAAG,KAAgE,CAAC;IAC9E,IACC,IAAI,CAAC,IAAI,KAAK,uCAAuB,CAAC,uBAAuB;WAC1D,OAAO,IAAI,CAAC,uBAAuB,KAAK,QAAQ,EAClD,CAAC;QACF,OAAO,IAAI,CAAC,uBAAuB,CAAC;IACrC,CAAC;IAED,IACC,IAAI,CAAC,IAAI,KAAK,uCAAuB,CAAC,SAAS;WAC5C,OAAO,IAAI,CAAC,uBAAuB,KAAK,QAAQ,EAClD,CAAC;QACF,OAAO,IAAI,CAAC,uBAAuB,CAAC;IACrC,CAAC;IAED,OAAO;AACR,CAAC;AAED,SAAgB,6BAA6B,CAAC,uBAA+B;IAC5E,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAgB;IAC7D,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC/C,IAAI,CAAC;QACJ,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAEhC,CAAC;QACF,IAAI,OAAO,MAAM,CAAC,uBAAuB,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,MAAM,CAAC,uBAAuB,CAAC;QACvC,CAAC;IACF,CAAC;IAAC,MAAM,CAAC;QACR,qDAAqD;IACtD,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC"}
|