@poodle64/librarian 2026.10.1 → 2026.10.3
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/README.md +13 -10
- package/dist/components/agent-transcript/agent-transcript.svelte +20 -36
- package/dist/components/answer-mark/answer-mark.svelte +1 -1
- package/dist/components/answer-share/answer-share.svelte +1 -1
- package/dist/components/composer/choices.d.ts +12 -0
- package/dist/components/composer/choices.js +8 -0
- package/dist/components/composer/composer.svelte +49 -95
- package/dist/components/composer/composer.svelte.d.ts +3 -10
- package/dist/components/composer/index.d.ts +1 -1
- package/dist/components/composer/scope-picker.svelte +418 -0
- package/dist/components/composer/scope-picker.svelte.d.ts +14 -0
- package/dist/components/conversation/conversation.svelte +227 -99
- package/dist/components/conversation/conversation.svelte.d.ts +13 -3
- package/dist/components/conversation-list/conversation-list.svelte +22 -4
- package/dist/components/conversation-list/conversation-list.svelte.d.ts +2 -0
- package/dist/components/fair-use-notice/fair-use-notice.svelte +1 -1
- package/dist/components/markdown/markdown.svelte +2 -1
- package/dist/components/scope-statement/scope-statement.svelte +17 -20
- package/dist/components/source-list/source-list.svelte +9 -8
- package/dist/copy.d.ts +6 -1
- package/dist/copy.js +3 -0
- package/package.json +1 -1
|
@@ -66,12 +66,15 @@
|
|
|
66
66
|
text-transform: uppercase;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
/* Rows under one hairline, not a box each: a source list is read down,
|
|
70
|
+
and a stack of outlines is the noise the chat was asked to lose. */
|
|
69
71
|
.ds-lib-sources-list {
|
|
70
72
|
display: flex;
|
|
71
73
|
flex-direction: column;
|
|
72
|
-
gap: 0.
|
|
74
|
+
gap: 0.125rem;
|
|
73
75
|
margin: 0;
|
|
74
|
-
|
|
76
|
+
border-top: 1px solid var(--ds-color-border);
|
|
77
|
+
padding: 0.375rem 0 0;
|
|
75
78
|
list-style: none;
|
|
76
79
|
}
|
|
77
80
|
|
|
@@ -80,8 +83,8 @@
|
|
|
80
83
|
width: 100%;
|
|
81
84
|
align-items: baseline;
|
|
82
85
|
gap: 0.5rem;
|
|
83
|
-
border:
|
|
84
|
-
border-radius: var(--ds-radius-
|
|
86
|
+
border: 0;
|
|
87
|
+
border-radius: var(--ds-radius-md);
|
|
85
88
|
background: none;
|
|
86
89
|
padding: 0.375rem 0.625rem;
|
|
87
90
|
color: inherit;
|
|
@@ -89,13 +92,10 @@
|
|
|
89
92
|
font-size: 0.875rem;
|
|
90
93
|
text-align: start;
|
|
91
94
|
cursor: pointer;
|
|
92
|
-
transition:
|
|
93
|
-
background-color 150ms ease,
|
|
94
|
-
border-color 150ms ease;
|
|
95
|
+
transition: background-color 150ms ease;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.ds-lib-source:hover:not(:disabled) {
|
|
98
|
-
border-color: var(--ds-color-border-strong);
|
|
99
99
|
background: var(--ds-color-surface-2);
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -125,6 +125,7 @@
|
|
|
125
125
|
|
|
126
126
|
.ds-lib-source-title {
|
|
127
127
|
color: var(--ds-color-foreground);
|
|
128
|
+
font-weight: 500;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
.ds-lib-source-section {
|
package/dist/copy.d.ts
CHANGED
|
@@ -46,6 +46,10 @@ export interface ChatCopy {
|
|
|
46
46
|
* shown by its own title, supplied by the app. */
|
|
47
47
|
collectionsLabel: string;
|
|
48
48
|
allCollections: string;
|
|
49
|
+
/** The picker's search field, from a long list up, and what it says
|
|
50
|
+
* when nothing matches. */
|
|
51
|
+
findCollection: string;
|
|
52
|
+
noCollectionMatch: string;
|
|
49
53
|
/** Past a few turns, the quiet line above the composer that offers to
|
|
50
54
|
* start over — a follow-up re-reads the whole conversation, so each one
|
|
51
55
|
* costs more than the last. */
|
|
@@ -88,9 +92,10 @@ export interface ChatCopy {
|
|
|
88
92
|
/** `{resets}` when the allowance comes back at the turn of the day. */
|
|
89
93
|
midnight: string;
|
|
90
94
|
support: string;
|
|
91
|
-
/** The conversation list. */
|
|
95
|
+
/** The conversation list, and closing it where the host lays it over the page. */
|
|
92
96
|
pastQuestions: string;
|
|
93
97
|
newQuestion: string;
|
|
98
|
+
closePastQuestions: string;
|
|
94
99
|
readingPastQuestions: string;
|
|
95
100
|
noPastQuestions: string;
|
|
96
101
|
pastQuestionsFailed: string;
|
package/dist/copy.js
CHANGED
|
@@ -66,6 +66,8 @@ export function copyFor(name = DEFAULT_PERSONA) {
|
|
|
66
66
|
answeringPlaceholder: `${who} is answering…`,
|
|
67
67
|
collectionsLabel: `Where ${who} looks`,
|
|
68
68
|
allCollections: 'All your collections',
|
|
69
|
+
findCollection: 'Search',
|
|
70
|
+
noCollectionMatch: 'Nothing matches that.',
|
|
69
71
|
longConversation: `This conversation is getting long. A new question keeps ${who} quick.`,
|
|
70
72
|
working: [`${who} is looking`, `${who} is reading`],
|
|
71
73
|
conversationLabel: `Conversation with ${who}`,
|
|
@@ -98,6 +100,7 @@ export function copyFor(name = DEFAULT_PERSONA) {
|
|
|
98
100
|
support: 'Support',
|
|
99
101
|
pastQuestions: 'Past questions',
|
|
100
102
|
newQuestion: 'New question',
|
|
103
|
+
closePastQuestions: 'Close past questions',
|
|
101
104
|
readingPastQuestions: 'Reading your past questions…',
|
|
102
105
|
noPastQuestions: 'No past questions yet.',
|
|
103
106
|
pastQuestionsFailed: "Your past questions couldn't be read just now.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poodle64/librarian",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.3",
|
|
4
4
|
"description": "An agent's conversation surface as a consumable Svelte 5 package: the stream client, transcript state and self-styling chat components (transcript, composer, markdown) every household app renders instead of rebuilding, speaking as whichever persona the app names.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|