veryfront 0.1.1122 → 0.1.1123
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/esm/deno.js +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-responses-request-builder.d.ts.map +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-responses-request-builder.js +5 -0
- package/esm/src/agent/hosted/child-lifecycle.d.ts.map +1 -1
- package/esm/src/agent/hosted/child-lifecycle.js +1 -12
- package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts +38 -0
- package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts.map +1 -0
- package/esm/src/agent/hosted/cloud-agent-chat-execution.js +349 -0
- package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts +80 -0
- package/esm/src/agent/hosted/cloud-agent-child-tools.d.ts.map +1 -0
- package/esm/src/agent/hosted/cloud-agent-child-tools.js +280 -0
- package/esm/src/agent/hosted/cloud-agent-config.d.ts +69 -0
- package/esm/src/agent/hosted/cloud-agent-config.d.ts.map +1 -0
- package/esm/src/agent/hosted/cloud-agent-config.js +129 -0
- package/esm/src/agent/hosted/cloud-agent-paths.d.ts +42 -0
- package/esm/src/agent/hosted/cloud-agent-paths.d.ts.map +1 -0
- package/esm/src/agent/hosted/cloud-agent-paths.js +117 -0
- package/esm/src/agent/hosted/cloud-agent-provider-bootstrap.d.ts +49 -0
- package/esm/src/agent/hosted/cloud-agent-provider-bootstrap.d.ts.map +1 -0
- package/esm/src/agent/hosted/cloud-agent-provider-bootstrap.js +96 -0
- package/esm/src/agent/hosted/durable-child-fork-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/durable-child-fork-execution.js +1 -12
- package/esm/src/agent/hosted/runtime-request-config.js +2 -2
- package/esm/src/agent/hosted/stream-finalization.d.ts.map +1 -1
- package/esm/src/agent/hosted/stream-finalization.js +2 -26
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts +11 -93
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.d.ts.map +1 -1
- package/esm/src/agent/hosted/veryfront-cloud-agent-service.js +8 -901
- package/esm/src/agent/project/agent-runtime.d.ts.map +1 -1
- package/esm/src/agent/project/agent-runtime.js +3 -0
- package/esm/src/agent/runtime/chat-stream-handler.d.ts.map +1 -1
- package/esm/src/agent/runtime/chat-stream-handler.js +1 -28
- package/esm/src/agent/streaming/stream-outcome.d.ts +30 -0
- package/esm/src/agent/streaming/stream-outcome.d.ts.map +1 -0
- package/esm/src/agent/streaming/stream-outcome.js +62 -0
- package/esm/src/agent/types.d.ts +3 -0
- package/esm/src/agent/types.d.ts.map +1 -1
- package/esm/src/eval/studio.d.ts +1 -1
- package/esm/src/html/styles-builder/plugin-loader.d.ts.map +1 -1
- package/esm/src/html/styles-builder/plugin-loader.js +4 -2
- package/esm/src/modules/server/classify.d.ts +54 -0
- package/esm/src/modules/server/classify.d.ts.map +1 -0
- package/esm/src/modules/server/classify.js +50 -0
- package/esm/src/modules/server/fs-probe.d.ts +14 -0
- package/esm/src/modules/server/fs-probe.d.ts.map +1 -0
- package/esm/src/modules/server/fs-probe.js +17 -0
- package/esm/src/modules/server/module-batch-handler.d.ts.map +1 -1
- package/esm/src/modules/server/module-batch-handler.js +31 -45
- package/esm/src/modules/server/module-server.d.ts.map +1 -1
- package/esm/src/modules/server/module-server.js +77 -93
- package/esm/src/modules/server/module-transform.d.ts +73 -0
- package/esm/src/modules/server/module-transform.d.ts.map +1 -0
- package/esm/src/modules/server/module-transform.js +64 -0
- package/esm/src/modules/server/ssr-import-rewriter.d.ts +1 -1
- package/esm/src/modules/server/ssr-import-rewriter.d.ts.map +1 -1
- package/esm/src/observability/error-collector.d.ts.map +1 -1
- package/esm/src/observability/error-collector.js +4 -11
- package/esm/src/observability/log-buffer.d.ts.map +1 -1
- package/esm/src/observability/log-buffer.js +4 -11
- package/esm/src/observability/request-profiler.d.ts +4 -0
- package/esm/src/observability/request-profiler.d.ts.map +1 -1
- package/esm/src/observability/request-profiler.js +9 -4
- package/esm/src/proxy/server-timing.d.ts.map +1 -1
- package/esm/src/proxy/server-timing.js +2 -14
- package/esm/src/react/components/chat/agent-card.d.ts +2 -3
- package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
- package/esm/src/react/components/chat/agent-card.js +3 -12
- package/esm/src/react/components/chat/agent-picker-context.d.ts +2 -3
- package/esm/src/react/components/chat/agent-picker-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/agent-picker-context.js +3 -13
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +2 -6
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.js +3 -15
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts +2 -12
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachments-panel.js +3 -21
- package/esm/src/react/components/chat/chat/components/branch-picker.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/branch-picker.js +2 -11
- package/esm/src/react/components/chat/chat/components/inline-citation.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/inline-citation.js +2 -11
- package/esm/src/react/components/chat/chat/components/message-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-actions.js +2 -11
- package/esm/src/react/components/chat/chat/components/message-feedback.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-feedback.js +2 -11
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts +2 -3
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/reasoning.js +3 -12
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts +2 -3
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sidebar.js +4 -22
- package/esm/src/react/components/chat/chat/components/sources.d.ts +2 -3
- package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sources.js +3 -12
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +2 -6
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/step-indicator.js +3 -15
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +2 -3
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/tool-ui.js +3 -12
- package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-message-list.js +2 -11
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +2 -2
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/chat-context.js +3 -12
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +2 -2
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/composer-context.js +3 -12
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts +2 -2
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/conversations-context.js +3 -12
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts +2 -2
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/message-context.js +3 -12
- package/esm/src/react/components/chat/chat-actions.d.ts +2 -6
- package/esm/src/react/components/chat/chat-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-actions.js +3 -15
- package/esm/src/react/components/chat/model-selector.d.ts +2 -6
- package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
- package/esm/src/react/components/chat/model-selector.js +3 -15
- package/esm/src/react/components/create-strict-context.d.ts +44 -0
- package/esm/src/react/components/create-strict-context.d.ts.map +1 -0
- package/esm/src/react/components/create-strict-context.js +56 -0
- package/esm/src/react/components/ui/app-shell.d.ts +2 -2
- package/esm/src/react/components/ui/app-shell.d.ts.map +1 -1
- package/esm/src/react/components/ui/app-shell.js +3 -7
- package/esm/src/react/components/ui/color-mode.d.ts +2 -2
- package/esm/src/react/components/ui/color-mode.d.ts.map +1 -1
- package/esm/src/react/components/ui/color-mode.js +3 -11
- package/esm/src/react/components/ui/command.d.ts.map +1 -1
- package/esm/src/react/components/ui/command.js +2 -7
- package/esm/src/react/components/ui/select.d.ts.map +1 -1
- package/esm/src/react/components/ui/select.js +2 -7
- package/esm/src/react/components/ui/tabs.d.ts.map +1 -1
- package/esm/src/react/components/ui/tabs.js +3 -4
- package/esm/src/runs/schemas.d.ts +9 -9
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +79 -106
- package/esm/src/server/reload-notifier.d.ts +0 -1
- package/esm/src/server/reload-notifier.d.ts.map +1 -1
- package/esm/src/server/reload-notifier.js +7 -25
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.d.ts.map +1 -1
- package/esm/src/server/services/rsc/endpoints/rsc-bundles.generated.js +1 -1
- package/esm/src/utils/base64url.d.ts +9 -1
- package/esm/src/utils/base64url.d.ts.map +1 -1
- package/esm/src/utils/base64url.js +25 -11
- package/esm/src/utils/index.d.ts +2 -1
- package/esm/src/utils/index.d.ts.map +1 -1
- package/esm/src/utils/index.js +2 -1
- package/esm/src/utils/subscriber-set.d.ts +19 -0
- package/esm/src/utils/subscriber-set.d.ts.map +1 -0
- package/esm/src/utils/subscriber-set.js +38 -0
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/claude-code/websocket-publisher.d.ts.map +1 -1
- package/esm/src/workflow/claude-code/websocket-publisher.js +8 -15
- package/esm/src/workflow/schemas/workflow.schema.d.ts +4 -4
- package/package.json +5 -5
package/esm/deno.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-responses-request-builder.d.ts","sourceRoot":"","sources":["../../../../src/extensions/ext-llm-openai/src/openai-responses-request-builder.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,+BAA+B,EAEhC,MAAM,kCAAkC,CAAC;AAO1C,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE/D,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,wBAAwB,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;IAC3C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,OAAO,EAAE;QACZ,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC;QACtC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,IAAI,CAAC;IACT,KAAK,IAAI,KAAK,CAAC;QACb,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC;QACtC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;CACJ,CAAC;
|
|
1
|
+
{"version":3,"file":"openai-responses-request-builder.d.ts","sourceRoot":"","sources":["../../../../src/extensions/ext-llm-openai/src/openai-responses-request-builder.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,+BAA+B,EAEhC,MAAM,kCAAkC,CAAC;AAO1C,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE/D,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,wBAAwB,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;IAC3C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,OAAO,EAAE;QACZ,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC;QACtC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,IAAI,CAAC;IACT,KAAK,IAAI,KAAK,CAAC;QACb,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC;QACtC,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;CACJ,CAAC;AAkJF,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,+BAA+B,EACxC,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,gBAAgB,GACzB,sBAAsB,CAsGxB"}
|
|
@@ -108,6 +108,11 @@ function toOpenAIResponsesTools(tools) {
|
|
|
108
108
|
type: "function",
|
|
109
109
|
name: tool.name,
|
|
110
110
|
...(typeof tool.description === "string" ? { description: tool.description } : {}),
|
|
111
|
+
// Responses otherwise attempts to normalize omitted strictness into
|
|
112
|
+
// strict mode, which turns every declared property into a required
|
|
113
|
+
// argument. Runtime and remote tool schemas use normal JSON Schema
|
|
114
|
+
// optional properties, so preserve that contract explicitly.
|
|
115
|
+
strict: false,
|
|
111
116
|
parameters: unwrapToolInputSchema(tool.inputSchema),
|
|
112
117
|
});
|
|
113
118
|
continue;
|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,CAAC,CA4E5D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { buildChildRunExecutionSnapshot, getChildRunSnapshotUsage, } from "../child-run/execution-snapshot.js";
|
|
2
|
-
import {
|
|
2
|
+
import { resolveKnownProviderTerminalError } from "../streaming/stream-outcome.js";
|
|
3
3
|
import { isChildRunAbortError } from "../child-run/execution-support.js";
|
|
4
4
|
import { HostedChildTerminalStateError, isHostedChildTerminalErrorCode, resolveHostedChildTerminalErrorCode, } from "./child-status.js";
|
|
5
5
|
/** Should skip hosted child terminal persistence helper. */
|
|
@@ -14,17 +14,6 @@ class HostedChildExecutionFailure extends Error {
|
|
|
14
14
|
this.name = "HostedChildExecutionFailure";
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
function resolveKnownProviderTerminalError(error) {
|
|
18
|
-
const parsedError = parseProviderError(error);
|
|
19
|
-
if (parsedError.code === "EXTERNAL_SERVICE_ERROR" &&
|
|
20
|
-
parsedError.message === "LLM provider service error") {
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
return {
|
|
24
|
-
code: parsedError.code,
|
|
25
|
-
message: parsedError.message,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
17
|
async function dispatchTerminalState(adapter, terminalState) {
|
|
29
18
|
if (terminalState.status === "cancelled") {
|
|
30
19
|
await adapter.cancelled?.(terminalState);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type HostToolSet } from "../../tool/index.js";
|
|
2
|
+
import { type HostedChatRuntimeCreationResult } from "./chat-runtime-contract.js";
|
|
3
|
+
import type { HostedConversationRootRunContext } from "../conversation/root-run-lifecycle.js";
|
|
4
|
+
import { type AgentRuntimeMessage } from "../runtime/message-adapter.js";
|
|
5
|
+
import { type DefaultHostedChatRuntimeCreationOptions, type DefaultHostedChatRuntimeTaskContext } from "./default-chat-runtime.js";
|
|
6
|
+
import { type AgentServiceRuntimeConfig, type CreateAgentServiceRuntimeOptions } from "../service/runtime.js";
|
|
7
|
+
import type { AgentServiceServerLifecycle } from "../service/server.js";
|
|
8
|
+
import type { ParsedHostedChatRequest } from "./chat-request-parser.js";
|
|
9
|
+
import type { PreparedHostedChatExecution } from "./prepared-chat-execution.js";
|
|
10
|
+
import { type NodeVeryfrontCloudAgentServiceContext } from "./cloud-agent-config.js";
|
|
11
|
+
/** Full type of a prepared cloud agent chat execution, ready to stream or detach. */
|
|
12
|
+
export type NodeVeryfrontCloudAgentServicePreparedExecution = PreparedHostedChatExecution & {
|
|
13
|
+
config: AgentServiceRuntimeConfig;
|
|
14
|
+
agent: HostedChatRuntimeCreationResult["agent"];
|
|
15
|
+
runtimeKind: "framework";
|
|
16
|
+
finalMessages: AgentRuntimeMessage[];
|
|
17
|
+
messages: PreparedHostedChatExecution["messages"];
|
|
18
|
+
rootRunContext: HostedConversationRootRunContext;
|
|
19
|
+
};
|
|
20
|
+
/** Builds the local tool set for a root chat runtime task context. */
|
|
21
|
+
export declare function buildLocalTools(context: NodeVeryfrontCloudAgentServiceContext, options: DefaultHostedChatRuntimeCreationOptions, taskContext: DefaultHostedChatRuntimeTaskContext): HostToolSet;
|
|
22
|
+
/** Creates the project steering refresh object for the chat runtime. */
|
|
23
|
+
export declare function createProjectSteeringRefresh(context: NodeVeryfrontCloudAgentServiceContext): (input: import("./default-chat-runtime.js").DefaultHostedChatRuntimeSystemRefreshInput) => Promise<string>;
|
|
24
|
+
/** Creates the hosted chat runtime for the given options. */
|
|
25
|
+
export declare function createAgentRuntime(context: NodeVeryfrontCloudAgentServiceContext, options: DefaultHostedChatRuntimeCreationOptions): Promise<HostedChatRuntimeCreationResult>;
|
|
26
|
+
/** Prepares the chat execution within the project agent runtime scope. */
|
|
27
|
+
export declare function prepareChatExecutionWithinProjectRuntime(context: NodeVeryfrontCloudAgentServiceContext, req: ParsedHostedChatRequest): Promise<NodeVeryfrontCloudAgentServicePreparedExecution>;
|
|
28
|
+
/** Prepares the chat execution, running within the project agent runtime. */
|
|
29
|
+
export declare function prepareChatExecution(context: NodeVeryfrontCloudAgentServiceContext, req: ParsedHostedChatRequest): Promise<NodeVeryfrontCloudAgentServicePreparedExecution>;
|
|
30
|
+
/** Creates the prepared execution runtime options for streaming and detached runs. */
|
|
31
|
+
export declare function createPreparedExecutionRuntimeOptions(context: NodeVeryfrontCloudAgentServiceContext, config: AgentServiceRuntimeConfig): import("./prepared-chat-execution.js").PreparedHostedChatExecutionRuntimeOptions;
|
|
32
|
+
/** Creates and starts the control plane registration lifecycle if enabled. */
|
|
33
|
+
export declare function createControlPlaneRegistrationLifecycle(context: NodeVeryfrontCloudAgentServiceContext): Promise<AgentServiceServerLifecycle | undefined>;
|
|
34
|
+
/** Builds the full CreateAgentServiceRuntimeOptions for the cloud agent service. */
|
|
35
|
+
export declare function createNodeVeryfrontCloudAgentServiceRuntimeOptions(context: NodeVeryfrontCloudAgentServiceContext): CreateAgentServiceRuntimeOptions<NodeVeryfrontCloudAgentServicePreparedExecution>;
|
|
36
|
+
/** Public type alias for the prepared execution type. */
|
|
37
|
+
export type { NodeVeryfrontCloudAgentServicePreparedExecution as PreparedExecution };
|
|
38
|
+
//# sourceMappingURL=cloud-agent-chat-execution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-agent-chat-execution.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/cloud-agent-chat-execution.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6B,KAAK,WAAW,EAAa,MAAM,qBAAqB,CAAC;AAU7F,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAEL,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACzC,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,gCA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ACnD,OAAO,EAAE,qCAAqC,EAC9C,MAAM,EAAE,yBAAyB,oFAUlC;AAkBD,8EAA8E;AAC9E,wBAAsB,uCAAuC,CAC3D,OAAO,EAAE,qCAAqC,GAC7C,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAsClD;AAED,oFAAoF;AACpF,wBAAgB,kDAAkD,CAChE,OAAO,EAAE,qCAAqC,GAC7C,gCAAgC,CAAC,+CAA+C,CAAC,CAwCnF;AAED,yDAAyD;AACzD,YAAY,EAAE,+CAA+C,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/** Chat execution preparation and runtime wiring for the cloud agent service. */
|
|
2
|
+
import * as dntShim from "../../../_dnt.shims.js";
|
|
3
|
+
import { createRemoteMCPToolSource, sleepTool } from "../../tool/index.js";
|
|
4
|
+
import { getEnv } from "../../platform/compat/process.js";
|
|
5
|
+
import { buildAgentRunTraceAttributes, buildExecuteToolTraceAttributes, buildProjectServiceTraceAttributes, buildScheduleTraceAttributes, } from "./trace-attributes.js";
|
|
6
|
+
import { createHostedFormInputTool } from "./form-input-tool.js";
|
|
7
|
+
import { createHostedWebFetchTool } from "./web-fetch-tool.js";
|
|
8
|
+
import { createDefaultHostedChatRuntime, } from "./default-chat-runtime.js";
|
|
9
|
+
import { createHostedRootLocalToolRuntime } from "./root-sandbox-tool-source.js";
|
|
10
|
+
import { createVeryfrontCloudContextSummaryGenerator } from "./context-summary-generator.js";
|
|
11
|
+
import { createDefaultHostedProjectSteeringRefresh } from "./default-project-steering-refresh.js";
|
|
12
|
+
import { applyAgentProjectContextChange } from "../project/context.js";
|
|
13
|
+
import { runWithProjectAgentRuntime } from "../project/agent-runtime.js";
|
|
14
|
+
import { buildVeryfrontCloudRuntimeInstructions } from "./cloud-runtime-system-messages.js";
|
|
15
|
+
import { createAgentServiceRegistrationLifecycle, resolveAgentServiceRegistrationInput, } from "../service/registration.js";
|
|
16
|
+
import { runPreparedHostedChatExecutionDetached, streamPreparedHostedChatExecutionToAgUiResponse, } from "./prepared-chat-execution.js";
|
|
17
|
+
import { createVeryfrontCloudPreparedHostedChatExecutionRuntimeOptions, } from "./cloud-prepared-chat-execution-runtime.js";
|
|
18
|
+
import { prepareVeryfrontCloudHostedChatExecution } from "./cloud-chat-execution-preparation.js";
|
|
19
|
+
import { getDefaultAgentId, getProjectAgentRuntime, getResolvedAgentConfig, resolveAgentConfig, } from "./cloud-agent-config.js";
|
|
20
|
+
import { buildHostedDelegateTools, createInvokeAgentTool, createLoadSkillTool, fetchProjectSteering, getDiscoveredHostTools, getProjectInstructions, getSkillsConfig, refreshProjectSkillIds, resolveHostedDelegationBinding, resolveMcpServers, setFilteredTraceAttributes, } from "./cloud-agent-child-tools.js";
|
|
21
|
+
const DEFAULT_FORWARDED_CONFIG_NAMESPACE = "veryfront";
|
|
22
|
+
const DEFAULT_PROJECT_NAVIGATION_TOOL_NAMES = ["studio_open_project"];
|
|
23
|
+
/** Builds the local tool set for a root chat runtime task context. */
|
|
24
|
+
export function buildLocalTools(context, options, taskContext) {
|
|
25
|
+
const config = context.infrastructure.getConfig();
|
|
26
|
+
const tools = {
|
|
27
|
+
...getDiscoveredHostTools({ agentId: taskContext.agentId }),
|
|
28
|
+
form_input: createHostedFormInputTool(taskContext, config.VERYFRONT_API_URL),
|
|
29
|
+
load_skill: createLoadSkillTool(context, taskContext),
|
|
30
|
+
sleep: sleepTool,
|
|
31
|
+
web_fetch: createHostedWebFetchTool(),
|
|
32
|
+
};
|
|
33
|
+
if (options.allowDelegation !== false) {
|
|
34
|
+
const agentConfig = options.liveProjectSteering?.agent;
|
|
35
|
+
const binding = resolveHostedDelegationBinding(agentConfig);
|
|
36
|
+
if (binding.kind === "scoped") {
|
|
37
|
+
Object.assign(tools, buildHostedDelegateTools(context, {
|
|
38
|
+
delegates: binding.delegateIds,
|
|
39
|
+
selfId: agentConfig?.id ?? taskContext.agentId ?? "veryfront",
|
|
40
|
+
taskContext,
|
|
41
|
+
}));
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
// Agents authored before declarative delegates retain the legacy hosted
|
|
45
|
+
// child-fork tool. Explicit scoped delegate bindings opt out.
|
|
46
|
+
tools.invoke_agent = createInvokeAgentTool(context, taskContext);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return tools;
|
|
50
|
+
}
|
|
51
|
+
/** Creates the project steering refresh object for the chat runtime. */
|
|
52
|
+
export function createProjectSteeringRefresh(context) {
|
|
53
|
+
return createDefaultHostedProjectSteeringRefresh({
|
|
54
|
+
fetchProjectInstructions: (lookup) => getProjectInstructions(context, lookup),
|
|
55
|
+
fetchSkills: (lookup) => getSkillsConfig(context, lookup),
|
|
56
|
+
buildInstructions: buildVeryfrontCloudRuntimeInstructions,
|
|
57
|
+
projectScopedRemoteToolOptions: {
|
|
58
|
+
projectNavigationToolNames: DEFAULT_PROJECT_NAVIGATION_TOOL_NAMES,
|
|
59
|
+
},
|
|
60
|
+
logger: context.infrastructure.logger,
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/** Creates the hosted chat runtime for the given options. */
|
|
64
|
+
export function createAgentRuntime(context, options) {
|
|
65
|
+
const config = context.infrastructure.getConfig();
|
|
66
|
+
const projectRuntime = getProjectAgentRuntime(context);
|
|
67
|
+
const refreshSystem = createProjectSteeringRefresh(context);
|
|
68
|
+
const localToolRuntime = createHostedRootLocalToolRuntime({
|
|
69
|
+
allowedToolNames: options.allowedTools,
|
|
70
|
+
apiUrl: config.VERYFRONT_API_URL,
|
|
71
|
+
authToken: options.authToken,
|
|
72
|
+
createBashTool: context.options.createBashTool,
|
|
73
|
+
buildBaseTools: (taskContext) => buildLocalTools(context, options, taskContext),
|
|
74
|
+
});
|
|
75
|
+
return createDefaultHostedChatRuntime({
|
|
76
|
+
options,
|
|
77
|
+
sourceIntegrationPolicy: projectRuntime.sourceIntegrationPolicy,
|
|
78
|
+
config: {
|
|
79
|
+
apiUrl: config.VERYFRONT_API_URL,
|
|
80
|
+
apiMcpUrl: config.VERYFRONT_MCP_URL,
|
|
81
|
+
studioMcpUrl: config.VERYFRONT_STUDIO_MCP_URL,
|
|
82
|
+
mcpServers: resolveMcpServers(context.options, options.liveProjectSteering?.agent),
|
|
83
|
+
},
|
|
84
|
+
buildLocalTools: localToolRuntime.buildLocalTools,
|
|
85
|
+
cleanup: localToolRuntime.cleanup,
|
|
86
|
+
refreshSystem,
|
|
87
|
+
onSteeringMutation: async ({ mutation, taskContext }) => {
|
|
88
|
+
if (mutation.skillsChanged) {
|
|
89
|
+
// Pass the live task context (not a spread copy) so the refreshed
|
|
90
|
+
// owner-scoped skill ids and source paths actually land on the run.
|
|
91
|
+
await refreshProjectSkillIds(context, taskContext);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
onStudioProjectSwitch: async ({ projectId, taskContext }) => {
|
|
95
|
+
if (!applyAgentProjectContextChange(taskContext, projectId)) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
await refreshProjectSkillIds(context, taskContext);
|
|
99
|
+
return true;
|
|
100
|
+
},
|
|
101
|
+
projectScopedRemoteToolOptions: {
|
|
102
|
+
projectNavigationToolNames: DEFAULT_PROJECT_NAVIGATION_TOOL_NAMES,
|
|
103
|
+
},
|
|
104
|
+
createRemoteToolSource: createRemoteMCPToolSource,
|
|
105
|
+
traceLocalTools: {
|
|
106
|
+
trace: (spanName, operation) => context.infrastructure.tracer.trace(spanName, operation),
|
|
107
|
+
buildAttributes: ({ toolName, toolCallId }) => buildExecuteToolTraceAttributes({
|
|
108
|
+
toolName,
|
|
109
|
+
toolCallId,
|
|
110
|
+
}),
|
|
111
|
+
setAttributes: (attributes) => setFilteredTraceAttributes(context, attributes),
|
|
112
|
+
},
|
|
113
|
+
logger: context.infrastructure.logger,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
function setPrepareChatExecutionStartAttributes(context, input) {
|
|
117
|
+
const span = context.infrastructure.tracer.scope().active();
|
|
118
|
+
span?.setAttributes({
|
|
119
|
+
"chat.projectId": input.projectId ?? "none",
|
|
120
|
+
"chat.userId": input.userId,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function setPrepareChatExecutionResultAttributes(context, input) {
|
|
124
|
+
const scheduleTraceAttributes = buildScheduleTraceAttributes(input.forwardedProps);
|
|
125
|
+
const span = context.infrastructure.tracer.scope().active();
|
|
126
|
+
span?.setAttributes(buildAgentRunTraceAttributes({
|
|
127
|
+
operationName: "invoke_agent",
|
|
128
|
+
conversationId: input.conversationId,
|
|
129
|
+
projectId: input.projectId,
|
|
130
|
+
userId: input.userId,
|
|
131
|
+
agentId: input.agentId,
|
|
132
|
+
agentName: input.agentName,
|
|
133
|
+
modelId: input.modelId,
|
|
134
|
+
runId: input.runId,
|
|
135
|
+
parentConversationId: input.upstreamParentConversationId,
|
|
136
|
+
parentRunId: input.upstreamParentRunId,
|
|
137
|
+
toolCallId: input.spawnedFromToolCallId,
|
|
138
|
+
scheduleId: typeof scheduleTraceAttributes["schedule.id"] === "string"
|
|
139
|
+
? scheduleTraceAttributes["schedule.id"]
|
|
140
|
+
: null,
|
|
141
|
+
scheduleName: typeof scheduleTraceAttributes["schedule.name"] === "string"
|
|
142
|
+
? scheduleTraceAttributes["schedule.name"]
|
|
143
|
+
: null,
|
|
144
|
+
}));
|
|
145
|
+
span?.setAttributes({
|
|
146
|
+
"agent.runtime.kind": input.runtimeKind,
|
|
147
|
+
...input.projectServiceTraceAttributes,
|
|
148
|
+
...scheduleTraceAttributes,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
function createHostedChatContextBudgetOptions(context, req, agentConfig, abortSignal) {
|
|
152
|
+
const config = context.infrastructure.getConfig();
|
|
153
|
+
if (!config.VERYFRONT_CONTEXT_COMPACTION_ENABLED || !req.durableRootRun) {
|
|
154
|
+
return undefined;
|
|
155
|
+
}
|
|
156
|
+
return {
|
|
157
|
+
tokenBudget: config.VERYFRONT_CONTEXT_COMPACTION_TOKEN_BUDGET,
|
|
158
|
+
reserveTokens: config.VERYFRONT_CONTEXT_COMPACTION_RESERVE_TOKENS,
|
|
159
|
+
recentTailTokens: config.VERYFRONT_CONTEXT_COMPACTION_RECENT_TAIL_TOKENS,
|
|
160
|
+
minimumRecentTurns: config.VERYFRONT_CONTEXT_COMPACTION_MINIMUM_RECENT_TURNS,
|
|
161
|
+
maxSummaryTokens: config.VERYFRONT_CONTEXT_COMPACTION_MAX_SUMMARY_TOKENS,
|
|
162
|
+
summaryGenerator: createVeryfrontCloudContextSummaryGenerator({
|
|
163
|
+
apiUrl: config.VERYFRONT_API_URL,
|
|
164
|
+
authToken: req.authToken,
|
|
165
|
+
projectSlug: req.projectSlug,
|
|
166
|
+
model: config.VERYFRONT_CONTEXT_COMPACTION_SUMMARY_MODEL ?? agentConfig.model,
|
|
167
|
+
maxOutputTokens: config.VERYFRONT_CONTEXT_COMPACTION_MAX_SUMMARY_TOKENS,
|
|
168
|
+
maxInputTokens: config.VERYFRONT_CONTEXT_COMPACTION_SUMMARY_INPUT_TOKENS,
|
|
169
|
+
abortSignal,
|
|
170
|
+
}),
|
|
171
|
+
logger: {
|
|
172
|
+
debug: (message, metadata) => context.infrastructure.logger.debug(message, metadata),
|
|
173
|
+
error: (message, metadata) => context.infrastructure.logger.error(message, metadata),
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
/** Prepares the chat execution within the project agent runtime scope. */
|
|
178
|
+
export async function prepareChatExecutionWithinProjectRuntime(context, req) {
|
|
179
|
+
const { userId, authToken, projectId, conversationId, upstreamParentConversationId, upstreamParentRunId, spawnedFromToolCallId, } = req;
|
|
180
|
+
const config = context.infrastructure.getConfig();
|
|
181
|
+
const projectServiceTraceAttributes = buildProjectServiceTraceAttributes({
|
|
182
|
+
projectSlug: req.projectSlug,
|
|
183
|
+
readEnv: getEnv,
|
|
184
|
+
});
|
|
185
|
+
setPrepareChatExecutionStartAttributes(context, { projectId, userId });
|
|
186
|
+
const requestedAgentId = req.agentId ?? getDefaultAgentId(context);
|
|
187
|
+
// veryfront-api is the trusted caller for request-scoped project-agent config.
|
|
188
|
+
const agentConfig = req.agentConfig ?? await resolveAgentConfig(context, requestedAgentId);
|
|
189
|
+
const abortController = new AbortController();
|
|
190
|
+
const { effectiveMessages, rootRunContext, runtime: { agent, runtimeKind, modelId, cleanup }, finalMessages, } = await prepareVeryfrontCloudHostedChatExecution({
|
|
191
|
+
request: req,
|
|
192
|
+
agentConfig,
|
|
193
|
+
apiUrl: config.VERYFRONT_API_URL,
|
|
194
|
+
abortSignal: abortController.signal,
|
|
195
|
+
logger: context.infrastructure.logger,
|
|
196
|
+
rootRun: {
|
|
197
|
+
instrumentation: {
|
|
198
|
+
trace: context.trace,
|
|
199
|
+
setTraceAttributes: context.infrastructure.setActiveSpanAttributes,
|
|
200
|
+
debug: (message, metadata) => context.infrastructure.logger.debug(message, metadata),
|
|
201
|
+
warn: (message, metadata) => context.infrastructure.logger.warn(message, metadata),
|
|
202
|
+
error: (message, metadata) => context.infrastructure.logger.error(message, metadata),
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
fetchSteering: (steeringInput) => fetchProjectSteering(context, steeringInput),
|
|
206
|
+
buildInstructions: buildVeryfrontCloudRuntimeInstructions,
|
|
207
|
+
contextBudget: createHostedChatContextBudgetOptions(context, req, agentConfig, abortController.signal),
|
|
208
|
+
createRuntime: (creationOptions) => context.trace("chat.createRuntime", () => createAgentRuntime(context, {
|
|
209
|
+
...creationOptions,
|
|
210
|
+
userId: req.userId,
|
|
211
|
+
})),
|
|
212
|
+
});
|
|
213
|
+
setPrepareChatExecutionResultAttributes(context, {
|
|
214
|
+
conversationId,
|
|
215
|
+
projectId,
|
|
216
|
+
userId,
|
|
217
|
+
agentId: agentConfig.id,
|
|
218
|
+
agentName: agentConfig.name,
|
|
219
|
+
modelId,
|
|
220
|
+
runId: rootRunContext.durableRootRun?.runId,
|
|
221
|
+
upstreamParentConversationId,
|
|
222
|
+
upstreamParentRunId,
|
|
223
|
+
spawnedFromToolCallId,
|
|
224
|
+
runtimeKind,
|
|
225
|
+
forwardedProps: req.forwardedProps,
|
|
226
|
+
projectServiceTraceAttributes,
|
|
227
|
+
});
|
|
228
|
+
return {
|
|
229
|
+
config,
|
|
230
|
+
agent,
|
|
231
|
+
agentId: agentConfig.id,
|
|
232
|
+
runtimeKind,
|
|
233
|
+
modelId,
|
|
234
|
+
cleanup,
|
|
235
|
+
messages: effectiveMessages,
|
|
236
|
+
finalMessages,
|
|
237
|
+
conversationId,
|
|
238
|
+
authToken,
|
|
239
|
+
projectId,
|
|
240
|
+
userId,
|
|
241
|
+
rootRunContext,
|
|
242
|
+
upstreamParentConversationId,
|
|
243
|
+
upstreamParentRunId,
|
|
244
|
+
spawnedFromToolCallId,
|
|
245
|
+
traceAttributes: {
|
|
246
|
+
...projectServiceTraceAttributes,
|
|
247
|
+
...buildScheduleTraceAttributes(req.forwardedProps),
|
|
248
|
+
},
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
/** Prepares the chat execution, running within the project agent runtime. */
|
|
252
|
+
export async function prepareChatExecution(context, req) {
|
|
253
|
+
return await runWithProjectAgentRuntime(getProjectAgentRuntime(context), () => prepareChatExecutionWithinProjectRuntime(context, req));
|
|
254
|
+
}
|
|
255
|
+
/** Creates the prepared execution runtime options for streaming and detached runs. */
|
|
256
|
+
export function createPreparedExecutionRuntimeOptions(context, config) {
|
|
257
|
+
return createVeryfrontCloudPreparedHostedChatExecutionRuntimeOptions({
|
|
258
|
+
apiUrl: config.VERYFRONT_API_URL,
|
|
259
|
+
tracer: context.infrastructure.tracer,
|
|
260
|
+
trace: context.trace,
|
|
261
|
+
traceStream: (operation) => context.infrastructure.tracer.trace("chat.stream", operation),
|
|
262
|
+
logger: context.infrastructure.logger,
|
|
263
|
+
setActiveSpanAttributes: context.infrastructure.setActiveSpanAttributes,
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
function resolveAgentServiceRuntimeName() {
|
|
267
|
+
if (Reflect.get(dntShim.dntGlobalThis, "Bun")) {
|
|
268
|
+
return "bun";
|
|
269
|
+
}
|
|
270
|
+
if (Reflect.get(dntShim.dntGlobalThis, "Deno")) {
|
|
271
|
+
return "deno";
|
|
272
|
+
}
|
|
273
|
+
return "node";
|
|
274
|
+
}
|
|
275
|
+
function getAgentServiceVersion(context) {
|
|
276
|
+
return context.options.env?.npm_package_version;
|
|
277
|
+
}
|
|
278
|
+
/** Creates and starts the control plane registration lifecycle if enabled. */
|
|
279
|
+
export async function createControlPlaneRegistrationLifecycle(context) {
|
|
280
|
+
const config = context.infrastructure.getConfig();
|
|
281
|
+
const registrationInput = await resolveAgentServiceRegistrationInput({
|
|
282
|
+
config,
|
|
283
|
+
serviceName: context.options.serviceName,
|
|
284
|
+
agentId: getDefaultAgentId(context),
|
|
285
|
+
version: getAgentServiceVersion(context),
|
|
286
|
+
runtime: resolveAgentServiceRuntimeName(),
|
|
287
|
+
});
|
|
288
|
+
if (!registrationInput) {
|
|
289
|
+
return undefined;
|
|
290
|
+
}
|
|
291
|
+
if (!context.options.runtimeSource) {
|
|
292
|
+
throw new Error("runtimeSource is required when agent service control-plane registration is enabled.");
|
|
293
|
+
}
|
|
294
|
+
try {
|
|
295
|
+
const lifecycle = await createAgentServiceRegistrationLifecycle({
|
|
296
|
+
...registrationInput,
|
|
297
|
+
logger: context.infrastructure.logger,
|
|
298
|
+
});
|
|
299
|
+
return {
|
|
300
|
+
stop: () => lifecycle.stop(),
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
catch (error) {
|
|
304
|
+
if (config.VERYFRONT_AGENT_SERVICE_REGISTRATION === "enabled") {
|
|
305
|
+
throw error;
|
|
306
|
+
}
|
|
307
|
+
context.infrastructure.logger.warn("Agent service registration skipped", {
|
|
308
|
+
error: error instanceof Error ? error.message : String(error),
|
|
309
|
+
});
|
|
310
|
+
return undefined;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
/** Builds the full CreateAgentServiceRuntimeOptions for the cloud agent service. */
|
|
314
|
+
export function createNodeVeryfrontCloudAgentServiceRuntimeOptions(context) {
|
|
315
|
+
return {
|
|
316
|
+
serviceName: context.options.serviceName,
|
|
317
|
+
runtimeSource: context.options.runtimeSource,
|
|
318
|
+
forwardedConfigNamespace: context.options.forwardedConfigNamespace ??
|
|
319
|
+
DEFAULT_FORWARDED_CONFIG_NAMESPACE,
|
|
320
|
+
getConfig: context.infrastructure.getConfig,
|
|
321
|
+
getAgentConfig: () => getResolvedAgentConfig(context),
|
|
322
|
+
tracker: context.tracker,
|
|
323
|
+
prepareExecution: (request) => prepareChatExecution(context, request),
|
|
324
|
+
streamExecutionToAgUiResponse: (execution) => streamPreparedHostedChatExecutionToAgUiResponse({
|
|
325
|
+
execution,
|
|
326
|
+
runtime: createPreparedExecutionRuntimeOptions(context, execution.config),
|
|
327
|
+
}),
|
|
328
|
+
startDetachedExecution: ({ execution, abortSignal }) => runPreparedHostedChatExecutionDetached({
|
|
329
|
+
execution: {
|
|
330
|
+
...execution,
|
|
331
|
+
abortSignal,
|
|
332
|
+
},
|
|
333
|
+
runtime: createPreparedExecutionRuntimeOptions(context, execution.config),
|
|
334
|
+
}),
|
|
335
|
+
cleanupExecution: async ({ execution, runId, conversationId }) => {
|
|
336
|
+
await execution.cleanup().catch((error) => {
|
|
337
|
+
context.infrastructure.logger.error("Detached durable run cleanup failed after duplicate start", {
|
|
338
|
+
runId,
|
|
339
|
+
conversationId,
|
|
340
|
+
error: error instanceof Error ? error.message : String(error),
|
|
341
|
+
});
|
|
342
|
+
});
|
|
343
|
+
},
|
|
344
|
+
setActiveSpanAttributes: context.infrastructure.setActiveSpanAttributes,
|
|
345
|
+
trace: context.trace,
|
|
346
|
+
logger: context.infrastructure.logger,
|
|
347
|
+
drainTimeoutMs: context.options.drainTimeoutMs ?? 15_000,
|
|
348
|
+
};
|
|
349
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type HostToolSet } from "../../tool/index.js";
|
|
2
|
+
import { type AgentServiceMcpServerConfig } from "../service/mcp-server-config.js";
|
|
3
|
+
import type { RuntimeLoadSkillToolContext } from "../runtime/load-skill-tool.js";
|
|
4
|
+
import type { RuntimeProjectSteeringLookup } from "../runtime/project-skill-catalog.js";
|
|
5
|
+
import { type RuntimeSkillDefinition } from "../runtime/skill-metadata.js";
|
|
6
|
+
import type { RuntimeAgentMarkdownDefinition } from "../runtime/agent-definition.js";
|
|
7
|
+
import type { RuntimeClientProfile } from "../runtime/client-profile.js";
|
|
8
|
+
import type { DefaultHostedChildAgentExecutionConfig, DefaultHostedInvokeAgentContext } from "./default-invoke-agent-tool.js";
|
|
9
|
+
import type { HostedChildRunIdentifiers } from "./child-status.js";
|
|
10
|
+
import type { HostedProjectSkillIdsContext } from "./project-steering-adapter.js";
|
|
11
|
+
import { type NodeVeryfrontCloudAgentServiceContext } from "./cloud-agent-config.js";
|
|
12
|
+
/**
|
|
13
|
+
* Task context carried through a hosted child agent run. Combines the invoke-agent
|
|
14
|
+
* base context with skill/tool availability fields.
|
|
15
|
+
*/
|
|
16
|
+
export type ChildRunContext = DefaultHostedInvokeAgentContext & Pick<RuntimeLoadSkillToolContext, "agentId" | "availableSkillIds" | "skillSourcePaths" | "loadedSkillResponses" | "loadedSkillReferenceResponses"> & {
|
|
17
|
+
clientProfile?: RuntimeClientProfile | null;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Resolves the effective MCP server list by intersecting service-level options
|
|
21
|
+
* with optional per-agent overrides.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveMcpServers(options: {
|
|
24
|
+
mcpServers?: readonly AgentServiceMcpServerConfig[];
|
|
25
|
+
}, agentConfig?: Pick<RuntimeAgentMarkdownDefinition, "mcpServers">): readonly AgentServiceMcpServerConfig[];
|
|
26
|
+
/**
|
|
27
|
+
* Returns the set of host tools visible to the given agent scope, excluding
|
|
28
|
+
* shared skill infrastructure tools (load_skill_reference, execute_skill_script).
|
|
29
|
+
*/
|
|
30
|
+
export declare function getDiscoveredHostTools(scope?: {
|
|
31
|
+
agentId?: string;
|
|
32
|
+
}): HostToolSet;
|
|
33
|
+
/** Fetches the project instructions for the given agent id and lookup context. */
|
|
34
|
+
export declare function getProjectInstructions(context: NodeVeryfrontCloudAgentServiceContext, lookup: RuntimeProjectSteeringLookup, agentId?: string): Promise<string>;
|
|
35
|
+
/** Fetches the resolved skill definitions for the given agent id and lookup context. */
|
|
36
|
+
export declare function getSkillsConfig(context: NodeVeryfrontCloudAgentServiceContext, lookup: RuntimeProjectSteeringLookup, agentId?: string): Promise<RuntimeSkillDefinition[]>;
|
|
37
|
+
/** Creates the load_skill tool scoped to the given tool context. */
|
|
38
|
+
export declare function createLoadSkillTool(context: NodeVeryfrontCloudAgentServiceContext, toolContext: RuntimeLoadSkillToolContext): import("../../tool/types.js").Tool<import("../../extensions/schema/schema-validator.js").InferShape<{
|
|
39
|
+
skillId: import("../../internal-agents/schema.js").Schema<string>;
|
|
40
|
+
file: import("../../internal-agents/schema.js").Schema<string | undefined>;
|
|
41
|
+
}>, import("../index.js").RuntimeLoadSkillToolOutput>;
|
|
42
|
+
/** Refreshes the project skill ids for the given skill context. */
|
|
43
|
+
export declare function refreshProjectSkillIds(context: NodeVeryfrontCloudAgentServiceContext, skillContext: HostedProjectSkillIdsContext): Promise<void>;
|
|
44
|
+
/** Sets filtered trace attributes on the active span. */
|
|
45
|
+
export declare function setFilteredTraceAttributes(context: NodeVeryfrontCloudAgentServiceContext, attributes: Record<string, unknown>): void;
|
|
46
|
+
/** Resolves the effective tool name allowlist for a hosted child agent run. */
|
|
47
|
+
export declare function resolveHostedChildToolNames(agentConfig: RuntimeAgentMarkdownDefinition): string[] | undefined;
|
|
48
|
+
/** Builds the child run context for a nested hosted agent invocation. */
|
|
49
|
+
export declare function buildHostedChildToolContext(globalToolContext: ChildRunContext, childAgentId: string, childConfig: DefaultHostedChildAgentExecutionConfig | undefined, durableChildRun?: HostedChildRunIdentifiers): ChildRunContext;
|
|
50
|
+
/** Fetches project steering for a given project / auth / branch combination. */
|
|
51
|
+
export declare function fetchProjectSteering(context: NodeVeryfrontCloudAgentServiceContext, input: {
|
|
52
|
+
projectId: string | null;
|
|
53
|
+
authToken: string;
|
|
54
|
+
branchId?: string | null;
|
|
55
|
+
}, agentId?: string): Promise<import("./chat-preparation.js").HostedChatRuntimePreparationSteering>;
|
|
56
|
+
/** Resolves the execution config for a hosted child agent invocation. */
|
|
57
|
+
export declare function resolveHostedChildAgentExecutionConfig(context: NodeVeryfrontCloudAgentServiceContext, taskContext: ChildRunContext, childAgentId: string, projectId: string): Promise<DefaultHostedChildAgentExecutionConfig | undefined>;
|
|
58
|
+
/** Creates the invoke_agent tool for the given child context. */
|
|
59
|
+
export declare function createInvokeAgentTool(context: NodeVeryfrontCloudAgentServiceContext, childContext: ChildRunContext, options?: {
|
|
60
|
+
requireDurable?: boolean;
|
|
61
|
+
}): import("../../tool/types.js").Tool<import("./default-invoke-agent-tool.js").DefaultHostedInvokeAgentInput, import("./default-invoke-agent-tool.js").DefaultHostedInvokeAgentToolResult>;
|
|
62
|
+
/** Builds the set of delegate agent tools for the given delegate ids. */
|
|
63
|
+
export declare function buildHostedDelegateTools(context: NodeVeryfrontCloudAgentServiceContext, input: {
|
|
64
|
+
delegates: readonly string[];
|
|
65
|
+
selfId: string;
|
|
66
|
+
taskContext: ChildRunContext;
|
|
67
|
+
}): HostToolSet;
|
|
68
|
+
/** The shape of a hosted delegation binding (scoped vs. legacy). */
|
|
69
|
+
export type HostedDelegationBinding = {
|
|
70
|
+
kind: "scoped";
|
|
71
|
+
delegateIds: string[];
|
|
72
|
+
} | {
|
|
73
|
+
kind: "legacy";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Resolves the delegation binding from an agent config. Agents with an explicit
|
|
77
|
+
* `delegates` list use scoped delegation; all others fall back to legacy invoke_agent.
|
|
78
|
+
*/
|
|
79
|
+
export declare function resolveHostedDelegationBinding(agentConfig: RuntimeAgentMarkdownDefinition | undefined): HostedDelegationBinding;
|
|
80
|
+
//# sourceMappingURL=cloud-agent-child-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-agent-child-tools.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/cloud-agent-child-tools.ts"],"names":[],"mappings":"AAKA,OAAO,EAGL,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EACL,KAAK,2BAA2B,EAEjC,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAKrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EACV,sCAAsC,EAEtC,+BAA+B,EAChC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAElF,OAAO,EAGL,KAAK,qCAAqC,EAE3C,MAAM,yBAAyB,CAAC;AAOjC;;;GAGG;AACH,MAAM,MAAM,eAAe,GACvB,+BAA+B,GAC/B,IAAI,CACJ,2BAA2B,EACzB,SAAS,GACT,mBAAmB,GACnB,kBAAkB,GAClB,sBAAsB,GACtB,+BAA+B,CAClC,GACC;IACA,aAAa,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEJ;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE;IAAE,UAAU,CAAC,EAAE,SAAS,2BAA2B,EAAE,CAAA;CAA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