@supportbridge/sdk 0.9.4 → 0.9.5
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/CHANGELOG.md +117 -102
- package/README.md +338 -344
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +3 -2
- package/dist/doctor.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts.map +1 -1
- package/dist/install.js +2 -1
- package/dist/install.js.map +1 -1
- package/dist/mcp-app.d.ts +2 -1
- package/dist/mcp-app.d.ts.map +1 -1
- package/dist/mcp-app.js +2 -1
- package/dist/mcp-app.js.map +1 -1
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +3 -2
- package/dist/transport.js.map +1 -1
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/package.json +68 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,103 +1,118 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
- Adds
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
## 0.
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
- Added
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
- Added
|
|
62
|
-
- Added
|
|
63
|
-
- Added
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
- Added
|
|
70
|
-
- Added
|
|
71
|
-
- Added
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- Added
|
|
77
|
-
- Added
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
- Added
|
|
85
|
-
- Added
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
- Added
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
- Added
|
|
98
|
-
- Added
|
|
99
|
-
- Added
|
|
100
|
-
- Added
|
|
101
|
-
|
|
102
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.9.5
|
|
6
|
+
|
|
7
|
+
- Fixes telemetry delivery by treating the configured endpoint as the complete App2 ingestion URL instead of appending a second, invalid path.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
- Reports the actual SDK release in the telemetry transport user agent.
|
|
11
|
+
- Adds pre-tag CI for the SDK and app2, including manifest validation, typechecks, tests, builds, and package inspection.
|
|
12
|
+
- Adds atomic release preparation and a single shared SDK version source.
|
|
13
|
+
- Uses deterministic pnpm lockfiles and cached installs in CI and publishing.
|
|
14
|
+
- Serializes npm publishing and avoids rerunning `prepack` checks during the trusted-publishing step.
|
|
15
|
+
- Makes app2 install the npm `latest` dist-tag so SDK releases no longer require app version edits.
|
|
16
|
+
- Limits Render auto-deploys to runtime app2 files and waits for GitHub checks to pass.
|
|
17
|
+
|
|
18
|
+
## 0.9.4
|
|
19
|
+
|
|
20
|
+
- Publishes the decision-state blocking and manual assistance offer improvements through npm Trusted Publishing without provenance, which npm does not support for private GitHub source repositories.
|
|
21
|
+
- Repairs the malformed `package.json` created while preparing the unpublished `0.9.3` tag.
|
|
22
|
+
- Pins the app2 Integrations onboarding command and displayed release to `@supportbridge/sdk@0.9.4`.
|
|
23
|
+
|
|
24
|
+
## 0.9.3
|
|
25
|
+
|
|
26
|
+
- Returns proactive `block_and_offer` matches as successful `awaiting_user_decision` states instead of MCP tool errors, without executing the business handler.
|
|
27
|
+
- Adds explicit accept/decline routing, retry-after-decline metadata, and `do_not_retry_or_bypass` guidance for blocking offers.
|
|
28
|
+
- Preserves genuine business-tool failures as errors, including repeated-failure support context.
|
|
29
|
+
- Keeps `require_acknowledgement` non-blocking so original content and structured data remain available alongside the assistance notice.
|
|
30
|
+
- Pins the app2 Integrations onboarding command and displayed release to `@supportbridge/sdk@0.9.3`.
|
|
31
|
+
- Updates the trusted-publishing workflow to Node.js 24 and npm 11, as required for npm OIDC publishing.
|
|
32
|
+
- Publishes through OIDC without Sigstore provenance because npm does not support provenance for private GitHub source repositories.
|
|
33
|
+
|
|
34
|
+
## 0.9.2
|
|
35
|
+
|
|
36
|
+
- GitHub release only; npm accepted OIDC but rejected provenance because the source repository is private.
|
|
37
|
+
|
|
38
|
+
## 0.9.1
|
|
39
|
+
|
|
40
|
+
- GitHub release only; npm publication was rejected before package creation because the original workflow's Node.js/npm versions did not support npm trusted publishing.
|
|
41
|
+
|
|
42
|
+
## 0.9.0
|
|
43
|
+
|
|
44
|
+
- Adds tenant-scoped live visitor activity for successful and failed MCP calls.
|
|
45
|
+
- Adds manual assistance offers from the control plane, delivered on the targeted user's next tool call.
|
|
46
|
+
- Supports representative assignment, acknowledgement behavior, expiry, and single-use delivery.
|
|
47
|
+
|
|
48
|
+
## 0.8.1
|
|
49
|
+
|
|
50
|
+
- Versioned the embedded chat resource URI so MCP hosts refresh the redesigned UI instead of reusing a cached pre-0.8 chat document.
|
|
51
|
+
|
|
52
|
+
## 0.8.0
|
|
53
|
+
|
|
54
|
+
- Redesigned the embedded support chat with distinct customer/support messages, representative identity, compact mode, quieter system activity, unread indicators, multiline composing, delivery feedback, and responsive styling.
|
|
55
|
+
- Replaced technical Slack identifiers in the customer-facing header with human-readable presence and conversation status.
|
|
56
|
+
- Added explicit close and reopen states, including a control-plane reopen endpoint and MCP App tool.
|
|
57
|
+
- Improved ticket-detail privacy by moving the conversation identifier into an optional details menu.
|
|
58
|
+
|
|
59
|
+
## 0.7.0
|
|
60
|
+
|
|
61
|
+
- Added `require_acknowledgement`, a non-blocking policy action that returns business data while appending a visible, consent-safe assistance offer.
|
|
62
|
+
- Added explicit pending offer metadata and control-plane lifecycle persistence for pending, presented, accepted, declined, and expired offers.
|
|
63
|
+
- Added the acknowledgement action to the dashboard and natural-language policy compiler.
|
|
64
|
+
- Preserved the existing metadata-only offer and blocking decision modes for backward compatibility.
|
|
65
|
+
- Added optional Slack notifications for new live-help chats and new customer messages in existing chats.
|
|
66
|
+
|
|
67
|
+
## 0.6.0
|
|
68
|
+
|
|
69
|
+
- Added representative availability as a control-plane policy eligibility condition.
|
|
70
|
+
- Added the mock Sarah representative with Available, Away, and Offline dashboard presence.
|
|
71
|
+
- Added `request_assistance` for accepted sales and customer-success assistance offers.
|
|
72
|
+
- Automatically assigns accepted assistance requests to the policy's representative.
|
|
73
|
+
|
|
74
|
+
# 0.5.0
|
|
75
|
+
|
|
76
|
+
- Added the canonical SupportBridge policy schema, approved field/action registries, deterministic validation and evaluation, nested Boolean conditions, explanations, conflict analysis, decision traces, dry runs, event-loop prevention, and idempotent action execution.
|
|
77
|
+
- Added a vendor-neutral NLP provider contract and deterministic fake compiler for local development and tests.
|
|
78
|
+
- Added approval, immutable version, disable, rollback, diff, test-case, and audit lifecycle primitives.
|
|
79
|
+
- Added the embedded Claude policy-builder MCP App with AI/manual authoring modes, canonical preview, validation, and read-only simulation.
|
|
80
|
+
|
|
81
|
+
## 0.4.0
|
|
82
|
+
|
|
83
|
+
- Ported the MCP App lifecycle, metadata, session shape, and UI behavior from the known-working `ballyhoogroup/supportbridge` connector.
|
|
84
|
+
- Added the proven `open_support_chat`, `support_get_messages`, `support_send_message`, and `support_end_session` contract.
|
|
85
|
+
- Added preferred-frame resource metadata and the working inline display capability handshake.
|
|
86
|
+
- Added a compatibility fixture and conformance assertions to prevent drift from the working connector.
|
|
87
|
+
- Connected the proven chat lifecycle to the external multi-tenant control plane.
|
|
88
|
+
|
|
89
|
+
## 0.3.1
|
|
90
|
+
|
|
91
|
+
- Added a model-visible, MCP-App-linked `talk_to_support` tool.
|
|
92
|
+
- Added reopening of an existing ticket by ID so a missing or scrolled-away widget can be rendered again.
|
|
93
|
+
- Ensured new and reopened chats return the state required by the embedded app.
|
|
94
|
+
|
|
95
|
+
## 0.3.0
|
|
96
|
+
|
|
97
|
+
- Added one-call installation for the official TypeScript MCP SDK.
|
|
98
|
+
- Added automatic support-tool, MCP App resource, chat-handler, policy-sync, and shutdown registration.
|
|
99
|
+
- Added a single shared identity resolver and automatic recent-tool ticket briefs.
|
|
100
|
+
- Added installation capability telemetry, dashboard connection status, and `supportbridge doctor`.
|
|
101
|
+
|
|
102
|
+
## 0.2.0
|
|
103
|
+
|
|
104
|
+
- Added a portable MCP App resource for embedded SupportBridge live chat.
|
|
105
|
+
- Added ticket creation to `accept_support_offer` when a control-plane client is supplied.
|
|
106
|
+
- Added app-only chat refresh and message handlers with a text fallback for non-App hosts.
|
|
107
|
+
|
|
108
|
+
## 0.1.0
|
|
109
|
+
|
|
110
|
+
- Added framework-neutral tool-call instrumentation and MCP result adaptation.
|
|
111
|
+
- Added sanitized, bounded telemetry with buffered HTTP delivery.
|
|
112
|
+
- Added argument-match and repeated-failure support triggers.
|
|
113
|
+
- Added blocking support offers with accept, dismiss, and reset state.
|
|
114
|
+
- Added optional agent and model spans with async trace propagation.
|
|
115
|
+
- Added pluggable telemetry transports and trigger-state stores.
|
|
116
|
+
- Added remote policy synchronization and support-chat control-plane client.
|
|
117
|
+
- Added a tenant-scoped vendor control plane with Live Streams, Visitor 360, chat, and policy management.
|
|
103
118
|
|