veryfront 0.1.701 → 0.1.704

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.
Files changed (32) hide show
  1. package/esm/cli/templates/manifest.d.ts +0 -2
  2. package/esm/cli/templates/manifest.js +1 -3
  3. package/esm/deno.js +1 -1
  4. package/esm/src/agent/streaming/fork-runtime-part-mapper.d.ts +59 -0
  5. package/esm/src/agent/streaming/fork-runtime-part-mapper.d.ts.map +1 -0
  6. package/esm/src/agent/streaming/fork-runtime-part-mapper.js +246 -0
  7. package/esm/src/agent/streaming/fork-runtime-step-state.d.ts +36 -0
  8. package/esm/src/agent/streaming/fork-runtime-step-state.d.ts.map +1 -0
  9. package/esm/src/agent/streaming/fork-runtime-step-state.js +240 -0
  10. package/esm/src/agent/streaming/fork-runtime-stream.d.ts +4 -81
  11. package/esm/src/agent/streaming/fork-runtime-stream.d.ts.map +1 -1
  12. package/esm/src/agent/streaming/fork-runtime-stream.js +5 -482
  13. package/esm/src/integrations/_data.d.ts.map +1 -1
  14. package/esm/src/integrations/_data.js +1 -42
  15. package/esm/src/internal-agents/run-stream.d.ts.map +1 -1
  16. package/esm/src/internal-agents/run-stream.js +3 -0
  17. package/esm/src/oauth/providers/common.d.ts.map +1 -1
  18. package/esm/src/oauth/providers/common.js +6 -1
  19. package/esm/src/tool/types.d.ts +2 -0
  20. package/esm/src/tool/types.d.ts.map +1 -1
  21. package/esm/src/utils/version-constant.d.ts +1 -1
  22. package/esm/src/utils/version-constant.js +1 -1
  23. package/esm/src/workflow/claude-code/react/event-state-reducer.d.ts +37 -0
  24. package/esm/src/workflow/claude-code/react/event-state-reducer.d.ts.map +1 -0
  25. package/esm/src/workflow/claude-code/react/event-state-reducer.js +104 -0
  26. package/esm/src/workflow/claude-code/react/use-claude-code-stream.d.ts +3 -35
  27. package/esm/src/workflow/claude-code/react/use-claude-code-stream.d.ts.map +1 -1
  28. package/esm/src/workflow/claude-code/react/use-claude-code-stream.js +9 -78
  29. package/esm/src/workflow/claude-code/react/use-claude-code-websocket.d.ts +2 -27
  30. package/esm/src/workflow/claude-code/react/use-claude-code-websocket.d.ts.map +1 -1
  31. package/esm/src/workflow/claude-code/react/use-claude-code-websocket.js +5 -57
  32. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
1
  import * as dntShim from "../../../_dnt.shims.js";
2
2
  import { createToolsFromHostDefinitions, traceHostTools, } from "../../tool/index.js";
3
- import { isRecord } from "../../chat/conversation.js";
4
- import { safeJsonParse } from "../../chat/provider-errors.js";
5
3
  import { runWithVeryfrontCloudContextAsync } from "../../provider/veryfront-cloud/context.js";
6
- import { mergeToolInputDelta, parseToolInputObject, streamDataStreamEvents, stripLeadingEmptyObjectPlaceholder, } from "./data-stream.js";
7
- import { HOSTED_CHILD_STREAM_TIMEOUT_TOKEN, resolveHostedChildPromiseWithTimeout, } from "../hosted/child-stream-watchdog.js";
4
+ import { streamDataStreamEvents } from "./data-stream.js";
5
+ import { buildRecoveredStepParts, createForkRuntimeStreamMappingState, mapAgUiRuntimeEventToForkParts, } from "./fork-runtime-part-mapper.js";
6
+ import { applyPartToStreamedStepState, createAgentRuntimeForkAbortError, createStreamedStepState, resolveForkStepResponse, } from "./fork-runtime-step-state.js";
8
7
  import { getForkRuntimeAllowedToolNames, getProviderNativeToolNames, } from "../runtime/provider-native-tool-inventory.js";
9
8
  import { AgentRuntime } from "../runtime/index.js";
