@love-moon/conductor-cli 0.15.2 → 0.17.0
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/CHANGELOG.md +148 -0
- package/bin/conductor-auth.js +162 -0
- package/bin/conductor-config.js +6 -9
- package/bin/conductor-daemon-query.js +13 -17
- package/bin/conductor-daemon.js +6 -1
- package/bin/conductor-fire.js +91 -2
- package/bin/conductor-issue.js +215 -13
- package/bin/conductor-project.js +840 -27
- package/bin/conductor-search.js +150 -0
- package/bin/conductor-settings.js +608 -0
- package/bin/conductor-task.js +344 -9
- package/bin/conductor-update.js +17 -0
- package/bin/conductor.js +29 -8
- package/package.json +5 -5
- package/src/backend-http.js +246 -0
- package/src/daemon-share-commands.js +528 -0
- package/src/daemon-update.js +3 -0
- package/src/daemon.js +51 -11
- package/src/remote/mcp-launch.js +3 -3
- package/src/remote-file-handlers.js +65 -6
- package/src/task-commands.js +813 -0
- package/src/version-check.js +10 -0
package/src/version-check.js
CHANGED
|
@@ -162,6 +162,16 @@ export function resolveGlobalInstallPrefix(packageRoot) {
|
|
|
162
162
|
return normalized.slice(0, markerIndex);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
/**
|
|
166
|
+
* The directory of the running Node when it ships its own headers, which official tarballs, nvm
|
|
167
|
+
* and Homebrew all do. Handed to node-gyp as `npm_config_nodedir`, it compiles node-pty against
|
|
168
|
+
* those instead of downloading the headers from nodejs.org.
|
|
169
|
+
*/
|
|
170
|
+
export function resolveBundledNodeDir(nodeExecutable = process.execPath, { existsSync = fs.existsSync } = {}) {
|
|
171
|
+
const nodeDir = path.dirname(path.dirname(nodeExecutable));
|
|
172
|
+
return existsSync(path.join(nodeDir, "include", "node", "common.gypi")) ? nodeDir : null;
|
|
173
|
+
}
|
|
174
|
+
|
|
165
175
|
export function buildUpgradeCommand(options = {}) {
|
|
166
176
|
const installMethod = resolveInstallMethod(options);
|
|
167
177
|
if (installMethod === "homebrew") {
|