@mushi-mushi/core 1.40.1 → 1.41.0
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/README.md +1 -1
- package/dist/diagnostics.d.cts +2 -1
- package/dist/diagnostics.d.ts +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/reporter-channels.d.cts +1 -1
- package/dist/reporter-channels.d.ts +1 -1
- package/dist/reporter-ui.d.cts +2 -1
- package/dist/reporter-ui.d.ts +2 -1
- package/dist/{types-GBfop58j.d.cts → types-FrXu2B7i.d.cts} +21 -1
- package/dist/{types-GBfop58j.d.ts → types-FrXu2B7i.d.ts} +21 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-
|
|
1
|
+
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-FrXu2B7i.cjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-
|
|
1
|
+
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-FrXu2B7i.js';
|
package/dist/reporter-ui.d.cts
CHANGED
|
@@ -186,4 +186,5 @@ declare function reporterToastMessage(updates: {
|
|
|
186
186
|
/** A typo screen for the email opt-in box; the server validates the address. */
|
|
187
187
|
declare function isPlausibleReporterEmail(raw: string): boolean;
|
|
188
188
|
|
|
189
|
-
export { REPORTER_CANONICAL_STATUSES, REPORTER_CATEGORIES, REPORTER_CLOSED_REASONS, REPORTER_LOCALES, REPORTER_MIN_DESCRIPTION, REPORTER_TIMELINE_KINDS, REPORTER_TOAST_INTERVAL_MS,
|
|
189
|
+
export { REPORTER_CANONICAL_STATUSES, REPORTER_CATEGORIES, REPORTER_CLOSED_REASONS, REPORTER_LOCALES, REPORTER_MIN_DESCRIPTION, REPORTER_TIMELINE_KINDS, REPORTER_TOAST_INTERVAL_MS, fillReporterTemplate, isPlausibleReporterEmail, isReporterConversation, isReporterIdea, reporterCanSend, reporterCategoryLabel, reporterChipToReport, reporterCopy, reporterRequiredLength, reporterShouldShowToast, reporterStatus, reporterTimelineEntryText, reporterTimelineText, reporterToastMessage, resolveReporterLocale };
|
|
190
|
+
export type { ReporterCanonicalStatus, ReporterCategory, ReporterClosedReason, ReporterCopy, ReporterLocale, ReporterStatusInput, ReporterStatusKey, ReporterStatusView, ReporterTimelineEntry, ReporterTimelineKind, ReporterTimelineParams, ReporterTone };
|
package/dist/reporter-ui.d.ts
CHANGED
|
@@ -186,4 +186,5 @@ declare function reporterToastMessage(updates: {
|
|
|
186
186
|
/** A typo screen for the email opt-in box; the server validates the address. */
|
|
187
187
|
declare function isPlausibleReporterEmail(raw: string): boolean;
|
|
188
188
|
|
|
189
|
-
export { REPORTER_CANONICAL_STATUSES, REPORTER_CATEGORIES, REPORTER_CLOSED_REASONS, REPORTER_LOCALES, REPORTER_MIN_DESCRIPTION, REPORTER_TIMELINE_KINDS, REPORTER_TOAST_INTERVAL_MS,
|
|
189
|
+
export { REPORTER_CANONICAL_STATUSES, REPORTER_CATEGORIES, REPORTER_CLOSED_REASONS, REPORTER_LOCALES, REPORTER_MIN_DESCRIPTION, REPORTER_TIMELINE_KINDS, REPORTER_TOAST_INTERVAL_MS, fillReporterTemplate, isPlausibleReporterEmail, isReporterConversation, isReporterIdea, reporterCanSend, reporterCategoryLabel, reporterChipToReport, reporterCopy, reporterRequiredLength, reporterShouldShowToast, reporterStatus, reporterTimelineEntryText, reporterTimelineText, reporterToastMessage, resolveReporterLocale };
|
|
190
|
+
export type { ReporterCanonicalStatus, ReporterCategory, ReporterClosedReason, ReporterCopy, ReporterLocale, ReporterStatusInput, ReporterStatusKey, ReporterStatusView, ReporterTimelineEntry, ReporterTimelineKind, ReporterTimelineParams, ReporterTone };
|
|
@@ -823,6 +823,13 @@ interface MushiPrivacyConfig {
|
|
|
823
823
|
redactSelectors?: string[];
|
|
824
824
|
/** Let reporters remove an attached screenshot before submitting. Defaults to true. */
|
|
825
825
|
allowUserRemoveScreenshot?: boolean;
|
|
826
|
+
/**
|
|
827
|
+
* Screenshots show what people typed into form fields (inputs, textareas,
|
|
828
|
+
* selects, contenteditable). Off by default: every typed value is replaced
|
|
829
|
+
* with dots of the same length. Set `true` only when your forms hold no
|
|
830
|
+
* personal data. Passwords and card fields stay blacked out either way.
|
|
831
|
+
*/
|
|
832
|
+
unmaskInputs?: boolean;
|
|
826
833
|
}
|
|
827
834
|
interface MushiProactiveConfig {
|
|
828
835
|
rageClick?: boolean;
|
|
@@ -1545,6 +1552,13 @@ interface MushiAssistantReply {
|
|
|
1545
1552
|
options?: string[];
|
|
1546
1553
|
/** Server-assigned thread id so the next turn continues the conversation. */
|
|
1547
1554
|
threadId?: string;
|
|
1555
|
+
/**
|
|
1556
|
+
* Always true from the server: the reply was written by an AI model (EU AI
|
|
1557
|
+
* Act Art. 50(2)). The widget marks each reply `data-ai-generated="true"`.
|
|
1558
|
+
*/
|
|
1559
|
+
ai_generated?: boolean;
|
|
1560
|
+
/** The model that wrote the reply, when the server reports it. */
|
|
1561
|
+
model?: string;
|
|
1548
1562
|
}
|
|
1549
1563
|
interface MushiSDKInstance {
|
|
1550
1564
|
/**
|
|
@@ -2121,6 +2135,11 @@ interface MushiReporterReport {
|
|
|
2121
2135
|
severity?: string | null;
|
|
2122
2136
|
/** Reporter-safe title (the summary, or the first line of the description). */
|
|
2123
2137
|
title?: string | null;
|
|
2138
|
+
/**
|
|
2139
|
+
* True when an AI wrote `title` (the classifier's summary), not the
|
|
2140
|
+
* reporter. Widgets mark it (EU AI Act Art. 50(2)). Absent from older servers.
|
|
2141
|
+
*/
|
|
2142
|
+
title_ai_generated?: boolean;
|
|
2124
2143
|
/** The type the reporter picked (`user_category`), if any. */
|
|
2125
2144
|
user_category?: string | null;
|
|
2126
2145
|
/** Page path the report was filed on. */
|
|
@@ -2201,4 +2220,5 @@ interface MushiTesterReputation {
|
|
|
2201
2220
|
total_points: number;
|
|
2202
2221
|
}
|
|
2203
2222
|
|
|
2204
|
-
export {
|
|
2223
|
+
export { reporterChannels as an, subscribeBrowserPush as ao };
|
|
2224
|
+
export type { MushiReporterPrefsUpdate as $, MushiDiscoverInventoryConfig as A, MushiDiscoveryEventPayload as B, MushiEventHandler as C, MushiEventType as D, MushiHallOfFameEntry as E, MushiInitConfig as F, MushiIntegrationsConfig as G, MushiLeaderboardEntry as H, MushiNetworkEntry as I, MushiNotificationsConfig as J, MushiOnDeviceClassifier as K, MushiOnDeviceClassifierInput as L, MushiApiClient as M, MushiOnDeviceClassifierResult as N, MushiPageContext as O, MushiPerformanceMetrics as P, MushiPreset as Q, MushiPrivacyConfig as R, MushiProactiveConfig as S, MushiProductEventPayload as T, MushiPushSubscriptionJSON as U, MushiReportBuilder as V, MushiReportCategory as W, MushiReportStatus as X, MushiReporterChannelUnavailable as Y, MushiReporterComment as Z, MushiReporterNotificationPrefs as _, MushiConfig as a, MushiReporterReport as a0, MushiReporterReportDetail as a1, MushiReporterTimelineItem as a2, MushiReporterUpdates as a3, MushiReputationResult as a4, MushiRewardsConfig as a5, MushiRuntimeSdkConfig as a6, MushiRuntimeWidgetConfig as a7, MushiSDKInstance as a8, MushiSdkVersionInfo as a9, MushiSelectedElement as aa, MushiSentryConfig as ab, MushiSentryContext as ac, MushiSessionEventPayload as ad, MushiTesterReputation as ae, MushiTierResult as af, MushiTimelineEntry as ag, MushiTimelineKind as ah, MushiTracePropagationConfig as ai, MushiUrlMatcher as aj, MushiWidgetAnchor as ak, MushiWidgetConfig as al, MushiReporterChannels as am, MushiPreFilterConfig as b, MushiReport as c, MushiOfflineConfig as d, MushiEnvironment as e, MushiAnalyticsConfig as f, MushiPropertyValue as g, MushiBreadcrumb as h, MushiActivityEvent as i, MushiApiCascadeConfig as j, MushiApiResponse as k, MushiAssistantConfig as l, MushiAssistantReply as m, MushiAssistantStep as n, MushiBannerConfig as o, MushiBannerLink as p, MushiBetaChangelogEntry as q, MushiBetaModeConfig as r, MushiCaptureConfig as s, MushiCaptureEventInput as t, MushiCaptureExceptionOptions as u, MushiConsoleEntry as v, MushiCooldownConfig as w, MushiCrossAppReport as x, MushiCustomCategory as y, MushiDiagnosticsResult as z };
|
|
@@ -823,6 +823,13 @@ interface MushiPrivacyConfig {
|
|
|
823
823
|
redactSelectors?: string[];
|
|
824
824
|
/** Let reporters remove an attached screenshot before submitting. Defaults to true. */
|
|
825
825
|
allowUserRemoveScreenshot?: boolean;
|
|
826
|
+
/**
|
|
827
|
+
* Screenshots show what people typed into form fields (inputs, textareas,
|
|
828
|
+
* selects, contenteditable). Off by default: every typed value is replaced
|
|
829
|
+
* with dots of the same length. Set `true` only when your forms hold no
|
|
830
|
+
* personal data. Passwords and card fields stay blacked out either way.
|
|
831
|
+
*/
|
|
832
|
+
unmaskInputs?: boolean;
|
|
826
833
|
}
|
|
827
834
|
interface MushiProactiveConfig {
|
|
828
835
|
rageClick?: boolean;
|
|
@@ -1545,6 +1552,13 @@ interface MushiAssistantReply {
|
|
|
1545
1552
|
options?: string[];
|
|
1546
1553
|
/** Server-assigned thread id so the next turn continues the conversation. */
|
|
1547
1554
|
threadId?: string;
|
|
1555
|
+
/**
|
|
1556
|
+
* Always true from the server: the reply was written by an AI model (EU AI
|
|
1557
|
+
* Act Art. 50(2)). The widget marks each reply `data-ai-generated="true"`.
|
|
1558
|
+
*/
|
|
1559
|
+
ai_generated?: boolean;
|
|
1560
|
+
/** The model that wrote the reply, when the server reports it. */
|
|
1561
|
+
model?: string;
|
|
1548
1562
|
}
|
|
1549
1563
|
interface MushiSDKInstance {
|
|
1550
1564
|
/**
|
|
@@ -2121,6 +2135,11 @@ interface MushiReporterReport {
|
|
|
2121
2135
|
severity?: string | null;
|
|
2122
2136
|
/** Reporter-safe title (the summary, or the first line of the description). */
|
|
2123
2137
|
title?: string | null;
|
|
2138
|
+
/**
|
|
2139
|
+
* True when an AI wrote `title` (the classifier's summary), not the
|
|
2140
|
+
* reporter. Widgets mark it (EU AI Act Art. 50(2)). Absent from older servers.
|
|
2141
|
+
*/
|
|
2142
|
+
title_ai_generated?: boolean;
|
|
2124
2143
|
/** The type the reporter picked (`user_category`), if any. */
|
|
2125
2144
|
user_category?: string | null;
|
|
2126
2145
|
/** Page path the report was filed on. */
|
|
@@ -2201,4 +2220,5 @@ interface MushiTesterReputation {
|
|
|
2201
2220
|
total_points: number;
|
|
2202
2221
|
}
|
|
2203
2222
|
|
|
2204
|
-
export {
|
|
2223
|
+
export { reporterChannels as an, subscribeBrowserPush as ao };
|
|
2224
|
+
export type { MushiReporterPrefsUpdate as $, MushiDiscoverInventoryConfig as A, MushiDiscoveryEventPayload as B, MushiEventHandler as C, MushiEventType as D, MushiHallOfFameEntry as E, MushiInitConfig as F, MushiIntegrationsConfig as G, MushiLeaderboardEntry as H, MushiNetworkEntry as I, MushiNotificationsConfig as J, MushiOnDeviceClassifier as K, MushiOnDeviceClassifierInput as L, MushiApiClient as M, MushiOnDeviceClassifierResult as N, MushiPageContext as O, MushiPerformanceMetrics as P, MushiPreset as Q, MushiPrivacyConfig as R, MushiProactiveConfig as S, MushiProductEventPayload as T, MushiPushSubscriptionJSON as U, MushiReportBuilder as V, MushiReportCategory as W, MushiReportStatus as X, MushiReporterChannelUnavailable as Y, MushiReporterComment as Z, MushiReporterNotificationPrefs as _, MushiConfig as a, MushiReporterReport as a0, MushiReporterReportDetail as a1, MushiReporterTimelineItem as a2, MushiReporterUpdates as a3, MushiReputationResult as a4, MushiRewardsConfig as a5, MushiRuntimeSdkConfig as a6, MushiRuntimeWidgetConfig as a7, MushiSDKInstance as a8, MushiSdkVersionInfo as a9, MushiSelectedElement as aa, MushiSentryConfig as ab, MushiSentryContext as ac, MushiSessionEventPayload as ad, MushiTesterReputation as ae, MushiTierResult as af, MushiTimelineEntry as ag, MushiTimelineKind as ah, MushiTracePropagationConfig as ai, MushiUrlMatcher as aj, MushiWidgetAnchor as ak, MushiWidgetConfig as al, MushiReporterChannels as am, MushiPreFilterConfig as b, MushiReport as c, MushiOfflineConfig as d, MushiEnvironment as e, MushiAnalyticsConfig as f, MushiPropertyValue as g, MushiBreadcrumb as h, MushiActivityEvent as i, MushiApiCascadeConfig as j, MushiApiResponse as k, MushiAssistantConfig as l, MushiAssistantReply as m, MushiAssistantStep as n, MushiBannerConfig as o, MushiBannerLink as p, MushiBetaChangelogEntry as q, MushiBetaModeConfig as r, MushiCaptureConfig as s, MushiCaptureEventInput as t, MushiCaptureExceptionOptions as u, MushiConsoleEntry as v, MushiCooldownConfig as w, MushiCrossAppReport as x, MushiCustomCategory as y, MushiDiagnosticsResult as z };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/core",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Mushi Mushi SDK types, API client
|
|
3
|
+
"version": "1.41.0",
|
|
4
|
+
"description": "The bug button for apps built with AI. Mushi Mushi SDK types, API client and pre-filter. Open source.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -107,14 +107,14 @@
|
|
|
107
107
|
}
|
|
108
108
|
],
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@size-limit/file": "^
|
|
110
|
+
"@size-limit/file": "^14.3.0",
|
|
111
111
|
"eslint": "^10.6.0",
|
|
112
112
|
"fake-indexeddb": "^6.0.0",
|
|
113
|
-
"jsdom": "^
|
|
114
|
-
"size-limit": "^
|
|
115
|
-
"tsup": "^
|
|
113
|
+
"jsdom": "^31.0.1",
|
|
114
|
+
"size-limit": "^14.3.0",
|
|
115
|
+
"tsup": "^9.0.0",
|
|
116
116
|
"typescript": "^6.0.3",
|
|
117
|
-
"vitest": "^
|
|
117
|
+
"vitest": "^5.1.1",
|
|
118
118
|
"@mushi-mushi/eslint-config": "0.0.0",
|
|
119
119
|
"@mushi-mushi/tsconfig": "0.0.0"
|
|
120
120
|
},
|