9
+ export { buildRecoveredStepParts, createForkRuntimeStreamMappingState, createFrameworkStreamState, mapAgUiRuntimeEventToForkParts, mapFrameworkEventToForkParts, } from "./fork-runtime-part-mapper.js";
10
+ export { applyPartToStreamedStepState, createStreamedStepState, resolveForkStepResponse, } from "./fork-runtime-step-state.js";
10
11
  /** Default value for fork response promise timeout ms. */
11
12
  export const DEFAULT_FORK_RESPONSE_PROMISE_TIMEOUT_MS = 1_000;
12
13
  /** Starts agent runtime fork with host tools. */
@@ -78,12 +79,6 @@ async function prepareForkRuntimeStep(input) {
78
79
  system: input.buildInstructions(),
79
80
  };
80
81
  }
81
- function createAgentRuntimeForkAbortError(abortSignal) {
82
- if (abortSignal?.reason instanceof Error) {
83
- return abortSignal.reason;
84
- }
85
- return new DOMException("Agent runtime fork aborted before completion.", "AbortError");
86
- }
87
82
  /** Run agent runtime fork step. */
88
83
  export async function runAgentRuntimeForkStep(input) {
89
84
  let resolveResponsePromise;
@@ -318,475 +313,3 @@ export function startAgentRuntimeFork(input) {
318
313
  totalUsage: totalUsageDeferred.promise,
319
314
  };
320
315
  }
