@ai-development-environment/control-agent 0.0.121 → 0.0.123
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/control-agent.js +8 -3
- package/package.json +1 -1
package/dist/control-agent.js
CHANGED
|
@@ -7660,6 +7660,10 @@ function parseLocalBranchInventory(value) {
|
|
|
7660
7660
|
branch.lastCommitMessage,
|
|
7661
7661
|
"local branch.lastCommitMessage"
|
|
7662
7662
|
),
|
|
7663
|
+
lastCommitAuthor: branch.lastCommitAuthor == null || branch.lastCommitAuthor === "" ? null : stringValue3(
|
|
7664
|
+
branch.lastCommitAuthor,
|
|
7665
|
+
"local branch.lastCommitAuthor"
|
|
7666
|
+
),
|
|
7663
7667
|
current: booleanValue(branch.current, "local branch.current"),
|
|
7664
7668
|
checkedOutPath: nullableString2(
|
|
7665
7669
|
branch.checkedOutPath,
|
|
@@ -11022,7 +11026,7 @@ function tailscaleServeRemovePayload(value) {
|
|
|
11022
11026
|
// package.json
|
|
11023
11027
|
var package_default = {
|
|
11024
11028
|
name: "@ai-development-environment/control-agent",
|
|
11025
|
-
version: "0.0.
|
|
11029
|
+
version: "0.0.123",
|
|
11026
11030
|
description: "Control agent for the AI Development Environment",
|
|
11027
11031
|
license: "MIT",
|
|
11028
11032
|
repository: {
|
|
@@ -11566,7 +11570,7 @@ async function scanLocalBranches(folder, timeoutMs, signal2, branch) {
|
|
|
11566
11570
|
folder,
|
|
11567
11571
|
[
|
|
11568
11572
|
"for-each-ref",
|
|
11569
|
-
"--format=%(refname:strip=2)%00%(objectname)%00%(committerdate:iso-strict)%00%(contents:subject)%00%(worktreepath)",
|
|
11573
|
+
"--format=%(refname:strip=2)%00%(objectname)%00%(committerdate:iso-strict)%00%(contents:subject)%00%(worktreepath)%00%(authorname)",
|
|
11570
11574
|
branch ? `refs/heads/${branch}` : "refs/heads"
|
|
11571
11575
|
],
|
|
11572
11576
|
timeoutMs,
|
|
@@ -11580,12 +11584,13 @@ async function scanLocalBranches(folder, timeoutMs, signal2, branch) {
|
|
|
11580
11584
|
return parseLocalBranchInventory({
|
|
11581
11585
|
scannedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
11582
11586
|
branches: refs.stdout.split("\n").filter(Boolean).map((line) => {
|
|
11583
|
-
const [name, headSha, date, subject, path] = line.split("\0");
|
|
11587
|
+
const [name, headSha, date, subject, path, author] = line.split("\0");
|
|
11584
11588
|
return {
|
|
11585
11589
|
name,
|
|
11586
11590
|
headSha,
|
|
11587
11591
|
lastCommitAt: date && Number.isFinite(Date.parse(date)) ? new Date(date).toISOString() : null,
|
|
11588
11592
|
lastCommitMessage: subject?.slice(0, 2e3) || null,
|
|
11593
|
+
lastCommitAuthor: author || null,
|
|
11589
11594
|
current: current.exitCode === 0 && name === current.stdout.trim(),
|
|
11590
11595
|
checkedOutPath: path || null
|
|
11591
11596
|
};
|