@sourcegraph/cody-web 0.32.0 → 0.32.2
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/LICENSE +201 -0
- package/dist/{agent.worker-CDpvFRkI.mjs → agent.worker-BQ1q_FR7.mjs} +99 -199
- package/dist/agent.worker.js +2 -2
- package/dist/demo/App.d.ts +4 -0
- package/dist/demo/App.d.ts.map +1 -0
- package/dist/demo/index.d.ts +2 -0
- package/dist/demo/index.d.ts.map +1 -0
- package/dist/{git-log-ltF6h_Tk.mjs → git-log-DHqBtvQi.mjs} +1 -1
- package/dist/{index-D6x43_Eb.mjs → index-B49HuzD8.mjs} +2 -2
- package/dist/index.js +1167 -994
- package/dist/lib/agent/agent.client.d.ts +19 -0
- package/dist/lib/agent/agent.client.d.ts.map +1 -0
- package/dist/lib/agent/agent.worker.d.ts +2 -0
- package/dist/lib/agent/agent.worker.d.ts.map +1 -0
- package/dist/lib/agent/index-db-storage.d.ts +15 -0
- package/dist/lib/agent/index-db-storage.d.ts.map +1 -0
- package/dist/lib/agent/shims/child_process.d.ts +5 -0
- package/dist/lib/agent/shims/child_process.d.ts.map +1 -0
- package/dist/lib/agent/shims/env-paths.d.ts +2 -0
- package/dist/lib/agent/shims/env-paths.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs-extra.d.ts +3 -0
- package/dist/lib/agent/shims/fs-extra.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs.d.ts +9 -0
- package/dist/lib/agent/shims/fs.d.ts.map +1 -0
- package/dist/lib/agent/shims/fs__promises.d.ts +11 -0
- package/dist/lib/agent/shims/fs__promises.d.ts.map +1 -0
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts +3 -0
- package/dist/lib/agent/shims/inline-completion-item-provider.d.ts.map +1 -0
- package/dist/lib/agent/shims/open.d.ts +3 -0
- package/dist/lib/agent/shims/open.d.ts.map +1 -0
- package/dist/lib/agent/shims/os.d.ts +10 -0
- package/dist/lib/agent/shims/os.d.ts.map +1 -0
- package/dist/lib/agent/shims/stream.d.ts +9 -0
- package/dist/lib/agent/shims/stream.d.ts.map +1 -0
- package/dist/lib/agent/shims/worker_threads.d.ts +3 -0
- package/dist/lib/agent/shims/worker_threads.d.ts.map +1 -0
- package/dist/lib/agent/shims/zlib.d.ts +7 -0
- package/dist/lib/agent/shims/zlib.d.ts.map +1 -0
- package/dist/lib/components/CodyPromptTemplate.d.ts +25 -0
- package/dist/lib/components/CodyPromptTemplate.d.ts.map +1 -0
- package/dist/lib/components/CodyWebChat.d.ts +69 -0
- package/dist/lib/components/CodyWebChat.d.ts.map +1 -0
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts +12 -0
- package/dist/lib/components/skeleton/ChatSkeleton.d.ts.map +1 -0
- package/dist/lib/components/use-cody-agent.d.ts +20 -0
- package/dist/lib/components/use-cody-agent.d.ts.map +1 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/types.d.ts +28 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/style.css +74 -59
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/util-JO1f7DJy.mjs +1811 -0
- package/dist/{vscode-shim-Coc7PRnS.mjs → vscode-shim-CIaiKx3C.mjs} +98 -110
- package/package.json +17 -15
- package/dist/util-PivrZJhX.mjs +0 -2033
package/dist/style.css
CHANGED
|
@@ -454,13 +454,13 @@ img.ProseMirror-separator {
|
|
|
454
454
|
kbd {
|
|
455
455
|
all: unset;
|
|
456
456
|
}
|
|
457
|
-
.
|
|
457
|
+
._wrapper_hscxh_1 {
|
|
458
458
|
display: flex;
|
|
459
459
|
flex-direction: column;
|
|
460
460
|
gap: 8px;
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
._buttons-
|
|
463
|
+
._buttons-container_hscxh_7 {
|
|
464
464
|
display: flex;
|
|
465
465
|
align-items: center;
|
|
466
466
|
justify-content: space-between;
|
|
@@ -470,26 +470,34 @@ kbd {
|
|
|
470
470
|
background: transparent;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
-
._buttons-container-
|
|
473
|
+
._buttons-container-transparent_hscxh_17 {
|
|
474
474
|
border: none;
|
|
475
475
|
padding: 4px 0;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
.
|
|
478
|
+
._leftInfo_hscxh_23 {
|
|
479
479
|
display: flex;
|
|
480
480
|
align-items: center;
|
|
481
481
|
gap: 8px;
|
|
482
482
|
color: var(--vscode-descriptionForeground);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
.
|
|
485
|
+
._stats_hscxh_30 {
|
|
486
486
|
color: var(--vscode-descriptionForeground);
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
.
|
|
489
|
+
._buttons_hscxh_7 {
|
|
490
490
|
display: flex;
|
|
491
|
+
align-items: center;
|
|
492
|
+
width: 100%;
|
|
493
|
+
justify-content: space-between;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
._actionButtons_hscxh_41 {
|
|
497
|
+
display: flex;
|
|
498
|
+
gap: 0.25rem;
|
|
491
499
|
}
|
|
492
|
-
.
|
|
500
|
+
._button_hscxh_7 {
|
|
493
501
|
display: flex;
|
|
494
502
|
align-items: center;
|
|
495
503
|
padding: 3px;
|
|
@@ -500,33 +508,33 @@ kbd {
|
|
|
500
508
|
border-radius: var(--button-icon-corner-radius);
|
|
501
509
|
color: var(--foreground);
|
|
502
510
|
}
|
|
503
|
-
.
|
|
511
|
+
._button_hscxh_7:hover {
|
|
504
512
|
background: var(--button-icon-hover-background);
|
|
505
513
|
outline: 1px dotted var(--contrast-active-border);
|
|
506
514
|
outline-offset: -1px;
|
|
507
515
|
}
|
|
508
|
-
.
|
|
516
|
+
._button_hscxh_7:not(:first-child) {
|
|
509
517
|
margin-left: 0.25rem;
|
|
510
518
|
}
|
|
511
519
|
|
|
512
|
-
.
|
|
520
|
+
._button_hscxh_7 ._icon-container_hscxh_65 {
|
|
513
521
|
margin-right: 0.25rem
|
|
514
522
|
}
|
|
515
523
|
|
|
516
|
-
.
|
|
524
|
+
._addition_hscxh_69 {
|
|
517
525
|
color: #3fb950;
|
|
518
526
|
font-weight: bold;
|
|
519
527
|
}
|
|
520
528
|
|
|
521
|
-
.
|
|
529
|
+
._deletion_hscxh_74 {
|
|
522
530
|
color: #f85149;
|
|
523
531
|
font-weight: bold;
|
|
524
532
|
}
|
|
525
533
|
|
|
526
|
-
._copy-
|
|
527
|
-
._insert-
|
|
528
|
-
._attribution-
|
|
529
|
-
.
|
|
534
|
+
._copy-button_hscxh_79,
|
|
535
|
+
._insert-button_hscxh_80,
|
|
536
|
+
._attribution-icon_hscxh_81,
|
|
537
|
+
._status_hscxh_82 {
|
|
530
538
|
all: unset;
|
|
531
539
|
padding: 3px;
|
|
532
540
|
min-width: 16px; /* Status element needs to be able to expand. */
|
|
@@ -534,60 +542,67 @@ kbd {
|
|
|
534
542
|
background-color: transparent;
|
|
535
543
|
}
|
|
536
544
|
|
|
537
|
-
._copy-
|
|
538
|
-
._insert-
|
|
545
|
+
._copy-button_hscxh_79,
|
|
546
|
+
._insert-button_hscxh_80 {
|
|
539
547
|
cursor: pointer;
|
|
540
548
|
background: var(--button-icon-background);
|
|
541
549
|
border-radius: var(--button-icon-corner-radius);
|
|
542
550
|
color: var(--foreground);
|
|
543
551
|
}
|
|
544
|
-
._copy-
|
|
545
|
-
._insert-
|
|
552
|
+
._copy-button_hscxh_79:hover,
|
|
553
|
+
._insert-button_hscxh_80:hover {
|
|
546
554
|
background: var(--button-icon-hover-background);
|
|
547
555
|
outline: 1px dotted var(--contrast-active-border);
|
|
548
556
|
outline-offset: -1px;
|
|
549
557
|
}
|
|
550
558
|
|
|
551
|
-
.
|
|
559
|
+
._status_hscxh_82 {
|
|
552
560
|
font-size: 12px;
|
|
553
561
|
line-height: 1;
|
|
554
562
|
}
|
|
555
563
|
|
|
556
|
-
._metadata-
|
|
564
|
+
._metadata-container_hscxh_109 {
|
|
557
565
|
display: flex;
|
|
558
566
|
align-items: center;
|
|
559
567
|
margin-left: auto;
|
|
560
568
|
}
|
|
561
569
|
|
|
562
|
-
._metadata-
|
|
570
|
+
._metadata-container_hscxh_109 > :not(:last-child) {
|
|
563
571
|
margin-right: 0.25rem;
|
|
564
572
|
}
|
|
565
573
|
|
|
566
|
-
.
|
|
574
|
+
._fileNameContainer_hscxh_119 {
|
|
575
|
+
font-size: 12px;
|
|
576
|
+
color: var(--vscode-descriptionForeground);
|
|
577
|
+
display: flex;
|
|
578
|
+
align-items: center;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
._attribution-container_hscxh_126 {
|
|
567
582
|
all: unset;
|
|
568
583
|
display: flex;
|
|
569
584
|
margin-left: auto;
|
|
570
585
|
}
|
|
571
586
|
|
|
572
587
|
|
|
573
|
-
._attribution-icon-
|
|
588
|
+
._attribution-icon-unavailable_hscxh_133 {
|
|
574
589
|
color: var(--hl-orange);
|
|
575
590
|
}
|
|
576
591
|
|
|
577
|
-
._attribution-icon-
|
|
592
|
+
._attribution-icon-found_hscxh_137 {
|
|
578
593
|
color: var(--hl-dark-red);
|
|
579
594
|
}
|
|
580
595
|
|
|
581
|
-
.
|
|
596
|
+
._status_hscxh_82 {
|
|
582
597
|
display: flex;
|
|
583
598
|
align-items: center;
|
|
584
599
|
}
|
|
585
600
|
|
|
586
|
-
._codicon-
|
|
587
|
-
animation:
|
|
601
|
+
._codicon-loading_hscxh_146 {
|
|
602
|
+
animation: _spin_hscxh_1 1s linear infinite;
|
|
588
603
|
}
|
|
589
604
|
|
|
590
|
-
@keyframes
|
|
605
|
+
@keyframes _spin_hscxh_1 {
|
|
591
606
|
from { transform: rotate(0deg); }
|
|
592
607
|
to { transform: rotate(360deg); }
|
|
593
608
|
}
|
|
@@ -599,16 +614,16 @@ kbd {
|
|
|
599
614
|
--spacing: 1rem;
|
|
600
615
|
}
|
|
601
616
|
|
|
602
|
-
.
|
|
617
|
+
._content_hscxh_162 {
|
|
603
618
|
word-break: break-word;
|
|
604
619
|
text-wrap: wrap;
|
|
605
620
|
}
|
|
606
621
|
|
|
607
622
|
/* Style @-file tokens to match TranscriptAction context files */
|
|
608
|
-
.
|
|
609
|
-
.
|
|
610
|
-
.
|
|
611
|
-
.
|
|
623
|
+
._content_hscxh_162 a[href^="vscode://file"] em,
|
|
624
|
+
._content_hscxh_162 a[href^="vscode-insiders://file"] em,
|
|
625
|
+
._content_hscxh_162 a[href^="vscodium://file"] em,
|
|
626
|
+
._content_hscxh_162 a[href^="cursor://file"] em
|
|
612
627
|
{
|
|
613
628
|
padding: 1px 2px;
|
|
614
629
|
box-sizing: border-box;
|
|
@@ -618,13 +633,13 @@ kbd {
|
|
|
618
633
|
word-break: break-all;
|
|
619
634
|
}
|
|
620
635
|
|
|
621
|
-
.
|
|
636
|
+
._content_hscxh_162 p {
|
|
622
637
|
word-break: break-word;
|
|
623
638
|
margin-block: 1rem;
|
|
624
639
|
}
|
|
625
640
|
|
|
626
641
|
/* code block styling */
|
|
627
|
-
.
|
|
642
|
+
._content_hscxh_162 pre {
|
|
628
643
|
padding: calc(var(--spacing) * 0.5);
|
|
629
644
|
overflow-x: auto;
|
|
630
645
|
border-bottom: none;
|
|
@@ -633,73 +648,73 @@ kbd {
|
|
|
633
648
|
border: 1px solid var(--vscode-input-background);
|
|
634
649
|
}
|
|
635
650
|
|
|
636
|
-
.
|
|
637
|
-
.
|
|
651
|
+
._content_hscxh_162 code,
|
|
652
|
+
._content_hscxh_162 pre {
|
|
638
653
|
font-family: var(--vscode-editor-font-family);
|
|
639
654
|
font-size: var(--vscode-editor-font-size);
|
|
640
655
|
overflow: auto;
|
|
641
656
|
}
|
|
642
657
|
|
|
643
|
-
.
|
|
644
|
-
.
|
|
658
|
+
._content_hscxh_162 pre,
|
|
659
|
+
._content_hscxh_162 pre > code {
|
|
645
660
|
/* Our syntax highlighter emits colors intended for dark backgrounds only. */
|
|
646
661
|
background-color: var(--code-background);
|
|
647
662
|
color: var(--code-foreground);
|
|
648
663
|
margin-bottom: 0;
|
|
649
664
|
}
|
|
650
|
-
body[data-vscode-theme-kind='vscode-light'] .
|
|
651
|
-
body[data-vscode-theme-kind='vscode-light'] .
|
|
665
|
+
body[data-vscode-theme-kind='vscode-light'] ._content_hscxh_162 pre,
|
|
666
|
+
body[data-vscode-theme-kind='vscode-light'] ._content_hscxh_162 pre > code {
|
|
652
667
|
/* Our syntax highlighter emits colors intended for dark backgrounds only. */
|
|
653
668
|
background-color: var(--code-background);
|
|
654
669
|
color: var(--code-foreground);
|
|
655
670
|
}
|
|
656
671
|
|
|
657
|
-
.
|
|
658
|
-
.
|
|
659
|
-
.
|
|
660
|
-
.
|
|
661
|
-
.
|
|
662
|
-
.
|
|
672
|
+
._content_hscxh_162 h1,
|
|
673
|
+
._content_hscxh_162 h2,
|
|
674
|
+
._content_hscxh_162 h3,
|
|
675
|
+
._content_hscxh_162 h4,
|
|
676
|
+
._content_hscxh_162 h5,
|
|
677
|
+
._content_hscxh_162 h6 {
|
|
663
678
|
margin: 1.2em 0;
|
|
664
679
|
}
|
|
665
680
|
|
|
666
|
-
.
|
|
681
|
+
._content_hscxh_162 h1 {
|
|
667
682
|
font-size: 1.15em;
|
|
668
683
|
font-weight: 700;
|
|
669
684
|
}
|
|
670
685
|
|
|
671
|
-
.
|
|
686
|
+
._content_hscxh_162 h2 {
|
|
672
687
|
font-size: 1.1em;
|
|
673
688
|
font-weight: 700;
|
|
674
689
|
}
|
|
675
690
|
|
|
676
|
-
.
|
|
691
|
+
._content_hscxh_162 h3 {
|
|
677
692
|
font-size: inherit;
|
|
678
693
|
font-weight: 700;
|
|
679
694
|
}
|
|
680
695
|
|
|
681
|
-
.
|
|
682
|
-
.
|
|
683
|
-
.
|
|
696
|
+
._content_hscxh_162 h4,
|
|
697
|
+
._content_hscxh_162 h5,
|
|
698
|
+
._content_hscxh_162 h6 {
|
|
684
699
|
font-size: inherit;
|
|
685
700
|
font-weight: 600;
|
|
686
701
|
}
|
|
687
702
|
|
|
688
|
-
.
|
|
703
|
+
._content_hscxh_162 > *:first-child {
|
|
689
704
|
margin-top: 0;
|
|
690
705
|
}
|
|
691
706
|
|
|
692
|
-
.
|
|
707
|
+
._content_hscxh_162 > *:last-child {
|
|
693
708
|
margin-bottom: 0;
|
|
694
709
|
}
|
|
695
710
|
|
|
696
|
-
.
|
|
711
|
+
._content_hscxh_162 ul, ._content_hscxh_162 ol {
|
|
697
712
|
margin-block: 1rem;
|
|
698
713
|
padding-inline-start: 2rem;
|
|
699
714
|
list-style: revert;
|
|
700
715
|
}
|
|
701
716
|
|
|
702
|
-
._file-name-
|
|
717
|
+
._file-name-container_hscxh_262 {
|
|
703
718
|
color: var(--vscode-descriptionForeground);
|
|
704
719
|
margin-left: auto;
|
|
705
720
|
}
|