bunnyquery 1.9.0 → 1.9.4
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/bunnyquery.css +33 -0
- package/bunnyquery.js +353 -44
- package/dist/engine.cjs +127 -30
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.mts +96 -3
- package/dist/engine.d.ts +96 -3
- package/dist/engine.mjs +127 -31
- package/dist/engine.mjs.map +1 -1
- package/package.json +1 -1
- package/src/engine/host.ts +29 -0
- package/src/engine/indexing_groups.ts +88 -12
- package/src/engine/prompts/chat_system_prompt.ts +20 -1
- package/src/engine/prompts/index.ts +1 -0
- package/src/engine/prompts/indexing_system_prompt.ts +13 -1
- package/src/engine/prompts/indexing_user_message.ts +29 -2
- package/src/engine/requests.ts +57 -6
- package/src/engine/session.ts +36 -3
- package/src/widget.css +33 -0
package/bunnyquery.css
CHANGED
|
@@ -1018,6 +1018,39 @@
|
|
|
1018
1018
|
}
|
|
1019
1019
|
.bq-overwrite-applyall input { cursor: pointer; margin: 0; }
|
|
1020
1020
|
|
|
1021
|
+
/* Access-group chooser (who may read a file once it is indexed). A radio list
|
|
1022
|
+
rather than a row of buttons: the three answers are not equally weighted and
|
|
1023
|
+
the hint under each is what actually distinguishes them. */
|
|
1024
|
+
.bq-access-options {
|
|
1025
|
+
display: flex;
|
|
1026
|
+
flex-direction: column;
|
|
1027
|
+
gap: 0.15rem;
|
|
1028
|
+
margin: 0 0 1rem;
|
|
1029
|
+
}
|
|
1030
|
+
.bq-access-option {
|
|
1031
|
+
display: grid;
|
|
1032
|
+
grid-template-columns: auto 1fr;
|
|
1033
|
+
align-items: baseline;
|
|
1034
|
+
column-gap: 0.5rem;
|
|
1035
|
+
padding: 0.5rem 0.6rem;
|
|
1036
|
+
border: 1px solid transparent;
|
|
1037
|
+
cursor: pointer;
|
|
1038
|
+
user-select: none;
|
|
1039
|
+
}
|
|
1040
|
+
.bq-access-option:hover { background: var(--bq-hover-bg); }
|
|
1041
|
+
.bq-access-option input { cursor: pointer; margin: 0; }
|
|
1042
|
+
.bq-access-option-label {
|
|
1043
|
+
font-size: 0.88rem;
|
|
1044
|
+
color: var(--bq-ink);
|
|
1045
|
+
}
|
|
1046
|
+
.bq-access-option-hint {
|
|
1047
|
+
grid-column: 2;
|
|
1048
|
+
font-size: 0.76rem;
|
|
1049
|
+
line-height: 1.35;
|
|
1050
|
+
color: var(--bq-muted);
|
|
1051
|
+
margin-top: 0.15rem;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1021
1054
|
/* ============================================================================
|
|
1022
1055
|
* RESPONSIVE
|
|
1023
1056
|
* ==========================================================================*/
|