@lousy-agents/cli 5.22.14 → 5.22.15
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/api/copilot-with-fastify/.devcontainer/devcontainer.json +1 -1
- package/api/copilot-with-fastify/package-lock.json +5 -5
- package/api/copilot-with-fastify/package.json +1 -1
- package/cli/copilot-with-citty/.devcontainer/devcontainer.json +1 -1
- package/cli/copilot-with-citty/package.json +1 -1
- package/dist/index.js +42 -31
- package/package.json +1 -1
- package/ui/copilot-with-react/.devcontainer/devcontainer.json +1 -1
- package/ui/copilot-with-react/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
|
|
12
12
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
|
13
|
-
"version": "v2.1.
|
|
13
|
+
"version": "v2.1.310"
|
|
14
14
|
},
|
|
15
15
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
|
|
16
16
|
"packages": "yamllint, shellcheck",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@biomejs/biome": "2.5.15",
|
|
21
|
-
"@lousy-agents/mcp": "5.22.
|
|
21
|
+
"@lousy-agents/mcp": "5.22.14",
|
|
22
22
|
"@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
|
|
23
23
|
"@testcontainers/postgresql": "12.2.1",
|
|
24
24
|
"@types/node": "24.19.2",
|
|
@@ -958,15 +958,15 @@
|
|
|
958
958
|
}
|
|
959
959
|
},
|
|
960
960
|
"node_modules/@lousy-agents/mcp": {
|
|
961
|
-
"version": "5.22.
|
|
962
|
-
"resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.22.
|
|
963
|
-
"integrity": "sha512-
|
|
961
|
+
"version": "5.22.14",
|
|
962
|
+
"resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.22.14.tgz",
|
|
963
|
+
"integrity": "sha512-QUo3RbJsQyQ7/XycL/GnldeOcr8Hnnsi/4U9Iycv9rv+lnR/R2BByk0e2xugbILlhFuh1gpqri7NMVLrCYk8qA==",
|
|
964
964
|
"dev": true,
|
|
965
965
|
"license": "BSD-2-Clause-Patent",
|
|
966
966
|
"dependencies": {
|
|
967
967
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
968
968
|
"yaml": "2.9.1",
|
|
969
|
-
"zod": "4.
|
|
969
|
+
"zod": "4.6.6"
|
|
970
970
|
},
|
|
971
971
|
"bin": {
|
|
972
972
|
"lousy-agents-mcp": "dist/mcp-server.js"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@biomejs/biome": "2.5.15",
|
|
32
|
-
"@lousy-agents/mcp": "5.22.
|
|
32
|
+
"@lousy-agents/mcp": "5.22.14",
|
|
33
33
|
"@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
|
|
34
34
|
"@testcontainers/postgresql": "12.2.1",
|
|
35
35
|
"@types/node": "24.19.2",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
|
|
12
12
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
|
13
|
-
"version": "v2.1.
|
|
13
|
+
"version": "v2.1.310"
|
|
14
14
|
},
|
|
15
15
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
|
|
16
16
|
"packages": "yamllint, shellcheck",
|
package/dist/index.js
CHANGED
|
@@ -4540,7 +4540,11 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
4540
4540
|
return cached;
|
|
4541
4541
|
}
|
|
4542
4542
|
try {
|
|
4543
|
-
const
|
|
4543
|
+
const ordinary = realpathSync(pathForWindowsFilesystem(targetPath));
|
|
4544
|
+
// Ordinary resolution keeps the caller's letter case. Its result has no symlinks or
|
|
4545
|
+
// dot segments left, so native resolution on POSIX only adopts the on-disk spelling
|
|
4546
|
+
// that root admission compares against. Windows root admission reconciles aliases.
|
|
4547
|
+
const resolved = process.platform === "win32" ? ordinary : realpathSync.native(ordinary);
|
|
4544
4548
|
cache?.set(targetPath, resolved);
|
|
4545
4549
|
cache?.set(resolved, resolved);
|
|
4546
4550
|
return resolved;
|
|
@@ -6769,6 +6773,7 @@ function validateDescriptor(value, allowUnknownFlags) {
|
|
|
6769
6773
|
typeof value.currentUserSid !== "string" || !SID_RE.test(value.currentUserSid) ||
|
|
6770
6774
|
(value.currentAppContainerSid != null && (typeof value.currentAppContainerSid !== "string" || !APP_CONTAINER_SID_RE.test(value.currentAppContainerSid))) ||
|
|
6771
6775
|
typeof value.daclPresent !== "boolean" || typeof value.isLocal !== "boolean" ||
|
|
6776
|
+
(value.isVolumeRoot !== undefined && typeof value.isVolumeRoot !== "boolean") ||
|
|
6772
6777
|
typeof value.aceListComplete !== "boolean" || !Array.isArray(value.unsupportedAceTypes) ||
|
|
6773
6778
|
!value.unsupportedAceTypes.every(uint32) || !Array.isArray(value.aces) ||
|
|
6774
6779
|
!value.aces.every(ace => validateAce(ace, allowUnknownFlags))) {
|
|
@@ -15167,9 +15172,14 @@ const onCopySourceAdmission = Symbol("onCopySourceAdmission");
|
|
|
15167
15172
|
|
|
15168
15173
|
;// CONCATENATED MODULE: ../../node_modules/@openclaw/fs-safe/dist/file-sync.js
|
|
15169
15174
|
|
|
15175
|
+
function syncFile(handle) {
|
|
15176
|
+
return typeof handle === "number"
|
|
15177
|
+
? new Promise((resolve, reject) => external_node_fs_.fsync(handle, error => error ? reject(error) : resolve()))
|
|
15178
|
+
: handle.sync();
|
|
15179
|
+
}
|
|
15170
15180
|
async function syncFileBestEffort(handle) {
|
|
15171
15181
|
try {
|
|
15172
|
-
await handle
|
|
15182
|
+
await syncFile(handle);
|
|
15173
15183
|
}
|
|
15174
15184
|
catch (error) {
|
|
15175
15185
|
if (error?.code !== "EPERM")
|
|
@@ -15875,6 +15885,7 @@ class NativeStagedFile {
|
|
|
15875
15885
|
#verifyMode;
|
|
15876
15886
|
#state = { status: "open", publication: NOT_PUBLISHED };
|
|
15877
15887
|
#receipt;
|
|
15888
|
+
#publicationFlush;
|
|
15878
15889
|
#rejectFinalSymlink = false;
|
|
15879
15890
|
#unsupportedNoReplace;
|
|
15880
15891
|
#fallbackCleanup;
|
|
@@ -15911,8 +15922,7 @@ class NativeStagedFile {
|
|
|
15911
15922
|
const env_1 = { stack: [], error: void 0, hasError: false };
|
|
15912
15923
|
try {
|
|
15913
15924
|
const exclusive = params.overwrite === false && params.input.kind === "buffer" && params.input.stageBeforePublish === false;
|
|
15914
|
-
// This owner never escapes
|
|
15915
|
-
// public descriptor methods remain await-free and cannot race disposal.
|
|
15925
|
+
// This owner never escapes; only the internal verifier borrows its fd.
|
|
15916
15926
|
const staged = native_staged_file_addDisposableResource(env_1, await NativeStagedFile.create({
|
|
15917
15927
|
binding, parentFd, closeParentFd, directory, mode: params.mode, sync: params.sync,
|
|
15918
15928
|
// Public staging uses portable names; existing POSIX writes accept literal names.
|
|
@@ -15931,9 +15941,10 @@ class NativeStagedFile {
|
|
|
15931
15941
|
}
|
|
15932
15942
|
let published;
|
|
15933
15943
|
try {
|
|
15934
|
-
|
|
15944
|
+
const publication = exclusive
|
|
15935
15945
|
? staged.#completePublication(params.basename, false, params.onPublished)
|
|
15936
|
-
:
|
|
15946
|
+
: staged.publish(params.basename, { overwrite: params.overwrite !== false }, params.onPublished);
|
|
15947
|
+
published = publication instanceof Promise ? await publication : publication;
|
|
15937
15948
|
}
|
|
15938
15949
|
catch (error) {
|
|
15939
15950
|
if (!staged.#unsupportedNoReplace || isFsSafeNativeRequired() ||
|
|
@@ -16096,29 +16107,21 @@ class NativeStagedFile {
|
|
|
16096
16107
|
restoreCopyMetadata(fd, input.metadata);
|
|
16097
16108
|
if (this.#verifyMode)
|
|
16098
16109
|
this.#assertStagePermissions(fd);
|
|
16099
|
-
if (this.#owner.sync !== false)
|
|
16100
|
-
|
|
16101
|
-
external_node_fs_.fsyncSync(fd);
|
|
16102
|
-
else
|
|
16103
|
-
syncFileBestEffortSync(fd);
|
|
16104
|
-
}
|
|
16110
|
+
if (this.#owner.sync !== false)
|
|
16111
|
+
await (this.#owner.strictFileSync ? syncFile(fd) : syncFileBestEffort(fd));
|
|
16105
16112
|
const stat = external_node_fs_.fstatSync(fd, { bigint: true });
|
|
16106
16113
|
this.#receipt = createStagedFileReceipt(this.#owner.directory, this.#owner.name, stat);
|
|
16107
16114
|
this.#assertCurrent();
|
|
16108
16115
|
}
|
|
16109
16116
|
catch (error) {
|
|
16110
16117
|
const { receipt: cleanup, error: cleanupError } = this.#finalize();
|
|
16111
|
-
if (cleanupError) {
|
|
16112
|
-
throw stagedFailure("file",
|
|
16113
|
-
|
|
16114
|
-
if (cleanup.status === "preserved") {
|
|
16115
|
-
throw stagedFailure("file", error, { phase: "prepare", publication: cleanup.publication, cleanup });
|
|
16118
|
+
if (cleanupError || cleanup.status === "preserved") {
|
|
16119
|
+
throw stagedFailure("file", cleanupError
|
|
16120
|
+
? new AggregateError([error, cleanupError], "preparation and cleanup failed") : error, { phase: "prepare", publication: cleanup.publication, cleanup });
|
|
16116
16121
|
}
|
|
16117
16122
|
throw error;
|
|
16118
16123
|
}
|
|
16119
16124
|
}
|
|
16120
|
-
// Keep public descriptor work await-free: each call completes its mutations
|
|
16121
|
-
// before the next invocation, including closure and cached cleanup failures.
|
|
16122
16125
|
async assertCurrent() {
|
|
16123
16126
|
this.#assertCurrent();
|
|
16124
16127
|
}
|
|
@@ -16163,7 +16166,8 @@ class NativeStagedFile {
|
|
|
16163
16166
|
}
|
|
16164
16167
|
throw error;
|
|
16165
16168
|
}
|
|
16166
|
-
|
|
16169
|
+
const publication = this.#completePublication(basename, overwrite, onPublished);
|
|
16170
|
+
return publication instanceof Promise ? await publication : publication;
|
|
16167
16171
|
}
|
|
16168
16172
|
catch (error) {
|
|
16169
16173
|
if (isMutationAuthorityError(error))
|
|
@@ -16189,17 +16193,21 @@ class NativeStagedFile {
|
|
|
16189
16193
|
external_node_fs_.fchmodSync(fd, this.#owner.mode);
|
|
16190
16194
|
// Content was synced during preparation. A lost chmod leaves 0600, no wider
|
|
16191
16195
|
// than modes retaining owner rw; restrictive modes still need a durable correction.
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16195
|
-
|
|
16196
|
-
|
|
16197
|
-
|
|
16198
|
-
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16196
|
+
const verify = () => {
|
|
16197
|
+
this.#assertNamed(basename, this.#owner.mode);
|
|
16198
|
+
this.#assertDirectory();
|
|
16199
|
+
return receipt;
|
|
16200
|
+
};
|
|
16201
|
+
if (this.#owner.sync === false)
|
|
16202
|
+
return verify();
|
|
16203
|
+
this.#publicationFlush = Promise.resolve().then(async () => {
|
|
16204
|
+
if ((this.#owner.mode & 0o600) !== 0o600 || (stagedMode & ~this.#owner.mode) !== 0) {
|
|
16205
|
+
await (this.#owner.strictFileSync ? syncFile(fd) : syncFileBestEffort(fd));
|
|
16206
|
+
}
|
|
16207
|
+
await syncFileBestEffort(this.#owner.parentFd);
|
|
16208
|
+
return verify();
|
|
16209
|
+
}).finally(() => { this.#publicationFlush = undefined; });
|
|
16210
|
+
return this.#publicationFlush;
|
|
16203
16211
|
}
|
|
16204
16212
|
#finalize() {
|
|
16205
16213
|
if (this.#state.status === "closed") {
|
|
@@ -16254,6 +16262,9 @@ class NativeStagedFile {
|
|
|
16254
16262
|
return this.#state;
|
|
16255
16263
|
}
|
|
16256
16264
|
async cleanup() {
|
|
16265
|
+
// Native descriptors cannot close or be recycled while libuv is synchronizing them.
|
|
16266
|
+
if (this.#publicationFlush)
|
|
16267
|
+
await this.#publicationFlush.catch(() => { });
|
|
16257
16268
|
const closed = this.#finalize();
|
|
16258
16269
|
if (closed.error) {
|
|
16259
16270
|
throw closed.error;
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
|
|
12
12
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
|
13
|
-
"version": "v2.1.
|
|
13
|
+
"version": "v2.1.310"
|
|
14
14
|
},
|
|
15
15
|
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
|
|
16
16
|
"packages": "libnss3, libnspr4, libatk1.0-0t64, libatk-bridge2.0-0t64, libcups2t64, libdrm2, libdbus-1-3, libatspi2.0-0t64, libxcomposite1, libxdamage1, libxfixes3, libxrandr2, libgbm1, libxkbcommon0, libasound2t64, yamllint, shellcheck",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@biomejs/biome": "2.5.15",
|
|
25
25
|
"@eslint/eslintrc": "3.3.7",
|
|
26
|
-
"@lousy-agents/mcp": "5.22.
|
|
26
|
+
"@lousy-agents/mcp": "5.22.14",
|
|
27
27
|
"@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
|
|
28
28
|
"@testing-library/jest-dom": "7.0.1",
|
|
29
29
|
"@testing-library/react": "16.3.3",
|