vault backup: 2026-03-03 12:28:06
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 3m19s
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 3m19s
This commit is contained in:
2
content/.obsidian/graph.json
vendored
2
content/.obsidian/graph.json
vendored
@@ -18,5 +18,5 @@
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 250,
|
||||
"scale": 0.11995246547242798,
|
||||
"close": true
|
||||
"close": false
|
||||
}
|
||||
137
content/.obsidian/plugins/agent-client/main.js
vendored
137
content/.obsidian/plugins/agent-client/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"id":"agent-client","name":"Agent Client","version":"0.8.3","minAppVersion":"0.15.0","description":"Chat with AI agents via the Agent Client Protocol directly from your vault.","author":"RAIT-09","authorUrl":"https://github.com/RAIT-09","fundingUrl":"https://www.buymeacoffee.com/rait09","isDesktopOnly":true}
|
||||
{"id":"agent-client","name":"Agent Client","version":"0.9.0-preview.1","minAppVersion":"0.15.0","description":"Chat with AI agents via the Agent Client Protocol directly from your vault.","author":"RAIT-09","authorUrl":"https://github.com/RAIT-09","fundingUrl":"https://www.buymeacoffee.com/rait09","isDesktopOnly":true}
|
||||
227
content/.obsidian/plugins/agent-client/styles.css
vendored
227
content/.obsidian/plugins/agent-client/styles.css
vendored
@@ -567,7 +567,8 @@ If your plugin does not need CSS, delete this file.
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
Error Overlay (displayed above input field)
|
||||
Notification Overlay (displayed above input field)
|
||||
Supports variants: --error (default), --info
|
||||
============================================================ */
|
||||
|
||||
.agent-client-error-overlay {
|
||||
@@ -584,6 +585,15 @@ If your plugin does not need CSS, delete this file.
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* Variant border colors */
|
||||
.agent-client-error-overlay--error {
|
||||
border-color: var(--color-red);
|
||||
}
|
||||
|
||||
.agent-client-error-overlay--info {
|
||||
border-color: var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.agent-client-error-overlay-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -598,6 +608,15 @@ If your plugin does not need CSS, delete this file.
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Variant title colors */
|
||||
.agent-client-error-overlay--error .agent-client-error-overlay-title {
|
||||
color: var(--color-red) !important;
|
||||
}
|
||||
|
||||
.agent-client-error-overlay--info .agent-client-error-overlay-title {
|
||||
color: var(--text-normal) !important;
|
||||
}
|
||||
|
||||
.agent-client-error-overlay-close {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -639,6 +658,7 @@ If your plugin does not need CSS, delete this file.
|
||||
color: var(--text-normal);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
white-space: pre-line;
|
||||
word-wrap: break-word;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -651,6 +671,22 @@ If your plugin does not need CSS, delete this file.
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.agent-client-error-overlay-code {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
padding: 6px 8px;
|
||||
background-color: var(--background-primary);
|
||||
border-radius: 4px;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
line-height: 1.4;
|
||||
color: var(--text-normal);
|
||||
word-break: break-all;
|
||||
user-select: all;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
/* Empty state */
|
||||
.agent-client-chat-empty-state {
|
||||
color: var(--text-muted);
|
||||
@@ -962,6 +998,97 @@ If your plugin does not need CSS, delete this file.
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Config option selector (configOptions API - supersedes mode/model selectors) */
|
||||
|
||||
.agent-client-config-options-container {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.agent-client-config-selector {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 4px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.1s ease;
|
||||
height: 20px;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.agent-client-config-selector:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.agent-client-config-selector-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
pointer-events: none;
|
||||
color: var(--text-faint);
|
||||
margin-left: 2px;
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.agent-client-config-selector-icon svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.agent-client-config-selector select.dropdown {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
background: none !important;
|
||||
background-color: transparent !important;
|
||||
background-image: none !important;
|
||||
box-shadow: none !important;
|
||||
color: var(--text-faint) !important;
|
||||
font-size: 11px !important;
|
||||
cursor: pointer !important;
|
||||
outline: none !important;
|
||||
appearance: none !important;
|
||||
-webkit-appearance: none !important;
|
||||
-moz-appearance: none !important;
|
||||
order: 1;
|
||||
max-width: 100px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.agent-client-config-selector select.dropdown:hover,
|
||||
.agent-client-config-selector select.dropdown:focus {
|
||||
color: var(--text-faint) !important;
|
||||
background-color: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Context Usage Indicator */
|
||||
.agent-client-usage-indicator {
|
||||
font-size: var(--font-smallest);
|
||||
margin-right: auto;
|
||||
cursor: default;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.agent-client-usage-normal {
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.agent-client-usage-caution {
|
||||
color: var(--color-yellow);
|
||||
}
|
||||
|
||||
.agent-client-usage-warning {
|
||||
color: var(--color-orange);
|
||||
}
|
||||
|
||||
.agent-client-usage-danger {
|
||||
color: var(--color-red);
|
||||
font-weight: var(--font-semibold);
|
||||
}
|
||||
|
||||
/* Send button */
|
||||
.agent-client-chat-send-button {
|
||||
width: 20px;
|
||||
@@ -1406,8 +1533,8 @@ If your plugin does not need CSS, delete this file.
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* ===== Image Preview Strip ===== */
|
||||
.agent-client-image-preview-strip {
|
||||
/* ===== Attachment Preview Strip ===== */
|
||||
.agent-client-attachment-preview-strip {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
@@ -1417,27 +1544,27 @@ If your plugin does not need CSS, delete this file.
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-strip::-webkit-scrollbar {
|
||||
.agent-client-attachment-preview-strip::-webkit-scrollbar {
|
||||
height: 4px;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-strip::-webkit-scrollbar-track {
|
||||
.agent-client-attachment-preview-strip::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-strip::-webkit-scrollbar-thumb {
|
||||
.agent-client-attachment-preview-strip::-webkit-scrollbar-thumb {
|
||||
background-color: var(--background-modifier-border);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-item {
|
||||
.agent-client-attachment-preview-item {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-thumbnail {
|
||||
.agent-client-attachment-preview-thumbnail {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
@@ -1446,7 +1573,42 @@ If your plugin does not need CSS, delete this file.
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.agent-client-image-preview-remove {
|
||||
/* Non-image file preview: icon + filename */
|
||||
.agent-client-attachment-preview-file {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
background-color: var(--background-primary);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.agent-client-attachment-preview-file-icon {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.agent-client-attachment-preview-file-icon svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.agent-client-attachment-preview-file-name {
|
||||
font-size: 9px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.agent-client-attachment-preview-remove {
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
right: -6px;
|
||||
@@ -1466,15 +1628,53 @@ If your plugin does not need CSS, delete this file.
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-remove svg {
|
||||
.agent-client-attachment-preview-remove svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.agent-client-image-preview-item:hover .agent-client-image-preview-remove {
|
||||
.agent-client-attachment-preview-item:hover
|
||||
.agent-client-attachment-preview-remove {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ===== Message Resource Link (in chat history) ===== */
|
||||
.agent-client-message-resource-link {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 4px 4px 4px 0;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
background-color: var(--background-primary);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.agent-client-message-resource-link-icon {
|
||||
color: var(--text-muted);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.agent-client-message-resource-link-icon svg {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.agent-client-message-resource-link-name {
|
||||
font-size: 10px;
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
/* ===== Message Image (in chat history) ===== */
|
||||
.agent-client-message-image {
|
||||
display: inline-block;
|
||||
@@ -1518,6 +1718,11 @@ If your plugin does not need CSS, delete this file.
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.agent-client-message-images-strip .agent-client-message-resource-link {
|
||||
flex-shrink: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ===== Session History Modal ===== */
|
||||
.agent-client-session-history-filter {
|
||||
margin-bottom: 16px;
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
William Harvey beskriv blodcirkulationen
|
||||
- viktig för hjärtfysologin, kan komma på tentan
|
||||
|
||||
|
||||
Reference in New Issue
Block a user