@morlay/ui-conversation-message-actions 0.1.2 → 0.1.3
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/dist/client.d.cts +3 -4
- package/dist/client.d.mts +3 -4
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/invariant.d.cts +4 -5
- package/dist/invariant.d.mts +4 -5
- package/dist/rolldown-runtime-BMI-E3GI.mjs +44 -0
- package/dist/testing.d.cts +2033 -93
- package/dist/testing.d.mts +2032 -93
- package/dist/testing.mjs +4 -45
- package/package.json +6 -6
package/dist/testing.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-BMI-E3GI.mjs";
|
|
1
2
|
import { t as SESSION_EDITOR_PATHS } from "./shared-DG86bLrc.mjs";
|
|
2
3
|
import { SessionEditor } from "./index.mjs";
|
|
3
|
-
import { createRequire } from "node:module";
|
|
4
4
|
import { Context, Service } from "@deepseek-ai/cordis";
|
|
5
5
|
import { KNOWN_SESSION_EVENT_TYPES, SESSION_FORMAT_VERSION, Session, Session as Session$1, SessionId, SessionId as SessionIdBrand, SessionLogOffset, SessionSeq, SessionSeq as SessionSeq$1, SessionStore, foldSurface, interruptedTurnClosers, isSurfaceEvent, snapshotSessionEvent } from "@deepseek-ai/dsh-session";
|
|
6
6
|
import { SessionBranch, SessionBranchError, balanceRewindPrefix, rewindKeepLength } from "@morlay/session-branch";
|
|
@@ -15,49 +15,7 @@ import { mkdir, open, readdir, stat } from "node:fs/promises";
|
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
16
|
import { DatabaseSync } from "node:sqlite";
|
|
17
17
|
import fs, { existsSync, readdirSync } from "node:fs";
|
|
18
|
-
import { createRequire
|
|
19
|
-
//#region \0rolldown/runtime.js
|
|
20
|
-
var __create = Object.create;
|
|
21
|
-
var __defProp = Object.defineProperty;
|
|
22
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
23
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
24
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
25
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
26
|
-
var __esmMin = (fn, res, err) => () => {
|
|
27
|
-
if (err) throw err[0];
|
|
28
|
-
try {
|
|
29
|
-
return fn && (res = fn(fn = 0)), res;
|
|
30
|
-
} catch (e) {
|
|
31
|
-
throw err = [e], e;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
35
|
-
var __exportAll = (all, no_symbols) => {
|
|
36
|
-
let target = {};
|
|
37
|
-
for (var name in all) __defProp(target, name, {
|
|
38
|
-
get: all[name],
|
|
39
|
-
enumerable: true
|
|
40
|
-
});
|
|
41
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
42
|
-
return target;
|
|
43
|
-
};
|
|
44
|
-
var __copyProps = (to, from, except, desc) => {
|
|
45
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
46
|
-
key = keys[i];
|
|
47
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
48
|
-
get: ((k) => from[k]).bind(null, key),
|
|
49
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
return to;
|
|
53
|
-
};
|
|
54
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
55
|
-
value: mod,
|
|
56
|
-
enumerable: true
|
|
57
|
-
}) : target, mod));
|
|
58
|
-
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
59
|
-
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
60
|
-
//#endregion
|
|
18
|
+
import { createRequire } from "module";
|
|
61
19
|
//#region ../../../vendor/deepseek-harness/vendor/cosmokit/lib/index.js
|
|
62
20
|
/** Return true when a value is `null` or `undefined`. */
|
|
63
21
|
function isNullable(value) {
|
|
@@ -20734,6 +20692,7 @@ function rowToEvent(row) {
|
|
|
20734
20692
|
}
|
|
20735
20693
|
const SURFACE_EVENT_TYPES = /* @__PURE__ */ new Set([
|
|
20736
20694
|
"system/message",
|
|
20695
|
+
"developer/message",
|
|
20737
20696
|
"user/message",
|
|
20738
20697
|
"assistant/message",
|
|
20739
20698
|
"tool/result"
|
|
@@ -27538,7 +27497,7 @@ var SessionBranchRdb = class extends SessionBranch {
|
|
|
27538
27497
|
};
|
|
27539
27498
|
//#endregion
|
|
27540
27499
|
//#region ../../../node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/index.mjs
|
|
27541
|
-
var require$1 = createRequire
|
|
27500
|
+
var require$1 = createRequire("/");
|
|
27542
27501
|
var _a$2;
|
|
27543
27502
|
var Worker;
|
|
27544
27503
|
var isMarkedAsUntransferable;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/ui-conversation-message-actions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Rewind / retry / recall / fork orchestration (host) plus the browser half — replaces the conversation.chat.node user / steering rendering and overrides the conversation.composer.dock stats row.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"conversation-chat-node",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"./locale/*.json": "./locale/*.json"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@morlay/session-branch": "0.1.
|
|
41
|
+
"@morlay/session-branch": "0.1.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@deepseek-ai/dsh-session-stats": "0.2.0-rc.1",
|
|
45
|
-
"@morlay/dsh-client-ui-primitives": "0.0.
|
|
46
|
-
"@morlay/session-rdb": "0.1.
|
|
45
|
+
"@morlay/dsh-client-ui-primitives": "0.0.6",
|
|
46
|
+
"@morlay/session-rdb": "0.1.3",
|
|
47
47
|
"@types/react": "~18.3.1",
|
|
48
48
|
"@types/react-dom": "~18.3.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"@deepseek-ai/dsh-session-persistence": "^0.2.0-rc.1",
|
|
68
68
|
"@deepseek-ai/dsh-session-projection": "^0.2.0-rc.1",
|
|
69
69
|
"@deepseek-ai/dsh-token-meter": "^0.2.0-rc.1",
|
|
70
|
-
"@morlay/dsh-client-ui-conversation": "0.1.
|
|
71
|
-
"@morlay/dsh-client-ui-primitives": "0.0.
|
|
70
|
+
"@morlay/dsh-client-ui-conversation": "0.1.3",
|
|
71
|
+
"@morlay/dsh-client-ui-primitives": "0.0.6"
|
|
72
72
|
},
|
|
73
73
|
"dsh": {
|
|
74
74
|
"client": {
|