321
- /** State for create streamed step. */
322
- export function createStreamedStepState() {
323
- return {
324
- text: "",
325
- toolCalls: new Map(),
326
- messages: [],
327
- };
328
- }
329
- function appendStreamedMessagePart(state, role, part) {
330
- const lastMessage = state.messages.at(-1);
331
- if (lastMessage?.role === role) {
332
- lastMessage.parts.push(part);
333
- return;
334
- }
335
- state.messages.push({
336
- role,
337
- parts: [part],
338
- });
339
- }
340
- function isFrameworkTextPart(part) {
341
- return part.type === "text";
342
- }
343
- /** State for apply part to streamed step. */
344
- export function applyPartToStreamedStepState(state, part) {
345
- switch (part.type) {
346
- case "tool-input-start": {
347
- const existing = state.toolCalls.get(part.toolCallId);
348
- state.toolCalls.set(part.toolCallId, {
349
- toolCallId: part.toolCallId,
350
- toolName: part.toolName,
351
- inputText: existing?.inputText ?? "",
352
- input: existing?.input ?? {},
353
- status: existing?.status ?? "pending",
354
- ...(existing?.output !== undefined ? { output: existing.output } : {}),
355
- ...(existing?.errorText ? { errorText: existing.errorText } : {}),
356
- });
357
- break;
358
- }
359
- case "text-delta": {
360
- state.text += part.text;
361
- const lastAssistantMessage = state.messages.at(-1);
362
- const lastAssistantPart = lastAssistantMessage?.role === "assistant"
363
- ? lastAssistantMessage.parts.at(-1)
364
- : null;
365
- if (lastAssistantMessage && lastAssistantPart && isFrameworkTextPart(lastAssistantPart)) {
366
- lastAssistantPart.text += part.text;
367
- }
368
- else {
369
- appendStreamedMessagePart(state, "assistant", {
370
- type: "text",
371
- text: part.text,
372
- });
373
- }
374
- break;
375
- }
376
- case "tool-input-delta": {
377
- const existing = state.toolCalls.get(part.toolCallId);
378
- if (!existing) {
379
- break;
380
- }
381
- existing.inputText = mergeToolInputDelta(existing.inputText, part.delta);
382
- const parsedInput = getParsedStreamedToolInput(existing.inputText);
383
- if (parsedInput) {
384
- existing.input = parsedInput;
385
- }
386
- break;
387
- }
388
- case "tool-call": {
389
- const existing = state.toolCalls.get(part.toolCallId);
390
- state.toolCalls.set(part.toolCallId, {
391
- toolCallId: part.toolCallId,
392
- toolName: part.toolName,
393
- input: part.input,
394
- inputText: existing?.inputText ?? "",
395
- status: "pending",
396
- ...(existing?.output !== undefined ? { output: existing.output } : {}),
397
- ...(existing?.errorText ? { errorText: existing.errorText } : {}),
398
- });
399
- appendStreamedMessagePart(state, "assistant", {
400
- type: `tool-${part.toolName}`,
401
- toolCallId: part.toolCallId,
402
- toolName: part.toolName,
403
- args: parseToolInputObject(part.input),
404
- });
405
- break;
406
- }
407
- case "tool-result": {
408
- const existing = state.toolCalls.get(part.toolCallId);
409
- state.toolCalls.set(part.toolCallId, {
410
- toolCallId: part.toolCallId,
411
- toolName: part.toolName,
412
- input: part.input,
413
- inputText: existing?.inputText ?? "",
414
- status: "completed",
415
- output: part.output,
416
- ...(existing?.errorText ? { errorText: existing.errorText } : {}),
417
- });
418
- appendStreamedMessagePart(state, "tool", {
419
- type: "tool-result",
420
- toolCallId: part.toolCallId,
421
- toolName: part.toolName,
422
- result: part.output,
423
- });
424
- break;
425
- }
426
- case "tool-error": {
427
- const existing = state.toolCalls.get(part.toolCallId);
428
- state.toolCalls.set(part.toolCallId, {
429
- toolCallId: part.toolCallId,
430
- toolName: part.toolName,
431
- input: part.input,
432
- inputText: existing?.inputText ?? "",
433
- status: "error",
434
- ...(existing?.output !== undefined ? { output: existing.output } : {}),
435
- errorText: part.error.message,
436
- });
437
- break;
438
- }
439
- case "error": {
440
- state.streamError = part.error;
441
- break;
442
- }
443
- default:
444
- break;
445
- }
446
- }
447
- function buildFallbackAgentRuntimeMessages(baseMessages, state) {
448
- const messages = baseMessages.map((message) => ({
449
- ...message,
450
- parts: [...message.parts],
451
- }));
452
- if (state.messages.length > 0) {
453
- messages.push(...state.messages.map((message) => ({
454
- id: dntShim.crypto.randomUUID(),
455
- role: message.role,
456
- timestamp: Date.now(),
457
- parts: structuredClone(message.parts),
458
- })));
459
- }
460
- else if (state.text.trim().length > 0) {
461
- messages.push({
462
- id: dntShim.crypto.randomUUID(),
463
- role: "assistant",
464
- timestamp: Date.now(),
465
- parts: [{ type: "text", text: state.text }],
466
- });
467
- }
468
- return messages;
469
- }
470
- function collectToolResultPaths(messages) {
471
- const paths = new Set();
472
- for (const message of messages) {
473
- for (const part of message.parts) {
474
- if (part.type !== "tool-result") {
475
- continue;
476
- }
477
- const partResult = "result" in part ? part.result : null;
478
- const result = isRecord(partResult) ? partResult : null;
479
- const path = typeof result?.path === "string" ? result.path : null;
480
- if (path) {
481
- paths.add(path);
482
- }
483
- }
484
- }
485
- return [...paths];
486
- }
487
- function buildRecoverablePriorWorkState(messages) {
488
- const paths = collectToolResultPaths(messages);
489
- if (paths.length === 0) {
490
- return null;
491
- }
492
- const previewPaths = paths.slice(0, 8);
493
- const suffix = paths.length > previewPaths.length
494
- ? ` and ${paths.length - previewPaths.length} more`
495
- : "";
496
- const text = `Completed child tool work. Project artifact(s): ${previewPaths.join(", ")}${suffix}.`;
497
- return {
498
- text,
499
- toolCalls: new Map(),
500
- messages: [
501
- {
502
- role: "assistant",
503
- parts: [{ type: "text", text }],
504
- },
505
- ],
506
- };
507
- }
508
- function hasFallbackStepContent(state) {
509
- return state.text.trim().length > 0 || state.toolCalls.size > 0;
510
- }
511
- function buildFallbackAgentResponse(input) {
512
- return {
513
- text: input.state.text,
514
- messages: buildFallbackAgentRuntimeMessages(input.baseMessages, input.state),
515
- toolCalls: [...input.state.toolCalls.values()].map((toolCall) => ({
516
- id: toolCall.toolCallId,
517
- name: toolCall.toolName,
518
- args: parseToolInputObject(toolCall.input),
519
- status: toolCall.status,
520
- ...(toolCall.status === "completed" ? { result: toolCall.output } : {}),
521
- ...(toolCall.status === "error" && toolCall.errorText ? { error: toolCall.errorText } : {}),
522
- })),
523
- metadata: {},
524
- status: "completed",
525
- };
526
- }
527
- /** Response payload for resolve fork step. */
528
- export async function resolveForkStepResponse(input) {
529
- const resolvedResponse = await resolveHostedChildPromiseWithTimeout(input.responsePromise, input.responseTimeoutMs);
530
- if (resolvedResponse !== HOSTED_CHILD_STREAM_TIMEOUT_TOKEN) {
531
- return resolvedResponse;
532
- }
533
- if (input.abortSignal?.aborted) {
534
- throw createAgentRuntimeForkAbortError(input.abortSignal);
535
- }
536
- if (input.streamedStepState.streamError) {
537
- throw input.streamedStepState.streamError;
538
- }
539
- const fallbackState = hasFallbackStepContent(input.streamedStepState)
540
- ? input.streamedStepState
541
- : buildRecoverablePriorWorkState(input.currentMessages);
542
- if (!fallbackState) {
543
- throw new Error("Agent runtime fork stream ended without onFinish and without recoverable output.");
544
- }
545
- return buildFallbackAgentResponse({
546
- baseMessages: input.currentMessages,
547
- state: fallbackState,
548
- });
549
- }
550
- function warnForkRuntimeStream(logger, message, metadata) {
551
- logger?.warn(message, metadata);
552
- }
553
- /** Builds recovered step parts. */
554
- export function buildRecoveredStepParts(step, state) {
555
- const recoveredParts = [];
556
- for (const toolCall of step.toolCalls) {
557
- if (state.emittedToolCallIds.has(toolCall.toolCallId)) {
558
- continue;
559
- }
560
- const streamedCall = state.toolCalls.get(toolCall.toolCallId);
561
- warnForkRuntimeStream(state.logger, "Child fork recovered missing tool-call from final step", {
562
- toolCallId: toolCall.toolCallId,
563
- toolName: toolCall.toolName,
564
- sawInputStart: streamedCall?.sawInputStart ?? false,
565
- sawInputDelta: streamedCall?.sawInputDelta ?? false,
566
- sawInputAvailable: streamedCall?.sawInputAvailable ?? false,
567
- sawOutputAvailable: streamedCall?.sawOutputAvailable ?? false,
568
- sawOutputError: streamedCall?.sawOutputError ?? false,
569
- });
570
- state.emittedToolCallIds.add(toolCall.toolCallId);
571
- recoveredParts.push({
572
- type: "tool-call",
573
- toolCallId: toolCall.toolCallId,
574
- toolName: toolCall.toolName,
575
- input: toolCall.input,
576
- });
577
- }
578
- for (const toolResult of step.toolResults) {
579
- if (state.emittedToolResultIds.has(toolResult.toolCallId)) {
580
- continue;
581
- }
582
- const streamedCall = state.toolCalls.get(toolResult.toolCallId);
583
- warnForkRuntimeStream(state.logger, "Child fork recovered missing tool-result from final step", {
584
- toolCallId: toolResult.toolCallId,
585
- toolName: toolResult.toolName,
586
- sawInputStart: streamedCall?.sawInputStart ?? false,
587
- sawInputDelta: streamedCall?.sawInputDelta ?? false,
588
- sawInputAvailable: streamedCall?.sawInputAvailable ?? false,
589
- sawOutputAvailable: streamedCall?.sawOutputAvailable ?? false,
590
- sawOutputError: streamedCall?.sawOutputError ?? false,
591
- });
592
- state.emittedToolResultIds.add(toolResult.toolCallId);
593
- recoveredParts.push({
594
- type: "tool-result",
595
- toolCallId: toolResult.toolCallId,
596
- toolName: toolResult.toolName,
597
- input: toolResult.input,
598
- output: toolResult.output,
599
- });
600
- }
601
- return recoveredParts;
602
- }
603
- function isEmptyRecord(value) {
604
- return Object.keys(value).length === 0;
605
- }
606
- function getParsedStreamedToolInput(inputText) {
607
- const strippedInputText = stripLeadingEmptyObjectPlaceholder(inputText).trim();
608
- const normalizedInputText = strippedInputText.startsWith('"')
609
- ? `{${strippedInputText}`
610
- : strippedInputText;
611
- if (normalizedInputText.length === 0) {
612
- return {};
613
- }
614
- const parsed = safeJsonParse(normalizedInputText);
615
- if (!parsed.ok) {
616
- return null;
617
- }
618
- return isRecord(parsed.value) ? Object.fromEntries(Object.entries(parsed.value)) : {};
619
- }
620
- function buildToolCallPartIfNeeded(toolCallId, state) {
621
- const toolCall = state.toolCalls.get(toolCallId);
622
- if (!toolCall || state.emittedToolCallIds.has(toolCallId)) {
623
- return [];
624
- }
625
- state.emittedToolCallIds.add(toolCallId);
626
- return [
627
- {
628
- type: "tool-call",
629
- toolCallId,
630
- toolName: toolCall.toolName,
631
- input: toolCall.input,
632
- },
633
- ];
634
- }
635
- /** State for create fork runtime stream mapping. */
636
- export function createForkRuntimeStreamMappingState(input = {}) {
637
- return {
638
- toolCalls: new Map(),
639
- emittedToolCallIds: new Set(),
640
- emittedToolResultIds: new Set(),
641
- ...(input.logger ? { logger: input.logger } : {}),
642
- };
643
- }
644
- /** Map AG-UI runtime event to fork parts. */
645
- export function mapAgUiRuntimeEventToForkParts(event, state) {
646
- switch (event.type) {
647
- case "reasoning-delta":
648
- return typeof event.delta === "string"
649
- ? [{ type: "reasoning-delta", text: event.delta }]
650
- : [];
651
- case "text-delta":
652
- return typeof event.delta === "string" ? [{ type: "text-delta", text: event.delta }] : [];
653
- case "tool-input-start": {
654
- const toolCallId = typeof event.toolCallId === "string" ? event.toolCallId : null;
655
- const toolName = typeof event.toolName === "string" ? event.toolName : null;
656
- if (!toolCallId || !toolName) {
657
- return [];
658
- }
659
- const existing = state.toolCalls.get(toolCallId);
660
- state.toolCalls.set(toolCallId, {
661
- toolName,
662
- inputText: existing?.inputText ?? "",
663
- input: existing?.input ?? {},
664
- sawInputStart: true,
665
- sawInputDelta: existing?.sawInputDelta ?? false,
666
- sawInputAvailable: existing?.sawInputAvailable ?? false,
667
- sawOutputAvailable: existing?.sawOutputAvailable ?? false,
668
- sawOutputError: existing?.sawOutputError ?? false,
669
- });
670
- return [{ type: "tool-input-start", toolCallId, toolName }];
671
- }
672
- case "tool-input-delta": {
673
- const inputToolCallId = typeof event.toolCallId === "string" ? event.toolCallId : null;
674
- const inputDelta = typeof event.inputTextDelta === "string" ? event.inputTextDelta : null;
675
- if (!inputToolCallId || !inputDelta) {
676
- return [];
677
- }
678
- const existing = state.toolCalls.get(inputToolCallId);
679
- if (existing) {
680
- existing.inputText = mergeToolInputDelta(existing.inputText, inputDelta);
681
- existing.sawInputDelta = true;
682
- const parsedInput = getParsedStreamedToolInput(existing.inputText);
683
- if (parsedInput) {
684
- existing.input = parsedInput;
685
- }
686
- }
687
- else {
688
- warnForkRuntimeStream(state.logger, "Child fork received tool-input-delta before tool-input-start", {
689
- toolCallId: inputToolCallId,
690
- deltaLength: inputDelta.length,
691
- });
692
- }
693
- return [{ type: "tool-input-delta", toolCallId: inputToolCallId, delta: inputDelta }];
694
- }
695
- case "tool-input-available": {
696
- const toolCallId = typeof event.toolCallId === "string" ? event.toolCallId : null;
697
- const toolName = typeof event.toolName === "string" ? event.toolName : null;
698
- if (!toolCallId || !toolName) {
699
- return [];
700
- }
701
- const input = parseToolInputObject(event.input);
702
- const existing = state.toolCalls.get(toolCallId);
703
- const resolvedInput = existing && isEmptyRecord(input) && !isEmptyRecord(existing.input)
704
- ? existing.input
705
- : input;
706
- state.toolCalls.set(toolCallId, {
707
- toolName,
708
- inputText: "",
709
- input: resolvedInput,
710
- sawInputStart: existing?.sawInputStart ?? false,
711
- sawInputDelta: existing?.sawInputDelta ?? false,
712
- sawInputAvailable: true,
713
- sawOutputAvailable: existing?.sawOutputAvailable ?? false,
714
- sawOutputError: existing?.sawOutputError ?? false,
715
- });
716
- return buildToolCallPartIfNeeded(toolCallId, state);
717
- }
718
- case "tool-output-available": {
719
- if (event.preliminary === true) {
720
- return [];
721
- }
722
- const toolCallId = typeof event.toolCallId === "string" ? event.toolCallId : null;
723
- if (!toolCallId) {
724
- return [];
725
- }
726
- const call = state.toolCalls.get(toolCallId);
727
- if (!call) {
728
- return [];
729
- }
730
- call.sawOutputAvailable = true;
731
- const parts = [
732
- ...buildToolCallPartIfNeeded(toolCallId, state),
733
- ];
734
- state.emittedToolResultIds.add(toolCallId);
735
- parts.push({
736
- type: "tool-result",
737
- toolCallId,
738
- toolName: call.toolName,
739
- input: call.input,
740
- output: Object.hasOwn(event, "output") ? event.output : null,
741
- });
742
- return parts;
743
- }
744
- case "tool-output-error":
745
- case "tool-input-error": {
746
- const toolCallId = typeof event.toolCallId === "string" ? event.toolCallId : null;
747
- if (!toolCallId) {
748
- return [];
749
- }
750
- const call = state.toolCalls.get(toolCallId);
751
- const errorText = typeof event.errorText === "string"
752
- ? event.errorText
753
- : typeof event.error === "string"
754
- ? event.error
755
- : "Tool execution failed";
756
- if (call) {
757
- call.sawOutputError = true;
758
- }
759
- const parts = [
760
- ...buildToolCallPartIfNeeded(toolCallId, state),
761
- ];
762
- parts.push({
763
- type: "tool-error",
764
- toolCallId,
765
- toolName: call?.toolName ?? "unknown",
766
- input: call?.input ?? {},
767
- error: new Error(errorText),
768
- });
769
- return parts;
770
- }
771
- case "error": {
772
- const errorText = typeof event.errorText === "string"
773
- ? event.errorText
774
- : "Framework stream failed";
775
- return [{ type: "error", error: new Error(errorText) }];
776
- }
777
- default:
778
- return [];
779
- }
780
- }
781
- /** State for create framework stream.
782
- * @deprecated Use createForkRuntimeStreamMappingState.
783
- */
784
- export function createFrameworkStreamState(input = {}) {
785
- return createForkRuntimeStreamMappingState(input);
786
- }
787
- /** Handles map framework event to fork parts.
788
- * @deprecated Use mapAgUiRuntimeEventToForkParts.
789
- */
790
- export function mapFrameworkEventToForkParts(event, state) {
791
- return mapAgUiRuntimeEventToForkParts(event, state);
792
- }
@@ -1 +1 @@
1
- {"version":3,"file":"_data.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/_data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAAiB,EAs9XzC,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+ExC,CAAC"}
1
+ {"version":3,"file":"_data.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/_data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAAiB,EA66XzC,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+ExC,CAAC"}
@@ -2102,33 +2102,10 @@ export const connectors = [
2102
2102
  "description": "Get the authenticated user's Figma profile (id, email, handle). Use this to verify the connection and identify the user.",
2103
2103
  "requiresWrite": false,
2104
2104
  "endpoint": { "method": "GET", "url": "https://api.figma.com/v1/me" },
2105
- }, {
2106
- "id": "list_files",
2107
- "name": "List Files",
2108
- "description": "List recent Figma files accessible to the user",
2109
- "requiresWrite": false,
2110
- "endpoint": {
2111
- "method": "GET",
2112
- "url": "https://api.figma.com/v1/projects/{projectId}/files",
2113
- "params": {
2114
- "projectId": {
2115
- "type": "string",
2116
- "in": "path",
2117
- "description": "Figma project ID whose files should be listed",
2118
- "required": true,
2119
- },
2120
- "branch_data": {
2121
- "type": "boolean",
2122
- "in": "query",
2123
- "description": "Include branch metadata",
2124
- "default": false,
2125
- },
2126
- },
2127
- },
2128
2105
  }, {
2129
2106
  "id": "get_file",
2130
2107
  "name": "Get File",
2131
- "description": "Get detailed information about a Figma file including components and styles",
2108
+ "description": "Get detailed information about a Figma file, including pages, frames, components, and styles. Requires a Figma file key from a file or design URL.",
2132
2109
  "requiresWrite": false,
2133
2110
  "endpoint": {
2134
2111
  "method": "GET",
@@ -2204,24 +2181,6 @@ export const connectors = [
2204
2181
  },
2205
2182
  },
2206
2183
  },
