agentlas 1.0.52 → 1.0.54
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.
|
@@ -547,7 +547,29 @@ async function runGraph(ctx, needle, flags) {
|
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
|
|
550
|
+
/*
|
|
551
|
+
* ★엔진이 아직 없으면 **받아 온다**. npm 패키지는 실행 엔진을 담지 않고
|
|
552
|
+
* 매니페스트가 가리키는 자산에서 내려받는데(desktop-core-fetch), 그 길을
|
|
553
|
+
* 부르는 곳이 **한 군데도 없었다**. 만들어만 두고 배선하지 않은 것이다.
|
|
554
|
+
*
|
|
555
|
+
* 실측 2026-08-19: 갓 `npm i -g agentlas` 한 상태에서 `graph run` 이
|
|
556
|
+
* "vendored Desktop Core is unavailable" 로 즉시 죽었다. 새로 설치한 사람은
|
|
557
|
+
* 자동화를 한 번도 못 돌린다 — 캐시가 비어 있고, 채울 길을 아무도 안 밟는다.
|
|
558
|
+
*
|
|
559
|
+
* 받는 동안은 조용하지 않다(onNotice) — 12MB 를 말없이 끌어오지 않는다.
|
|
560
|
+
*/
|
|
561
|
+
let core = ctx.desktopCore || desktopCore.loadDesktopCore();
|
|
562
|
+
if (!core || core.error || typeof core.runGraph !== "function") {
|
|
563
|
+
try {
|
|
564
|
+
core = await desktopCore.loadDesktopCoreAsync({ onNotice: (message) => ctx.err(message) });
|
|
565
|
+
} catch (fetchError) {
|
|
566
|
+
ctx.err(JSON.stringify({
|
|
567
|
+
ok: false,
|
|
568
|
+
error: `graph-execution engine could not be fetched: ${fetchError instanceof Error ? fetchError.message : String(fetchError)}`,
|
|
569
|
+
}, null, 2));
|
|
570
|
+
return 1;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
551
573
|
if (!core || core.error || typeof core.runGraph !== "function") {
|
|
552
574
|
const cause = core?.error instanceof Error ? core.error.message : "vendored Desktop Core is unavailable";
|
|
553
575
|
ctx.err(JSON.stringify({ ok: false, error: cause }, null, 2));
|
|
@@ -129,7 +129,16 @@ function installNativeModuleHook() {
|
|
|
129
129
|
const Module = require("node:module");
|
|
130
130
|
const terminalBetterSqlite3 = require("better-sqlite3"); // 터미널 ABI 로 빌드된 것
|
|
131
131
|
let terminalKeytar = null;
|
|
132
|
-
try {
|
|
132
|
+
try {
|
|
133
|
+
terminalKeytar = require("keytar");
|
|
134
|
+
// ★훅은 require 를 가로채지만 resolve 는 못 가로챈다. 코어의 키체인 호스트는 자식
|
|
135
|
+
// 프로세스를 띄우려고 **경로**가 필요한데, 벤더 트리에는 keytar 가 일부러 없다
|
|
136
|
+
// (아래 skip 목록). 그래서 우리 것의 실물 경로를 봉투에 담아 넘긴다.
|
|
137
|
+
// 실측 2026-08-20: 이게 없으면 `Cannot find module 'keytar'` 로 노드가 죽었다.
|
|
138
|
+
if (!process.env.AGENTLAS_KEYTAR_PATH) {
|
|
139
|
+
process.env.AGENTLAS_KEYTAR_PATH = require.resolve("keytar");
|
|
140
|
+
}
|
|
141
|
+
} catch { /* optionalDependency — 없을 수 있다 */ }
|
|
133
142
|
const electronShim = makeElectronShim(); // electron 없이 코어를 돌리는 셰임
|
|
134
143
|
const orig = Module._load;
|
|
135
144
|
Module._load = function (request, parent, isMain) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
3
|
-
"url": "https://github.com/agentlas-ai/agentlas-terminal/releases/download/desktop-core-
|
|
4
|
-
"sha256": "
|
|
5
|
-
"sizeBytes":
|
|
6
|
-
"writtenAt": "2026-08-
|
|
2
|
+
"version": "7",
|
|
3
|
+
"url": "https://github.com/agentlas-ai/agentlas-terminal/releases/download/desktop-core-v7/desktop-core.tar.gz",
|
|
4
|
+
"sha256": "c73981fa3abfa6fafd201a2e107b12a38d95e86f0e867b9fc6799aaf009c78fe",
|
|
5
|
+
"sizeBytes": 12542451,
|
|
6
|
+
"writtenAt": "2026-08-19T20:06:25.439Z"
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentlas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.54",
|
|
4
4
|
"description": "Agentlas project terminal — run project controllers and task-scoped agent teams from the terminal. Standalone: no desktop app process required.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agentlas": "bin/agentlas.cjs"
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"test:release-contracts": "npm run smoke",
|
|
12
12
|
"sync:architecture": "node scripts/sync-architecture-from-desktop.cjs",
|
|
13
13
|
"vendor:core": "node scripts/vendor-desktop-core.cjs",
|
|
14
|
-
"test:tool-access-notice-parity": "node test/tool-access-notice-parity.cjs"
|
|
14
|
+
"test:tool-access-notice-parity": "node test/tool-access-notice-parity.cjs",
|
|
15
|
+
"verify:engine-reachable": "node scripts/verify-engine-reachable.cjs",
|
|
16
|
+
"prepublishOnly": "npm run verify:engine-reachable"
|
|
15
17
|
},
|
|
16
18
|
"engines": {
|
|
17
19
|
"node": ">=20.19"
|