@sourcegraph/cody-web 0.11.0 → 0.13.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/{agent.worker-DCppPL5H.mjs → agent.worker-tqkv38cx.mjs} +3571 -2520
- package/dist/agent.worker.js +2 -2
- package/dist/{browser-DYM0xYW7.mjs → browser-C59ckcSt.mjs} +15359 -8783
- package/dist/{git-log-2CCyb12r.mjs → git-log-D7tTcqas.mjs} +2 -2
- package/dist/{index-C0Q-ALpC.mjs → index-BSvnyoZl.mjs} +2 -2
- package/dist/index.js +12911 -28675
- package/dist/lib/agent/agent.client.d.ts +1 -2
- package/dist/lib/agent/agent.client.d.ts.map +1 -1
- package/dist/lib/agent/shims/http.d.ts +2 -0
- package/dist/lib/agent/shims/http.d.ts.map +1 -0
- package/dist/lib/agent/shims/worker_threads.d.ts +3 -1
- package/dist/lib/agent/shims/worker_threads.d.ts.map +1 -1
- package/dist/lib/components/CodyWebChat.d.ts +1 -2
- package/dist/lib/components/CodyWebChat.d.ts.map +1 -1
- package/dist/lib/components/use-cody-agent.d.ts.map +1 -1
- package/dist/lib/types.d.ts +8 -1
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/style.css +233 -201
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -9,12 +9,11 @@ interface AgentClientOptions {
|
|
|
9
9
|
serverEndpoint: string;
|
|
10
10
|
accessToken: string;
|
|
11
11
|
createAgentWorker: () => Worker;
|
|
12
|
-
workspaceRootUri: string;
|
|
13
12
|
telemetryClientName?: string;
|
|
14
13
|
customHeaders?: Record<string, string>;
|
|
15
14
|
debug?: boolean;
|
|
16
15
|
trace?: boolean;
|
|
17
16
|
}
|
|
18
|
-
export declare function createAgentClient({ serverEndpoint, accessToken, createAgentWorker,
|
|
17
|
+
export declare function createAgentClient({ serverEndpoint, accessToken, createAgentWorker, customHeaders, telemetryClientName, debug, trace, }: AgentClientOptions): Promise<AgentClient>;
|
|
19
18
|
export {};
|
|
20
19
|
//# sourceMappingURL=agent.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.client.d.ts","sourceRoot":"","sources":["../../../lib/agent/agent.client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAChF,OAAO,EAGH,KAAK,iBAAiB,EAGzB,MAAM,wBAAwB,CAAA;AAG/B,UAAU,WAAW;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,GAAG,EAAE,iBAAiB,CAAA;IACtB,OAAO,IAAI,IAAI,CAAA;CAClB;AAED,UAAU,kBAAkB;IACxB,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,
|
|
1
|
+
{"version":3,"file":"agent.client.d.ts","sourceRoot":"","sources":["../../../lib/agent/agent.client.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAChF,OAAO,EAGH,KAAK,iBAAiB,EAGzB,MAAM,wBAAwB,CAAA;AAG/B,UAAU,WAAW;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,GAAG,EAAE,iBAAiB,CAAA;IACtB,OAAO,IAAI,IAAI,CAAA;CAClB;AAED,UAAU,kBAAkB;IACxB,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAsB,iBAAiB,CAAC,EACpC,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,KAAY,EACZ,KAAa,GAChB,EAAE,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,CAoE3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/http.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,cAAc,OAAO,CAElC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker_threads.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/worker_threads.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"worker_threads.d.ts","sourceRoot":"","sources":["../../../../lib/agent/shims/worker_threads.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import type { InitialContext } from '../types';
|
|
2
|
+
import type { CodyExternalApi, InitialContext } from '../types';
|
|
4
3
|
import '../global-styles/styles.css';
|
|
5
4
|
export interface CodyWebChatProps {
|
|
6
5
|
serverEndpoint: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodyWebChat.d.ts","sourceRoot":"","sources":["../../../lib/components/CodyWebChat.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,iBAAiB,EAAsC,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"CodyWebChat.d.ts","sourceRoot":"","sources":["../../../lib/components/CodyWebChat.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,iBAAiB,EAAsC,MAAM,OAAO,CAAA;AA0B3F,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAK/D,OAAO,6BAA6B,CAAA;AAYpC,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAA;CACtD;AACD;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAuC3D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-cody-agent.d.ts","sourceRoot":"","sources":["../../../lib/components/use-cody-agent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,kCAAkC,CAAA;AAWvF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAG/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAa9C,UAAU,WAAW;IACjB,GAAG,EAAE,iBAAiB,CAAA;IACtB,OAAO,IAAI,IAAI,CAAA;CAClB;AAED,UAAU,oBAAoB;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,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,UAAU,qBAAqB;IAC3B,MAAM,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI,CAAA;IAClC,SAAS,EAAE,aAAa,GAAG,IAAI,CAAA;CAClC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,qBAAqB,
|
|
1
|
+
{"version":3,"file":"use-cody-agent.d.ts","sourceRoot":"","sources":["../../../lib/components/use-cody-agent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoB,MAAM,kCAAkC,CAAA;AAWvF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAG/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAa9C,UAAU,WAAW;IACjB,GAAG,EAAE,iBAAiB,CAAA;IACtB,OAAO,IAAI,IAAI,CAAA;CAClB;AAED,UAAU,oBAAoB;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EAAE,MAAM,MAAM,CAAA;IAC/B,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,UAAU,qBAAqB;IAC3B,MAAM,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI,CAAA;IAClC,SAAS,EAAE,aAAa,GAAG,IAAI,CAAA;CAClC;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,GAAG,qBAAqB,CA0DlF"}
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface ExternalPrompt {
|
|
2
|
+
text: string;
|
|
3
|
+
autoSubmit: boolean;
|
|
4
|
+
mode?: 'search' | 'chat' | 'edit' | 'insert';
|
|
5
|
+
}
|
|
6
|
+
export interface CodyExternalApi {
|
|
7
|
+
runPrompt: (action: ExternalPrompt) => Promise<void>;
|
|
8
|
+
}
|
|
2
9
|
export interface Repository {
|
|
3
10
|
id: string;
|
|
4
11
|
name: string;
|
package/dist/lib/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CAC/C;AAED,MAAM,WAAW,eAAe;IAC5B,SAAS,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACvD;AAED,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,SAAS,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CAC3D,CAAA"}
|
package/dist/style.css
CHANGED
|
@@ -978,29 +978,36 @@ body[data-vscode-theme-kind='vscode-light'] ._content_1kf9a_116 pre > code {
|
|
|
978
978
|
align-items: center;
|
|
979
979
|
gap: calc(var(--spacing) / 4);
|
|
980
980
|
}
|
|
981
|
-
._context-
|
|
981
|
+
._context-item_id10a_1 {
|
|
982
982
|
display: inline-flex;
|
|
983
983
|
padding: 2px 4px 2px 2px;
|
|
984
984
|
}
|
|
985
985
|
|
|
986
|
-
._context-item-
|
|
986
|
+
._context-item-metadata_id10a_6 {
|
|
987
987
|
color: var(--vscode-disabledForeground);
|
|
988
988
|
padding-left: 0.1rem;
|
|
989
989
|
text-wrap: nowrap;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
-
._context-item-edit-
|
|
993
|
-
display: flex;
|
|
992
|
+
._context-item-edit-button_id10a_12 {
|
|
993
|
+
/* display: flex; */
|
|
994
|
+
display: none;
|
|
994
995
|
align-items: center;
|
|
995
996
|
|
|
996
997
|
flex-wrap: nowrap;
|
|
997
998
|
|
|
998
999
|
}
|
|
999
1000
|
|
|
1000
|
-
._context-item-edit-button-
|
|
1001
|
+
._context-item-edit-button-icon_id10a_21 {
|
|
1001
1002
|
height: 20%;
|
|
1002
1003
|
margin-right: 0.5rem;
|
|
1003
1004
|
}
|
|
1005
|
+
|
|
1006
|
+
._context-suggested-actions_id10a_26 {
|
|
1007
|
+
display: flex;
|
|
1008
|
+
flex-wrap: wrap;
|
|
1009
|
+
gap: 0.25rem;
|
|
1010
|
+
}
|
|
1004
1011
|
._user-avatar_1ll2x_1 {
|
|
1005
1012
|
isolation: isolate;
|
|
1006
1013
|
display: inline-flex;
|
|
@@ -1020,214 +1027,46 @@ body[data-vscode-theme-kind='vscode-light'] ._content_1kf9a_116 pre > code {
|
|
|
1020
1027
|
background-clip: padding-box;
|
|
1021
1028
|
background-image: linear-gradient(180deg, #00CBEC 0%, #A112FF 50%, #FF5543 100%);
|
|
1022
1029
|
}
|
|
1023
|
-
:root {
|
|
1024
|
-
--human-message-editor-gap: 0;
|
|
1025
|
-
--human-message-editor-cell-spacing-bottom: 6px;
|
|
1026
|
-
}
|
|
1027
1030
|
|
|
1028
|
-
.
|
|
1029
|
-
display: flex;
|
|
1030
|
-
flex-direction: column;
|
|
1031
|
-
gap: var(--human-message-editor-gap);
|
|
1032
|
-
border-radius: 4px;
|
|
1033
|
-
background-color: color-mix(in srgb, var(--vscode-input-background) 50%, transparent);
|
|
1034
|
-
color: var(--vscode-input-foreground);
|
|
1035
|
-
outline: solid 1px var(--vscode-input-border);
|
|
1036
|
-
outline-offset: -1px;
|
|
1037
|
-
cursor: text;
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
._container_1eiqs_6 ._editor_1eiqs_17 {
|
|
1041
|
-
scrollbar-gutter: stable;
|
|
1042
|
-
padding: var(--prompt-editor-padding-y) var(--prompt-editor-padding-x);
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
._toolbar_1eiqs_23 {
|
|
1046
|
-
padding: calc(0.75*var(--prompt-editor-padding-y)) var(--prompt-editor-padding-x);
|
|
1047
|
-
overflow: hidden;
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
._container_1eiqs_6:not(._focused_1eiqs_28, [data-keep-toolbar-open]) ._editor-content-editable_1eiqs_30 {
|
|
1051
|
-
min-height: 1lh;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
._container_1eiqs_6:not(._focused_1eiqs_28, [data-keep-toolbar-open]) ._toolbar_1eiqs_23 {
|
|
1055
|
-
height: 0;
|
|
1056
|
-
opacity: 0;
|
|
1057
|
-
margin-top: 0;
|
|
1058
|
-
pointer-events: none;
|
|
1059
|
-
padding: 0;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
._container_1eiqs_6:hover, ._container_1eiqs_6:has(:focus-within, menu>button:focus) {
|
|
1063
|
-
background-color: var(--vscode-input-background);
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
/* Show focus ring when the input is focused or a toolbar button within the input container is
|
|
1067
|
-
focused, but NOT if something in a toolbar button's popover is focused. */
|
|
1068
|
-
._container_1eiqs_6:has([data-lexical-editor='true']:focus-within, menu>button:focus) {
|
|
1069
|
-
outline-color: var(--vscode-focusBorder);
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
._editor-content-editable_1eiqs_30 {
|
|
1073
|
-
min-height: 3lh;
|
|
1074
|
-
}
|
|
1075
|
-
:root {
|
|
1076
|
-
--toolbar-button-font-size: 12px;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
._button_rqosg_5, ._button_rqosg_5 + aside {
|
|
1080
|
-
/* Also style our popovers. */
|
|
1081
|
-
font-size: var(--toolbar-button-font-size);
|
|
1082
|
-
line-height: var(--toolbar-button-font-size);
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
._button_rqosg_5 {
|
|
1086
|
-
|
|
1087
|
-
user-select: none;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
._button_rqosg_5:enabled {
|
|
1091
|
-
cursor: pointer;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
._button_rqosg_5 {
|
|
1095
|
-
|
|
1096
|
-
border-radius: 3px;
|
|
1097
|
-
--padding-y: 2px;
|
|
1098
|
-
--padding-x: 3px;
|
|
1099
|
-
padding: var(--padding-y) var(--padding-x);
|
|
1100
|
-
|
|
1101
|
-
--icon-size: 16px;
|
|
1102
|
-
|
|
1103
|
-
--gap: 2px;
|
|
1104
|
-
gap: var(--gap);
|
|
1105
|
-
|
|
1106
|
-
flex-shrink: 0;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
._button_rqosg_5 > svg {
|
|
1110
|
-
flex-shrink: 0;
|
|
1111
|
-
width: var(--icon-size);
|
|
1112
|
-
height: var(--icon-size);
|
|
1113
|
-
stroke-width: 1.5px;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
._button--icon-end-chevron_rqosg_37 > svg:last-child {
|
|
1117
|
-
margin-left: calc(-1*var(--gap));
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
._button--primary_rqosg_41 {
|
|
1121
|
-
color: var(--vscode-button-foreground);
|
|
1122
|
-
background-color: var(--vscode-button-background);
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
._button--primary_rqosg_41._button--no-icon-start_rqosg_45 {
|
|
1126
|
-
padding-left: calc(2*var(--padding-x));
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
._button--primary_rqosg_41._button--no-icon-end_rqosg_49 {
|
|
1130
|
-
padding-right: calc(2*var(--padding-x));
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
._button--secondary_rqosg_54 {
|
|
1134
|
-
opacity: 0.6;
|
|
1135
|
-
color: var(--vscode-input-foreground);
|
|
1136
|
-
background-color: unset;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
._button--secondary_rqosg_54:enabled:is(:hover, :focus-within) {
|
|
1140
|
-
opacity: 1;
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
._button_rqosg_5:disabled {
|
|
1144
|
-
opacity: 0.5;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
._button_rqosg_5:disabled._button--secondary_rqosg_54 {
|
|
1148
|
-
opacity: 0.7;
|
|
1149
|
-
}
|
|
1150
|
-
._model-title-with-icon_1bw6t_1 {
|
|
1151
|
-
flex: 1;
|
|
1152
|
-
display: flex;
|
|
1153
|
-
align-items: center;
|
|
1154
|
-
gap: 0.375rem;
|
|
1155
|
-
line-height: 16px;
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
._model-title-with-icon_1bw6t_1:is(a) {
|
|
1159
|
-
outline: none !important;
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
._model-title-with-icon_1bw6t_1 ._model-name_1bw6t_13 {
|
|
1163
|
-
font-weight: 500;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
._model-title-with-icon_1bw6t_1 ._model-provider_1bw6t_17 {
|
|
1167
|
-
margin-left: 0.25rem;
|
|
1168
|
-
opacity: 0.65;
|
|
1169
|
-
font-size: 85%;
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
._model-title-with-icon_1bw6t_1._disabled_1bw6t_23 {
|
|
1173
|
-
opacity: 0.5;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
._model-title-with-icon_1bw6t_1 ._model-icon_1bw6t_27 {
|
|
1177
|
-
opacity: 0.5;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
._right-icon_1bw6t_31 {
|
|
1181
|
-
margin-left: auto;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
._badge_1bw6t_35 {
|
|
1185
|
-
margin-left: auto;
|
|
1186
|
-
line-height: 16px;
|
|
1187
|
-
font-size: 11px;
|
|
1188
|
-
border-radius: 2px;
|
|
1189
|
-
padding: 0 5px;
|
|
1190
|
-
border: 1px solid var(--vscode-contrastBorder);
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
button > ._model-title-with-icon_1bw6t_1 ._model-name_1bw6t_13 {
|
|
1194
|
-
font-weight: normal;
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
button > ._model-title-with-icon_1bw6t_1 ._model-icon_1bw6t_27,
|
|
1198
|
-
button > ._model-title-with-icon_1bw6t_1 ._model-provider_1bw6t_17,
|
|
1199
|
-
button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
|
|
1200
|
-
display: none;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
._item_105bl_2 {
|
|
1031
|
+
._item_1mbcc_2 {
|
|
1204
1032
|
display: flex;
|
|
1205
1033
|
gap: 0.5rem;
|
|
1206
1034
|
}
|
|
1207
1035
|
|
|
1208
|
-
._item--
|
|
1036
|
+
._item--indicator_1mbcc_13 {
|
|
1209
1037
|
display: none !important;
|
|
1210
1038
|
margin-left: auto;
|
|
1211
1039
|
align-self: flex-start;
|
|
1212
1040
|
}
|
|
1213
1041
|
|
|
1214
|
-
.
|
|
1042
|
+
._item_1mbcc_2[data-selected="true"] ._item--indicator_1mbcc_13 {
|
|
1215
1043
|
display: block !important;
|
|
1216
1044
|
color: inherit;
|
|
1217
1045
|
}
|
|
1218
1046
|
|
|
1219
|
-
.
|
|
1047
|
+
._item_1mbcc_2[data-selected="true"] ._prompt--avatar_1mbcc_18, ._item_1mbcc_2[data-selected="true"] ._prompt--description_1mbcc_18, ._item_1mbcc_2[data-selected="true"] ._prompt--icon_1mbcc_18 {
|
|
1220
1048
|
color: inherit;
|
|
1221
1049
|
}
|
|
1222
1050
|
|
|
1223
|
-
.
|
|
1051
|
+
._item_1mbcc_2[data-disabled="true"] {
|
|
1052
|
+
/*
|
|
1053
|
+
In order to override internal cmdk styles for disabled item.
|
|
1054
|
+
We need to have events over element to have a tooltip over the
|
|
1055
|
+
element on hover/focus.
|
|
1056
|
+
*/
|
|
1057
|
+
pointer-events: auto !important;
|
|
1058
|
+
background-color: transparent;
|
|
1059
|
+
cursor: not-allowed;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
._prompt_1mbcc_18 {
|
|
1224
1063
|
display: flex;
|
|
1225
1064
|
gap: 0.5rem;
|
|
1226
1065
|
align-items: center;
|
|
1227
1066
|
min-width: 0;
|
|
1228
1067
|
}
|
|
1229
1068
|
|
|
1230
|
-
._prompt--
|
|
1069
|
+
._prompt--avatar_1mbcc_18 {
|
|
1231
1070
|
flex-shrink: 0;
|
|
1232
1071
|
width: 22px;
|
|
1233
1072
|
height: 22px;
|
|
@@ -1236,31 +1075,31 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
|
|
|
1236
1075
|
justify-content: center;
|
|
1237
1076
|
}
|
|
1238
1077
|
|
|
1239
|
-
._prompt--
|
|
1078
|
+
._prompt--icon_1mbcc_18 {
|
|
1240
1079
|
color: var(--vscode-input-placeholderForeground);
|
|
1241
1080
|
}
|
|
1242
1081
|
|
|
1243
|
-
._prompt--
|
|
1082
|
+
._prompt--content_1mbcc_1 {
|
|
1244
1083
|
min-width: 0;
|
|
1245
1084
|
display: flex;
|
|
1246
1085
|
flex-direction: column;
|
|
1247
1086
|
}
|
|
1248
1087
|
|
|
1249
|
-
._prompt--
|
|
1088
|
+
._prompt--title_1mbcc_1 {
|
|
1250
1089
|
min-width: 0;
|
|
1251
1090
|
display: flex;
|
|
1252
1091
|
gap: 0.25rem;
|
|
1253
1092
|
align-items: center;
|
|
1254
1093
|
}
|
|
1255
1094
|
|
|
1256
|
-
._prompt--
|
|
1095
|
+
._prompt--name_1mbcc_1 {
|
|
1257
1096
|
white-space: nowrap;
|
|
1258
1097
|
overflow: hidden;
|
|
1259
1098
|
text-overflow: ellipsis;
|
|
1260
1099
|
font-weight: 500;
|
|
1261
1100
|
}
|
|
1262
1101
|
|
|
1263
|
-
._prompt--
|
|
1102
|
+
._prompt--description_1mbcc_18 {
|
|
1264
1103
|
color: var(--vscode-input-placeholderForeground);
|
|
1265
1104
|
white-space: nowrap;
|
|
1266
1105
|
overflow: hidden;
|
|
@@ -1411,6 +1250,189 @@ button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
|
|
|
1411
1250
|
._prompt-migration-widget_lclhy_11 {
|
|
1412
1251
|
margin: 1rem 1rem -0.75rem 1rem;
|
|
1413
1252
|
}
|
|
1253
|
+
:root {
|
|
1254
|
+
--human-message-editor-gap: 0;
|
|
1255
|
+
--human-message-editor-cell-spacing-bottom: 6px;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
._container_1eiqs_6 {
|
|
1259
|
+
display: flex;
|
|
1260
|
+
flex-direction: column;
|
|
1261
|
+
gap: var(--human-message-editor-gap);
|
|
1262
|
+
border-radius: 4px;
|
|
1263
|
+
background-color: color-mix(in srgb, var(--vscode-input-background) 50%, transparent);
|
|
1264
|
+
color: var(--vscode-input-foreground);
|
|
1265
|
+
outline: solid 1px var(--vscode-input-border);
|
|
1266
|
+
outline-offset: -1px;
|
|
1267
|
+
cursor: text;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
._container_1eiqs_6 ._editor_1eiqs_17 {
|
|
1271
|
+
scrollbar-gutter: stable;
|
|
1272
|
+
padding: var(--prompt-editor-padding-y) var(--prompt-editor-padding-x);
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
._toolbar_1eiqs_23 {
|
|
1276
|
+
padding: calc(0.75*var(--prompt-editor-padding-y)) var(--prompt-editor-padding-x);
|
|
1277
|
+
overflow: hidden;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
._container_1eiqs_6:not(._focused_1eiqs_28, [data-keep-toolbar-open]) ._editor-content-editable_1eiqs_30 {
|
|
1281
|
+
min-height: 1lh;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
._container_1eiqs_6:not(._focused_1eiqs_28, [data-keep-toolbar-open]) ._toolbar_1eiqs_23 {
|
|
1285
|
+
height: 0;
|
|
1286
|
+
opacity: 0;
|
|
1287
|
+
margin-top: 0;
|
|
1288
|
+
pointer-events: none;
|
|
1289
|
+
padding: 0;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
._container_1eiqs_6:hover, ._container_1eiqs_6:has(:focus-within, menu>button:focus) {
|
|
1293
|
+
background-color: var(--vscode-input-background);
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/* Show focus ring when the input is focused or a toolbar button within the input container is
|
|
1297
|
+
focused, but NOT if something in a toolbar button's popover is focused. */
|
|
1298
|
+
._container_1eiqs_6:has([data-lexical-editor='true']:focus-within, menu>button:focus) {
|
|
1299
|
+
outline-color: var(--vscode-focusBorder);
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
._editor-content-editable_1eiqs_30 {
|
|
1303
|
+
min-height: 3lh;
|
|
1304
|
+
}
|
|
1305
|
+
:root {
|
|
1306
|
+
--toolbar-button-font-size: 12px;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
._button_1wufw_5, ._button_1wufw_5 + aside {
|
|
1310
|
+
/* Also style our popovers. */
|
|
1311
|
+
font-size: var(--toolbar-button-font-size);
|
|
1312
|
+
line-height: var(--toolbar-button-font-size);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
._button_1wufw_5 {
|
|
1316
|
+
|
|
1317
|
+
user-select: none;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
._button_1wufw_5:enabled {
|
|
1321
|
+
cursor: pointer;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
._button_1wufw_5 {
|
|
1325
|
+
|
|
1326
|
+
border-radius: 3px;
|
|
1327
|
+
--padding-y: 2px;
|
|
1328
|
+
--padding-x: 3px;
|
|
1329
|
+
padding: var(--padding-y) var(--padding-x);
|
|
1330
|
+
|
|
1331
|
+
--icon-size: 16px;
|
|
1332
|
+
|
|
1333
|
+
--gap: 2px;
|
|
1334
|
+
gap: var(--gap);
|
|
1335
|
+
|
|
1336
|
+
flex-shrink: 0;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
._button_1wufw_5 > svg {
|
|
1340
|
+
flex-shrink: 0;
|
|
1341
|
+
width: var(--icon-size);
|
|
1342
|
+
height: var(--icon-size);
|
|
1343
|
+
stroke-width: 1.5px;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
._button--icon-end-chevron_1wufw_37 > svg:last-child {
|
|
1347
|
+
margin-left: calc(-1*var(--gap));
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
._button--small-icon_1wufw_41 > svg {
|
|
1351
|
+
height: 1.25em;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
._button--primary_1wufw_47 {
|
|
1355
|
+
color: var(--vscode-button-foreground);
|
|
1356
|
+
background-color: var(--vscode-button-background);
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
._button--primary_1wufw_47._button--no-icon-start_1wufw_51 {
|
|
1360
|
+
padding-left: calc(2*var(--padding-x));
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
._button--primary_1wufw_47._button--no-icon-end_1wufw_55 {
|
|
1364
|
+
padding-right: calc(2*var(--padding-x));
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
._button--secondary_1wufw_60 {
|
|
1368
|
+
opacity: 0.6;
|
|
1369
|
+
color: var(--vscode-input-foreground);
|
|
1370
|
+
background-color: unset;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
._button--secondary_1wufw_60:enabled:is(:hover, :focus-within) {
|
|
1374
|
+
opacity: 1;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
._button_1wufw_5:disabled {
|
|
1378
|
+
opacity: 0.5;
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
._button_1wufw_5:disabled._button--secondary_1wufw_60 {
|
|
1382
|
+
opacity: 0.7;
|
|
1383
|
+
}
|
|
1384
|
+
._model-title-with-icon_1bw6t_1 {
|
|
1385
|
+
flex: 1;
|
|
1386
|
+
display: flex;
|
|
1387
|
+
align-items: center;
|
|
1388
|
+
gap: 0.375rem;
|
|
1389
|
+
line-height: 16px;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
._model-title-with-icon_1bw6t_1:is(a) {
|
|
1393
|
+
outline: none !important;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
._model-title-with-icon_1bw6t_1 ._model-name_1bw6t_13 {
|
|
1397
|
+
font-weight: 500;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
._model-title-with-icon_1bw6t_1 ._model-provider_1bw6t_17 {
|
|
1401
|
+
margin-left: 0.25rem;
|
|
1402
|
+
opacity: 0.65;
|
|
1403
|
+
font-size: 85%;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
._model-title-with-icon_1bw6t_1._disabled_1bw6t_23 {
|
|
1407
|
+
opacity: 0.5;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
._model-title-with-icon_1bw6t_1 ._model-icon_1bw6t_27 {
|
|
1411
|
+
opacity: 0.5;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
._right-icon_1bw6t_31 {
|
|
1415
|
+
margin-left: auto;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
._badge_1bw6t_35 {
|
|
1419
|
+
margin-left: auto;
|
|
1420
|
+
line-height: 16px;
|
|
1421
|
+
font-size: 11px;
|
|
1422
|
+
border-radius: 2px;
|
|
1423
|
+
padding: 0 5px;
|
|
1424
|
+
border: 1px solid var(--vscode-contrastBorder);
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
button > ._model-title-with-icon_1bw6t_1 ._model-name_1bw6t_13 {
|
|
1428
|
+
font-weight: normal;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
button > ._model-title-with-icon_1bw6t_1 ._model-icon_1bw6t_27,
|
|
1432
|
+
button > ._model-title-with-icon_1bw6t_1 ._model-provider_1bw6t_17,
|
|
1433
|
+
button > ._model-title-with-icon_1bw6t_1 ._badge_1bw6t_35 {
|
|
1434
|
+
display: none;
|
|
1435
|
+
}
|
|
1414
1436
|
:root {
|
|
1415
1437
|
--vscode-overlay-background: rgb(0 0 0 / 50%);
|
|
1416
1438
|
--vscode-modal-background: var(--vscode-sideBar-background);
|
|
@@ -2209,6 +2231,9 @@ imported in Sourcegraph shell.
|
|
|
2209
2231
|
.tw-bottom-0 {
|
|
2210
2232
|
bottom: 0px;
|
|
2211
2233
|
}
|
|
2234
|
+
.tw-left-1\/2 {
|
|
2235
|
+
left: 50%;
|
|
2236
|
+
}
|
|
2212
2237
|
.tw-left-\[0px\] {
|
|
2213
2238
|
left: 0px;
|
|
2214
2239
|
}
|
|
@@ -2245,12 +2270,6 @@ imported in Sourcegraph shell.
|
|
|
2245
2270
|
margin-top: 8px;
|
|
2246
2271
|
margin-bottom: 8px;
|
|
2247
2272
|
}
|
|
2248
|
-
.-tw-mr-2 {
|
|
2249
|
-
margin-right: -4px;
|
|
2250
|
-
}
|
|
2251
|
-
.-tw-mr-6 {
|
|
2252
|
-
margin-right: -12px;
|
|
2253
|
-
}
|
|
2254
2273
|
.tw-mb-0 {
|
|
2255
2274
|
margin-bottom: 0px;
|
|
2256
2275
|
}
|
|
@@ -2420,6 +2439,9 @@ imported in Sourcegraph shell.
|
|
|
2420
2439
|
.tw-w-\[unset\] {
|
|
2421
2440
|
width: unset;
|
|
2422
2441
|
}
|
|
2442
|
+
.tw-w-fit {
|
|
2443
|
+
width: fit-content;
|
|
2444
|
+
}
|
|
2423
2445
|
.tw-w-full {
|
|
2424
2446
|
width: 100%;
|
|
2425
2447
|
}
|
|
@@ -2475,6 +2497,10 @@ imported in Sourcegraph shell.
|
|
|
2475
2497
|
--tw-translate-y: -.2em;
|
|
2476
2498
|
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));
|
|
2477
2499
|
}
|
|
2500
|
+
.tw--translate-x-1\/2 {
|
|
2501
|
+
--tw-translate-x: -50%;
|
|
2502
|
+
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));
|
|
2503
|
+
}
|
|
2478
2504
|
.tw-translate-x-\[1px\] {
|
|
2479
2505
|
--tw-translate-x: 1px;
|
|
2480
2506
|
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));
|
|
@@ -2548,6 +2574,12 @@ imported in Sourcegraph shell.
|
|
|
2548
2574
|
.\!tw-gap-2 {
|
|
2549
2575
|
gap: 4px !important;
|
|
2550
2576
|
}
|
|
2577
|
+
.tw-gap-0 {
|
|
2578
|
+
gap: 0px;
|
|
2579
|
+
}
|
|
2580
|
+
.tw-gap-0\.5 {
|
|
2581
|
+
gap: 0.125rem;
|
|
2582
|
+
}
|
|
2551
2583
|
.tw-gap-1 {
|
|
2552
2584
|
gap: 2px;
|
|
2553
2585
|
}
|