@myagentroam/marctl 0.9.123 → 0.10.1

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/NOTICE CHANGED
@@ -2,3 +2,10 @@ MyAgentRoam
2
2
  Copyright 2026 MyAgentRoam contributors
3
3
 
4
4
  This product includes software developed by the MyAgentRoam project.
5
+
6
+ Enterprise implementation and product composition:
7
+ Copyright 2026 aCHAOS
8
+ Author and licensing contact: aCHAOS (achaosxyz@gmail.com)
9
+ Licensed under MyAgentRoam Enterprise Source-Available License 1.0; see
10
+ ee/LICENSE and LICENSING.md. Independent core and third-party notices remain
11
+ applicable; this attribution does not transfer any contributor's copyright.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/marctl",
3
- "version": "0.9.123",
3
+ "version": "0.10.1",
4
4
  "description": "MyAgentRoam command-line interface for authorized Node access.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/src/cli.mjs CHANGED
@@ -113,7 +113,7 @@ export function parseArgs(argv, translate = createTranslator()) {
113
113
  let envFile;
114
114
  let command;
115
115
  let nodeId;
116
- let remoteArgs = [];
116
+ const remoteArgs = [];
117
117
  let separator = false;
118
118
  let help = false;
119
119
  let version = false;
package/src/config.mjs CHANGED
@@ -54,6 +54,7 @@ export async function loadConfig({
54
54
 
55
55
  const keyValue = nonEmptyString(values.MAR_CTL_KEY);
56
56
  if (keyValue === undefined) throw new MarctlError(translate('errors.configKeyMissing'));
57
+ // eslint-disable-next-line no-control-regex -- Reject control characters explicitly at the input boundary.
57
58
  if (/[\u0000-\u001f\u007f]/u.test(keyValue))
58
59
  throw new MarctlError(translate('errors.configKeyInvalid'));
59
60
 
package/src/direct.mjs CHANGED
@@ -288,7 +288,6 @@ export async function openDirectTerminal({
288
288
  class LiveControl {
289
289
  #socket;
290
290
  #timeoutMs;
291
- #opened = false;
292
291
  #ready = false;
293
292
  #closed = false;
294
293
  #waiters = new Set();
@@ -404,13 +403,11 @@ class LiveControl {
404
403
 
405
404
  #waitForSocket(event, code) {
406
405
  if (this.#socket.readyState === 1) {
407
- this.#opened = true;
408
406
  return Promise.resolve();
409
407
  }
410
408
  return new Promise((resolve, reject) => {
411
409
  const onEvent = () => {
412
410
  cleanup();
413
- this.#opened = true;
414
411
  resolve();
415
412
  };
416
413
  const onError = () => {
@@ -82,6 +82,7 @@ async function destinationPath() {
82
82
  sourceBasename.includes('\0') ||
83
83
  targetPath.basename(sourceBasename) !== sourceBasename ||
84
84
  (process.platform === 'win32' &&
85
+ // eslint-disable-next-line no-control-regex -- Reject control characters explicitly at the input boundary.
85
86
  (/[<>:"/\\|?*\x00-\x1f]/u.test(sourceBasename) ||
86
87
  /[. ]$/u.test(sourceBasename) ||
87
88
  /^(?:CON|PRN|AUX|NUL|COM[1-9¹²³]|LPT[1-9¹²³])(?:\.|$)/iu.test(sourceBasename)))