@dudko.dev/agent-web-react 0.0.36 → 0.0.38

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/mcp.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { McpSkillConsent, AgentToolSet } from '@dudko.dev/agent-web';
2
- import { aY as McpOAuthRegistration, aZ as McpProtocolMode, P as PendingElicitation, f as McpElicitationResult, a_ as McpElicitationOptions, a$ as McpCatalogEntry, b0 as McpServerProtocol, b1 as McpOAuthRegistrationKind, b2 as McpOAuthCallback, b3 as McpServerResult, b4 as McpModule, b5 as ConnectedMcp, b6 as BrowserOAuthProviderOptions, b7 as BrowserOAuthProvider } from './elicitation-xMLll5W9.cjs';
2
+ import { aY as McpOAuthRegistration, aZ as McpProtocolMode, P as PendingElicitation, f as McpElicitationResult, a_ as McpElicitationOptions, a$ as McpCatalogEntry, b0 as McpServerProtocol, b1 as McpOAuthRegistrationKind, b2 as McpOAuthCallback, b3 as McpServerResult, b4 as McpModule, b5 as ConnectedMcp, b6 as BrowserOAuthProviderOptions, b7 as BrowserOAuthProvider } from './elicitation-BgSf-xzh.cjs';
3
3
  import { McpAppsConnectionLike } from './index.cjs';
4
- export { b8 as ElicitationQueue, b9 as ElicitationQueueOptions, ap as McpElicitationFieldSchema, ba as McpElicitationHandler, aq as McpElicitationRequest, ar as McpElicitationSchema, bb as McpServerInstructions, bc as createElicitationQueue, bd as elicitationConnectOptions, be as elicitationSettings, bf as elicitationTimeoutOf } from './elicitation-xMLll5W9.cjs';
4
+ export { b8 as ElicitationQueue, b9 as ElicitationQueueOptions, ap as McpElicitationFieldSchema, ba as McpElicitationHandler, aq as McpElicitationRequest, ar as McpElicitationSchema, bb as McpServerInstructions, bc as createElicitationQueue, bd as elicitationConnectOptions, be as elicitationSettings, bf as elicitationTimeoutOf } from './elicitation-BgSf-xzh.cjs';
5
5
 
6
6
  type McpStatus = 'idle' | 'connecting' | 'connected' | 'needs-authorization' | 'error';
7
7
  /** The OAuth details of one server. Everything is optional. */
package/dist/mcp.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { McpSkillConsent, AgentToolSet } from '@dudko.dev/agent-web';
2
- import { aY as McpOAuthRegistration, aZ as McpProtocolMode, P as PendingElicitation, f as McpElicitationResult, a_ as McpElicitationOptions, a$ as McpCatalogEntry, b0 as McpServerProtocol, b1 as McpOAuthRegistrationKind, b2 as McpOAuthCallback, b3 as McpServerResult, b4 as McpModule, b5 as ConnectedMcp, b6 as BrowserOAuthProviderOptions, b7 as BrowserOAuthProvider } from './elicitation-xMLll5W9.js';
2
+ import { aY as McpOAuthRegistration, aZ as McpProtocolMode, P as PendingElicitation, f as McpElicitationResult, a_ as McpElicitationOptions, a$ as McpCatalogEntry, b0 as McpServerProtocol, b1 as McpOAuthRegistrationKind, b2 as McpOAuthCallback, b3 as McpServerResult, b4 as McpModule, b5 as ConnectedMcp, b6 as BrowserOAuthProviderOptions, b7 as BrowserOAuthProvider } from './elicitation-BgSf-xzh.js';
3
3
  import { McpAppsConnectionLike } from './index.js';
4
- export { b8 as ElicitationQueue, b9 as ElicitationQueueOptions, ap as McpElicitationFieldSchema, ba as McpElicitationHandler, aq as McpElicitationRequest, ar as McpElicitationSchema, bb as McpServerInstructions, bc as createElicitationQueue, bd as elicitationConnectOptions, be as elicitationSettings, bf as elicitationTimeoutOf } from './elicitation-xMLll5W9.js';
4
+ export { b8 as ElicitationQueue, b9 as ElicitationQueueOptions, ap as McpElicitationFieldSchema, ba as McpElicitationHandler, aq as McpElicitationRequest, ar as McpElicitationSchema, bb as McpServerInstructions, bc as createElicitationQueue, bd as elicitationConnectOptions, be as elicitationSettings, bf as elicitationTimeoutOf } from './elicitation-BgSf-xzh.js';
5
5
 
6
6
  type McpStatus = 'idle' | 'connecting' | 'connected' | 'needs-authorization' | 'error';
7
7
  /** The OAuth details of one server. Everything is optional. */
package/dist/styles.css CHANGED
@@ -974,6 +974,20 @@
974
974
  text-overflow: ellipsis;
975
975
  white-space: nowrap;
976
976
  }
977
+ /* The name over its note ("downscaled from 13.1 MB"), both cut to the chip's width. */
978
+ .awr-file__text {
979
+ display: flex;
980
+ flex-direction: column;
981
+ min-width: 0;
982
+ line-height: 1.2;
983
+ }
984
+ .awr-file__note {
985
+ overflow: hidden;
986
+ text-overflow: ellipsis;
987
+ white-space: nowrap;
988
+ font-size: 11px;
989
+ color: var(--awr-muted);
990
+ }
977
991
 
978
992
  /* ── Buttons shared by the composer and panels ────────────────────────────── */
979
993
  .awr-iconbtn {
@@ -1805,6 +1819,22 @@
1805
1819
  max-width: 100%;
1806
1820
  min-width: 0;
1807
1821
  }
1822
+ /* A generated picture with the line that names its reference pictures under it. */
1823
+ .awr-media-refs {
1824
+ display: inline-flex;
1825
+ flex-direction: column;
1826
+ gap: 2px;
1827
+ max-width: min(100%, 360px);
1828
+ min-width: 0;
1829
+ }
1830
+ .awr-media__refs {
1831
+ font-size: 11px;
1832
+ color: var(--awr-muted);
1833
+ overflow-wrap: anywhere;
1834
+ }
1835
+ .awr-media__refs--unused {
1836
+ color: var(--awr-warn);
1837
+ }
1808
1838
  .awr-media__img {
1809
1839
  display: block;
1810
1840
  max-width: min(100%, 360px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dudko.dev/agent-web-react",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "React bindings for @dudko.dev/agent-web: a headless useAgent hook, an AgentProvider context, and optional pre-styled components (chat panel, plan/step view, BYOK key form, WebLLM load bar) that connect the in-browser LLM agent to any React site. UI you can drop in — or a headless reducer you can build your own around.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -145,8 +145,8 @@
145
145
  "tsup": "^9.0.0",
146
146
  "typescript": "^6.0.3",
147
147
  "zod": "^4.6.7",
148
- "@dudko.dev/test-servers": "0.0.0",
149
- "@dudko.dev/agent-web": "0.0.47"
148
+ "@dudko.dev/agent-web": "0.0.49",
149
+ "@dudko.dev/test-servers": "0.0.0"
150
150
  },
151
151
  "scripts": {
152
152
  "build": "tsup",