@ai-setting/roy-agent-core 1.6.16 → 1.6.17
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/env/agent/index.js +2 -2
- package/dist/env/index.js +5 -5
- package/dist/env/task/delegate/index.js +2 -2
- package/dist/env/task/index.js +3 -3
- package/dist/env/tool/built-in/index.js +2 -2
- package/dist/env/tool/index.js +3 -3
- package/dist/index.js +6 -6
- package/dist/shared/@ai-setting/{roy-agent-core-eaj0b1hm.js → roy-agent-core-44g3synv.js} +16 -8
- package/dist/shared/@ai-setting/{roy-agent-core-8v0hzw96.js → roy-agent-core-4cgkj7v0.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-vkesx61c.js → roy-agent-core-e9jf4w3z.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-ymz9dgw0.js → roy-agent-core-edbhy767.js} +1 -1
- package/dist/shared/@ai-setting/{roy-agent-core-25ngkkpb.js → roy-agent-core-m134hen4.js} +1 -1
- package/package.json +1 -1
- /package/dist/shared/@ai-setting/{roy-agent-core-b8wn8yhk.js → roy-agent-core-eskgj8nc.js} +0 -0
package/dist/env/agent/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
AgentComponent,
|
|
3
3
|
AgentComponentConfigSchema,
|
|
4
4
|
SummaryAgent
|
|
5
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
5
|
+
} from "../../shared/@ai-setting/roy-agent-core-edbhy767.js";
|
|
6
6
|
import"../../shared/@ai-setting/roy-agent-core-8n0e62y4.js";
|
|
7
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
7
|
+
import"../../shared/@ai-setting/roy-agent-core-eskgj8nc.js";
|
|
8
8
|
import"../../shared/@ai-setting/roy-agent-core-ataagh3a.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
10
10
|
import"../../shared/@ai-setting/roy-agent-core-tycbpm17.js";
|
package/dist/env/index.js
CHANGED
|
@@ -41,18 +41,18 @@ import"../shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
41
41
|
import {
|
|
42
42
|
AgentComponent,
|
|
43
43
|
AgentComponentConfigSchema
|
|
44
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
44
|
+
} from "../shared/@ai-setting/roy-agent-core-edbhy767.js";
|
|
45
45
|
import"../shared/@ai-setting/roy-agent-core-8n0e62y4.js";
|
|
46
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
46
|
+
import"../shared/@ai-setting/roy-agent-core-eskgj8nc.js";
|
|
47
47
|
import"../shared/@ai-setting/roy-agent-core-ataagh3a.js";
|
|
48
48
|
import"../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
49
49
|
import {
|
|
50
50
|
TaskComponent
|
|
51
|
-
} from "../shared/@ai-setting/roy-agent-core-
|
|
51
|
+
} from "../shared/@ai-setting/roy-agent-core-m134hen4.js";
|
|
52
52
|
import"../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
53
53
|
import"../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
54
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
55
|
-
import"../shared/@ai-setting/roy-agent-core-
|
|
54
|
+
import"../shared/@ai-setting/roy-agent-core-4cgkj7v0.js";
|
|
55
|
+
import"../shared/@ai-setting/roy-agent-core-44g3synv.js";
|
|
56
56
|
import"../shared/@ai-setting/roy-agent-core-zdzkzx5g.js";
|
|
57
57
|
import"../shared/@ai-setting/roy-agent-core-pq1q854s.js";
|
|
58
58
|
import"../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
BackgroundTaskManager,
|
|
4
4
|
createDelegateTool,
|
|
5
5
|
createStopTool
|
|
6
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
7
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
6
|
+
} from "../../../shared/@ai-setting/roy-agent-core-4cgkj7v0.js";
|
|
7
|
+
import"../../../shared/@ai-setting/roy-agent-core-44g3synv.js";
|
|
8
8
|
import"../../../shared/@ai-setting/roy-agent-core-pq1q854s.js";
|
|
9
9
|
import"../../../shared/@ai-setting/roy-agent-core-c1v263jn.js";
|
|
10
10
|
import"../../../shared/@ai-setting/roy-agent-core-tycbpm17.js";
|
package/dist/env/task/index.js
CHANGED
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
TaskPriorityEnum,
|
|
6
6
|
TaskStatusEnum,
|
|
7
7
|
TaskTypeEnum
|
|
8
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
8
|
+
} from "../../shared/@ai-setting/roy-agent-core-m134hen4.js";
|
|
9
9
|
import"../../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
10
10
|
import {
|
|
11
11
|
TaskEntityEventTypes
|
|
12
12
|
} from "../../shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
13
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
14
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
13
|
+
import"../../shared/@ai-setting/roy-agent-core-4cgkj7v0.js";
|
|
14
|
+
import"../../shared/@ai-setting/roy-agent-core-44g3synv.js";
|
|
15
15
|
import {
|
|
16
16
|
SQLiteTaskStore,
|
|
17
17
|
getDefaultTaskDbPath
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
grepTool,
|
|
9
9
|
readFileTool,
|
|
10
10
|
writeFileTool
|
|
11
|
-
} from "../../../shared/@ai-setting/roy-agent-core-
|
|
11
|
+
} from "../../../shared/@ai-setting/roy-agent-core-e9jf4w3z.js";
|
|
12
12
|
import {
|
|
13
13
|
getUnderstandImageLLMProvider,
|
|
14
14
|
resetUnderstandImageLLMProvider,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
createQueryBackgroundProcessTool,
|
|
20
20
|
queryBackgroundProcessTool
|
|
21
21
|
} from "../../../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
22
|
-
import"../../../shared/@ai-setting/roy-agent-core-
|
|
22
|
+
import"../../../shared/@ai-setting/roy-agent-core-44g3synv.js";
|
|
23
23
|
import"../../../shared/@ai-setting/roy-agent-core-96mj6gvc.js";
|
|
24
24
|
import"../../../shared/@ai-setting/roy-agent-core-nna4s0qs.js";
|
|
25
25
|
import"../../../shared/@ai-setting/roy-agent-core-m00kamqp.js";
|
package/dist/env/tool/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
grepTool,
|
|
10
10
|
readFileTool,
|
|
11
11
|
writeFileTool
|
|
12
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
12
|
+
} from "../../shared/@ai-setting/roy-agent-core-e9jf4w3z.js";
|
|
13
13
|
import {
|
|
14
14
|
getUnderstandImageLLMProvider,
|
|
15
15
|
resetUnderstandImageLLMProvider,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
ToolValidator,
|
|
23
23
|
getMaxOutputSize,
|
|
24
24
|
setToolConfigComponent
|
|
25
|
-
} from "../../shared/@ai-setting/roy-agent-core-
|
|
25
|
+
} from "../../shared/@ai-setting/roy-agent-core-eskgj8nc.js";
|
|
26
26
|
import"../../shared/@ai-setting/roy-agent-core-ataagh3a.js";
|
|
27
27
|
import"../../shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
28
28
|
import"../../shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
29
|
-
import"../../shared/@ai-setting/roy-agent-core-
|
|
29
|
+
import"../../shared/@ai-setting/roy-agent-core-44g3synv.js";
|
|
30
30
|
import"../../shared/@ai-setting/roy-agent-core-7hh0brvs.js";
|
|
31
31
|
import"../../shared/@ai-setting/roy-agent-core-akb8mb9v.js";
|
|
32
32
|
import"../../shared/@ai-setting/roy-agent-core-02aw62bv.js";
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
grepTool,
|
|
28
28
|
readFileTool,
|
|
29
29
|
writeFileTool
|
|
30
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
30
|
+
} from "./shared/@ai-setting/roy-agent-core-e9jf4w3z.js";
|
|
31
31
|
import {
|
|
32
32
|
ATTACH_FILE_MAX_BYTES,
|
|
33
33
|
getUnderstandImageLLMProvider,
|
|
@@ -131,7 +131,7 @@ import"./shared/@ai-setting/roy-agent-core-1ce3fqrk.js";
|
|
|
131
131
|
import {
|
|
132
132
|
AgentComponent,
|
|
133
133
|
AgentComponentConfigSchema
|
|
134
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
134
|
+
} from "./shared/@ai-setting/roy-agent-core-edbhy767.js";
|
|
135
135
|
import {
|
|
136
136
|
createInvokeConfig,
|
|
137
137
|
invoke,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
ToolComponent,
|
|
143
143
|
ToolRegistry,
|
|
144
144
|
ToolValidator
|
|
145
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
145
|
+
} from "./shared/@ai-setting/roy-agent-core-eskgj8nc.js";
|
|
146
146
|
import"./shared/@ai-setting/roy-agent-core-ataagh3a.js";
|
|
147
147
|
import {
|
|
148
148
|
AskUserError,
|
|
@@ -150,11 +150,11 @@ import {
|
|
|
150
150
|
} from "./shared/@ai-setting/roy-agent-core-e25xkv53.js";
|
|
151
151
|
import {
|
|
152
152
|
TaskComponent
|
|
153
|
-
} from "./shared/@ai-setting/roy-agent-core-
|
|
153
|
+
} from "./shared/@ai-setting/roy-agent-core-m134hen4.js";
|
|
154
154
|
import"./shared/@ai-setting/roy-agent-core-amkqnyzy.js";
|
|
155
155
|
import"./shared/@ai-setting/roy-agent-core-8gxth0eh.js";
|
|
156
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
157
|
-
import"./shared/@ai-setting/roy-agent-core-
|
|
156
|
+
import"./shared/@ai-setting/roy-agent-core-4cgkj7v0.js";
|
|
157
|
+
import"./shared/@ai-setting/roy-agent-core-44g3synv.js";
|
|
158
158
|
import {
|
|
159
159
|
SQLiteTaskStore,
|
|
160
160
|
getDefaultTaskDbPath
|
|
@@ -2,28 +2,34 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
init_logger
|
|
4
4
|
} from "./roy-agent-core-nna4s0qs.js";
|
|
5
|
+
import {
|
|
6
|
+
__require
|
|
7
|
+
} from "./roy-agent-core-fs0mn2jk.js";
|
|
5
8
|
|
|
6
9
|
// src/env/task/delegate/process-registry.ts
|
|
7
10
|
import { AsyncLocalStorage } from "async_hooks";
|
|
8
11
|
|
|
9
12
|
// src/util/process/process-tree-killer.ts
|
|
10
13
|
init_logger();
|
|
11
|
-
import {
|
|
12
|
-
spawn as _childProcessSpawn,
|
|
13
|
-
spawnSync as _childProcessSpawnSync
|
|
14
|
-
} from "child_process";
|
|
15
14
|
var logger = createLogger("process-tree-killer");
|
|
15
|
+
function getChildProcess() {
|
|
16
|
+
return __require("child_process");
|
|
17
|
+
}
|
|
16
18
|
var spawnInjector;
|
|
17
19
|
function spawn(cmd, args, opts) {
|
|
18
20
|
if (spawnInjector)
|
|
19
21
|
return spawnInjector(cmd, args, opts);
|
|
20
|
-
return
|
|
22
|
+
return getChildProcess().spawn(cmd, args, opts);
|
|
21
23
|
}
|
|
22
24
|
var spawnSyncInjector;
|
|
23
25
|
function spawnSyncFn(cmd, args, opts) {
|
|
24
26
|
if (spawnSyncInjector)
|
|
25
27
|
return spawnSyncInjector(cmd, args, opts);
|
|
26
|
-
|
|
28
|
+
const cp = getChildProcess();
|
|
29
|
+
if (typeof cp.spawnSync !== "function") {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
return cp.spawnSync(cmd, args, opts);
|
|
27
33
|
}
|
|
28
34
|
var platformOverride;
|
|
29
35
|
function currentPlatform() {
|
|
@@ -43,12 +49,14 @@ function isProcessAlivePosix(pid) {
|
|
|
43
49
|
}
|
|
44
50
|
function isProcessAliveWindows(pid) {
|
|
45
51
|
try {
|
|
46
|
-
const
|
|
52
|
+
const result = spawnSyncFn("tasklist", ["/fi", `PID eq ${pid}`, "/nh"], {
|
|
47
53
|
stdio: ["ignore", "pipe", "ignore"],
|
|
48
54
|
windowsHide: true,
|
|
49
55
|
timeout: 3000
|
|
50
56
|
});
|
|
51
|
-
|
|
57
|
+
if (!result)
|
|
58
|
+
return true;
|
|
59
|
+
return result.stdout.toString().includes(String(pid));
|
|
52
60
|
} catch {
|
|
53
61
|
return true;
|
|
54
62
|
}
|
package/package.json
CHANGED
|
File without changes
|