@agent-native/core 0.114.13 → 0.114.16
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/bin/agent-native.js +35 -14
- package/bin/launcher.js +34 -0
- package/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +21 -0
- package/corpus/core/bin/agent-native.js +35 -14
- package/corpus/core/bin/launcher.js +34 -0
- package/corpus/core/docs/content/deployment.mdx +1 -1
- package/corpus/core/docs/content/frames.mdx +1 -1
- package/corpus/core/docs/content/integrations.mdx +27 -27
- package/corpus/core/docs/content/pr-visual-recap.mdx +17 -13
- package/corpus/core/docs/content/workspace-management.mdx +1 -1
- package/corpus/core/package.json +2 -1
- package/corpus/core/src/agent/engine/builder-engine.ts +4 -0
- package/corpus/core/src/client/AgentPanel.tsx +10 -4
- package/corpus/core/src/client/ConnectBuilderCard.tsx +5 -1
- package/corpus/core/src/client/chat/markdown-renderer.tsx +3 -5
- package/corpus/core/src/client/error-format.ts +2 -1
- package/corpus/core/src/client/index.ts +1 -0
- package/corpus/core/src/client/integrations/IntegrationsPanel.tsx +2 -18
- package/corpus/core/src/client/resources/McpIntegrationDialog.tsx +43 -32
- package/corpus/core/src/client/resources/mcp-integration-catalog.ts +4 -2
- package/corpus/core/src/client/settings/BackgroundAgentSection.tsx +5 -1
- package/corpus/core/src/client/settings/SettingsPanel.tsx +4 -4
- package/corpus/core/src/client/settings/useBuilderStatus.ts +3 -0
- package/corpus/core/src/localization/default-messages.ts +1 -7
- package/corpus/core/src/server/builder-browser.ts +4 -0
- package/corpus/core/src/server/builder-design-systems.ts +6 -1
- package/corpus/core/src/server/fusion-app.ts +5 -1
- package/corpus/core/src/shared/builder-link-tracking.ts +41 -0
- package/corpus/core/src/shared/index.ts +1 -0
- package/corpus/templates/analytics/AGENTS.md +10 -1
- package/corpus/templates/analytics/actions/save-dashboard-report-subscription.ts +10 -2
- package/corpus/templates/analytics/app/components/dashboard/SqlChart.tsx +5 -4
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/index.tsx +20 -32
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/report-panel-window.ts +62 -0
- package/corpus/templates/analytics/changelog/2026-07-21-chart-series-controls-stay-open-while-moving-from-the-legend.md +6 -0
- package/corpus/templates/analytics/changelog/2026-07-21-dashboard-email-captures-complete-large-dashboards-in-chunks.md +6 -0
- package/corpus/templates/analytics/seeds/dashboards/agent-native-templates-first-party.json +4 -4
- package/corpus/templates/analytics/server/jobs/dashboard-report.ts +1 -8
- package/corpus/templates/analytics/server/lib/dashboard-report-subscriptions.ts +39 -7
- package/corpus/templates/analytics/server/lib/dashboard-report.ts +341 -251
- package/corpus/templates/analytics/server/lib/first-party-dashboard-repair.ts +114 -0
- package/corpus/templates/analytics/server/lib/first-party-metric-catalog.ts +84 -6
- package/corpus/templates/analytics/server/plugins/db.ts +13 -0
- package/corpus/templates/clips/app/components/library/bulk-action-toolbar.tsx +25 -8
- package/corpus/templates/clips/app/components/library/library-grid.tsx +118 -9
- package/corpus/templates/clips/app/components/library/library-layout.tsx +1 -1
- package/corpus/templates/clips/app/components/library/recording-card.tsx +10 -8
- package/corpus/templates/clips/app/components/player/video-player.tsx +10 -4
- package/corpus/templates/clips/app/i18n/en-US.ts +6 -0
- package/corpus/templates/clips/app/routes/_app.trash.tsx +16 -1
- package/corpus/templates/clips/changelog/2026-07-21-choose-which-whisper-model-to-use-in-settings.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-21-fixed-organization-recording-visibility-default.md +6 -0
- package/corpus/templates/clips/changelog/2026-07-21-meeting-notes-stop-when-calls-end.md +6 -0
- package/corpus/templates/clips/desktop/src/app.tsx +90 -78
- package/corpus/templates/clips/desktop/src/hooks/useMeetingTranscription.ts +2 -0
- package/corpus/templates/clips/desktop/src/hooks/useWhisperSettings.ts +172 -0
- package/corpus/templates/clips/desktop/src/lib/meeting-call-app.ts +41 -0
- package/corpus/templates/clips/desktop/src/lib/silence-events.ts +1 -0
- package/corpus/templates/clips/desktop/src/shared/config.ts +1 -0
- package/corpus/templates/clips/desktop/src/styles.css +80 -7
- package/corpus/templates/clips/desktop/src-tauri/src/config.rs +32 -0
- package/corpus/templates/clips/desktop/src-tauri/src/lib.rs +3 -0
- package/corpus/templates/clips/desktop/src-tauri/src/silence_detector.rs +268 -20
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_model.rs +285 -164
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_speech.rs +18 -7
- package/corpus/templates/clips/learnings.defaults.md +1 -1
- package/corpus/templates/clips/server/plugins/db.ts +11 -0
- package/corpus/templates/clips/shared/builder-credits.ts +1 -1
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +20 -38
- package/corpus/templates/content/app/components/editor/previewDocumentSaveController.ts +40 -1
- package/corpus/templates/design/app/components/design/FusionAppBanner.tsx +9 -1
- package/corpus/templates/design/app/components/design/edit-panel/component-section.tsx +5 -1
- package/corpus/templates/design/app/pages/DesignSystemSetup.tsx +9 -1
- package/corpus/templates/slides/app/components/design-system/DesignSystemSetup.tsx +9 -1
- package/dist/agent/engine/builder-engine.d.ts.map +1 -1
- package/dist/agent/engine/builder-engine.js +4 -0
- package/dist/agent/engine/builder-engine.js.map +1 -1
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +10 -3
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/ConnectBuilderCard.d.ts.map +1 -1
- package/dist/client/ConnectBuilderCard.js +5 -1
- package/dist/client/ConnectBuilderCard.js.map +1 -1
- package/dist/client/chat/markdown-renderer.d.ts.map +1 -1
- package/dist/client/chat/markdown-renderer.js +3 -2
- package/dist/client/chat/markdown-renderer.js.map +1 -1
- package/dist/client/error-format.d.ts +1 -1
- package/dist/client/error-format.d.ts.map +1 -1
- package/dist/client/error-format.js +1 -1
- package/dist/client/error-format.js.map +1 -1
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/integrations/IntegrationsPanel.d.ts.map +1 -1
- package/dist/client/integrations/IntegrationsPanel.js +3 -4
- package/dist/client/integrations/IntegrationsPanel.js.map +1 -1
- package/dist/client/resources/McpIntegrationDialog.d.ts.map +1 -1
- package/dist/client/resources/McpIntegrationDialog.js +21 -7
- package/dist/client/resources/McpIntegrationDialog.js.map +1 -1
- package/dist/client/resources/mcp-integration-catalog.d.ts.map +1 -1
- package/dist/client/resources/mcp-integration-catalog.js +2 -2
- package/dist/client/resources/mcp-integration-catalog.js.map +1 -1
- package/dist/client/settings/BackgroundAgentSection.d.ts.map +1 -1
- package/dist/client/settings/BackgroundAgentSection.js +5 -1
- package/dist/client/settings/BackgroundAgentSection.js.map +1 -1
- package/dist/client/settings/SettingsPanel.js +1 -1
- package/dist/client/settings/SettingsPanel.js.map +1 -1
- package/dist/client/settings/useBuilderStatus.d.ts.map +1 -1
- package/dist/client/settings/useBuilderStatus.js +2 -0
- package/dist/client/settings/useBuilderStatus.js.map +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +1 -1
- package/dist/localization/default-messages.d.ts +0 -6
- package/dist/localization/default-messages.d.ts.map +1 -1
- package/dist/localization/default-messages.js +1 -7
- package/dist/localization/default-messages.js.map +1 -1
- package/dist/observability/routes.d.ts +5 -5
- package/dist/resources/handlers.d.ts +1 -1
- package/dist/secrets/routes.d.ts +9 -9
- package/dist/server/builder-browser.d.ts.map +1 -1
- package/dist/server/builder-browser.js +4 -0
- package/dist/server/builder-browser.js.map +1 -1
- package/dist/server/builder-design-systems.d.ts.map +1 -1
- package/dist/server/builder-design-systems.js +6 -1
- package/dist/server/builder-design-systems.js.map +1 -1
- package/dist/server/fusion-app.d.ts.map +1 -1
- package/dist/server/fusion-app.js +2 -1
- package/dist/server/fusion-app.js.map +1 -1
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/shared/builder-link-tracking.d.ts +14 -0
- package/dist/shared/builder-link-tracking.d.ts.map +1 -0
- package/dist/shared/builder-link-tracking.js +26 -0
- package/dist/shared/builder-link-tracking.js.map +1 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -1
- package/docs/content/deployment.mdx +1 -1
- package/docs/content/frames.mdx +1 -1
- package/docs/content/integrations.mdx +27 -27
- package/docs/content/pr-visual-recap.mdx +17 -13
- package/docs/content/workspace-management.mdx +1 -1
- package/package.json +3 -2
- package/src/agent/engine/builder-engine.ts +4 -0
- package/src/client/AgentPanel.tsx +10 -4
- package/src/client/ConnectBuilderCard.tsx +5 -1
- package/src/client/chat/markdown-renderer.tsx +3 -5
- package/src/client/error-format.ts +2 -1
- package/src/client/index.ts +1 -0
- package/src/client/integrations/IntegrationsPanel.tsx +2 -18
- package/src/client/resources/McpIntegrationDialog.tsx +43 -32
- package/src/client/resources/mcp-integration-catalog.ts +4 -2
- package/src/client/settings/BackgroundAgentSection.tsx +5 -1
- package/src/client/settings/SettingsPanel.tsx +4 -4
- package/src/client/settings/useBuilderStatus.ts +3 -0
- package/src/localization/default-messages.ts +1 -7
- package/src/server/builder-browser.ts +4 -0
- package/src/server/builder-design-systems.ts +6 -1
- package/src/server/fusion-app.ts +5 -1
- package/src/shared/builder-link-tracking.ts +41 -0
- package/src/shared/index.ts +1 -0
|
@@ -725,9 +725,6 @@ const messages = {
|
|
|
725
725
|
chatIntegrations: "Chat Integrations",
|
|
726
726
|
chatIntegrationsDescription: "Talk to this agent from other platforms",
|
|
727
727
|
addIntegration: "Add integration",
|
|
728
|
-
addSomething: "Add something not listed",
|
|
729
|
-
addSomethingTitle: "Add another integration",
|
|
730
|
-
addSomethingPlaceholder: "Which integration should we add?",
|
|
731
728
|
dispatchEntrypoint:
|
|
732
729
|
"For a central Slack or Telegram entrypoint that can route work across multiple apps, use the",
|
|
733
730
|
sharedMessaging:
|
|
@@ -737,12 +734,9 @@ const messages = {
|
|
|
737
734
|
menuLabel: "Integrations",
|
|
738
735
|
menuDescription: "Connect MCP tools to the agent",
|
|
739
736
|
title: "Connect integrations",
|
|
740
|
-
description: "
|
|
737
|
+
description: "Browse {{count}} MCP integrations or add a custom server.",
|
|
741
738
|
searchPlaceholder: "Search integrations",
|
|
742
739
|
addYourOwn: "Add your own",
|
|
743
|
-
addSomething: "Add something not listed",
|
|
744
|
-
addSomethingTitle: "Add another integration",
|
|
745
|
-
addSomethingPlaceholder: "Which MCP or provider should we add?",
|
|
746
740
|
noMatches: "No integrations match that search.",
|
|
747
741
|
connected: "Connected",
|
|
748
742
|
configure: "Configure",
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
import type { H3Event } from "h3";
|
|
9
9
|
import { getHeader } from "h3";
|
|
10
10
|
|
|
11
|
+
import { applyBuilderUtmTrackingParams } from "../shared/builder-link-tracking.js";
|
|
11
12
|
import {
|
|
12
13
|
getAuthSecret,
|
|
13
14
|
resolveSignupTrackingIdentity,
|
|
@@ -920,6 +921,9 @@ export function buildBuilderCliAuthUrl(
|
|
|
920
921
|
);
|
|
921
922
|
url.searchParams.set("framework", "agent-native");
|
|
922
923
|
applyBuilderConnectTrackingParams(url.searchParams, tracking);
|
|
924
|
+
applyBuilderUtmTrackingParams(url.searchParams, {
|
|
925
|
+
content: cleanTrackingParam(tracking.agentNativeConnectSource) ?? null,
|
|
926
|
+
});
|
|
923
927
|
return url.toString();
|
|
924
928
|
}
|
|
925
929
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { withBuilderUtmTrackingParams } from "../shared/builder-link-tracking.js";
|
|
1
2
|
import { FeatureNotConfiguredError } from "./credential-provider.js";
|
|
2
3
|
import {
|
|
3
4
|
getBuilderProxyOrigin,
|
|
@@ -356,11 +357,15 @@ function nonEmptyFiles(
|
|
|
356
357
|
|
|
357
358
|
export function builderDesignSystemUrl(designSystemId?: string | null): string {
|
|
358
359
|
const host = trimTrailingSlash(getBuilderAppHost());
|
|
359
|
-
|
|
360
|
+
const url = designSystemId
|
|
360
361
|
? `${host}/app/design-system-intelligence/${encodeURIComponent(
|
|
361
362
|
designSystemId,
|
|
362
363
|
)}`
|
|
363
364
|
: `${host}/app/design-system-intelligence`;
|
|
365
|
+
return withBuilderUtmTrackingParams(url, {
|
|
366
|
+
campaign: "product",
|
|
367
|
+
content: "design_system_intelligence",
|
|
368
|
+
});
|
|
364
369
|
}
|
|
365
370
|
|
|
366
371
|
export function localBuilderDesignSystemId(
|
package/src/server/fusion-app.ts
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
* respond with newline-delimited JSON over chunked HTTP.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
+
import { withBuilderUtmTrackingParams } from "../shared/builder-link-tracking.js";
|
|
27
28
|
import { getBuilderApiHost, getBuilderAppHost } from "./builder-browser.js";
|
|
28
29
|
|
|
29
30
|
export interface FusionBranchRef {
|
|
@@ -86,7 +87,10 @@ function fusionUrl(
|
|
|
86
87
|
/** The Builder visual-editor URL for a fusion branch. */
|
|
87
88
|
export function getFusionBranchEditorUrl(ref: FusionBranchRef): string {
|
|
88
89
|
const host = getBuilderAppHost().replace(/\/+$/, "");
|
|
89
|
-
return
|
|
90
|
+
return withBuilderUtmTrackingParams(
|
|
91
|
+
`${host}/app/projects/${encodeURIComponent(ref.projectId)}/${encodeURIComponent(ref.branchName)}`,
|
|
92
|
+
{ campaign: "product", content: "fusion_editor" },
|
|
93
|
+
);
|
|
90
94
|
}
|
|
91
95
|
|
|
92
96
|
/** Public URL for a reserved fusion hosting slug. */
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const BUILDER_UTM_SOURCE = "agent-native";
|
|
2
|
+
export const BUILDER_UTM_MEDIUM = "product";
|
|
3
|
+
export const BUILDER_UTM_CAMPAIGN = "onboarding";
|
|
4
|
+
|
|
5
|
+
export function applyBuilderUtmTrackingParams(
|
|
6
|
+
params: URLSearchParams,
|
|
7
|
+
options: {
|
|
8
|
+
medium?: string;
|
|
9
|
+
campaign?: string;
|
|
10
|
+
content?: string | null;
|
|
11
|
+
} = {},
|
|
12
|
+
): void {
|
|
13
|
+
params.set("utm_source", BUILDER_UTM_SOURCE);
|
|
14
|
+
params.set("utm_medium", options.medium ?? BUILDER_UTM_MEDIUM);
|
|
15
|
+
params.set("utm_campaign", options.campaign ?? BUILDER_UTM_CAMPAIGN);
|
|
16
|
+
if (options.content) params.set("utm_content", options.content);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function withBuilderUtmTrackingParams(
|
|
20
|
+
url: string,
|
|
21
|
+
options: {
|
|
22
|
+
medium?: string;
|
|
23
|
+
campaign?: string;
|
|
24
|
+
content?: string | null;
|
|
25
|
+
} = {},
|
|
26
|
+
): string {
|
|
27
|
+
let parsed: URL;
|
|
28
|
+
try {
|
|
29
|
+
parsed = new URL(url);
|
|
30
|
+
} catch {
|
|
31
|
+
return url;
|
|
32
|
+
}
|
|
33
|
+
if (
|
|
34
|
+
parsed.hostname !== "builder.io" &&
|
|
35
|
+
parsed.hostname !== "www.builder.io"
|
|
36
|
+
) {
|
|
37
|
+
return url;
|
|
38
|
+
}
|
|
39
|
+
applyBuilderUtmTrackingParams(parsed.searchParams, options);
|
|
40
|
+
return parsed.toString();
|
|
41
|
+
}
|
package/src/shared/index.ts
CHANGED
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
export { agentEnv, type EnvVar } from "./agent-env.js";
|
|
8
8
|
export { extractOAuthStateAppId } from "./oauth-state.js";
|
|
9
9
|
export { truncate } from "./truncate.js";
|
|
10
|
+
export { withBuilderUtmTrackingParams } from "./builder-link-tracking.js";
|
|
10
11
|
export {
|
|
11
12
|
llmConnectionTrackingProperties,
|
|
12
13
|
normalizeLlmConnection,
|