2207
- }, {
2208
- "id": "list_projects",
2209
- "name": "List Projects",
2210
- "description": "List all projects in a team. The teamId is the numeric ID found in the Figma URL: figma.com/files/team/{teamId}/...",
2211
- "requiresWrite": false,
2212
- "endpoint": {
2213
- "method": "GET",
2214
- "url": "https://api.figma.com/v1/teams/{teamId}/projects",
2215
- "params": {
2216
- "teamId": {
2217
- "type": "string",
2218
- "in": "path",
2219
- "description": "Numeric Figma team ID from the URL: figma.com/files/team/{teamId}/...",
2220
- "required": true,
2221
- },
2222
- },
2223
- "response": { "transform": "projects" },
2224
- },
2225
2184
  }],
2226
2185
  "prompts": [{
2227
2186
  "id": "review_design",
@@ -1 +1 @@
1
- {"version":3,"file":"run-stream.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AE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;SAC9C,EACD,aAAa,CAAC,EAAE,MAAM,EACtB,uBAAuB,CAAC,EAAE,MAAM,EAChC,WAAW,CAAC,EAAE,WAAW,KACtB,OAAO,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;KAC1C,CAAC;CACH;AA0RD,wBAAsB,gCAAgC,CACpD,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,+BAA+B,GACpC,OAAO,CAAC,QAAQ,CAAC,CAgTnB"}
@@ -273,6 +273,9 @@ export async function createRuntimeAgentStreamResponse(input, agent, deps) {
273
273
  runtimeStream = await runtime.stream(runtimeMessages, {
274
274
  threadId: input.threadId,
275
275
  runId: input.runId,
276
+ ...(deps.projectAgentSandbox?.authToken
277
+ ? { authToken: deps.projectAgentSandbox.authToken }
278
+ : {}),
276
279
  ...(input.parentRunId ? { parentRunId: input.parentRunId } : {}),
277
280
  ...(input.state !== undefined ? { state: input.state } : {}),
278
281
  context: input.context,
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/src/oauth/providers/common.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,oCAAoC;AACpC,eAAO,MAAM,YAAY,EAAE,kBAU1B,CAAC;AAEF,mCAAmC;AACnC,eAAO,MAAM,WAAW,EAAE,kBAqBzB,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,YAAY,EAAE,kBAc1B,CAAC;AAEF,mCAAmC;AACnC,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,YAAY,EAAE,kBAU1B,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,YAAY,EAAE,kBAU1B,CAAC;AAEF,sCAAsC;AACtC,eAAO,MAAM,cAAc,EAAE,kBAgB5B,CAAC;AAEF,qC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBb,CAAC;AAEX,eAAO,MAAM,cAAc,EAEtB,OAAO,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -60,7 +60,12 @@ export const figmaConfig = {
60
60
  clientIdEnvVar: "FIGMA_CLIENT_ID",
61
61
  clientSecretEnvVar: "FIGMA_CLIENT_SECRET",
62
62
  apiBaseUrl: "https://api.figma.com/v1",
63
- defaultScopes: ["file_read"],
63
+ defaultScopes: [
64
+ "current_user:read",
65
+ "file_content:read",
66
+ "file_comments:read",
67
+ "file_comments:write",
68
+ ],
64
69
  };
65
70
  /** Configuration used by linear. */
66
71
  export const linearConfig = {
@@ -60,6 +60,8 @@ export interface ToolExecutionContext {
60
60
  toolCallId?: string;
61
61
  /** Project identity used by integration token resolution */
62
62
  projectId?: string;
63
+ /** Request-scoped Veryfront auth token for project-local platform API tools */
64
+ authToken?: string;
63
65
  /** Abort signal for cooperative cancellation during long-running tool execution */
64
66
  abortSignal?: AbortSignal;
65
67
  /** Progress token for sending progress notifications (MCP 2025-11-25) */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/src/tool/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,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AC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACrE,WAAW,CACT,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,OAAO,CAAC,CAAC;CACrB"}
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.701";
2
+ export declare const VERSION = "0.1.704";
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.701";
4
+ export const VERSION = "0.1.704";