@rallycry/conveyor-agent 11.0.5 → 11.0.7
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/{boot-7XH4FFLO.js → boot-SQKXI5NY.js} +23 -333
- package/dist/{chunk-URYBO32C.js → chunk-43XITDZP.js} +2 -2
- package/dist/{chunk-SLUBOIYE.js → chunk-APP6Y2D7.js} +11 -1
- package/dist/{chunk-D57S4UR5.js → chunk-IBAIJY7V.js} +17 -1
- package/dist/{chunk-W6VILPQE.js → chunk-JG3VMWRQ.js} +1 -1
- package/dist/{chunk-J2NPWBVZ.js → chunk-NFNB2C35.js} +153 -8
- package/dist/chunk-SR66HQKB.js +464 -0
- package/dist/{chunk-EXQ6AHOY.js → chunk-TOTCEWJD.js} +18 -0
- package/dist/cli.js +9 -9
- package/dist/{client-IG6C5F2G.js → client-6AUPKKMV.js} +1 -1
- package/dist/index.d.ts +76 -0
- package/dist/index.js +5 -5
- package/dist/{serve-boot-B4BIZMNB.js → serve-boot-ESZKFN5M.js} +3 -3
- package/dist/{server-2Z5V3IPA.js → server-2IZBKD3Q.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-XORJ6SII.js +0 -46
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionRunner,
|
|
3
3
|
unshallowRepo
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-NFNB2C35.js";
|
|
5
|
+
import "./chunk-SR66HQKB.js";
|
|
6
|
+
import "./chunk-JG3VMWRQ.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentConnection,
|
|
9
9
|
GIT_TIMEOUT_MS,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
stageAndCommit,
|
|
18
18
|
updateRemoteToken,
|
|
19
19
|
workspacePathExists
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-APP6Y2D7.js";
|
|
21
21
|
import "./chunk-GL2DIQEQ.js";
|
|
22
22
|
import {
|
|
23
23
|
runAuthTokenCommand,
|
|
@@ -28,7 +28,7 @@ import "./chunk-7P6QZHXZ.js";
|
|
|
28
28
|
import "./chunk-IA45XHOA.js";
|
|
29
29
|
import {
|
|
30
30
|
getWorkbenchClient
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TOTCEWJD.js";
|
|
32
32
|
import {
|
|
33
33
|
workbenchEnabled
|
|
34
34
|
} from "./chunk-KMB3BU4S.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkspaceCommandSupervisor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-43XITDZP.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentConnection,
|
|
6
6
|
CodespacePortVisibility,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
createServiceLogger,
|
|
12
12
|
ensureOnTaskBranch,
|
|
13
13
|
loadConveyorConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-APP6Y2D7.js";
|
|
15
15
|
import "./chunk-GL2DIQEQ.js";
|
|
16
16
|
import "./chunk-W4LZ7R6Z.js";
|
|
17
17
|
import "./chunk-IA45XHOA.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-TOTCEWJD.js";
|
|
19
19
|
import "./chunk-KMB3BU4S.js";
|
|
20
20
|
import "./chunk-6Q6LQBWO.js";
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rallycry/conveyor-agent",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.7",
|
|
4
4
|
"description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
package/dist/chunk-XORJ6SII.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// src/runner/session-runner-helpers.ts
|
|
2
|
-
import { readFileSync } from "fs";
|
|
3
|
-
import { dirname, join } from "path";
|
|
4
|
-
import { fileURLToPath } from "url";
|
|
5
|
-
function mapChatHistory(messages) {
|
|
6
|
-
if (!messages) return [];
|
|
7
|
-
return messages.map((m) => ({
|
|
8
|
-
id: m.id,
|
|
9
|
-
role: m.role ?? "user",
|
|
10
|
-
content: m.content ?? "",
|
|
11
|
-
userId: m.userId,
|
|
12
|
-
userName: m.user?.name ?? void 0,
|
|
13
|
-
createdAt: m.createdAt,
|
|
14
|
-
...m.source ? { source: m.source } : {},
|
|
15
|
-
...m.files && m.files.length > 0 ? {
|
|
16
|
-
files: m.files.map((f) => ({
|
|
17
|
-
fileId: f.id,
|
|
18
|
-
fileName: f.fileName,
|
|
19
|
-
mimeType: f.mimeType,
|
|
20
|
-
fileSize: f.fileSize,
|
|
21
|
-
downloadUrl: f.downloadUrl ?? "",
|
|
22
|
-
content: f.content,
|
|
23
|
-
contentEncoding: f.contentEncoding
|
|
24
|
-
}))
|
|
25
|
-
} : {}
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
|
-
function readAgentVersion() {
|
|
29
|
-
try {
|
|
30
|
-
const here = dirname(fileURLToPath(import.meta.url));
|
|
31
|
-
for (const rel of ["../package.json", "../../package.json"]) {
|
|
32
|
-
try {
|
|
33
|
-
const pkg = JSON.parse(readFileSync(join(here, rel), "utf-8"));
|
|
34
|
-
if (pkg.version) return pkg.version;
|
|
35
|
-
} catch {
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
} catch {
|
|
39
|
-
}
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export {
|
|
44
|
-
mapChatHistory,
|
|
45
|
-
readAgentVersion
|
|
46
|
-
};
|