@camunda/copilot-chat 0.8.1-alpha.6 → 0.8.1-alpha.8
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 +12 -3
- package/dist/{highlighted-body-OFNGDK62-rPuUNV9Z.js → highlighted-body-OFNGDK62-CXUh90ix.js} +1 -1
- package/dist/{index-C2kwLtk5.js → index-hIkxXkoJ.js} +3972 -3937
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/mermaid-GHXKKRXX-BSlTZjL9.js +4 -0
- package/package.json +1 -1
- package/dist/mermaid-GHXKKRXX-DR5F4qZo.js +0 -4
package/README.md
CHANGED
|
@@ -204,9 +204,10 @@ Each applied change set appears as a checkpoint at its position in the
|
|
|
204
204
|
transcript, including in older pages. Restore calls `undoApply` with that
|
|
205
205
|
checkpoint's Apply ID, not the host's single-file version action.
|
|
206
206
|
|
|
207
|
-
Applying a draft sends its exact `draftId
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
Applying a draft sends its exact `draftId` and `reviewedGeneration`. Hosts
|
|
208
|
+
that require live-version confirmation can also supply `confirmedLive`; the
|
|
209
|
+
HTTP adapter forwards it when provided. The host must reject a stale generation
|
|
210
|
+
rather than apply edits the user has not reviewed. Apply results distinguish success,
|
|
210
211
|
a changed draft that must be reviewed again, and access or policy blocks.
|
|
211
212
|
Discarding selected artifacts, reverting changes from a turn, updating from
|
|
212
213
|
live, and undoing an eligible apply are separate conversation-scoped operations.
|
|
@@ -247,6 +248,14 @@ Restore button with their reason. Hosts can supply `undoable` on
|
|
|
247
248
|
`getRestoreEligibility(conversationId, applyIds)` to refresh loaded checkpoints
|
|
248
249
|
in batches of at most 100 IDs and recheck the selected ID before Restore.
|
|
249
250
|
This read is independent of transcript revisions.
|
|
251
|
+
Routine refreshes keep the last confirmed eligibility visible while a request
|
|
252
|
+
is pending. A read-scope reset clears it immediately, and confirmation still
|
|
253
|
+
requires a fresh positive result.
|
|
254
|
+
With that reader, a checkpoint remains available after Restore only if the
|
|
255
|
+
host still authorizes it. An `apply_undone` row with a `recoveryApplyId` appears
|
|
256
|
+
as **Changes restored** with an **Undo restore** action. The client uses that
|
|
257
|
+
new ID to check eligibility and restore the versions saved just before that
|
|
258
|
+
restore, preserving each restore as a separate transcript row.
|
|
250
259
|
|
|
251
260
|
The header `revision` is the covered watermark for `since`, not the largest row
|
|
252
261
|
revision. A read may contain newer rows without covering all intervening changes.
|
package/dist/{highlighted-body-OFNGDK62-rPuUNV9Z.js → highlighted-body-OFNGDK62-CXUh90ix.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as c, L as f, A as d } from "./index-
|
|
1
|
+
import { R as c, L as f, A as d } from "./index-hIkxXkoJ.js";
|
|
2
2
|
import { useContext as p, useState as L, useEffect as N } from "react";
|
|
3
3
|
import { jsx as x } from "react/jsx-runtime";
|
|
4
4
|
var A = ({ code: s, language: e, raw: a, className: o, startLine: m, lineNumbers: u, ...g }) => {
|