agentwheel 0.20.3 → 0.20.4
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/{apply-OGC6E2Y4.js → apply-MGOL643W.js} +2 -2
- package/dist/{chunk-Z4N7TB6Q.js → chunk-JIATNPDH.js} +3 -2
- package/dist/{chunk-BAJEWUI6.js → chunk-XL4ZATLD.js} +1 -1
- package/dist/index.js +11 -6
- package/dist/{transaction-7CNV5MAQ.js → transaction-RJ34P3B6.js} +1 -1
- package/openpack.json +1 -1
- package/package.json +1 -1
- package/skills/agentwheel/SKILL.md +1 -1
- package/skills/agentwheel-discovery/SKILL.md +1 -1
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
commitManifestMetadataJournal,
|
|
6
6
|
recoverPendingApply,
|
|
7
7
|
uninstall
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-XL4ZATLD.js";
|
|
9
|
+
import "./chunk-JIATNPDH.js";
|
|
10
10
|
import "./chunk-7VPI5J5Y.js";
|
|
11
11
|
export {
|
|
12
12
|
applyCombinedInstallPlan,
|
|
@@ -1322,6 +1322,7 @@ var workspaceProfileMemberSchema = z6.object({
|
|
|
1322
1322
|
id: z6.string().min(1).regex(/^[a-z0-9][a-z0-9._-]*$/i),
|
|
1323
1323
|
workspace: z6.string().min(1),
|
|
1324
1324
|
profile: z6.string().min(1),
|
|
1325
|
+
fleet: fleetIdSchema.optional(),
|
|
1325
1326
|
transport: z6.enum(["local", "ssh"]).default("local"),
|
|
1326
1327
|
host: z6.string().min(1).optional(),
|
|
1327
1328
|
user: z6.string().min(1).optional(),
|
|
@@ -2624,8 +2625,8 @@ async function recoverMutationRuntime(operationId, options = {}) {
|
|
|
2624
2625
|
}
|
|
2625
2626
|
mutation = GovernedMutation.activateExisting(receipt, baseline, lock);
|
|
2626
2627
|
const [{ recoverPendingApply }, { readLinkedLocalApplyJournal: readLinkedLocalApplyJournal2, removeApplyJournal: removeApplyJournal2, localPathExists: localPathExists2 }] = await Promise.all([
|
|
2627
|
-
import("./apply-
|
|
2628
|
-
import("./transaction-
|
|
2628
|
+
import("./apply-MGOL643W.js"),
|
|
2629
|
+
import("./transaction-RJ34P3B6.js")
|
|
2629
2630
|
]);
|
|
2630
2631
|
let missingReservation = false;
|
|
2631
2632
|
for (const entry of pending) {
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
uninstall,
|
|
34
34
|
withManifestRevision,
|
|
35
35
|
writeInstallManifest
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XL4ZATLD.js";
|
|
37
37
|
import {
|
|
38
38
|
CURRENT_WORKSPACE_SCHEMA_VERSION,
|
|
39
39
|
GovernedMutation,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
workspaceSelectionImportSchema,
|
|
95
95
|
writeApplyJournal,
|
|
96
96
|
writeWorkspaceConfig
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-JIATNPDH.js";
|
|
98
98
|
import {
|
|
99
99
|
inferSourceDriverName
|
|
100
100
|
} from "./chunk-EMDIG24I.js";
|
|
@@ -9928,7 +9928,7 @@ async function collectMember(member, options, chain) {
|
|
|
9928
9928
|
}
|
|
9929
9929
|
}
|
|
9930
9930
|
async function invokeMemberStatus(member, parentWorkspace, chain, options, cliEntry = process.argv[1]) {
|
|
9931
|
-
const args =
|
|
9931
|
+
const args = memberCommandArgs(member, ["status", "--profile", member.profile, "--json"]);
|
|
9932
9932
|
if (options.refresh) args.push("--refresh");
|
|
9933
9933
|
if (options.offline) args.push("--offline");
|
|
9934
9934
|
const env2 = { ...process.env, AGENTWHEEL_COMPOSITE_CHAIN: JSON.stringify(chain) };
|
|
@@ -9980,7 +9980,7 @@ async function runMemberAgentwheel(member, parentWorkspace, args, chain) {
|
|
|
9980
9980
|
if (member.transport === "local") {
|
|
9981
9981
|
const result2 = await execFileAsync4(
|
|
9982
9982
|
process.execPath,
|
|
9983
|
-
[process.argv[1],
|
|
9983
|
+
[process.argv[1], ...memberCommandArgs(member, args)],
|
|
9984
9984
|
{
|
|
9985
9985
|
cwd: resolve22(parentWorkspace, member.workspace),
|
|
9986
9986
|
env: env2,
|
|
@@ -9994,8 +9994,7 @@ async function runMemberAgentwheel(member, parentWorkspace, args, chain) {
|
|
|
9994
9994
|
"&&",
|
|
9995
9995
|
`AGENTWHEEL_COMPOSITE_CHAIN=${shellQuote2(JSON.stringify(chain))}`,
|
|
9996
9996
|
"agentwheel",
|
|
9997
|
-
|
|
9998
|
-
...args.map(shellQuote2)
|
|
9997
|
+
...memberCommandArgs(member, args).map(shellQuote2)
|
|
9999
9998
|
];
|
|
10000
9999
|
const result = await execFileAsync4("ssh", [...sshArguments(member), remoteArgs.join(" ")], {
|
|
10001
10000
|
env: env2,
|
|
@@ -10010,6 +10009,12 @@ async function runMemberAgentwheel(member, parentWorkspace, args, chain) {
|
|
|
10010
10009
|
throw new Error(`Member ${member.id} command failed: ${detail}`);
|
|
10011
10010
|
}
|
|
10012
10011
|
}
|
|
10012
|
+
function memberCommandArgs(member, args) {
|
|
10013
|
+
if (!member.fleet) return ["--no-update-check", ...args];
|
|
10014
|
+
const [command, ...commandArgs] = args;
|
|
10015
|
+
if (!command) throw new Error(`Member ${member.id} command is missing.`);
|
|
10016
|
+
return ["--no-update-check", command, "--fleet", member.fleet, ...commandArgs];
|
|
10017
|
+
}
|
|
10013
10018
|
function sshArguments(member) {
|
|
10014
10019
|
const destination = member.user ? `${member.user}@${member.host}` : member.host;
|
|
10015
10020
|
return [
|
package/openpack.json
CHANGED
package/package.json
CHANGED