@sourcegraph/cody-web 0.30.0 → 0.31.0

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.
@@ -5410,7 +5410,7 @@ async function executeCommand(cmd) {
5410
5410
  throw new Error("Command execution is only supported in Node.js environments");
5411
5411
  }
5412
5412
  const { exec: exec2 } = await Promise.resolve().then(() => child_process);
5413
- const { promisify: promisify2 } = await import("./util-DYm6oJqS.mjs").then((n2) => n2.u);
5413
+ const { promisify: promisify2 } = await import("./util-Bt98Paeh.mjs").then((n2) => n2.u);
5414
5414
  const execAsync = promisify2(exec2);
5415
5415
  const command = cmd.commandLine.join(" ");
5416
5416
  const { stdout } = await execAsync(command, {
@@ -12024,7 +12024,6 @@ var FeatureFlag = /* @__PURE__ */ ((FeatureFlag2) => {
12024
12024
  FeatureFlag2["GitMentionProvider"] = "git-mention-provider";
12025
12025
  FeatureFlag2["CodyExperimentalOneBoxDebug"] = "cody-experimental-one-box-debug";
12026
12026
  FeatureFlag2["CodyExperimentalPromptEditor"] = "cody-experimental-prompt-editor";
12027
- FeatureFlag2["CodyExperimentalShowEditCodeIntent"] = "cody-experimental-show-edit-code-intent";
12028
12027
  FeatureFlag2["CodyEarlyAccess"] = "cody-early-access";
12029
12028
  FeatureFlag2["CodyUnifiedPrompts"] = "cody-unified-prompts";
12030
12029
  FeatureFlag2["CodyDeepSeekChat"] = "cody-deepseek-chat";
@@ -36651,46 +36650,6 @@ function inputTextWithoutContextChipsFromPromptEditorState(state) {
36651
36650
  state = filterLexicalNodes(state, (node) => !isSerializedContextItemMentionNode(node));
36652
36651
  return textContentFromSerializedLexicalNode(state.lexicalEditorState.root).trim();
36653
36652
  }
36654
- function inputTextWithMappedContextChipsFromPromptEditorState(state) {
36655
- const newTextNode = (text) => ({
36656
- type: "text",
36657
- version: 1,
36658
- text,
36659
- detail: 0,
36660
- format: 0,
36661
- mode: "normal",
36662
- style: ""
36663
- });
36664
- const mentionToTextNode = (node) => {
36665
- switch (node.contextItem.type) {
36666
- case "repository":
36667
- return newTextNode("@repo");
36668
- case "file":
36669
- return newTextNode("@file");
36670
- case "tree":
36671
- return newTextNode("@dir");
36672
- case "symbol":
36673
- return newTextNode("@symbol");
36674
- case "openctx":
36675
- switch (node.contextItem.providerUri) {
36676
- case REMOTE_REPOSITORY_PROVIDER_URI:
36677
- return newTextNode("@repo");
36678
- case REMOTE_DIRECTORY_PROVIDER_URI:
36679
- return newTextNode("@dir");
36680
- case REMOTE_FILE_PROVIDER_URI:
36681
- return newTextNode("@file");
36682
- }
36683
- }
36684
- return newTextNode("");
36685
- };
36686
- state = mapLexicalNodes(state, (node) => {
36687
- if (!isSerializedContextItemMentionNode(node)) {
36688
- return node;
36689
- }
36690
- return mentionToTextNode(node);
36691
- });
36692
- return textContentFromSerializedLexicalNode(state.lexicalEditorState.root).trimStart();
36693
- }
36694
36653
  function filterContextItemsFromPromptEditorValue(value, keep) {
36695
36654
  const editorState = filterLexicalNodes(
36696
36655
  value.editorState,
@@ -36856,20 +36815,6 @@ function filterLexicalNodes(editorState, predicate) {
36856
36815
  lexicalEditorState: copy
36857
36816
  };
36858
36817
  }
36859
- function mapLexicalNodes(editorState, f2) {
36860
- const copy = JSON.parse(
36861
- JSON.stringify(editorState.lexicalEditorState)
36862
- );
36863
- forEachPreOrder(copy.root, (node) => {
36864
- if (node && "children" in node && Array.isArray(node.children)) {
36865
- node.children = node.children.map(f2);
36866
- }
36867
- });
36868
- return {
36869
- ...editorState,
36870
- lexicalEditorState: copy
36871
- };
36872
- }
36873
36818
  function parseTemplateInputsInTextNodes(nodes) {
36874
36819
  return nodes.flatMap((node) => {
36875
36820
  if (node.type !== "text") {
@@ -37155,7 +37100,6 @@ function createExtensionAPI(messageAPI, staticDefaultContext) {
37155
37100
  } : result
37156
37101
  )
37157
37102
  ),
37158
- detectIntent: proxyExtensionAPI(messageAPI, "detectIntent"),
37159
37103
  promptsMigrationStatus: proxyExtensionAPI(messageAPI, "promptsMigrationStatus"),
37160
37104
  startPromptsMigration: proxyExtensionAPI(messageAPI, "startPromptsMigration"),
37161
37105
  resolvedConfig: proxyExtensionAPI(messageAPI, "resolvedConfig"),
@@ -48203,7 +48147,7 @@ export {
48203
48147
  stringify as by,
48204
48148
  ccount as bz,
48205
48149
  commands as c,
48206
- TOOL_CODY_MODEL as c$,
48150
+ getEnterpriseContextWindow as c$,
48207
48151
  ENTERPRISE_STARTER_PRICING_URL as c0,
48208
48152
  textContentFromSerializedLexicalNode as c1,
48209
48153
  firstValueFrom as c2,
@@ -48211,314 +48155,313 @@ export {
48211
48155
  FAST_CHAT_INPUT_TOKEN_BUDGET as c4,
48212
48156
  webviewOpenURIForContextItem as c5,
48213
48157
  pluralize as c6,
48214
- inputTextWithMappedContextChipsFromPromptEditorState as c7,
48215
- serializedPromptEditorStateFromText as c8,
48216
- deserializeContextItem as c9,
48217
- pendingOperation as cA,
48218
- pick as cB,
48219
- getModelInfo as cC,
48220
- CHAT_INPUT_TOKEN_BUDGET as cD,
48221
- CHAT_OUTPUT_TOKEN_BUDGET as cE,
48222
- EXTENDED_CHAT_INPUT_TOKEN_BUDGET as cF,
48223
- EXTENDED_USER_CONTEXT_TOKEN_BUDGET as cG,
48224
- createSubscriber as cH,
48225
- fromVSCodeEvent as cI,
48226
- cenv as cJ,
48227
- currentAuthStatus as cK,
48228
- isFileURI as cL,
48229
- INCLUDE_EVERYTHING_CONTEXT_FILTERS as cM,
48230
- EXCLUDE_EVERYTHING_CONTEXT_FILTERS as cN,
48231
- onAbort as cO,
48232
- addCodyClientIdentificationHeaders as cP,
48233
- addTraceparent as cQ,
48234
- addAuthHeaders as cR,
48235
- fetch as cS,
48236
- verifyResponseCode as cT,
48237
- combineLatest as cU,
48238
- take as cV,
48239
- clientCapabilities as cW,
48240
- shareReplay as cX,
48241
- tap as cY,
48242
- featureFlagProvider as cZ,
48243
- getExperimentalClientModelByFeatureFlag as c_,
48244
- S2_URL as ca,
48245
- browser$1 as cb,
48246
- CodyAutoSuggestionMode as cc,
48247
- isErrorLike as cd,
48248
- PromptString as ce,
48249
- setDisplayPathEnvInfo as cf,
48250
- serialize as cg,
48251
- deserialize as ch,
48252
- unsubscribe as ci,
48253
- AsyncSerialScheduler$1 as cj,
48254
- authStatus as ck,
48255
- debounceTime as cl,
48256
- switchMapReplayOperation as cm,
48257
- interval as cn,
48258
- map$1 as co,
48259
- filter$1 as cp,
48260
- startWith as cq,
48261
- switchMap as cr,
48262
- promiseFactoryToObservable as cs,
48263
- retry as ct,
48264
- distinctUntilChanged as cu,
48265
- logDebug as cv,
48266
- graphqlClient as cw,
48267
- isAbortError as cx,
48268
- logError as cy,
48269
- semver$1 as cz,
48158
+ serializedPromptEditorStateFromText as c7,
48159
+ deserializeContextItem as c8,
48160
+ S2_URL as c9,
48161
+ pick as cA,
48162
+ getModelInfo as cB,
48163
+ CHAT_INPUT_TOKEN_BUDGET as cC,
48164
+ CHAT_OUTPUT_TOKEN_BUDGET as cD,
48165
+ EXTENDED_CHAT_INPUT_TOKEN_BUDGET as cE,
48166
+ EXTENDED_USER_CONTEXT_TOKEN_BUDGET as cF,
48167
+ createSubscriber as cG,
48168
+ fromVSCodeEvent as cH,
48169
+ cenv as cI,
48170
+ currentAuthStatus as cJ,
48171
+ isFileURI as cK,
48172
+ INCLUDE_EVERYTHING_CONTEXT_FILTERS as cL,
48173
+ EXCLUDE_EVERYTHING_CONTEXT_FILTERS as cM,
48174
+ onAbort as cN,
48175
+ addCodyClientIdentificationHeaders as cO,
48176
+ addTraceparent as cP,
48177
+ addAuthHeaders as cQ,
48178
+ fetch as cR,
48179
+ verifyResponseCode as cS,
48180
+ combineLatest as cT,
48181
+ take as cU,
48182
+ clientCapabilities as cV,
48183
+ shareReplay as cW,
48184
+ tap as cX,
48185
+ featureFlagProvider as cY,
48186
+ getExperimentalClientModelByFeatureFlag as cZ,
48187
+ TOOL_CODY_MODEL as c_,
48188
+ browser$1 as ca,
48189
+ CodyAutoSuggestionMode as cb,
48190
+ isErrorLike as cc,
48191
+ PromptString as cd,
48192
+ setDisplayPathEnvInfo as ce,
48193
+ serialize as cf,
48194
+ deserialize as cg,
48195
+ unsubscribe as ch,
48196
+ AsyncSerialScheduler$1 as ci,
48197
+ authStatus as cj,
48198
+ debounceTime as ck,
48199
+ switchMapReplayOperation as cl,
48200
+ interval as cm,
48201
+ map$1 as cn,
48202
+ filter$1 as co,
48203
+ startWith as cp,
48204
+ switchMap as cq,
48205
+ promiseFactoryToObservable as cr,
48206
+ retry as cs,
48207
+ distinctUntilChanged as ct,
48208
+ logDebug as cu,
48209
+ graphqlClient as cv,
48210
+ isAbortError as cw,
48211
+ logError as cx,
48212
+ semver$1 as cy,
48213
+ pendingOperation as cz,
48270
48214
  ps$1 as d,
48271
- setAuthStatusObservable as d$,
48272
- getEnterpriseContextWindow as d0,
48273
- ANSWER_TOKENS as d1,
48274
- storeLastValue as d2,
48275
- resolvedConfig as d3,
48276
- userProductSubscription as d4,
48277
- isEnterpriseUser as d5,
48278
- currentResolvedConfig as d6,
48279
- CORPUS_CONTEXT_ALLOCATION as d7,
48280
- isCustomModel as d8,
48281
- recordErrorToSpan as d9,
48282
- _cloneTypedArray as dA,
48283
- _copyArray as dB,
48284
- _initCloneObject as dC,
48285
- isArguments_1 as dD,
48286
- isArray_1 as dE,
48287
- isBufferExports as dF,
48288
- isFunction_1 as dG,
48289
- isObject_1 as dH,
48290
- isPlainObject_1 as dI,
48291
- isTypedArray_1 as dJ,
48292
- _Stack as dK,
48293
- identity_1 as dL,
48294
- _overRest as dM,
48295
- _setToString as dN,
48296
- _isIndex as dO,
48297
- v4 as dP,
48298
- CONFIG_KEY as dQ,
48299
- ConfigurationTarget as dR,
48300
- pathBrowserify as dS,
48301
- stat as dT,
48302
- extensions as dU,
48303
- version as dV,
48304
- setExtensionVersion as dW,
48305
- withLatestFrom as dX,
48306
- NEVER as dY,
48307
- abortableOperation as dZ,
48308
- disposableSubscription as d_,
48309
- addClientInfoParams as da,
48310
- dependentAbortController as db,
48311
- isS2 as dc,
48312
- GIT_OPENCTX_PROVIDER_URI as dd,
48313
- CODE_SEARCH_PROVIDER_URI as de,
48314
- currentOpenCtxController as df,
48315
- MulticastSubject as dg,
48316
- AsyncSerialScheduler_1 as dh,
48317
- vscode as di,
48318
- Selection as dj,
48319
- AgentEventEmitter as dk,
48320
- MarkdownString as dl,
48321
- TextEditorRevealType as dm,
48322
- ThemeIcon as dn,
48323
- StatusBarAlignment as dp,
48324
- readFile as dq,
48325
- env as dr,
48326
- UIKind as ds,
48327
- _baseAssignValue as dt,
48328
- eq_1$1 as du,
48329
- isArrayLike_1 as dv,
48330
- isObjectLike_1 as dw,
48331
- _copyObject as dx,
48332
- keysIn_1 as dy,
48333
- _cloneBufferExports as dz,
48215
+ DOTCOM_URL as d$,
48216
+ ANSWER_TOKENS as d0,
48217
+ storeLastValue as d1,
48218
+ resolvedConfig as d2,
48219
+ userProductSubscription as d3,
48220
+ isEnterpriseUser as d4,
48221
+ currentResolvedConfig as d5,
48222
+ CORPUS_CONTEXT_ALLOCATION as d6,
48223
+ isCustomModel as d7,
48224
+ recordErrorToSpan as d8,
48225
+ addClientInfoParams as d9,
48226
+ _copyArray as dA,
48227
+ _initCloneObject as dB,
48228
+ isArguments_1 as dC,
48229
+ isArray_1 as dD,
48230
+ isBufferExports as dE,
48231
+ isFunction_1 as dF,
48232
+ isObject_1 as dG,
48233
+ isPlainObject_1 as dH,
48234
+ isTypedArray_1 as dI,
48235
+ _Stack as dJ,
48236
+ identity_1 as dK,
48237
+ _overRest as dL,
48238
+ _setToString as dM,
48239
+ _isIndex as dN,
48240
+ v4 as dO,
48241
+ CONFIG_KEY as dP,
48242
+ ConfigurationTarget as dQ,
48243
+ pathBrowserify as dR,
48244
+ stat as dS,
48245
+ extensions as dT,
48246
+ version as dU,
48247
+ setExtensionVersion as dV,
48248
+ withLatestFrom as dW,
48249
+ NEVER as dX,
48250
+ abortableOperation as dY,
48251
+ disposableSubscription as dZ,
48252
+ setAuthStatusObservable as d_,
48253
+ dependentAbortController as da,
48254
+ isS2 as db,
48255
+ GIT_OPENCTX_PROVIDER_URI as dc,
48256
+ CODE_SEARCH_PROVIDER_URI as dd,
48257
+ currentOpenCtxController as de,
48258
+ MulticastSubject as df,
48259
+ AsyncSerialScheduler_1 as dg,
48260
+ vscode as dh,
48261
+ Selection as di,
48262
+ AgentEventEmitter as dj,
48263
+ MarkdownString as dk,
48264
+ TextEditorRevealType as dl,
48265
+ ThemeIcon as dm,
48266
+ StatusBarAlignment as dn,
48267
+ readFile as dp,
48268
+ env as dq,
48269
+ UIKind as dr,
48270
+ _baseAssignValue as ds,
48271
+ eq_1$1 as dt,
48272
+ isArrayLike_1 as du,
48273
+ isObjectLike_1 as dv,
48274
+ _copyObject as dw,
48275
+ keysIn_1 as dx,
48276
+ _cloneBufferExports as dy,
48277
+ _cloneTypedArray as dz,
48334
48278
  dedent as e,
48335
- visibleTextEditors as e$,
48336
- DOTCOM_URL as e0,
48337
- normalizeServerEndpointURL as e1,
48338
- ProgressLocation as e2,
48339
- SourcegraphGraphQLAPIClient as e3,
48340
- isExternalProviderAuthError as e4,
48341
- isNetworkLikeError as e5,
48342
- resolveAuth as e6,
48343
- QuickPickItemKind as e7,
48344
- getAuthErrorMessage as e8,
48345
- isWorkspaceInstance as e9,
48346
- uriExtname as eA,
48347
- uriBasename as eB,
48348
- DefaultEditCommands as eC,
48349
- subscriptionDisposable as eD,
48350
- NoOpTelemetryRecorderProvider as eE,
48351
- TimestampTelemetryProcessor_1 as eF,
48352
- updateGlobalTelemetryInstances as eG,
48353
- TelemetryRecorderProvider as eH,
48354
- telemetryRecorderProvider as eI,
48355
- createGitDiff as eJ,
48356
- catchError as eK,
48357
- AgentWorkspaceEdit as eL,
48358
- TextDocumentChangeReason as eM,
48359
- omit$1 as eN,
48360
- displayPathWithoutWorkspaceFolderPrefix as eO,
48361
- getEditorInsertSpaces as eP,
48362
- escapeRegExp$1 as eQ,
48363
- isNetworkError as eR,
48364
- http as eS,
48365
- open as eT,
48366
- defaultWebviewPanel as eU,
48367
- EndOfLine as eV,
48368
- ViewColumn as eW,
48369
- Location as eX,
48370
- onDidChangeActiveTextEditor as eY,
48371
- tabGroups as eZ,
48372
- workspaceTextDocuments as e_,
48373
- SUPPORTED_URI_SCHEMAS as ea,
48374
- _baseIsEqual as eb,
48375
- keys_1 as ec,
48376
- _baseGet as ed,
48377
- _castPath as ee,
48378
- isLength_1 as ef,
48379
- _toKey as eg,
48380
- _isKey as eh,
48381
- toNumber_1 as ei,
48382
- _baseFindIndex as ej,
48383
- require$$0 as ek,
48384
- NetworkError as el,
48385
- isRateLimitError as em,
48386
- isAuthError as en,
48387
- FileType as eo,
48388
- FoldingRange as ep,
48389
- CancellationTokenSource2 as eq,
48390
- SymbolKind as er,
48391
- convertGitCloneURLToCodebaseName as es,
48392
- pluck as et,
48393
- toRangeData as eu,
48394
- DefaultChatCommands as ev,
48395
- pathFunctionsForURI as ew,
48396
- uriParseNameAndExtension as ex,
48397
- uriDirname as ey,
48398
- Utils as ez,
48279
+ onDidChangeVisibleTextEditors as e$,
48280
+ normalizeServerEndpointURL as e0,
48281
+ ProgressLocation as e1,
48282
+ SourcegraphGraphQLAPIClient as e2,
48283
+ isExternalProviderAuthError as e3,
48284
+ isNetworkLikeError as e4,
48285
+ resolveAuth as e5,
48286
+ QuickPickItemKind as e6,
48287
+ getAuthErrorMessage as e7,
48288
+ isWorkspaceInstance as e8,
48289
+ SUPPORTED_URI_SCHEMAS as e9,
48290
+ uriBasename as eA,
48291
+ DefaultEditCommands as eB,
48292
+ subscriptionDisposable as eC,
48293
+ NoOpTelemetryRecorderProvider as eD,
48294
+ TimestampTelemetryProcessor_1 as eE,
48295
+ updateGlobalTelemetryInstances as eF,
48296
+ TelemetryRecorderProvider as eG,
48297
+ telemetryRecorderProvider as eH,
48298
+ createGitDiff as eI,
48299
+ catchError as eJ,
48300
+ AgentWorkspaceEdit as eK,
48301
+ TextDocumentChangeReason as eL,
48302
+ omit$1 as eM,
48303
+ displayPathWithoutWorkspaceFolderPrefix as eN,
48304
+ getEditorInsertSpaces as eO,
48305
+ escapeRegExp$1 as eP,
48306
+ isNetworkError as eQ,
48307
+ http as eR,
48308
+ open as eS,
48309
+ defaultWebviewPanel as eT,
48310
+ EndOfLine as eU,
48311
+ ViewColumn as eV,
48312
+ Location as eW,
48313
+ onDidChangeActiveTextEditor as eX,
48314
+ tabGroups as eY,
48315
+ workspaceTextDocuments as eZ,
48316
+ visibleTextEditors as e_,
48317
+ _baseIsEqual as ea,
48318
+ keys_1 as eb,
48319
+ _baseGet as ec,
48320
+ _castPath as ed,
48321
+ isLength_1 as ee,
48322
+ _toKey as ef,
48323
+ _isKey as eg,
48324
+ toNumber_1 as eh,
48325
+ _baseFindIndex as ei,
48326
+ require$$0 as ej,
48327
+ NetworkError as ek,
48328
+ isRateLimitError as el,
48329
+ isAuthError as em,
48330
+ FileType as en,
48331
+ FoldingRange as eo,
48332
+ CancellationTokenSource2 as ep,
48333
+ SymbolKind as eq,
48334
+ convertGitCloneURLToCodebaseName as er,
48335
+ pluck as es,
48336
+ toRangeData as et,
48337
+ DefaultChatCommands as eu,
48338
+ pathFunctionsForURI as ev,
48339
+ uriParseNameAndExtension as ew,
48340
+ uriDirname as ex,
48341
+ Utils as ey,
48342
+ uriExtname as ez,
48399
48343
  CodeLens as f,
48400
- isFreeUser as f$,
48401
- onDidChangeVisibleTextEditors as f0,
48402
- fs2 as f1,
48403
- onDidCloseTextDocument as f2,
48404
- setCreateWebviewPanel as f3,
48405
- getAugmentedNamespace as f4,
48406
- extensionConfiguration as f5,
48407
- main$1 as f6,
48408
- setAgent as f7,
48409
- setWorkspaceDocuments as f8,
48410
- onDidRegisterNewCodeActionProvider as f9,
48411
- onDidChangeConfiguration as fA,
48412
- onDidChangeTextDocument as fB,
48413
- onDidChangeTextEditorSelection as fC,
48414
- workspaceFolders as fD,
48415
- isTokenOrEndpointChange as fE,
48416
- QuickInputButtons as fF,
48417
- RelativePattern as fG,
48418
- isWindows as fH,
48419
- currentAuthStatusOrNotReadyYet as fI,
48420
- currentUserProductSubscription as fJ,
48421
- structuredPatch as fK,
48422
- isDotComAuthed as fL,
48423
- dedupeWith as fM,
48424
- AbortError as fN,
48425
- TimeoutError as fO,
48426
- createDisposables as fP,
48427
- getClientInfoQueryParams as fQ,
48428
- tracer as fR,
48429
- getClientIdentificationHeaders as fS,
48430
- logResponseHeadersToSpan as fT,
48431
- getActiveTraceAndSpanId as fU,
48432
- TracedError as fV,
48433
- isNodeResponse as fW,
48434
- capitalize$2 as fX,
48435
- createTwoFilesPatch as fY,
48436
- getEditorTabSize as fZ,
48437
- InlineCompletionItem as f_,
48438
- onDidUnregisterNewCodeActionProvider as fa,
48439
- onDidRegisterNewCodeLensProvider as fb,
48440
- onDidUnregisterNewCodeLensProvider as fc,
48441
- setClientInfo as fd,
48442
- AgentWorkspaceConfiguration as fe,
48443
- firstNonPendingAuthStatus as ff,
48444
- setWorkspaceFolders as fg,
48445
- onDidChangeWorkspaceFolders as fh,
48446
- onDidChangeWindowState as fi,
48447
- onDidOpenTextDocument as fj,
48448
- onDidSaveTextDocument as fk,
48449
- packageJson as fl,
48450
- progressBars as fm,
48451
- CodeActionTriggerKind as fn,
48452
- CodeAction as fo,
48453
- UriString as fp,
48454
- diagnostics as fq,
48455
- isIntegrationTesting as fr,
48456
- TESTING_TELEMETRY_EXPORTER as fs,
48457
- dist as ft,
48458
- completionProvider as fu,
48459
- InlineCompletionTriggerKind as fv,
48460
- checkIfEnterpriseUser as fw,
48461
- currentAuthStatusAuthed as fx,
48462
- waitUntilComplete as fy,
48463
- setExtensionConfiguration as fz,
48344
+ exec as f$,
48345
+ fs2 as f0,
48346
+ onDidCloseTextDocument as f1,
48347
+ setCreateWebviewPanel as f2,
48348
+ getAugmentedNamespace as f3,
48349
+ extensionConfiguration as f4,
48350
+ main$1 as f5,
48351
+ setAgent as f6,
48352
+ setWorkspaceDocuments as f7,
48353
+ onDidRegisterNewCodeActionProvider as f8,
48354
+ onDidUnregisterNewCodeActionProvider as f9,
48355
+ onDidChangeTextDocument as fA,
48356
+ onDidChangeTextEditorSelection as fB,
48357
+ workspaceFolders as fC,
48358
+ isTokenOrEndpointChange as fD,
48359
+ QuickInputButtons as fE,
48360
+ RelativePattern as fF,
48361
+ isWindows as fG,
48362
+ currentAuthStatusOrNotReadyYet as fH,
48363
+ currentUserProductSubscription as fI,
48364
+ structuredPatch as fJ,
48365
+ isDotComAuthed as fK,
48366
+ dedupeWith as fL,
48367
+ AbortError as fM,
48368
+ TimeoutError as fN,
48369
+ createDisposables as fO,
48370
+ getClientInfoQueryParams as fP,
48371
+ tracer as fQ,
48372
+ getClientIdentificationHeaders as fR,
48373
+ logResponseHeadersToSpan as fS,
48374
+ getActiveTraceAndSpanId as fT,
48375
+ TracedError as fU,
48376
+ isNodeResponse as fV,
48377
+ capitalize$2 as fW,
48378
+ createTwoFilesPatch as fX,
48379
+ getEditorTabSize as fY,
48380
+ InlineCompletionItem as fZ,
48381
+ isFreeUser as f_,
48382
+ onDidRegisterNewCodeLensProvider as fa,
48383
+ onDidUnregisterNewCodeLensProvider as fb,
48384
+ setClientInfo as fc,
48385
+ AgentWorkspaceConfiguration as fd,
48386
+ firstNonPendingAuthStatus as fe,
48387
+ setWorkspaceFolders as ff,
48388
+ onDidChangeWorkspaceFolders as fg,
48389
+ onDidChangeWindowState as fh,
48390
+ onDidOpenTextDocument as fi,
48391
+ onDidSaveTextDocument as fj,
48392
+ packageJson as fk,
48393
+ progressBars as fl,
48394
+ CodeActionTriggerKind as fm,
48395
+ CodeAction as fn,
48396
+ UriString as fo,
48397
+ diagnostics as fp,
48398
+ isIntegrationTesting as fq,
48399
+ TESTING_TELEMETRY_EXPORTER as fr,
48400
+ dist as fs,
48401
+ completionProvider as ft,
48402
+ InlineCompletionTriggerKind as fu,
48403
+ checkIfEnterpriseUser as fv,
48404
+ currentAuthStatusAuthed as fw,
48405
+ waitUntilComplete as fx,
48406
+ setExtensionConfiguration as fy,
48407
+ onDidChangeConfiguration as fz,
48464
48408
  Disposable as g,
48465
- exec as g0,
48466
- _baseGetTag as g1,
48467
- MAX_BYTES_PER_FILE as g2,
48468
- debounce_1 as g3,
48469
- mentionProvidersMetadata as g4,
48470
- expandToLineRange as g5,
48471
- openctxController as g6,
48472
- openCtxProviderMetadata as g7,
48473
- editorStateFromPromptString as g8,
48474
- inputTextWithoutContextChipsFromPromptEditorState as g9,
48475
- GENERAL_HELP_LABEL as gA,
48476
- diffLines as gB,
48477
- CODY_SUPPORT_URL as gC,
48478
- CODY_DOC_URL as gD,
48479
- CODY_FEEDBACK_URL as gE,
48480
- DISCORD_URL as gF,
48481
- globalAgentRef as gG,
48482
- VSCODE_CHANGELOG_URL as gH,
48483
- SG_CHANGELOG_URL as gI,
48484
- ACCOUNT_LIMITS_INFO_URL as gJ,
48485
- assertUnreachable as gK,
48486
- promise as gL,
48487
- ExtensionMode as gM,
48488
- setLogger as gN,
48489
- setClientCapabilities as gO,
48490
- setResolvedConfigurationObservable as gP,
48491
- _$1 as gQ,
48492
- setClientNameVersion as gR,
48493
- setOpenCtxControllerObservable as gS,
48494
- CODY_OLLAMA_DOCS_URL as gT,
48495
- child_process as gU,
48496
- ToolCodyModelRef as ga,
48497
- PromptMode as gb,
48498
- skip as gc,
48499
- extractContextFromTraceparent as gd,
48500
- isContextWindowLimitError as ge,
48501
- addMessageListenersForExtensionAPI as gf,
48502
- createMessageAPIForExtension as gg,
48503
- CODY_PASSTHROUGH_VSCODE_OPEN_COMMAND_ID as gh,
48504
- CodeActionKind as gi,
48505
- assertFileURI as gj,
48506
- defer as gk,
48507
- merge$1 as gl,
48508
- ruleSearchPaths as gm,
48509
- isRuleFilename as gn,
48510
- parseRuleFile as go,
48511
- languageFromFilename as gp,
48512
- ruleTitle as gq,
48513
- createCodeSearchProvider as gr,
48514
- psDedent as gs,
48515
- DecorationRangeBehavior as gt,
48516
- ProgrammingLanguage as gu,
48517
- MAX_CURRENT_FILE_TOKENS as gv,
48518
- formatRuleForPrompt as gw,
48519
- posixFilePaths as gx,
48520
- SURROUNDING_LINES as gy,
48521
- ACCOUNT_UPGRADE_URL as gz,
48409
+ _baseGetTag as g0,
48410
+ MAX_BYTES_PER_FILE as g1,
48411
+ debounce_1 as g2,
48412
+ mentionProvidersMetadata as g3,
48413
+ expandToLineRange as g4,
48414
+ openctxController as g5,
48415
+ openCtxProviderMetadata as g6,
48416
+ editorStateFromPromptString as g7,
48417
+ inputTextWithoutContextChipsFromPromptEditorState as g8,
48418
+ ToolCodyModelRef as g9,
48419
+ diffLines as gA,
48420
+ CODY_SUPPORT_URL as gB,
48421
+ CODY_DOC_URL as gC,
48422
+ CODY_FEEDBACK_URL as gD,
48423
+ DISCORD_URL as gE,
48424
+ globalAgentRef as gF,
48425
+ VSCODE_CHANGELOG_URL as gG,
48426
+ SG_CHANGELOG_URL as gH,
48427
+ ACCOUNT_LIMITS_INFO_URL as gI,
48428
+ assertUnreachable as gJ,
48429
+ promise as gK,
48430
+ ExtensionMode as gL,
48431
+ setLogger as gM,
48432
+ setClientCapabilities as gN,
48433
+ setResolvedConfigurationObservable as gO,
48434
+ _$1 as gP,
48435
+ setClientNameVersion as gQ,
48436
+ setOpenCtxControllerObservable as gR,
48437
+ CODY_OLLAMA_DOCS_URL as gS,
48438
+ child_process as gT,
48439
+ PromptMode as ga,
48440
+ skip as gb,
48441
+ extractContextFromTraceparent as gc,
48442
+ isContextWindowLimitError as gd,
48443
+ addMessageListenersForExtensionAPI as ge,
48444
+ createMessageAPIForExtension as gf,
48445
+ CODY_PASSTHROUGH_VSCODE_OPEN_COMMAND_ID as gg,
48446
+ CodeActionKind as gh,
48447
+ assertFileURI as gi,
48448
+ defer as gj,
48449
+ merge$1 as gk,
48450
+ ruleSearchPaths as gl,
48451
+ isRuleFilename as gm,
48452
+ parseRuleFile as gn,
48453
+ languageFromFilename as go,
48454
+ ruleTitle as gp,
48455
+ createCodeSearchProvider as gq,
48456
+ psDedent as gr,
48457
+ DecorationRangeBehavior as gs,
48458
+ ProgrammingLanguage as gt,
48459
+ MAX_CURRENT_FILE_TOKENS as gu,
48460
+ formatRuleForPrompt as gv,
48461
+ posixFilePaths as gw,
48462
+ SURROUNDING_LINES as gx,
48463
+ ACCOUNT_UPGRADE_URL as gy,
48464
+ GENERAL_HELP_LABEL as gz,
48522
48465
  commonjsGlobal as h,
48523
48466
  getDefaultExportFromCjs as i,
48524
48467
  ks as j,