veryfront 0.1.716 → 0.1.722

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.716",
3
+ "version": "0.1.722",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": "P2D",
@@ -6,15 +6,6 @@ export declare const getHostedChildForkToolInputSchema: () => import("../../inte
6
6
  description: import("../../internal-agents/schema.js").Schema<string>;
7
7
  prompt: import("../../internal-agents/schema.js").Schema<string>;
8
8
  context: import("../../internal-agents/schema.js").Schema<Record<string, import("../../schemas/primitives.js").JsonValue>>;
9
- evidence_refs: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
10
- id: import("../../internal-agents/schema.js").Schema<string | undefined>;
11
- run_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
12
- message_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
13
- tool_call_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
14
- result_path: import("../../internal-agents/schema.js").Schema<string | undefined>;
15
- label: import("../../internal-agents/schema.js").Schema<string | undefined>;
16
- summary: import("../../internal-agents/schema.js").Schema<string | undefined>;
17
- }>[] | undefined>;
18
9
  project_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
19
10
  tools: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
20
11
  model: import("../../internal-agents/schema.js").Schema<string | undefined>;
@@ -28,15 +19,6 @@ export declare const hostedChildForkToolInputSchema: import("../../internal-agen
28
19
  description: import("../../internal-agents/schema.js").Schema<string>;
29
20
  prompt: import("../../internal-agents/schema.js").Schema<string>;
30
21
  context: import("../../internal-agents/schema.js").Schema<Record<string, import("../../schemas/primitives.js").JsonValue>>;
31
- evidence_refs: import("../../internal-agents/schema.js").Schema<import("../../extensions/schema/schema-validator.js").InferShape<{
32
- id: import("../../internal-agents/schema.js").Schema<string | undefined>;
33
- run_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
34
- message_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
35
- tool_call_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
36
- result_path: import("../../internal-agents/schema.js").Schema<string | undefined>;
37
- label: import("../../internal-agents/schema.js").Schema<string | undefined>;
38
- summary: import("../../internal-agents/schema.js").Schema<string | undefined>;
39
- }>[] | undefined>;
40
22
  project_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
41
23
  tools: import("../../internal-agents/schema.js").Schema<string[] | undefined>;
42
24
  model: import("../../internal-agents/schema.js").Schema<string | undefined>;
@@ -57,7 +39,7 @@ export type HostedChildForkRuntimeConfig = {
57
39
  };
58
40
  /** Input payload for resolve hosted child fork runtime config. */
59
41
  export type ResolveHostedChildForkRuntimeConfigInput = {
60
- forkInput: Pick<HostedChildForkToolInput, "description" | "prompt" | "context" | "evidence_refs" | "tools" | "model" | "thinking" | "max_steps">;
42
+ forkInput: Pick<HostedChildForkToolInput, "description" | "prompt" | "context" | "tools" | "model" | "thinking" | "max_steps">;
61
43
  contextModel?: string;
62
44
  defaultModel: string;
63
45
  defaultMaxSteps: number;
@@ -1 +1 @@
1
- {"version":3,"file":"child-tool-input.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/child-tool-input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAEjF,+CAA+C;AAC/C,eAAO,MAAM,6BAA6B,uBAAuB,CAAC;AAclE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;GA2B7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;GAAgD,CAAC;AAE5F,gDAAgD;AAChD,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAChD,UAAU,CAAC,OAAO,iCAAiC,CAAC,CACrD,CAAC;AAEF,uDAAuD;AACvD,MAAM,MAAM,4BAA4B,GAAG;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,0BAA0B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,kEAAkE;AAClE,MAAM,MAAM,wCAAwC,GAAG;IACrD,SAAS,EAAE,IAAI,CACb,wBAAwB,EACtB,aAAa,GACb,QAAQ,GACR,SAAS,GACT,eAAe,GACf,OAAO,GACP,OAAO,GACP,UAAU,GACV,WAAW,CACd,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;CAC9C,CAAC;AAEF,oDAAoD;AACpD,wBAAgB,sCAAsC,CACpD,QAAQ,EAAE,wBAAwB,CAAC,UAAU,CAAC,GAC7C,0BAA0B,GAAG,SAAS,CAUxC;AAwBD,+DAA+D;AAC/D,wBAAgB,mCAAmC,CACjD,KAAK,EAAE,wCAAwC,GAC9C,4BAA4B,CAuB9B"}
1
+ {"version":3,"file":"child-tool-input.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/child-tool-input.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAEjF,+CAA+C;AAC/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onValueSchema, lazySchema } from "../../schemas/inde
2
2
  import { withDefaultResearchArtifactPath } from "../artifacts/default-research-artifact-policy.js";
3
3
  /** Default value for hosted child agent ID. */
4
4
  export const DEFAULT_HOSTED_CHILD_AGENT_ID = "invoke-agent-child";
5
- const getHostedChildForkEvidenceRefSchema = defineSchema((v) => v.object({
6
- id: v.string().optional().describe("Optional stable evidence reference id."),
7
- run_id: v.string().optional().describe("Run id that produced the evidence."),
8
- message_id: v.string().optional().describe("Message id that stores the evidence."),
9
- tool_call_id: v.string().optional().describe("Tool call id that produced the evidence."),
10
- result_path: v.string().optional().describe("JSONPath-style path into the structured result."),
11
- label: v.string().optional().describe("Short human-readable label for this evidence."),
12
- summary: v.string().optional().describe("Optional compact summary of the referenced evidence."),
13
- }));
14
5
  export const getHostedChildForkToolInputSchema = defineSchema((v) => v.object({
15
6
  description: v.string().describe("3-5 word task summary"),
16
7
  prompt: v.string().describe("Detailed instructions for the task"),
17
8
  context: v.record(v.string(), getJsonValueSchema()).describe("Required structured data payload for the child task. Use this for critical facts, records, ids, decisions, and values the child must act on. Use {} only when the delegation has no record or evidence payload."),
18
- evidence_refs: v.array(getHostedChildForkEvidenceRefSchema()).optional().describe("Generic source-of-truth references for facts the child must preserve. " +
19
- "Use run_id/message_id/tool_call_id plus result_path instead of copying critical facts as prose."),
20
9
  project_id: v.string().optional().describe("Override project context. Use after studio_open_project."),
21
10
  tools: v.array(v.string()).optional().describe("Tool subset for this fork. Omit = inherit all parent tools."),
22
11
  model: v.string().optional().describe('Model override (e.g. "sonnet" for cheaper work).'),
@@ -41,18 +30,12 @@ export function resolveHostedChildForkThinkingOverride(thinking) {
41
30
  }
42
31
  return undefined;
43
32
  }
44
- function appendEvidenceRefsToPrompt(prompt, evidenceRefs) {
45
- if (!evidenceRefs || evidenceRefs.length === 0) {
46
- return prompt;
47
- }
48
- return `${prompt}\n\n<evidence_refs>\n${JSON.stringify(evidenceRefs)}\n</evidence_refs>\nTreat these references as source-of-truth pointers. If prose conflicts with referenced evidence, prefer the referenced evidence and say what conflicted.`;
49
- }
50
33
  function appendStructuredContextToPrompt(prompt, context) {
51
34
  return `${prompt}\n\n<structured_context>\n${JSON.stringify(context)}\n</structured_context>\nTreat structured_context as the authoritative data payload for the child task. If prose conflicts with structured_context, use structured_context and say what conflicted.`;
52
35
  }
53
36
  /** Configuration used by resolve hosted child fork runtime. */
54
37
  export function resolveHostedChildForkRuntimeConfig(input) {
55
- const { description, prompt, context, evidence_refs, tools, model, thinking, max_steps } = input.forkInput;
38
+ const { description, prompt, context, tools, model, thinking, max_steps } = input.forkInput;
56
39
  const forkModel = input.resolveModelId(model || input.contextModel || input.defaultModel);
57
40
  const requestedMaxSteps = typeof max_steps === "number" ? max_steps : undefined;
58
41
  const promptWithArtifactPath = withDefaultResearchArtifactPath({
@@ -62,7 +45,7 @@ export function resolveHostedChildForkRuntimeConfig(input) {
62
45
  });
63
46
  return {
64
47
  description,
65
- effectivePrompt: appendEvidenceRefsToPrompt(appendStructuredContextToPrompt(promptWithArtifactPath, context), evidence_refs),
48
+ effectivePrompt: appendStructuredContextToPrompt(promptWithArtifactPath, context),
66
49
  requestedTools: tools,
67
50
  forkModel,
68
51
  provider: input.resolveProvider(forkModel),
@@ -80,15 +80,6 @@ export declare const getDefaultHostedInvokeAgentInputSchema: () => import("../..
80
80
  prompt: string;
81
81
  context: Record<string, import("../../schemas/primitives.js").JsonValue>;
82
82
  } & {
83
- evidence_refs?: import("../../extensions/schema/schema-validator.js").InferShape<{
84
- id: import("../../internal-agents/schema.js").Schema<string | undefined>;
85
- run_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
86
- message_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
87
- tool_call_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
88
- result_path: import("../../internal-agents/schema.js").Schema<string | undefined>;
89
- label: import("../../internal-agents/schema.js").Schema<string | undefined>;
90
- summary: import("../../internal-agents/schema.js").Schema<string | undefined>;
91
- }>[] | undefined;
92
83
  project_id?: string | undefined;
93
84
  tools?: string[] | undefined;
94
85
  model?: string | undefined;
@@ -105,15 +96,6 @@ export declare const defaultHostedInvokeAgentInputSchema: import("../../internal
105
96
  prompt: string;
106
97
  context: Record<string, import("../../schemas/primitives.js").JsonValue>;
107
98
  } & {
108
- evidence_refs?: import("../../extensions/schema/schema-validator.js").InferShape<{
109
- id: import("../../internal-agents/schema.js").Schema<string | undefined>;
110
- run_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
111
- message_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
112
- tool_call_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
113
- result_path: import("../../internal-agents/schema.js").Schema<string | undefined>;
114
- label: import("../../internal-agents/schema.js").Schema<string | undefined>;
115
- summary: import("../../internal-agents/schema.js").Schema<string | undefined>;
116
- }>[] | undefined;
117
99
  project_id?: string | undefined;
118
100
  tools?: string[] | undefined;
119
101
  model?: string | undefined;
@@ -132,15 +114,6 @@ export declare function createDefaultHostedInvokeAgentTool<TContext extends Defa
132
114
  prompt: string;
133
115
  context: Record<string, import("../../schemas/primitives.js").JsonValue>;
134
116
  } & {
135
- evidence_refs?: import("../../extensions/schema/schema-validator.js").InferShape<{
136
- id: import("../../internal-agents/schema.js").Schema<string | undefined>;
137
- run_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
138
- message_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
139
- tool_call_id: import("../../internal-agents/schema.js").Schema<string | undefined>;
140
- result_path: import("../../internal-agents/schema.js").Schema<string | undefined>;
141
- label: import("../../internal-agents/schema.js").Schema<string | undefined>;
142
- summary: import("../../internal-agents/schema.js").Schema<string | undefined>;
143
- }>[] | undefined;
144
117
  project_id?: string | undefined;
145
118
  tools?: string[] | undefined;
146
119
  model?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"default-invoke-agent-tool.d.ts","sourceRoot":"","sources":["../../../../src/src/agent/hosted/default-invoke-agent-tool.ts"],"names":[],"mappings":"AACA,O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EG;YACW,mBAAmB;IAOjC;;OAEG;IACH,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,sBAAsB;IAc9B;;OAEG;IACH,SAAS,IAAI,MAAM,CAAC,OAAO,CAAC;IAI5B;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC;QAC9B,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;QACxB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IAIF;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CAGnC"}
@@ -44,7 +44,6 @@ import { accumulateUsage, getMaxSteps, normalizeInput } from "./input-utils.js";
44
44
  import { filterToolsForSkill, isToolAllowedBySkill, validateAllowedToolPatterns, } from "../../skill/allowed-tools.js";
45
45
  import { resolveConfiguredAgentModel, resolveRuntimeModel } from "./model-resolution.js";
46
46
  import { stringifyToolError, throwIfAborted } from "./error-utils.js";
47
- import { appendCurrentRunToolStateToSystemPrompt, createCurrentRunToolState, hydrateCurrentRunToolStateFromMessages, recordCurrentRunToolResult, validateInvokeAgentInputAgainstCurrentRunEvidence, } from "./current-run-tool-state.js";
48
47
  import { applySkillDelegationOverridesToToolInput, extractSkillDelegationOverrides, } from "./skill-delegation-overrides.js";
49
48
  const logger = serverLogger.component("agent");
50
49
  const LOAD_SKILL_TOOL_ID = "load_skill";
@@ -592,8 +591,6 @@ export class AgentRuntime {
592
591
  const languageModel = resolvedModel ?? resolveModel(effectiveModel);
593
592
  const toolCalls = [];
594
593
  const currentMessages = [...messages];
595
- const currentRunToolState = createCurrentRunToolState();
596
- hydrateCurrentRunToolStateFromMessages(currentRunToolState, currentMessages);
597
594
  const totalUsage = { promptTokens: 0, completionTokens: 0, totalTokens: 0 };
598
595
  // Local models can't reliably do function calling — skip tools gracefully.
599
596
  const isLocal = isLocalModelRuntime(languageModel);
@@ -628,7 +625,6 @@ export class AgentRuntime {
628
625
  if (activeSkillPolicy) {
629
626
  tools = filterToolsForSkill(tools, activeSkillPolicy);
630
627
  }
631
- const modelSystemPrompt = appendCurrentRunToolStateToSystemPrompt(currentSystemPrompt, currentRunToolState);
632
628
  const response = await withSpan("agent.generate_text", async (span) => {
633
629
  setSpanAttributes(span, {
634
630
  "model.id": effectiveModel,
@@ -636,7 +632,7 @@ export class AgentRuntime {
636
632
  });
637
633
  return generateText({
638
634
  model: languageModel,
639
- system: modelSystemPrompt,
635
+ system: currentSystemPrompt,
640
636
  messages: convertToTextGenerationRuntimeMessages(currentMessages),
641
637
  tools: convertToolsToRuntimeTools(tools, {
642
638
  model: effectiveModel,
@@ -679,20 +675,12 @@ export class AgentRuntime {
679
675
  currentMessages.push(assistantMessage);
680
676
  await this.memory.add(assistantMessage);
681
677
  const generatedToolResults = collectGeneratedToolResults(response.toolResults);
682
- const persistGeneratedToolResult = async (generatedToolResult, input = {}) => {
678
+ const persistGeneratedToolResult = async (generatedToolResult) => {
683
679
  const toolResultMessage = createToolResultMessage(generatedToolResult.toolCallId, generatedToolResult.toolName, generatedToolResult.isError === true
684
680
  ? { error: stringifyToolError(generatedToolResult.result) }
685
681
  : generatedToolResult.result, generatedToolResult.providerExecuted === true);
686
682
  currentMessages.push(toolResultMessage);
687
683
  await this.memory.add(toolResultMessage);
688
- recordCurrentRunToolResult(currentRunToolState, {
689
- toolCallId: generatedToolResult.toolCallId,
690
- toolName: generatedToolResult.toolName,
691
- input,
692
- result: generatedToolResult.isError === true
693
- ? { error: stringifyToolError(generatedToolResult.result) }
694
- : generatedToolResult.result,
695
- });
696
684
  };
697
685
  if (!response.toolCalls?.length) {
698
686
  for (const generatedToolResult of generatedToolResults.values()) {
@@ -724,7 +712,7 @@ export class AgentRuntime {
724
712
  await withSpan("agent.tool_execute", async (toolSpan) => {
725
713
  setSpanAttributes(toolSpan, { "tool.name": tc.toolName, "tool.id": tc.toolCallId });
726
714
  if (generatedToolResult) {
727
- await persistGeneratedToolResult(generatedToolResult, toolCall.args);
715
+ await persistGeneratedToolResult(generatedToolResult);
728
716
  toolCall.status = generatedToolResult.isError === true ? "error" : "completed";
729
717
  toolCall.result = generatedToolResult.result;
730
718
  toolCall.error = generatedToolResult.isError === true
@@ -750,12 +738,6 @@ export class AgentRuntime {
750
738
  };
751
739
  currentMessages.push(errorMessage);
752
740
  await this.memory.add(errorMessage);
753
- recordCurrentRunToolResult(currentRunToolState, {
754
- toolCallId: tc.toolCallId,
755
- toolName: tc.toolName,
756
- input: toolCall.args,
757
- result: { error: policyCheck.error },
758
- });
759
741
  toolCalls.push(toolCall);
760
742
  return;
761
743
  }
@@ -764,24 +746,6 @@ export class AgentRuntime {
764
746
  const startTime = Date.now();
765
747
  const cacheCtx = tryGetCacheKeyContext();
766
748
  toolCall.args = applySkillDelegationOverridesToToolInput(tc.toolName, toolCall.args, activeSkillDelegationOverrides);
767
- if (tc.toolName === "invoke_agent") {
768
- const evidenceCheck = validateInvokeAgentInputAgainstCurrentRunEvidence(currentRunToolState, toolCall.args);
769
- if (!evidenceCheck.ok) {
770
- toolCall.status = "error";
771
- toolCall.error = evidenceCheck.error;
772
- const errorMessage = createToolErrorMessage(tc.toolCallId, tc.toolName, evidenceCheck.error);
773
- currentMessages.push(errorMessage);
774
- await this.memory.add(errorMessage);
775
- recordCurrentRunToolResult(currentRunToolState, {
776
- toolCallId: tc.toolCallId,
777
- toolName: tc.toolName,
778
- input: toolCall.args,
779
- result: { error: evidenceCheck.error },
780
- });
781
- toolCalls.push(toolCall);
782
- return;
783
- }
784
- }
785
749
  const executionContext = {
786
750
  toolCallId: tc.toolCallId,
787
751
  ...toolContext,
@@ -796,12 +760,6 @@ export class AgentRuntime {
796
760
  result,
797
761
  context: executionContext,
798
762
  });
799
- recordCurrentRunToolResult(currentRunToolState, {
800
- toolCallId: tc.toolCallId,
801
- toolName: tc.toolName,
802
- input: toolCall.args,
803
- result,
804
- });
805
763
  toolCall.status = "completed";
806
764
  toolCall.result = result;
807
765
  toolCall.executionTime = Date.now() - startTime;
@@ -822,12 +780,6 @@ export class AgentRuntime {
822
780
  const errorMessage = createToolErrorMessage(tc.toolCallId, tc.toolName, toolCall.error);
823
781
  currentMessages.push(errorMessage);
824
782
  await this.memory.add(errorMessage);
825
- recordCurrentRunToolResult(currentRunToolState, {
826
- toolCallId: tc.toolCallId,
827
- toolName: tc.toolName,
828
- input: toolCall.args,
829
- result: { error: toolCall.error },
830
- });
831
783
  }
832
784
  toolCalls.push(toolCall);
833
785
  });
@@ -858,8 +810,6 @@ export class AgentRuntime {
858
810
  const languageModel = resolvedModel ?? resolveModel(effectiveModel);
859
811
  const toolCalls = [];
860
812
  const currentMessages = [...messages];
861
- const currentRunToolState = createCurrentRunToolState();
862
- hydrateCurrentRunToolStateFromMessages(currentRunToolState, currentMessages);
863
813
  const totalUsage = { promptTokens: 0, completionTokens: 0, totalTokens: 0 };
864
814
  // Local models can't reliably do function calling — skip tools gracefully.
865
815
  const isLocalStreaming = isLocalModelRuntime(languageModel);
@@ -897,14 +847,13 @@ export class AgentRuntime {
897
847
  if (activeSkillPolicy) {
898
848
  tools = filterToolsForSkill(tools, activeSkillPolicy);
899
849
  }
900
- const modelSystemPrompt = appendCurrentRunToolStateToSystemPrompt(currentSystemPrompt, currentRunToolState);
901
850
  const runtimeTools = convertToolsToRuntimeTools(tools, {
902
851
  model: effectiveModel,
903
852
  providerTools,
904
853
  });
905
854
  const result = streamText({
906
855
  model: languageModel,
907
- system: modelSystemPrompt,
856
+ system: currentSystemPrompt,
908
857
  messages: convertToTextGenerationRuntimeMessages(currentMessages),
909
858
  tools: runtimeTools,
910
859
  experimental_repairToolCall: repairToolCall,
@@ -998,17 +947,6 @@ export class AgentRuntime {
998
947
  currentMessages.push(toolResultMessage);
999
948
  await this.memory.add(toolResultMessage);
1000
949
  currentStepToolResults.set(toolResult.toolCallId, toolResultMessage.parts[0]);
1001
- const toolCallInput = state.toolCalls.get(toolResult.toolCallId);
1002
- recordCurrentRunToolResult(currentRunToolState, {
1003
- toolCallId: toolResult.toolCallId,
1004
- toolName: toolResult.toolName,
1005
- input: toolCallInput?.inputAvailable === true
1006
- ? captureStreamedToolCallInput(toolCallInput).args
1007
- : {},
1008
- result: toolResult.error === undefined
1009
- ? toolResult.output
1010
- : { error: stringifyToolError(toolResult.error) },
1011
- });
1012
950
  };
1013
951
  if (!shouldContinueAfterStreamStep(state)) {
1014
952
  for (const toolResult of finalToolResults.values()) {
@@ -1045,7 +983,7 @@ export class AgentRuntime {
1045
983
  status: "pending",
1046
984
  };
1047
985
  await this.recordToolError(incompleteToolCall, `Stream terminated before tool-call event fired for "${tc.name}". ` +
1048
- `Received ${tc.arguments.length} chars of partial tool-input deltas.`, controller, encoder, currentMessages, toolCalls, currentRunToolState, { emitSse: tc.inputAnnounced === true });
986
+ `Received ${tc.arguments.length} chars of partial tool-input deltas.`, controller, encoder, currentMessages, toolCalls, { emitSse: tc.inputAnnounced === true });
1049
987
  continue;
1050
988
  }
1051
989
  const capturedInput = captureStreamedToolCallInput(tc);
@@ -1093,25 +1031,18 @@ export class AgentRuntime {
1093
1031
  errorText: `Invalid tool arguments: ${capturedInput.parseError}`,
1094
1032
  ...(dynamic ? { dynamic: true } : {}),
1095
1033
  });
1096
- await this.recordToolError(toolCall, `Invalid tool arguments: ${capturedInput.parseError}`, controller, encoder, currentMessages, toolCalls, currentRunToolState);
1034
+ await this.recordToolError(toolCall, `Invalid tool arguments: ${capturedInput.parseError}`, controller, encoder, currentMessages, toolCalls);
1097
1035
  continue;
1098
1036
  }
1099
1037
  const policyCheck = enforceSkillPolicy(tc.name, activeSkillPolicy, mustLoadSkillFirst);
1100
1038
  if (!policyCheck.allowed) {
1101
- await this.recordToolError(toolCall, policyCheck.error, controller, encoder, currentMessages, toolCalls, currentRunToolState);
1039
+ await this.recordToolError(toolCall, policyCheck.error, controller, encoder, currentMessages, toolCalls);
1102
1040
  continue;
1103
1041
  }
1104
1042
  try {
1105
1043
  toolCall.status = "executing";
1106
1044
  const startTime = Date.now();
1107
1045
  toolCall.args = applySkillDelegationOverridesToToolInput(tc.name, toolCall.args, activeSkillDelegationOverrides);
1108
- if (tc.name === "invoke_agent") {
1109
- const evidenceCheck = validateInvokeAgentInputAgainstCurrentRunEvidence(currentRunToolState, toolCall.args);
1110
- if (!evidenceCheck.ok) {
1111
- await this.recordToolError(toolCall, evidenceCheck.error, controller, encoder, currentMessages, toolCalls, currentRunToolState);
1112
- continue;
1113
- }
1114
- }
1115
1046
  callbacks?.onToolCall?.(toolCall);
1116
1047
  const executionContext = {
1117
1048
  toolCallId: tc.id,
@@ -1127,12 +1058,6 @@ export class AgentRuntime {
1127
1058
  result,
1128
1059
  context: executionContext,
1129
1060
  });
1130
- recordCurrentRunToolResult(currentRunToolState, {
1131
- toolCallId: tc.id,
1132
- toolName: tc.name,
1133
- input: toolCall.args,
1134
- result,
1135
- });
1136
1061
  toolCall.status = "completed";
1137
1062
  toolCall.result = result;
1138
1063
  toolCall.executionTime = Date.now() - startTime;
@@ -1159,7 +1084,7 @@ export class AgentRuntime {
1159
1084
  }
1160
1085
  catch (error) {
1161
1086
  const errorStr = error instanceof Error ? error.message : String(error);
1162
- await this.recordToolError(toolCall, errorStr, controller, encoder, currentMessages, toolCalls, currentRunToolState);
1087
+ await this.recordToolError(toolCall, errorStr, controller, encoder, currentMessages, toolCalls);
1163
1088
  }
1164
1089
  }
1165
1090
  for (const toolResult of finalToolResults.values()) {
@@ -1181,7 +1106,7 @@ export class AgentRuntime {
1181
1106
  /**
1182
1107
  * Record a tool error and send SSE event.
1183
1108
  */
1184
- async recordToolError(toolCall, errorStr, controller, encoder, currentMessages, toolCalls, currentRunToolState, options = {}) {
1109
+ async recordToolError(toolCall, errorStr, controller, encoder, currentMessages, toolCalls, options = {}) {
1185
1110
  toolCall.status = "error";
1186
1111
  toolCall.error = errorStr;
1187
1112
  toolCalls.push(toolCall);
@@ -1197,14 +1122,6 @@ export class AgentRuntime {
1197
1122
  const errorMessage = createToolErrorMessage(toolCall.id, toolCall.name, errorStr);
1198
1123
  currentMessages.push(errorMessage);
1199
1124
  await this.memory.add(errorMessage);
1200
- if (currentRunToolState) {
1201
- recordCurrentRunToolResult(currentRunToolState, {
1202
- toolCallId: toolCall.id,
1203
- toolName: toolCall.name,
1204
- input: toolCall.args,
1205
- result: { error: errorStr },
1206
- });
1207
- }
1208
1125
  }
1209
1126
  /**
1210
1127
  * Resolve system prompt (handle string or function)
@@ -11,20 +11,20 @@ export declare const CONTROL_PLANE_RUN_STREAM_PATH = "/api/control-plane/runs/:r
11
11
  /** Allowed control-plane surfaces — source of truth for the schema and {@link ControlPlaneSurface}. */
12
12
  export declare const CONTROL_PLANE_SURFACES: readonly ["studio", "channels", "a2a", "mcp"];
13
13
  /** Zod schema for get control plane surface. */
14
- export declare const getControlPlaneSurfaceSchema: () => Schema<"mcp" | "channels" | "studio" | "a2a">;
14
+ export declare const getControlPlaneSurfaceSchema: () => Schema<"mcp" | "studio" | "channels" | "a2a">;
15
15
  /** Zod schema for control plane surface. */
16
- export declare const ControlPlaneSurfaceSchema: Schema<"mcp" | "channels" | "studio" | "a2a">;
16
+ export declare const ControlPlaneSurfaceSchema: Schema<"mcp" | "studio" | "channels" | "a2a">;
17
17
  /** Zod schema for get control plane agents list request. */
18
18
  export declare const getControlPlaneAgentsListRequestSchema: () => Schema<import("../extensions/schema/schema-validator.js").InferShape<{
19
19
  requestId: Schema<string>;
20
20
  projectId: Schema<string>;
21
- surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
21
+ surface: Schema<"mcp" | "studio" | "channels" | "a2a">;
22
22
  }>>;
23
23
  /** Zod schema for control plane agents list request. */
24
24
  export declare const ControlPlaneAgentsListRequestSchema: Schema<import("../extensions/schema/schema-validator.js").InferShape<{
25
25
  requestId: Schema<string>;
26
26
  projectId: Schema<string>;
27
- surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
27
+ surface: Schema<"mcp" | "studio" | "channels" | "a2a">;
28
28
  }>>;
29
29
  /** Zod schema for get runtime agent skill. */
30
30
  export declare const getRuntimeAgentSkillSchema: () => Schema<import("../extensions/schema/schema-validator.js").InferShape<{
@@ -232,7 +232,7 @@ declare const getControlPlaneClaimsSchema: () => Schema<import("../extensions/sc
232
232
  iss: Schema<string>;
233
233
  aud: Schema<string>;
234
234
  sub: Schema<string>;
235
- surface: Schema<"mcp" | "channels" | "studio" | "a2a">;
235
+ surface: Schema<"mcp" | "studio" | "channels" | "a2a">;
236
236
  project_id: Schema<string>;
237
237
  request_hash: Schema<string>;
238
238
  iat: Schema<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../src/src/html/hydration-script-builder/templates/router.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,cAsqB3B,CAAC"}
1
+ {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../src/src/html/hydration-script-builder/templates/router.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,cA+qB3B,CAAC"}
@@ -42,6 +42,11 @@ export const getRouterScript = () => `
42
42
  const log = DEBUG ? console.log.bind(console, '[Veryfront]') : () => {};
43
43
  const logError = console.error.bind(console, '[Veryfront]');
44
44
 
45
+ function logBackgroundFetchFailure(reason, path, error) {
46
+ const message = error?.message ?? String(error);
47
+ log(reason + ' failed:', path, message);
48
+ }
49
+
45
50
  function getDocumentNonce() {
46
51
  const element = document.querySelector('script[nonce], style[nonce], link[nonce]');
47
52
  if (!element) return undefined;
@@ -290,7 +295,9 @@ export const getRouterScript = () => `
290
295
  const cached = getCachedPageData(path);
291
296
  if (cached) {
292
297
  log('Using cached page data:', path);
293
- fetchPageDataFresh(path, null).catch(() => {});
298
+ fetchPageDataFresh(path, null).catch((error) => {
299
+ logBackgroundFetchFailure('Stale page data refresh', path, error);
300
+ });
294
301
  return cached;
295
302
  }
296
303
 
@@ -299,7 +306,9 @@ export const getRouterScript = () => `
299
306
 
300
307
  async function fetchPageDataForPrefetch(path) {
301
308
  if (getCachedPageData(path)) return;
302
- return fetchPageDataFresh(path, null).catch(() => {});
309
+ return fetchPageDataFresh(path, null).catch((error) => {
310
+ logBackgroundFetchFailure('Page data prefetch', path, error);
311
+ });
303
312
  }
304
313
 
305
314
  // ============================================
@@ -1,7 +1,7 @@
1
1
  import type { InferSchema } from "../extensions/schema/index.js";
2
- export declare const getIntegrationNameSchema: () => import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "linear" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
2
+ export declare const getIntegrationNameSchema: () => import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "twitter" | "zoom" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
3
3
  /** Zod schema for integration name. */
4
- export declare const IntegrationNameSchema: import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "linear" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
4
+ export declare const IntegrationNameSchema: import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "twitter" | "zoom" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
5
5
  export declare const getEnvVarSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
6
6
  name: import("../internal-agents/schema.js").Schema<string>;
7
7
  description: import("../internal-agents/schema.js").Schema<string>;
@@ -426,7 +426,7 @@ export declare const IntegrationPromptSchema: import("../internal-agents/schema.
426
426
  icon: import("../internal-agents/schema.js").Schema<string | undefined>;
427
427
  }>>;
428
428
  export declare const getIntegrationConfigSchema: () => import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
429
- name: import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "linear" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
429
+ name: import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "twitter" | "zoom" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
430
430
  displayName: import("../internal-agents/schema.js").Schema<string>;
431
431
  icon: import("../internal-agents/schema.js").Schema<string | undefined>;
432
432
  description: import("../internal-agents/schema.js").Schema<string>;
@@ -552,7 +552,7 @@ export declare const getIntegrationConfigSchema: () => import("../internal-agent
552
552
  }>>;
553
553
  /** Zod schema for integration config. */
554
554
  export declare const IntegrationConfigSchema: import("../internal-agents/schema.js").Schema<import("../extensions/schema/schema-validator.js").InferShape<{
555
- name: import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "linear" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "twitter" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "zoom" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
555
+ name: import("../internal-agents/schema.js").Schema<"github" | "anthropic" | "twitter" | "zoom" | "linear" | "gmail" | "slack" | "calendar" | "jira" | "notion" | "servicenow" | "confluence" | "gitlab" | "outlook" | "teams" | "figma" | "sap" | "sheets" | "airtable" | "supabase" | "neon" | "sharepoint" | "stripe" | "salesforce" | "onedrive" | "bitbucket" | "sentry" | "posthog" | "persona" | "zendesk" | "asana" | "harvest" | "hubspot" | "monday" | "trello" | "box" | "shopify" | "clickup" | "intercom" | "pipedrive" | "mailchimp" | "webex" | "freshdesk" | "quickbooks" | "xero" | "drive" | "docs-google" | "snowflake" | "mixpanel" | "twilio" | "aws">;
556
556
  displayName: import("../internal-agents/schema.js").Schema<string>;
557
557
  icon: import("../internal-agents/schema.js").Schema<string | undefined>;
558
558
  description: import("../internal-agents/schema.js").Schema<string>;
@@ -12,7 +12,7 @@ export declare function verifyControlPlaneRequest(req: Request, ctx: HandlerCont
12
12
  iss: import("./schema.js").Schema<string>;
13
13
  aud: import("./schema.js").Schema<string>;
14
14
  sub: import("./schema.js").Schema<string>;
15
- surface: import("./schema.js").Schema<"mcp" | "channels" | "studio" | "a2a">;
15
+ surface: import("./schema.js").Schema<"mcp" | "studio" | "channels" | "a2a">;
16
16
  project_id: import("./schema.js").Schema<string>;
17
17
  request_hash: import("./schema.js").Schema<string>;
18
18
  iat: import("./schema.js").Schema<number>;
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.716";
2
+ export declare const VERSION = "0.1.722";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.716";
4
+ export const VERSION = "0.1.722";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.716",
3
+ "version": "0.1.722",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",