archondev 2.19.56 → 3.0.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/README.md +63 -47
- package/dist/{auth-XRKCCFJ3.js → auth-T4C7OQWO.js} +1 -1
- package/dist/{chunk-F3DZZHZB.js → chunk-43IIEFB2.js} +1 -1
- package/dist/{chunk-4K3XNRU6.js → chunk-45T2VB5R.js} +14 -4
- package/dist/{chunk-6TBYNRNF.js → chunk-57NSGWWD.js} +9 -7
- package/dist/{chunk-OHIN6OHU.js → chunk-7RXZTPXY.js} +14 -4
- package/dist/chunk-AJNKSFHL.js +491 -0
- package/dist/chunk-I3BBA7MB.js +150 -0
- package/dist/{chunk-L6VHJQ6M.js → chunk-PQS3TQB6.js} +128 -379
- package/dist/{chunk-LU4DXW3J.js → chunk-YK5Z6U5A.js} +489 -100
- package/dist/{execute-C3NFIEEI.js → execute-HWUL2M3B.js} +3 -3
- package/dist/index.js +1876 -1721
- package/dist/{list-ULMKVK7D.js → list-7IBMJCCF.js} +3 -3
- package/dist/{parallel-T37FF7GD.js → parallel-4PXJA2QD.js} +3 -3
- package/dist/{plan-WBNGP2UE.js → plan-HBAUG3KD.js} +2 -2
- package/dist/{preferences-PELPR2MO.js → preferences-VVFGRNPD.js} +2 -6
- package/dist/ship-KHL6NVC2.js +7 -0
- package/package.json +1 -1
- package/dist/chunk-R664NEAA.js +0 -66
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
list
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-43IIEFB2.js";
|
|
4
|
+
import "./chunk-7RXZTPXY.js";
|
|
5
|
+
import "./chunk-I3BBA7MB.js";
|
|
6
6
|
import "./chunk-5EVHUDQX.js";
|
|
7
7
|
import "./chunk-IYZN6FPJ.js";
|
|
8
8
|
import "./chunk-D3TVDCJA.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
parallelRunWaves,
|
|
7
7
|
parallelSchedule,
|
|
8
8
|
parallelStatus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-45T2VB5R.js";
|
|
10
10
|
import "./chunk-Q3GIFHIQ.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-7RXZTPXY.js";
|
|
12
|
+
import "./chunk-I3BBA7MB.js";
|
|
13
13
|
import "./chunk-5EVHUDQX.js";
|
|
14
14
|
import "./chunk-IYZN6FPJ.js";
|
|
15
15
|
import "./chunk-D3TVDCJA.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
loadAtom,
|
|
4
4
|
parseAtomDescription,
|
|
5
5
|
plan
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-7RXZTPXY.js";
|
|
7
|
+
import "./chunk-I3BBA7MB.js";
|
|
8
8
|
import "./chunk-5EVHUDQX.js";
|
|
9
9
|
import "./chunk-IYZN6FPJ.js";
|
|
10
10
|
import "./chunk-D3TVDCJA.js";
|
|
@@ -9,15 +9,11 @@ import {
|
|
|
9
9
|
showExecutionPreferences,
|
|
10
10
|
showPreferences,
|
|
11
11
|
showUsageDetails
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-R664NEAA.js";
|
|
12
|
+
} from "./chunk-PQS3TQB6.js";
|
|
13
|
+
import "./chunk-I3BBA7MB.js";
|
|
15
14
|
import "./chunk-7C6JELBL.js";
|
|
16
15
|
import "./chunk-TFSHS7EN.js";
|
|
17
16
|
import "./chunk-RDG5BUED.js";
|
|
18
|
-
import "./chunk-6TBYNRNF.js";
|
|
19
|
-
import "./chunk-M4LGRTLC.js";
|
|
20
|
-
import "./chunk-ONH6Y3CS.js";
|
|
21
17
|
import "./chunk-GGRW4NTA.js";
|
|
22
18
|
import "./chunk-4VNS5WPM.js";
|
|
23
19
|
export {
|
package/package.json
CHANGED
package/dist/chunk-R664NEAA.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// src/cli/debug.ts
|
|
2
|
-
import { appendFileSync, existsSync, mkdirSync } from "fs";
|
|
3
|
-
import { join } from "path";
|
|
4
|
-
function isDebugEnabled() {
|
|
5
|
-
const value = process.env["ARCHON_DEBUG"]?.trim().toLowerCase();
|
|
6
|
-
return value === "1" || value === "true" || value === "yes" || value === "on";
|
|
7
|
-
}
|
|
8
|
-
function createRunId() {
|
|
9
|
-
const now = /* @__PURE__ */ new Date();
|
|
10
|
-
const yyyy = String(now.getFullYear());
|
|
11
|
-
const mm = String(now.getMonth() + 1).padStart(2, "0");
|
|
12
|
-
const dd = String(now.getDate()).padStart(2, "0");
|
|
13
|
-
const hh = String(now.getHours()).padStart(2, "0");
|
|
14
|
-
const mi = String(now.getMinutes()).padStart(2, "0");
|
|
15
|
-
const ss = String(now.getSeconds()).padStart(2, "0");
|
|
16
|
-
return `${yyyy}${mm}${dd}-${hh}${mi}${ss}-${process.pid}`;
|
|
17
|
-
}
|
|
18
|
-
var RUN_ID = createRunId();
|
|
19
|
-
var LOG_PATH = join(process.cwd(), ".archon", "debug", `${RUN_ID}.log`);
|
|
20
|
-
function redactValue(value) {
|
|
21
|
-
if (typeof value === "string") {
|
|
22
|
-
if (value.length > 3e3) {
|
|
23
|
-
return `${value.slice(0, 3e3)}... [truncated]`;
|
|
24
|
-
}
|
|
25
|
-
return value;
|
|
26
|
-
}
|
|
27
|
-
if (Array.isArray(value)) {
|
|
28
|
-
return value.map(redactValue);
|
|
29
|
-
}
|
|
30
|
-
if (value && typeof value === "object") {
|
|
31
|
-
const out = {};
|
|
32
|
-
for (const [key, nested] of Object.entries(value)) {
|
|
33
|
-
if (/(token|secret|key|password|authorization|auth)/i.test(key)) {
|
|
34
|
-
out[key] = "[redacted]";
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
out[key] = redactValue(nested);
|
|
38
|
-
}
|
|
39
|
-
return out;
|
|
40
|
-
}
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
function getDebugLogPath() {
|
|
44
|
-
return isDebugEnabled() ? LOG_PATH : null;
|
|
45
|
-
}
|
|
46
|
-
function debugLog(scope, stage, message, data) {
|
|
47
|
-
if (!isDebugEnabled()) return;
|
|
48
|
-
const payload = {
|
|
49
|
-
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
50
|
-
scope,
|
|
51
|
-
stage,
|
|
52
|
-
message,
|
|
53
|
-
data: redactValue(data)
|
|
54
|
-
};
|
|
55
|
-
const dir = join(process.cwd(), ".archon", "debug");
|
|
56
|
-
if (!existsSync(dir)) {
|
|
57
|
-
mkdirSync(dir, { recursive: true });
|
|
58
|
-
}
|
|
59
|
-
appendFileSync(LOG_PATH, `${JSON.stringify(payload)}
|
|
60
|
-
`);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export {
|
|
64
|
-
getDebugLogPath,
|
|
65
|
-
debugLog
|
|
66
|
-
};
|