@moxt-ai/mobius 0.0.401 → 0.0.405
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/{chunk-IWT4C7CT.js → chunk-2BOWMHCH.js} +87 -24
- package/dist/{chunk-IWT4C7CT.js.map → chunk-2BOWMHCH.js.map} +2 -2
- package/dist/{chunk-6XG7XQ36.js → chunk-CVS27UI7.js} +2 -2
- package/dist/{chunk-6XG7XQ36.js.map → chunk-CVS27UI7.js.map} +1 -1
- package/dist/{cli-A2ZF2SX5.js → cli-PLLSZH6C.js} +19 -6
- package/dist/{cli-A2ZF2SX5.js.map → cli-PLLSZH6C.js.map} +3 -3
- package/dist/cli.js +2 -2
- package/dist/engine/acp/harness/codex/app-server-protocol.d.ts +3 -0
- package/dist/engine/acp/harness/codex/app-server-protocol.d.ts.map +1 -1
- package/dist/engine/acp/harness/codex/app-server-protocol.js +3 -0
- package/dist/engine/acp/harness/codex/app-server-protocol.js.map +1 -1
- package/dist/engine/acp/harness/codex/owned-agent.d.ts.map +1 -1
- package/dist/engine/acp/harness/codex/owned-agent.js +34 -8
- package/dist/engine/acp/harness/codex/owned-agent.js.map +1 -1
- package/dist/engine/runtime/command/registry/prompt.d.ts.map +1 -1
- package/dist/engine/runtime/command/registry/prompt.js +15 -5
- package/dist/engine/runtime/command/registry/prompt.js.map +1 -1
- package/dist/engine/session/native/native-session-browser.d.ts.map +1 -1
- package/dist/engine/session/native/native-session-browser.js +16 -10
- package/dist/engine/session/native/native-session-browser.js.map +1 -1
- package/dist/engine/session/prompt/prompt-lifecycle.d.ts +1 -1
- package/dist/engine/session/prompt/prompt-lifecycle.d.ts.map +1 -1
- package/dist/engine/session/prompt/prompt-lifecycle.js +2 -2
- package/dist/engine/session/prompt/prompt-lifecycle.js.map +1 -1
- package/dist/engine/session/turn/active-turn.d.ts +2 -0
- package/dist/engine/session/turn/active-turn.d.ts.map +1 -1
- package/dist/engine/session/turn/active-turn.js +2 -0
- package/dist/engine/session/turn/active-turn.js.map +1 -1
- package/dist/engine/session/workspace/workspace-directory.d.ts +10 -0
- package/dist/engine/session/workspace/workspace-directory.d.ts.map +1 -1
- package/dist/engine/session/workspace/workspace-directory.js +13 -0
- package/dist/engine/session/workspace/workspace-directory.js.map +1 -1
- package/dist/engine.js +2 -2
- package/dist/storage/daemon/daemon-lock.d.ts.map +1 -1
- package/dist/storage/daemon/daemon-lock.js +26 -3
- package/dist/storage/daemon/daemon-lock.js.map +1 -1
- package/package.json +2 -2
|
@@ -80,7 +80,7 @@ var __callDispose = (stack, error, hasError) => {
|
|
|
80
80
|
// package.json
|
|
81
81
|
var package_default = {
|
|
82
82
|
name: "@moxt-ai/mobius",
|
|
83
|
-
version: "0.0.
|
|
83
|
+
version: "0.0.405",
|
|
84
84
|
description: "Mobius CLI for pairing and running local AI agent services.",
|
|
85
85
|
type: "module",
|
|
86
86
|
bin: {
|
|
@@ -171,4 +171,4 @@ export {
|
|
|
171
171
|
__callDispose,
|
|
172
172
|
package_default
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
174
|
+
//# sourceMappingURL=chunk-CVS27UI7.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../package.json"],
|
|
4
|
-
"sourcesContent": ["{\n \"name\": \"@moxt-ai/mobius\",\n \"version\": \"0.0.
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"@moxt-ai/mobius\",\n \"version\": \"0.0.405\",\n \"description\": \"Mobius CLI for pairing and running local AI agent services.\",\n \"type\": \"module\",\n \"bin\": {\n \"mobius\": \"dist/cli.js\"\n },\n \"exports\": {\n \"./engine\": {\n \"mobius-source\": \"./src/exports/engine.ts\",\n \"types\": \"./dist/exports/engine.d.ts\",\n \"default\": \"./dist/engine.js\"\n }\n },\n \"files\": [\n \"dist\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.txt\"\n ],\n \"engines\": {\n \"node\": \">=22.19.0\"\n },\n \"publishConfig\": {\n \"access\": \"public\",\n \"exports\": {\n \"./engine\": {\n \"types\": \"./dist/exports/engine.d.ts\",\n \"import\": \"./dist/engine.js\",\n \"default\": \"./dist/engine.js\"\n }\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/moxt-ai/mobius.git\",\n \"directory\": \"packages/cli\"\n },\n \"scripts\": {\n \"prebuild\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"build\": \"node scripts/build.ts && tsc --project tsconfig.build.json\",\n \"dev\": \"node --watch src/cli/entrypoint.ts\",\n \"pretypecheck\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"prepack\": \"pnpm build\",\n \"start\": \"node dist/cli.js\",\n \"typecheck\": \"tsc --project tsconfig.json && tsc --project tests/tsconfig.json\",\n \"pretest:controlled\": \"pnpm build\",\n \"test:controlled\": \"vitest run tests/sessions tests/runtime\",\n \"pretest:manual\": \"pnpm pretest:controlled\",\n \"test:manual\": \"vitest run tests/manual\",\n \"pretest:agents\": \"pnpm build\",\n \"test:agents\": \"vitest run tests/agents --maxWorkers=2\",\n \"pretest:pressure\": \"tsc --project src/engine/acp/harness/claude/upstream/tsconfig.json && tsc --project src/engine/acp/harness/pi/upstream/tsconfig.json\",\n \"test:pressure\": \"node tests/pressure/concurrent-sessions.mjs\"\n },\n \"dependencies\": {\n \"@agentclientprotocol/sdk\": \"^1.4.0\",\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.257\",\n \"commander\": \"15.0.0\",\n \"semver\": \"^7.8.5\",\n \"undici\": \"8.12.2\",\n \"zod\": \"^4.6.7\"\n },\n \"devDependencies\": {\n \"@anthropic-ai/sdk\": \"0.122.0\",\n \"@moxt-ai/mobius-sdk\": \"workspace:*\",\n \"@moxt-ai/mobius-test\": \"workspace:*\",\n \"@types/node\": \"^24.13.5\",\n \"@types/semver\": \"^7.8.0\",\n \"@types/ws\": \"^8.18.1\",\n \"drizzle-kit\": \"1.0.0-rc.4\",\n \"drizzle-orm\": \"1.0.0-rc.4\",\n \"esbuild\": \"0.28.2\",\n \"valibot\": \"1.5.0\",\n \"ws\": \"^8.21.3\"\n },\n \"keywords\": [],\n \"author\": \"Moxt\",\n \"license\": \"Apache-2.0\",\n \"bugs\": {\n \"url\": \"https://github.com/moxt-ai/mobius/issues\"\n },\n \"homepage\": \"https://github.com/moxt-ai/mobius#readme\"\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,EACI,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,KAAO;AAAA,IACH,QAAU;AAAA,EACd;AAAA,EACA,SAAW;AAAA,IACP,YAAY;AAAA,MACR,iBAAiB;AAAA,MACjB,OAAS;AAAA,MACT,SAAW;AAAA,IACf;AAAA,EACJ;AAAA,EACA,OAAS;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EACA,SAAW;AAAA,IACP,MAAQ;AAAA,EACZ;AAAA,EACA,eAAiB;AAAA,IACb,QAAU;AAAA,IACV,SAAW;AAAA,MACP,YAAY;AAAA,QACR,OAAS;AAAA,QACT,QAAU;AAAA,QACV,SAAW;AAAA,MACf;AAAA,IACJ;AAAA,EACJ;AAAA,EACA,YAAc;AAAA,IACV,MAAQ;AAAA,IACR,KAAO;AAAA,IACP,WAAa;AAAA,EACjB;AAAA,EACA,SAAW;AAAA,IACP,UAAY;AAAA,IACZ,OAAS;AAAA,IACT,KAAO;AAAA,IACP,cAAgB;AAAA,IAChB,SAAW;AAAA,IACX,OAAS;AAAA,IACT,WAAa;AAAA,IACb,sBAAsB;AAAA,IACtB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,eAAe;AAAA,IACf,oBAAoB;AAAA,IACpB,iBAAiB;AAAA,EACrB;AAAA,EACA,cAAgB;AAAA,IACZ,4BAA4B;AAAA,IAC5B,kCAAkC;AAAA,IAClC,WAAa;AAAA,IACb,QAAU;AAAA,IACV,QAAU;AAAA,IACV,KAAO;AAAA,EACX;AAAA,EACA,iBAAmB;AAAA,IACf,qBAAqB;AAAA,IACrB,uBAAuB;AAAA,IACvB,wBAAwB;AAAA,IACxB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,eAAe;AAAA,IACf,eAAe;AAAA,IACf,SAAW;AAAA,IACX,SAAW;AAAA,IACX,IAAM;AAAA,EACV;AAAA,EACA,UAAY,CAAC;AAAA,EACb,QAAU;AAAA,EACV,SAAW;AAAA,EACX,MAAQ;AAAA,IACJ,KAAO;AAAA,EACX;AAAA,EACA,UAAY;AAChB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
unhandledRejectionLogFilename,
|
|
32
32
|
validateLocalPath,
|
|
33
33
|
validatePairingId
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2BOWMHCH.js";
|
|
35
35
|
import {
|
|
36
36
|
package_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CVS27UI7.js";
|
|
38
38
|
|
|
39
39
|
// ../../node_modules/.pnpm/commander@15.0.0/node_modules/commander/lib/error.js
|
|
40
40
|
var CommanderError = class extends Error {
|
|
@@ -3864,15 +3864,25 @@ var RuntimeAgentProcesses = class {
|
|
|
3864
3864
|
};
|
|
3865
3865
|
|
|
3866
3866
|
// src/storage/daemon/daemon-lock.ts
|
|
3867
|
-
import {
|
|
3867
|
+
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
3868
|
+
import { readFile as readFile3, rename, unlink, writeFile as writeFile2 } from "node:fs/promises";
|
|
3868
3869
|
import { join as join7 } from "node:path";
|
|
3870
|
+
async function removeLockFile(path2) {
|
|
3871
|
+
const released = `${path2}.${randomUUID2()}.released`;
|
|
3872
|
+
try {
|
|
3873
|
+
await rename(path2, released);
|
|
3874
|
+
} catch {
|
|
3875
|
+
return;
|
|
3876
|
+
}
|
|
3877
|
+
await unlink(released).catch(() => void 0);
|
|
3878
|
+
}
|
|
3869
3879
|
async function acquireDaemonLock(stateDirectory, filename = "manager.lock") {
|
|
3870
3880
|
const path2 = join7(stateDirectory, filename);
|
|
3871
3881
|
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
3872
3882
|
try {
|
|
3873
3883
|
await writeFile2(path2, `${process.pid.toString()}
|
|
3874
3884
|
`, { flag: "wx", mode: 384 });
|
|
3875
|
-
return async () => await
|
|
3885
|
+
return async () => await removeLockFile(path2);
|
|
3876
3886
|
} catch (cause) {
|
|
3877
3887
|
if (!isNodeError(cause, "EEXIST")) {
|
|
3878
3888
|
throw cause;
|
|
@@ -3889,7 +3899,7 @@ async function acquireDaemonLock(stateDirectory, filename = "manager.lock") {
|
|
|
3889
3899
|
}
|
|
3890
3900
|
}
|
|
3891
3901
|
}
|
|
3892
|
-
await
|
|
3902
|
+
await removeLockFile(path2);
|
|
3893
3903
|
}
|
|
3894
3904
|
}
|
|
3895
3905
|
return null;
|
|
@@ -3915,6 +3925,9 @@ async function daemonLockExists(stateDirectory, filename = "manager.lock") {
|
|
|
3915
3925
|
if (isNodeError(cause, "ENOENT")) {
|
|
3916
3926
|
return false;
|
|
3917
3927
|
}
|
|
3928
|
+
if (isNodeError(cause, "EPERM")) {
|
|
3929
|
+
return true;
|
|
3930
|
+
}
|
|
3918
3931
|
throw cause;
|
|
3919
3932
|
}
|
|
3920
3933
|
}
|
|
@@ -5697,4 +5710,4 @@ async function runCLI() {
|
|
|
5697
5710
|
export {
|
|
5698
5711
|
runCLI
|
|
5699
5712
|
};
|
|
5700
|
-
//# sourceMappingURL=cli-
|
|
5713
|
+
//# sourceMappingURL=cli-PLLSZH6C.js.map
|