lody 0.59.0 → 0.59.1
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.
|
@@ -6,6 +6,7 @@ import path__default from "node:path";
|
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
import os__default from "node:os";
|
|
8
8
|
import { watch, existsSync, readFileSync } from "node:fs";
|
|
9
|
+
import { createRequire } from "node:module";
|
|
9
10
|
import { L as LoroDoc, C as Cursor, __tla as __tla_2 } from "./loro_wasm_bg-BV-n7JyC.js";
|
|
10
11
|
import "fs";
|
|
11
12
|
import "path";
|
|
@@ -45,7 +46,6 @@ import "assert";
|
|
|
45
46
|
import "fs/promises";
|
|
46
47
|
import "better-sqlite3";
|
|
47
48
|
import "perf_hooks";
|
|
48
|
-
import "node:module";
|
|
49
49
|
import "node:stream/promises";
|
|
50
50
|
import "node:string_decoder";
|
|
51
51
|
import "node:assert";
|
|
@@ -53,7 +53,7 @@ import "node:buffer";
|
|
|
53
53
|
import "node:async_hooks";
|
|
54
54
|
import { __tla as __tla_3 } from "../index.js";
|
|
55
55
|
import { bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, h, c6, c7, c8, r, u, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, H, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD, cE, cF, cG, cH, cI, cJ, cK, cL, cM } from "../index.js";
|
|
56
|
-
let CODE_COLLAB_PACKAGE, CodeCollabGuestSession, CodeCollabTextDocumentStore, DEFAULT_TEXT_DOCUMENT_UPDATE_TIMEOUT_MS, GuestRpcClient, WEB_JOIN_LINK_MAX_LENGTH, WEB_JOIN_LINK_WARNING_LENGTH, assertWebJoinLinkWithinBudget, buildCapturedTurnHistoryRecords, classifyHostFileWatchPathEvent, classifyHostLivenessFromPresences, computeHostFileWatcherMaxWaitMs, computeHostLoopSleepMs, computeHostTurnChanges, computeHostTurnChangesEffect, createDiskTokenForPath, createDiskTokenForPathEffect, createHostHydrationContextFromSession, createHostLoopWakeSignal, createHostSaveEchoSuppressorV1, createLoroCursorAnchorV1, createWebJoinLink, createWebJoinLinks, dispatchHostRpcEnvelopeV1, dispatchHostRpcEnvelopeV1Effect, downloadBlobObjectEffect, getHostLivenessStatusV1, getHostLivenessStatusV1Effect, handleHostFileWatcherEventV1, hydrateBlobFile, hydrateBlobFileEffect, hydrateTextFile, hydrateTextFileEffect, initializeTextSaveStateV1, initializeTextSaveStateV1Effect, makeHostLoopTelemetryHandlers, markTextSaveStateDirtyForSnapshotV1, parseHostCommandArgs, prepareHostSession, prepareHostSessionEffect, prepareHostSessionRuntime, prepareHostSessionRuntimeEffect, prepareTextHydrationBaselineV1Effect, processHostRpcBatchEffect$1, processHostRpcBatchV1, publishCursorStateV1, publishCursorStateV1Effect, publishHostCurrentChanges, publishHostCursorV1, publishHostParticipantPresenceV1, publishHostPresenceV1, publishHostPresenceV1Effect, publishHostSelectionV1, publishHostSession, publishHostSessionEffect, publishHostSessionRuntime, publishHostSessionRuntimeEffect, publishParticipantPresenceV1, publishParticipantPresenceV1Effect, publishPreparedHostSessionRuntime, publishPreparedHostSessionRuntimeEffect, publishSelectionStateV1, publishSelectionStateV1Effect, readCursorStateSnapshotV1, readCursorStateSnapshotV1Effect, readHostCursorsV1, readHostParticipantPresenceV1, readHostPresencePeerSnapshotV1, readHostPresencePeerSnapshotV1Effect, readHostPresenceSnapshotV1, readHostPresenceSnapshotV1Effect, readHostSelectionsV1, readParticipantPresenceSnapshotV1, readParticipantPresenceSnapshotV1Effect, readSelectionStateSnapshotV1, readSelectionStateSnapshotV1Effect, reconcileOpenTextDocumentRenamesByContent, reconcileOpenTextDocumentRenamesByContentEffect, recordTextHydrationBaselineV1Effect, reloadTextFileFromDiskIfChangedV1, reloadTextFileFromDiskIfChangedV1Effect, reloadTextFileFromDiskV1, reloadTextFileFromDiskV1Effect, requestPendingMetadataRescanV1, resolveHostLspDefinition, resolveHostLspDefinitionEffect, resolveHostLspReferences, resolveHostLspReferencesEffect, resolveLoroCursorAnchorOffsetV1, resolveSaveConflictV1, resolveSaveConflictV1Effect, runHostEventLoopEffect, runHostEventLoopV1, saveTextFileV1, saveTextFileV1Effect, shouldAutoSaveDirtyTextDocument, snapshotHostTurnHistoryFiles, snapshotHostTurnHistoryFilesEffect, startHostFileWatcher, startHostSession, startHostSessionEffect, startPreparedHostSession, startPreparedHostSessionEffect, takeDuePendingMetadataRescanV1, watchCursorStateV1, watchHostPresencePeerSnapshotV1, watchHostPresenceSnapshotV1, watchParticipantPresenceV1, watchSelectionStateV1;
|
|
56
|
+
let CODE_COLLAB_PACKAGE, CodeCollabGuestSession, CodeCollabTextDocumentStore, DEFAULT_TEXT_DOCUMENT_UPDATE_TIMEOUT_MS, GuestRpcClient, WEB_JOIN_LINK_MAX_LENGTH, WEB_JOIN_LINK_WARNING_LENGTH, assertWebJoinLinkWithinBudget, buildCapturedTurnHistoryRecords, classifyHostFileWatchPathEvent, classifyHostLivenessFromPresences, computeHostFileWatcherMaxWaitMs, computeHostLoopSleepMs, computeHostTurnChanges, computeHostTurnChangesEffect, createDiskTokenForPath, createDiskTokenForPathEffect, createHostHydrationContextFromSession, createHostLoopWakeSignal, createHostSaveEchoSuppressorV1, createLoroCursorAnchorV1, createWebJoinLink, createWebJoinLinks, dispatchHostRpcEnvelopeV1, dispatchHostRpcEnvelopeV1Effect, downloadBlobObjectEffect, getHostLivenessStatusV1, getHostLivenessStatusV1Effect, handleHostFileWatcherEventV1, hydrateBlobFile, hydrateBlobFileEffect, hydrateTextFile, hydrateTextFileEffect, initializeTextSaveStateV1, initializeTextSaveStateV1Effect, loadTypeScriptModule, makeHostLoopTelemetryHandlers, markTextSaveStateDirtyForSnapshotV1, parseHostCommandArgs, prepareHostSession, prepareHostSessionEffect, prepareHostSessionRuntime, prepareHostSessionRuntimeEffect, prepareTextHydrationBaselineV1Effect, processHostRpcBatchEffect$1, processHostRpcBatchV1, publishCursorStateV1, publishCursorStateV1Effect, publishHostCurrentChanges, publishHostCursorV1, publishHostParticipantPresenceV1, publishHostPresenceV1, publishHostPresenceV1Effect, publishHostSelectionV1, publishHostSession, publishHostSessionEffect, publishHostSessionRuntime, publishHostSessionRuntimeEffect, publishParticipantPresenceV1, publishParticipantPresenceV1Effect, publishPreparedHostSessionRuntime, publishPreparedHostSessionRuntimeEffect, publishSelectionStateV1, publishSelectionStateV1Effect, readCursorStateSnapshotV1, readCursorStateSnapshotV1Effect, readHostCursorsV1, readHostParticipantPresenceV1, readHostPresencePeerSnapshotV1, readHostPresencePeerSnapshotV1Effect, readHostPresenceSnapshotV1, readHostPresenceSnapshotV1Effect, readHostSelectionsV1, readParticipantPresenceSnapshotV1, readParticipantPresenceSnapshotV1Effect, readSelectionStateSnapshotV1, readSelectionStateSnapshotV1Effect, reconcileOpenTextDocumentRenamesByContent, reconcileOpenTextDocumentRenamesByContentEffect, recordTextHydrationBaselineV1Effect, reloadTextFileFromDiskIfChangedV1, reloadTextFileFromDiskIfChangedV1Effect, reloadTextFileFromDiskV1, reloadTextFileFromDiskV1Effect, requestPendingMetadataRescanV1, resolveHostLspDefinition, resolveHostLspDefinitionEffect, resolveHostLspReferences, resolveHostLspReferencesEffect, resolveLoroCursorAnchorOffsetV1, resolveSaveConflictV1, resolveSaveConflictV1Effect, runHostEventLoopEffect, runHostEventLoopV1, saveTextFileV1, saveTextFileV1Effect, shouldAutoSaveDirtyTextDocument, snapshotHostTurnHistoryFiles, snapshotHostTurnHistoryFilesEffect, startHostFileWatcher, startHostSession, startHostSessionEffect, startPreparedHostSession, startPreparedHostSessionEffect, takeDuePendingMetadataRescanV1, watchCursorStateV1, watchHostPresencePeerSnapshotV1, watchHostPresenceSnapshotV1, watchParticipantPresenceV1, watchSelectionStateV1;
|
|
57
57
|
let __tla = Promise.all([
|
|
58
58
|
(() => {
|
|
59
59
|
try {
|
|
@@ -2794,16 +2794,19 @@ let __tla = Promise.all([
|
|
|
2794
2794
|
}
|
|
2795
2795
|
};
|
|
2796
2796
|
}
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2797
|
+
loadTypeScriptModule = function(workspaceRoot) {
|
|
2798
|
+
const anchors = [
|
|
2799
|
+
path__default.join(path__default.resolve(workspaceRoot), "package.json"),
|
|
2800
|
+
import.meta.url
|
|
2801
|
+
];
|
|
2802
|
+
for (const anchor of anchors) {
|
|
2803
|
+
try {
|
|
2804
|
+
return createRequire(anchor)("typescript");
|
|
2805
|
+
} catch {
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
return void 0;
|
|
2809
|
+
};
|
|
2807
2810
|
resolveHostLspDefinition = async function(input) {
|
|
2808
2811
|
return runPromiseEffect(resolveHostLspDefinitionEffect(input));
|
|
2809
2812
|
};
|
|
@@ -2866,7 +2869,10 @@ let __tla = Promise.all([
|
|
|
2866
2869
|
if (!isTypeScriptLikePath(entry.path)) {
|
|
2867
2870
|
return unsupported(`No host language service is configured for ${path__default.extname(entry.path) || "this file"}`);
|
|
2868
2871
|
}
|
|
2869
|
-
const ts = yield*
|
|
2872
|
+
const ts = yield* trySyncEffect(() => loadTypeScriptModule(context.workspaceRoot));
|
|
2873
|
+
if (ts === void 0) {
|
|
2874
|
+
return unsupported("TypeScript is not installed in this workspace; add it to enable code navigation");
|
|
2875
|
+
}
|
|
2870
2876
|
const liveText = yield* readOptionalLiveTextEffect(context, entry.fileId);
|
|
2871
2877
|
const project = yield* trySyncEffect(() => createTypeScriptLspProject({
|
|
2872
2878
|
currentFile: entry,
|
|
@@ -9977,6 +9983,7 @@ export {
|
|
|
9977
9983
|
isMissingHostRpcStreamAppendError,
|
|
9978
9984
|
ci as isRetryableHostRpcStreamReadError,
|
|
9979
9985
|
cj as isStaleHostRpcStreamReadOffsetError,
|
|
9986
|
+
loadTypeScriptModule,
|
|
9980
9987
|
logCodeCollabRuntimeDebug,
|
|
9981
9988
|
ck as makeCodeCollabConfigLayer,
|
|
9982
9989
|
cl as makeCodeCollabHostTelemetrySink,
|
package/dist/index.js
CHANGED
|
@@ -36827,7 +36827,7 @@ Mongoose Error Code: ${error2.code}` : ""}`
|
|
|
36827
36827
|
return client;
|
|
36828
36828
|
}
|
|
36829
36829
|
const name$1 = "lody";
|
|
36830
|
-
const version$4 = "0.59.
|
|
36830
|
+
const version$4 = "0.59.1";
|
|
36831
36831
|
const description$1 = "Lody Agent CLI tool for managing remote command execution";
|
|
36832
36832
|
const type$2 = "module";
|
|
36833
36833
|
const main$4 = "dist/index.js";
|
|
@@ -143607,7 +143607,7 @@ $mem | ConvertTo-Json -Compress
|
|
|
143607
143607
|
await m.__tla;
|
|
143608
143608
|
return m;
|
|
143609
143609
|
}),
|
|
143610
|
-
import("./chunks/index-
|
|
143610
|
+
import("./chunks/index-Dv4vvpJo.js").then(async (m) => {
|
|
143611
143611
|
await m.__tla;
|
|
143612
143612
|
return m;
|
|
143613
143613
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lody",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.1",
|
|
4
4
|
"description": "Lody Agent CLI tool for managing remote command execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"zod": "^4.1.5",
|
|
77
77
|
"@lody/cli-supervisor": "0.0.1",
|
|
78
78
|
"@lody/code-collab": "0.0.0",
|
|
79
|
-
"@lody/code-collab-testkit": "0.0.0",
|
|
80
79
|
"@lody/code-session": "0.0.0",
|
|
80
|
+
"@lody/code-collab-testkit": "0.0.0",
|
|
81
81
|
"@lody/convex": "0.0.1",
|
|
82
82
|
"@lody/loro-streams-rpc": "0.0.1",
|
|
83
83
|
"@lody/shared": "0.0.1"
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"LICENSE"
|
|
90
90
|
],
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"better-sqlite3": "^
|
|
92
|
+
"better-sqlite3": "^12.10.0",
|
|
93
93
|
"loro-crdt": "1.13.1",
|
|
94
94
|
"shell-env": "^4.0.3",
|
|
95
95
|
"typescript": "^5.9.3"
|