@burdenoff/fe-libs 2026.1027.9 → 2026.1027.11
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/shared/agent-tools/adapters/assistant.d.ts +15 -2
- package/dist/shared/agent-tools/adapters/assistant.js +18 -15
- package/dist/shared/agent-tools/shell/shellTools.js +2 -0
- package/dist/shared/agent-tools/types.d.ts +7 -0
- package/dist/shared/assistant/api.js +154 -125
- package/dist/shared/assistant/capabilities.d.ts +1 -0
- package/dist/shared/assistant/capabilities.js +1 -0
- package/dist/shared/assistant/operations.d.ts +1 -0
- package/dist/shared/assistant/operations.js +2 -2
- package/dist/shared/assistant/ui/AssistantChatArea.js +1 -1
- package/dist/shared/assistant/voice/assistantPollSchedule.d.ts +5 -9
- package/dist/shared-agent-tools.js +10 -10
- package/dist/shared-assistant.js +308 -308
- package/package.json +1 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* How often to re-check for the assistant's reply while a turn is in flight.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* is the granularity of the whole experience — it bounds how late the answer
|
|
4
|
+
* When the streaming transport is unavailable, the reply is discovered by
|
|
5
|
+
* polling the message list. This interval bounds how late the answer
|
|
7
6
|
* appears in chat AND how late speech can start, because auto-speak only fires
|
|
8
7
|
* once a poll observes the reply completed.
|
|
9
8
|
*
|
|
@@ -11,14 +10,11 @@
|
|
|
11
10
|
* after the answer was already sitting on the server, and made streamed text
|
|
12
11
|
* arrive in visible jerks rather than flowing.
|
|
13
12
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* The pollers request a creation-time delta (`sinceMs`), retaining the in-flight
|
|
14
|
+
* message so edits are picked up, with full snapshots for older images. A faster
|
|
15
|
+
* interval still increases request rate. It is spent in the first few seconds,
|
|
17
16
|
* where most replies land — and given back afterwards, so a long-running turn
|
|
18
17
|
* costs no more than it used to.
|
|
19
|
-
*
|
|
20
|
-
* The proper fix is a delta fetch (`sinceMs`, which the shared client already
|
|
21
|
-
* supports) or a streaming transport; both are larger changes than this.
|
|
22
18
|
*/
|
|
23
19
|
/** While the answer is most likely to land. */
|
|
24
20
|
export declare const POLL_FAST_MS = 600;
|
|
@@ -4,13 +4,13 @@ import { currentConfirmation as l, registerConfirmHost as u, requestAgentConfirm
|
|
|
4
4
|
import { AGENT_TOOL_DESCRIPTION_MAX as h, AGENT_TOOL_NAME_MAX as g, AGENT_TOOL_NAME_PATTERN as _, AGENT_TOOL_OUTPUT_MAX_BYTES as v, AGENT_TOOL_OUTPUT_STRING_MAX as y, AGENT_TOOL_PARAM_DESCRIPTION_MAX as b } from "./shared/agent-tools/limits.js";
|
|
5
5
|
import { capResult as x, jsonByteLength as S } from "./shared/agent-tools/outputBudget.js";
|
|
6
6
|
import { runAgentTool as C } from "./shared/agent-tools/runAgentTool.js";
|
|
7
|
-
import { CLIENT_TOOL_MANIFEST_MAX_BYTES as w, CLIENT_TOOL_MANIFEST_MAX_TOOLS as T, CLIENT_TOOL_ORPHAN_MS as E, buildClientToolManifest as D, createClientToolRunner as O,
|
|
8
|
-
import { defineAgentTool as
|
|
9
|
-
import { useAgentTools as
|
|
10
|
-
import { AGENT_CONFIRM_TEST_ID_PREFIX as
|
|
11
|
-
import { getWebMcpModelContext as
|
|
12
|
-
import { assertNoUnsavedChanges as
|
|
13
|
-
import { DENY_SELECTOR as
|
|
14
|
-
import { createUiTools as
|
|
15
|
-
import { AgentToolsProvider as
|
|
16
|
-
export {
|
|
7
|
+
import { CLIENT_TOOL_MANIFEST_MAX_BYTES as w, CLIENT_TOOL_MANIFEST_MAX_TOOLS as T, CLIENT_TOOL_ORPHAN_MS as E, buildClientToolManifest as D, createClientToolRunner as O, isReadOnlyModeTool as k, offerClientTools as A, parseClientToolRequests as j } from "./shared/agent-tools/adapters/assistant.js";
|
|
8
|
+
import { defineAgentTool as M } from "./shared/agent-tools/defineAgentTool.js";
|
|
9
|
+
import { useAgentTools as N } from "./shared/agent-tools/useAgentTools.js";
|
|
10
|
+
import { AGENT_CONFIRM_TEST_ID_PREFIX as P, AgentConfirmHost as F } from "./shared/agent-tools/confirm/AgentConfirmHost.js";
|
|
11
|
+
import { getWebMcpModelContext as I, startWebMcpBridge as L, toWebMcpDescriptor as R } from "./shared/agent-tools/adapters/webmcp.js";
|
|
12
|
+
import { assertNoUnsavedChanges as z, createShellTools as B, resolveDestination as V } from "./shared/agent-tools/shell/shellTools.js";
|
|
13
|
+
import { DENY_SELECTOR as H, INTERACTIVE_SELECTOR as U, accessibleName as W, isDenied as G, isSensitiveField as K, roleOf as q } from "./shared/agent-tools/ui/dom.js";
|
|
14
|
+
import { createUiTools as J, isConsequentialControl as Y } from "./shared/agent-tools/ui/uiTools.js";
|
|
15
|
+
import { AgentToolsProvider as X } from "./shared/agent-tools/AgentToolsProvider.js";
|
|
16
|
+
export { P as AGENT_CONFIRM_TEST_ID_PREFIX, h as AGENT_TOOL_DESCRIPTION_MAX, g as AGENT_TOOL_NAME_MAX, _ as AGENT_TOOL_NAME_PATTERN, v as AGENT_TOOL_OUTPUT_MAX_BYTES, y as AGENT_TOOL_OUTPUT_STRING_MAX, b as AGENT_TOOL_PARAM_DESCRIPTION_MAX, F as AgentConfirmHost, e as AgentToolError, X as AgentToolsProvider, w as CLIENT_TOOL_MANIFEST_MAX_BYTES, T as CLIENT_TOOL_MANIFEST_MAX_TOOLS, E as CLIENT_TOOL_ORPHAN_MS, H as DENY_SELECTOR, U as INTERACTIVE_SELECTOR, W as accessibleName, t as agentToolFailure, z as assertNoUnsavedChanges, D as buildClientToolManifest, x as capResult, i as clearAgentTools, O as createClientToolRunner, B as createShellTools, J as createUiTools, l as currentConfirmation, M as defineAgentTool, a as getAgentTool, I as getWebMcpModelContext, n as isAgentToolError, Y as isConsequentialControl, G as isDenied, k as isReadOnlyModeTool, K as isSensitiveField, S as jsonByteLength, o as listAgentTools, A as offerClientTools, j as parseClientToolRequests, s as registerAgentTool, u as registerConfirmHost, d as requestAgentConfirmation, f as resetConfirmations, V as resolveDestination, q as roleOf, C as runAgentTool, p as settle, L as startWebMcpBridge, c as subscribeAgentTools, m as subscribeConfirmations, r as toAgentToolFailure, R as toWebMcpDescriptor, N as useAgentTools };
|