moflo 4.8.77 → 4.8.78
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moflo",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.78",
|
|
4
4
|
"description": "MoFlo — AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@types/js-yaml": "^4.0.9",
|
|
113
113
|
"@types/node": "^20.19.37",
|
|
114
114
|
"eslint": "^8.0.0",
|
|
115
|
-
"moflo": "^4.8.
|
|
115
|
+
"moflo": "^4.8.77",
|
|
116
116
|
"tsx": "^4.21.0",
|
|
117
117
|
"typescript": "^5.9.3",
|
|
118
118
|
"vitest": "^4.0.0"
|
|
@@ -173,6 +173,20 @@ export function buildDockerArgs(command, capabilities, projectRoot, options) {
|
|
|
173
173
|
mountedContainerPaths.add(containerPath);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
+
// Override git credential.helper to the gh CLI helper. The host's
|
|
177
|
+
// bind-mounted .gitconfig declares a helper that can't run in the
|
|
178
|
+
// Linux container (Windows: `manager` .exe; macOS: `osxkeychain`;
|
|
179
|
+
// Linux: libsecret/etc — all host-OS-specific). gh is installed in
|
|
180
|
+
// the sandbox image and `.config/gh` is bind-mounted, so
|
|
181
|
+
// `gh auth git-credential` supplies the token for HTTPS git ops.
|
|
182
|
+
// First entry (empty value) resets the inherited helper list; the
|
|
183
|
+
// second entry installs the gh helper as the only one. Applied via
|
|
184
|
+
// GIT_CONFIG_* env vars so no config file is modified.
|
|
185
|
+
args.push('-e', 'GIT_CONFIG_COUNT=2');
|
|
186
|
+
args.push('-e', 'GIT_CONFIG_KEY_0=credential.helper');
|
|
187
|
+
args.push('-e', 'GIT_CONFIG_VALUE_0=');
|
|
188
|
+
args.push('-e', 'GIT_CONFIG_KEY_1=credential.helper');
|
|
189
|
+
args.push('-e', 'GIT_CONFIG_VALUE_1=!gh auth git-credential');
|
|
176
190
|
}
|
|
177
191
|
// ── Network isolation ───────────────────────────────────────────────
|
|
178
192
|
const hasNet = capabilities.some(c => c.type === 'net');
|