@sourcegraph/cody-web 0.3.7 → 0.4.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.
- package/dist/git-log-BchCiyCn.js +53 -0
- package/dist/{index-DHA0d9ot.js → index-aTZsYjdl.js} +1 -1
- package/dist/index.js +652 -649
- package/dist/lib/agent/shims/child_process.d.ts +1 -0
- package/dist/lib/agent/shims/child_process.d.ts.map +1 -1
- package/dist/lib/agent/shims/os.d.ts +2 -0
- package/dist/lib/agent/shims/os.d.ts.map +1 -1
- package/dist/lib/components/CodyWebPanel.d.ts.map +1 -1
- package/dist/lib/components/CodyWebPanelProvider.d.ts +0 -7
- package/dist/lib/components/CodyWebPanelProvider.d.ts.map +1 -1
- package/dist/shell-D4ktELw-.js +46 -0
- package/dist/style.css +128 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/util-Dj34XCrE.js +0 -24
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"child_process.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/child_process.ts"],"names":[],"mappings":"AAAA,wBAAgB,KAAK,IAAI,OAAO,CAE/B;AAED,wBAAgB,QAAQ,IAAI,OAAO,CAElC;AAED,wBAAgB,QAAQ,IAAI,OAAO,CAElC"}
|
|
1
|
+
{"version":3,"file":"child_process.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/child_process.ts"],"names":[],"mappings":"AAAA,wBAAgB,KAAK,IAAI,OAAO,CAE/B;AAED,wBAAgB,QAAQ,IAAI,OAAO,CAElC;AAED,wBAAgB,QAAQ,IAAI,OAAO,CAElC;AAED,wBAAgB,IAAI,IAAI,OAAO,CAE9B"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare function platform(): unknown;
|
|
2
2
|
export declare function arch(): unknown;
|
|
3
|
+
export declare function homedir(): unknown;
|
|
3
4
|
declare const _default: {
|
|
4
5
|
platform: typeof platform;
|
|
5
6
|
arch: typeof arch;
|
|
7
|
+
homedir: typeof homedir;
|
|
6
8
|
};
|
|
7
9
|
export default _default;
|
|
8
10
|
//# sourceMappingURL=os.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"os.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/os.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,IAAI,OAAO,CAElC;AAED,wBAAgB,IAAI,IAAI,OAAO,CAE9B
|
|
1
|
+
{"version":3,"file":"os.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/os.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,IAAI,OAAO,CAElC;AAED,wBAAgB,IAAI,IAAI,OAAO,CAE9B;AAED,wBAAgB,OAAO,IAAI,OAAO,CAEjC;;;;;;AAED,wBAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodyWebPanel.d.ts","sourceRoot":"","sources":["../../../lib/components/CodyWebPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAmD,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CodyWebPanel.d.ts","sourceRoot":"","sources":["../../../lib/components/CodyWebPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAmD,MAAM,OAAO,CAAA;AA6BhF,OAAO,6BAA6B,CAAA;AAkBpC,MAAM,WAAW,iBAAiB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB;AAID,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA2L9C,CAAA"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type FunctionComponent, type PropsWithChildren } from 'react';
|
|
2
2
|
import type { MessageConnection } from 'vscode-jsonrpc/browser';
|
|
3
|
-
import type { ChatExportResult } from 'cody-ai/src/jsonrpc/agent-protocol';
|
|
4
3
|
import { type VSCodeWrapper } from 'cody-ai/webviews/utils/VSCodeApi';
|
|
5
4
|
import type { InitialContext } from '../types';
|
|
6
5
|
interface AgentClient {
|
|
@@ -9,23 +8,17 @@ interface AgentClient {
|
|
|
9
8
|
}
|
|
10
9
|
interface CodyWebPanelContextData {
|
|
11
10
|
client: AgentClient | Error | null;
|
|
12
|
-
activeChatID: string | null;
|
|
13
11
|
activeWebviewPanelID: string;
|
|
14
12
|
vscodeAPI: VSCodeWrapper;
|
|
15
13
|
initialContext: InitialContext | undefined;
|
|
16
|
-
setLastActiveChatID: (chatID: string | null) => void;
|
|
17
|
-
createChat: () => Promise<void>;
|
|
18
|
-
selectChat: (chat: ChatExportResult) => Promise<void>;
|
|
19
14
|
}
|
|
20
15
|
export declare const CodyWebPanelContext: import("react").Context<CodyWebPanelContextData>;
|
|
21
16
|
interface CodyWebPanelProviderProps {
|
|
22
17
|
serverEndpoint: string;
|
|
23
18
|
accessToken: string | null;
|
|
24
|
-
chatID?: string | null;
|
|
25
19
|
telemetryClientName?: string;
|
|
26
20
|
initialContext?: InitialContext;
|
|
27
21
|
customHeaders?: Record<string, string>;
|
|
28
|
-
onNewChatCreated?: (chatId: string) => void;
|
|
29
22
|
}
|
|
30
23
|
/**
|
|
31
24
|
* The root store/provider node for Cody Web, creates and shares
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodyWebPanelProvider.d.ts","sourceRoot":"","sources":["../../../lib/components/CodyWebPanelProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"CodyWebPanelProvider.d.ts","sourceRoot":"","sources":["../../../lib/components/CodyWebPanelProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EASzB,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAM/D,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,kCAAkC,CAAA;AAGvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAS9C,UAAU,WAAW;IACjB,GAAG,EAAE,iBAAiB,CAAA;IACtB,OAAO,IAAI,IAAI,CAAA;CAClB;AAED,UAAU,uBAAuB;IAC7B,MAAM,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI,CAAA;IAClC,oBAAoB,EAAE,MAAM,CAAA;IAC5B,SAAS,EAAE,aAAa,CAAA;IACxB,cAAc,EAAE,cAAc,GAAG,SAAS,CAAA;CAC7C;AAED,eAAO,MAAM,mBAAmB,kDAS9B,CAAA;AAEF,UAAU,yBAAyB;IAC/B,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,CAsLhG,CAAA;AAED,wBAAgB,iBAAiB,IAAI,uBAAuB,CAE3D"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { u as util, e as exec, w as wrapInActiveSpan, o as os, a as env, b as window, p as path, c as workspace, T as TokenCounter, U as Uri, C as ContextItemSource, l as logError } from "./agent.worker-BBGBLXHf.js";
|
|
2
|
+
var define_process_default = { env: {} };
|
|
3
|
+
const _exec = util.promisify(exec);
|
|
4
|
+
async function getContextFileFromShell(command) {
|
|
5
|
+
return wrapInActiveSpan("commands.context.command", async (span) => {
|
|
6
|
+
var _a, _b, _c;
|
|
7
|
+
const rootDir = os.homedir() || define_process_default.env.HOME || define_process_default.env.USERPROFILE || "";
|
|
8
|
+
if (!env.shell) {
|
|
9
|
+
void window.showErrorMessage("Shell command is not supported your current workspace.");
|
|
10
|
+
return [];
|
|
11
|
+
}
|
|
12
|
+
const filteredCommand = command.replaceAll(/(\s~\/)/g, ` ${rootDir}${path.sep}`);
|
|
13
|
+
const cwd = (_c = (_b = (_a = workspace.workspaceFolders) == null ? void 0 : _a[0]) == null ? void 0 : _b.uri) == null ? void 0 : _c.fsPath;
|
|
14
|
+
try {
|
|
15
|
+
const { stdout, stderr } = await _exec(filteredCommand, { cwd, encoding: "utf8" });
|
|
16
|
+
const output = JSON.stringify(stdout ?? stderr).trim();
|
|
17
|
+
if (!output) {
|
|
18
|
+
throw new Error("Empty output");
|
|
19
|
+
}
|
|
20
|
+
const content = outputWrapper.replace("{command}", command).replace("{output}", output);
|
|
21
|
+
const size = TokenCounter.countTokens(content);
|
|
22
|
+
return [
|
|
23
|
+
{
|
|
24
|
+
type: "file",
|
|
25
|
+
content,
|
|
26
|
+
title: "Terminal Output",
|
|
27
|
+
uri: Uri.file(command),
|
|
28
|
+
source: ContextItemSource.Terminal,
|
|
29
|
+
size
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
} catch (error) {
|
|
33
|
+
logError("getContextFileFromShell", "failed", { verbose: error });
|
|
34
|
+
void window.showErrorMessage(error.message);
|
|
35
|
+
throw new Error("Failed to get shell output for Custom Command.");
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
const outputWrapper = `
|
|
40
|
+
Terminal output from the \`{command}\` command enclosed between <OUTPUT0412> tags:
|
|
41
|
+
<OUTPUT0412>
|
|
42
|
+
{output}
|
|
43
|
+
</OUTPUT0412>`;
|
|
44
|
+
export {
|
|
45
|
+
getContextFileFromShell
|
|
46
|
+
};
|
package/dist/style.css
CHANGED
|
@@ -2183,6 +2183,9 @@ imported in Sourcegraph shell.
|
|
|
2183
2183
|
since they will conflict with any possible reset/global
|
|
2184
2184
|
styles in consumer. See @mixin reset-styles for more details
|
|
2185
2185
|
*/
|
|
2186
|
+
.tw-invisible {
|
|
2187
|
+
visibility: hidden;
|
|
2188
|
+
}
|
|
2186
2189
|
.tw-absolute {
|
|
2187
2190
|
position: absolute;
|
|
2188
2191
|
}
|
|
@@ -2216,9 +2219,9 @@ imported in Sourcegraph shell.
|
|
|
2216
2219
|
.tw-col-span-4 {
|
|
2217
2220
|
grid-column: span 4 / span 4;
|
|
2218
2221
|
}
|
|
2219
|
-
.tw--mx-
|
|
2220
|
-
margin-left: -
|
|
2221
|
-
margin-right: -
|
|
2222
|
+
.tw--mx-2 {
|
|
2223
|
+
margin-left: -4px;
|
|
2224
|
+
margin-right: -4px;
|
|
2222
2225
|
}
|
|
2223
2226
|
.tw-my-2 {
|
|
2224
2227
|
margin-top: 4px;
|
|
@@ -2227,6 +2230,9 @@ imported in Sourcegraph shell.
|
|
|
2227
2230
|
.tw-mb-4 {
|
|
2228
2231
|
margin-bottom: 8px;
|
|
2229
2232
|
}
|
|
2233
|
+
.tw-mb-6 {
|
|
2234
|
+
margin-bottom: 12px;
|
|
2235
|
+
}
|
|
2230
2236
|
.tw-ml-1 {
|
|
2231
2237
|
margin-left: 2px;
|
|
2232
2238
|
}
|
|
@@ -2245,6 +2251,12 @@ imported in Sourcegraph shell.
|
|
|
2245
2251
|
.tw-mr-2 {
|
|
2246
2252
|
margin-right: 4px;
|
|
2247
2253
|
}
|
|
2254
|
+
.tw-mt-0 {
|
|
2255
|
+
margin-top: 0px;
|
|
2256
|
+
}
|
|
2257
|
+
.tw-mt-0\.5 {
|
|
2258
|
+
margin-top: 0.125rem;
|
|
2259
|
+
}
|
|
2248
2260
|
.tw-mt-1 {
|
|
2249
2261
|
margin-top: 2px;
|
|
2250
2262
|
}
|
|
@@ -2266,6 +2278,9 @@ imported in Sourcegraph shell.
|
|
|
2266
2278
|
.tw-grid {
|
|
2267
2279
|
display: grid;
|
|
2268
2280
|
}
|
|
2281
|
+
.tw-hidden {
|
|
2282
|
+
display: none;
|
|
2283
|
+
}
|
|
2269
2284
|
.\!tw-h-\[30px\] {
|
|
2270
2285
|
height: 30px !important;
|
|
2271
2286
|
}
|
|
@@ -2296,6 +2311,9 @@ imported in Sourcegraph shell.
|
|
|
2296
2311
|
.\!tw-max-h-\[392px\] {
|
|
2297
2312
|
max-height: 392px !important;
|
|
2298
2313
|
}
|
|
2314
|
+
.\!tw-max-h-\[unset\] {
|
|
2315
|
+
max-height: unset !important;
|
|
2316
|
+
}
|
|
2299
2317
|
.tw-max-h-\[500px\] {
|
|
2300
2318
|
max-height: 500px;
|
|
2301
2319
|
}
|
|
@@ -2317,6 +2335,9 @@ imported in Sourcegraph shell.
|
|
|
2317
2335
|
.tw-w-\[20px\] {
|
|
2318
2336
|
width: 20px;
|
|
2319
2337
|
}
|
|
2338
|
+
.tw-w-\[75vw\] {
|
|
2339
|
+
width: 75vw;
|
|
2340
|
+
}
|
|
2320
2341
|
.tw-w-\[7px\] {
|
|
2321
2342
|
width: 7px;
|
|
2322
2343
|
}
|
|
@@ -2332,15 +2353,18 @@ imported in Sourcegraph shell.
|
|
|
2332
2353
|
.tw-min-w-\[325px\] {
|
|
2333
2354
|
min-width: 325px;
|
|
2334
2355
|
}
|
|
2356
|
+
.\!tw-max-w-\[unset\] {
|
|
2357
|
+
max-width: unset !important;
|
|
2358
|
+
}
|
|
2335
2359
|
.tw-max-w-72 {
|
|
2336
2360
|
max-width: 18rem;
|
|
2337
2361
|
}
|
|
2362
|
+
.tw-max-w-\[550px\] {
|
|
2363
|
+
max-width: 550px;
|
|
2364
|
+
}
|
|
2338
2365
|
.tw-max-w-\[90\%\] {
|
|
2339
2366
|
max-width: 90%;
|
|
2340
2367
|
}
|
|
2341
|
-
.tw-max-w-\[min\(500px\,90vw\)\] {
|
|
2342
|
-
max-width: min(500px,90vw);
|
|
2343
|
-
}
|
|
2344
2368
|
.tw-max-w-full {
|
|
2345
2369
|
max-width: 100%;
|
|
2346
2370
|
}
|
|
@@ -2427,6 +2451,12 @@ imported in Sourcegraph shell.
|
|
|
2427
2451
|
.tw-justify-between {
|
|
2428
2452
|
justify-content: space-between;
|
|
2429
2453
|
}
|
|
2454
|
+
.tw-gap-0 {
|
|
2455
|
+
gap: 0px;
|
|
2456
|
+
}
|
|
2457
|
+
.tw-gap-0\.5 {
|
|
2458
|
+
gap: 0.125rem;
|
|
2459
|
+
}
|
|
2430
2460
|
.tw-gap-1 {
|
|
2431
2461
|
gap: 2px;
|
|
2432
2462
|
}
|
|
@@ -2454,9 +2484,15 @@ imported in Sourcegraph shell.
|
|
|
2454
2484
|
.tw-gap-8 {
|
|
2455
2485
|
gap: 16px;
|
|
2456
2486
|
}
|
|
2487
|
+
.tw-gap-x-3 {
|
|
2488
|
+
column-gap: 6px;
|
|
2489
|
+
}
|
|
2457
2490
|
.tw-gap-x-4 {
|
|
2458
2491
|
column-gap: 8px;
|
|
2459
2492
|
}
|
|
2493
|
+
.tw-gap-y-1 {
|
|
2494
|
+
row-gap: 2px;
|
|
2495
|
+
}
|
|
2460
2496
|
.tw-gap-y-2 {
|
|
2461
2497
|
row-gap: 4px;
|
|
2462
2498
|
}
|
|
@@ -2477,6 +2513,9 @@ imported in Sourcegraph shell.
|
|
|
2477
2513
|
.tw-overflow-hidden {
|
|
2478
2514
|
overflow: hidden;
|
|
2479
2515
|
}
|
|
2516
|
+
.tw-overflow-clip {
|
|
2517
|
+
overflow: clip;
|
|
2518
|
+
}
|
|
2480
2519
|
.tw-overflow-y-auto {
|
|
2481
2520
|
overflow-y: auto;
|
|
2482
2521
|
}
|
|
@@ -2524,6 +2563,9 @@ imported in Sourcegraph shell.
|
|
|
2524
2563
|
.tw-rounded-md {
|
|
2525
2564
|
border-radius: 4px;
|
|
2526
2565
|
}
|
|
2566
|
+
.tw-rounded-none {
|
|
2567
|
+
border-radius: 0px;
|
|
2568
|
+
}
|
|
2527
2569
|
.tw-rounded-sm {
|
|
2528
2570
|
border-radius: 2px;
|
|
2529
2571
|
}
|
|
@@ -2551,9 +2593,6 @@ imported in Sourcegraph shell.
|
|
|
2551
2593
|
.\!tw-border-\[var\(--vscode-tab-activeBorderTop\)\] {
|
|
2552
2594
|
border-color: var(--vscode-tab-activeBorderTop) !important;
|
|
2553
2595
|
}
|
|
2554
|
-
.tw-border-badge-border {
|
|
2555
|
-
border-color: var(--vscode-contrastBorder);
|
|
2556
|
-
}
|
|
2557
2596
|
.tw-border-border {
|
|
2558
2597
|
border-color: var(--vscode-dropdown-border);
|
|
2559
2598
|
}
|
|
@@ -2566,6 +2605,9 @@ imported in Sourcegraph shell.
|
|
|
2566
2605
|
.tw-border-keybinding-border {
|
|
2567
2606
|
border-color: var(--vscode-keybindingLabel-border);
|
|
2568
2607
|
}
|
|
2608
|
+
.tw-border-muted-transparent {
|
|
2609
|
+
border-color: color-mix(in lch, currentColor 15%, transparent);
|
|
2610
|
+
}
|
|
2569
2611
|
.tw-border-ring {
|
|
2570
2612
|
border-color: var(--vscode-focusBorder);
|
|
2571
2613
|
}
|
|
@@ -2578,6 +2620,12 @@ imported in Sourcegraph shell.
|
|
|
2578
2620
|
.tw-border-e-transparent {
|
|
2579
2621
|
border-inline-end-color: transparent;
|
|
2580
2622
|
}
|
|
2623
|
+
.\!tw-bg-\[unset\] {
|
|
2624
|
+
background-color: unset !important;
|
|
2625
|
+
}
|
|
2626
|
+
.tw-bg-\[unset\] {
|
|
2627
|
+
background-color: unset;
|
|
2628
|
+
}
|
|
2581
2629
|
.tw-bg-background {
|
|
2582
2630
|
background-color: var(--vscode-editor-background);
|
|
2583
2631
|
}
|
|
@@ -2629,6 +2677,9 @@ imported in Sourcegraph shell.
|
|
|
2629
2677
|
.tw-p-6 {
|
|
2630
2678
|
padding: 12px;
|
|
2631
2679
|
}
|
|
2680
|
+
.tw-p-8 {
|
|
2681
|
+
padding: 16px;
|
|
2682
|
+
}
|
|
2632
2683
|
.tw-px-0 {
|
|
2633
2684
|
padding-left: 0px;
|
|
2634
2685
|
padding-right: 0px;
|
|
@@ -2734,6 +2785,9 @@ imported in Sourcegraph shell.
|
|
|
2734
2785
|
.tw-text-xs {
|
|
2735
2786
|
font-size: calc(calc(11/13)*var(--vscode-font-size));
|
|
2736
2787
|
}
|
|
2788
|
+
.tw-text-xxs {
|
|
2789
|
+
font-size: calc(calc(10/13)*var(--vscode-font-size));
|
|
2790
|
+
}
|
|
2737
2791
|
.tw-font-medium {
|
|
2738
2792
|
font-weight: 500;
|
|
2739
2793
|
}
|
|
@@ -2752,15 +2806,24 @@ imported in Sourcegraph shell.
|
|
|
2752
2806
|
.tw-leading-tight {
|
|
2753
2807
|
line-height: 1.25;
|
|
2754
2808
|
}
|
|
2809
|
+
.tw-tracking-tight {
|
|
2810
|
+
letter-spacing: -0.025em;
|
|
2811
|
+
}
|
|
2755
2812
|
.tw-tracking-widest {
|
|
2756
2813
|
letter-spacing: 0.1em;
|
|
2757
2814
|
}
|
|
2815
|
+
.\!tw-text-\[unset\] {
|
|
2816
|
+
color: unset !important;
|
|
2817
|
+
}
|
|
2758
2818
|
.\!tw-text-foreground {
|
|
2759
2819
|
color: var(--vscode-foreground) !important;
|
|
2760
2820
|
}
|
|
2761
2821
|
.\!tw-text-muted-foreground {
|
|
2762
2822
|
color: var(--vscode-input-placeholderForeground) !important;
|
|
2763
2823
|
}
|
|
2824
|
+
.tw-text-accent-foreground {
|
|
2825
|
+
color: var(--vscode-list-activeSelectionForeground);
|
|
2826
|
+
}
|
|
2764
2827
|
.tw-text-badge-foreground {
|
|
2765
2828
|
color: var(--vscode-badge-foreground);
|
|
2766
2829
|
}
|
|
@@ -2791,6 +2854,9 @@ imported in Sourcegraph shell.
|
|
|
2791
2854
|
.\!tw-opacity-100 {
|
|
2792
2855
|
opacity: 1 !important;
|
|
2793
2856
|
}
|
|
2857
|
+
.tw-opacity-30 {
|
|
2858
|
+
opacity: 0.3;
|
|
2859
|
+
}
|
|
2794
2860
|
.tw-opacity-60 {
|
|
2795
2861
|
opacity: 0.6;
|
|
2796
2862
|
}
|
|
@@ -3209,7 +3275,10 @@ imported in Sourcegraph shell.
|
|
|
3209
3275
|
background-color: var(--vscode-button-secondaryHoverBackground);
|
|
3210
3276
|
}
|
|
3211
3277
|
.hover\:tw-bg-muted-transparent:hover {
|
|
3212
|
-
background-color: color-mix(in lch, currentColor
|
|
3278
|
+
background-color: color-mix(in lch, currentColor 15%, transparent);
|
|
3279
|
+
}
|
|
3280
|
+
.hover\:tw-bg-transparent:hover {
|
|
3281
|
+
background-color: transparent;
|
|
3213
3282
|
}
|
|
3214
3283
|
.hover\:\!tw-text-accent-foreground:hover {
|
|
3215
3284
|
color: var(--vscode-list-activeSelectionForeground) !important;
|
|
@@ -3269,9 +3338,15 @@ imported in Sourcegraph shell.
|
|
|
3269
3338
|
.disabled\:tw-opacity-75:disabled {
|
|
3270
3339
|
opacity: 0.75;
|
|
3271
3340
|
}
|
|
3341
|
+
.tw-group\/\[cmdk-item\]:hover .group-hover\/\[cmdk-item\]\:tw-visible {
|
|
3342
|
+
visibility: visible;
|
|
3343
|
+
}
|
|
3272
3344
|
.tw-group:hover .group-hover\:tw-opacity-100 {
|
|
3273
3345
|
opacity: 1;
|
|
3274
3346
|
}
|
|
3347
|
+
.tw-group\/\[cmdk-item\][aria-selected="true"] .group-\[\[aria-selected\=\"true\"\]\]\/\[cmdk-item\]\:tw-visible {
|
|
3348
|
+
visibility: visible;
|
|
3349
|
+
}
|
|
3275
3350
|
.aria-selected\:tw-bg-accent[aria-selected="true"] {
|
|
3276
3351
|
background-color: var(--vscode-list-activeSelectionBackground);
|
|
3277
3352
|
}
|
|
@@ -3342,6 +3417,14 @@ body[data-vscode-theme-kind="vscode-high-contrast"] .high-contrast-dark\:tw-bord
|
|
|
3342
3417
|
padding-left: 44px;
|
|
3343
3418
|
}
|
|
3344
3419
|
}
|
|
3420
|
+
@media (min-width: 768px) {
|
|
3421
|
+
.md\:tw-inline {
|
|
3422
|
+
display: inline;
|
|
3423
|
+
}
|
|
3424
|
+
.md\:tw-hidden {
|
|
3425
|
+
display: none;
|
|
3426
|
+
}
|
|
3427
|
+
}
|
|
3345
3428
|
.\[\&\:not\(\:last-child\)\]\:tw-border-b:not(:last-child) {
|
|
3346
3429
|
border-bottom-width: 1px;
|
|
3347
3430
|
}
|
|
@@ -3352,9 +3435,31 @@ body[data-vscode-theme-kind="vscode-high-contrast"] .high-contrast-dark\:tw-bord
|
|
|
3352
3435
|
--tw-rotate: 90deg;
|
|
3353
3436
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
3354
3437
|
}
|
|
3438
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw--mx-2 [cmdk-group-heading] {
|
|
3439
|
+
margin-left: -4px;
|
|
3440
|
+
margin-right: -4px;
|
|
3441
|
+
}
|
|
3442
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw-mb-2 [cmdk-group-heading] {
|
|
3443
|
+
margin-bottom: 4px;
|
|
3444
|
+
}
|
|
3445
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw-flex [cmdk-group-heading] {
|
|
3446
|
+
display: flex;
|
|
3447
|
+
}
|
|
3355
3448
|
.\[\&_\[cmdk-group-heading\]\]\:\!tw-h-\[30px\] [cmdk-group-heading] {
|
|
3356
3449
|
height: 30px !important;
|
|
3357
3450
|
}
|
|
3451
|
+
.\[\&_\[cmdk-group-heading\]\]\:\!tw-min-h-\[30px\] [cmdk-group-heading] {
|
|
3452
|
+
min-height: 30px !important;
|
|
3453
|
+
}
|
|
3454
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw-items-center [cmdk-group-heading] {
|
|
3455
|
+
align-items: center;
|
|
3456
|
+
}
|
|
3457
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw-gap-2 [cmdk-group-heading] {
|
|
3458
|
+
gap: 4px;
|
|
3459
|
+
}
|
|
3460
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw-bg-muted [cmdk-group-heading] {
|
|
3461
|
+
background-color: var(--vscode-input-background);
|
|
3462
|
+
}
|
|
3358
3463
|
.\[\&_\[cmdk-group-heading\]\]\:\!tw-p-3 [cmdk-group-heading] {
|
|
3359
3464
|
padding: 6px !important;
|
|
3360
3465
|
}
|
|
@@ -3362,6 +3467,10 @@ body[data-vscode-theme-kind="vscode-high-contrast"] .high-contrast-dark\:tw-bord
|
|
|
3362
3467
|
padding-left: 4px;
|
|
3363
3468
|
padding-right: 4px;
|
|
3364
3469
|
}
|
|
3470
|
+
.\[\&_\[cmdk-group-heading\]\]\:tw-px-4 [cmdk-group-heading] {
|
|
3471
|
+
padding-left: 8px;
|
|
3472
|
+
padding-right: 8px;
|
|
3473
|
+
}
|
|
3365
3474
|
.\[\&_\[cmdk-group-heading\]\]\:tw-py-1\.5 [cmdk-group-heading] {
|
|
3366
3475
|
padding-top: 3px;
|
|
3367
3476
|
padding-bottom: 3px;
|
|
@@ -3381,6 +3490,15 @@ body[data-vscode-theme-kind="vscode-high-contrast"] .high-contrast-dark\:tw-bord
|
|
|
3381
3490
|
.\[\&_\[cmdk-group-heading\]\]\:tw-text-muted-foreground [cmdk-group-heading] {
|
|
3382
3491
|
color: var(--vscode-input-placeholderForeground);
|
|
3383
3492
|
}
|
|
3493
|
+
.\[\&_\[cmdk-group\]\]\:\!tw-border-0 [cmdk-group] {
|
|
3494
|
+
border-width: 0px !important;
|
|
3495
|
+
}
|
|
3496
|
+
.\[\&_\[cmdk-group\]\]\:tw-pt-0 [cmdk-group] {
|
|
3497
|
+
padding-top: 0px;
|
|
3498
|
+
}
|
|
3499
|
+
.\[\&_\[cmdk-item\]\]\:tw-whitespace-nowrap [cmdk-item] {
|
|
3500
|
+
white-space: nowrap;
|
|
3501
|
+
}
|
|
3384
3502
|
.\[\&_kbd\]\:-tw-mr-1 kbd {
|
|
3385
3503
|
margin-right: -2px;
|
|
3386
3504
|
}
|