@swmansion/argent 0.31.1-next.7 → 0.31.1-next.8
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/cli-cmds.mjs +9 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +1 -1
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -35737,7 +35737,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
35737
35737
|
var SESSION_ID2 = randomUUID5();
|
|
35738
35738
|
function readCliVersion() {
|
|
35739
35739
|
if (true) {
|
|
35740
|
-
return "0.31.1-next.
|
|
35740
|
+
return "0.31.1-next.8";
|
|
35741
35741
|
}
|
|
35742
35742
|
return "0.0.0";
|
|
35743
35743
|
}
|
|
@@ -39893,6 +39893,8 @@ parsed (e.g. \`true\`, \`42\`, \`["a","b"]\`); anything else is stored as a stri
|
|
|
39893
39893
|
const stored = setConfigValue(key, coerceCliValue(rawValue), targetScope);
|
|
39894
39894
|
if (warning) console.error(import_picocolors3.default.yellow(warning));
|
|
39895
39895
|
console.log(`Set ${import_picocolors3.default.bold(key)} = ${formatValuePlain(stored)} (${scopeLabel(targetScope)}).`);
|
|
39896
|
+
const restart = restartHint(key);
|
|
39897
|
+
if (restart) console.error(import_picocolors3.default.yellow(restart));
|
|
39896
39898
|
} catch (err) {
|
|
39897
39899
|
reportError(err, () => suggestCorrectedSet(err, key, rawValue, scope));
|
|
39898
39900
|
}
|
|
@@ -39923,6 +39925,8 @@ other scope / the default on the next read.`);
|
|
|
39923
39925
|
console.log(
|
|
39924
39926
|
removed ? `Unset ${import_picocolors3.default.bold(key)} (${scopeLabel(targetScope)}).` : import_picocolors3.default.dim(`${key} was not set at ${targetScope} scope.`)
|
|
39925
39927
|
);
|
|
39928
|
+
const restart = removed ? restartHint(key) : null;
|
|
39929
|
+
if (restart) console.error(import_picocolors3.default.yellow(restart));
|
|
39926
39930
|
} catch (err) {
|
|
39927
39931
|
reportError(err);
|
|
39928
39932
|
}
|
|
@@ -39963,6 +39967,10 @@ function degenerateProjectScopeWarning(scope) {
|
|
|
39963
39967
|
}
|
|
39964
39968
|
return null;
|
|
39965
39969
|
}
|
|
39970
|
+
function restartHint(key) {
|
|
39971
|
+
if (key !== "android.adbServerPort") return null;
|
|
39972
|
+
return `The tool-server reads ${key} only when it starts. Apply the change with \`argent server stop\`: this stops it for every session, and the next tool call starts it again.`;
|
|
39973
|
+
}
|
|
39966
39974
|
function formatValuePlain(value) {
|
|
39967
39975
|
if (typeof value === "string") return value;
|
|
39968
39976
|
return JSON.stringify(value);
|
package/dist/installer.mjs
CHANGED
|
@@ -16912,7 +16912,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16912
16912
|
var SESSION_ID = randomUUID4();
|
|
16913
16913
|
function readCliVersion() {
|
|
16914
16914
|
if (true) {
|
|
16915
|
-
return "0.31.1-next.
|
|
16915
|
+
return "0.31.1-next.8";
|
|
16916
16916
|
}
|
|
16917
16917
|
return "0.0.0";
|
|
16918
16918
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -101021,7 +101021,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
101021
101021
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
101022
101022
|
function readCliVersion() {
|
|
101023
101023
|
if (true) {
|
|
101024
|
-
return "0.31.1-next.
|
|
101024
|
+
return "0.31.1-next.8";
|
|
101025
101025
|
}
|
|
101026
101026
|
return "0.0.0";
|
|
101027
101027
|
}
|
package/package.json
CHANGED