@knowttl/artium-axi 0.0.54 → 0.0.56

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.
Files changed (2) hide show
  1. package/bin/artium-axi.mjs +13 -4
  2. package/package.json +1 -1
@@ -43,7 +43,7 @@ var init_package = __esm({
43
43
  "package.json"() {
44
44
  package_default = {
45
45
  name: "artium-axi",
46
- version: "0.0.54",
46
+ version: "0.0.56",
47
47
  private: true,
48
48
  license: "MIT",
49
49
  type: "module",
@@ -21984,19 +21984,28 @@ var init_errors3 = __esm({
21984
21984
  }
21985
21985
  });
21986
21986
 
21987
- // src/shared/diagnostic.ts
21987
+ // src/shared/transport-codes.ts
21988
21988
  import { constants } from "node:os";
21989
21989
  import { getSystemErrorMap } from "node:util";
21990
+ var transportCodes;
21991
+ var init_transport_codes = __esm({
21992
+ "src/shared/transport-codes.ts"() {
21993
+ "use strict";
21994
+ transportCodes = [.../* @__PURE__ */ new Set([...Object.keys(constants.errno), ...[...getSystemErrorMap().values()].map(([code]) => code)])];
21995
+ }
21996
+ });
21997
+
21998
+ // src/shared/diagnostic.ts
21990
21999
  function validDiagnosticCode(value) {
21991
22000
  return typeof value === "string" && (diagnosticCodes.includes(value) || transportCodes.includes(value));
21992
22001
  }
21993
- var diagnosticStages, transportCodes, retestCodes, diagnosticCodes;
22002
+ var diagnosticStages, retestCodes, diagnosticCodes;
21994
22003
  var init_diagnostic = __esm({
21995
22004
  "src/shared/diagnostic.ts"() {
21996
22005
  "use strict";
21997
22006
  init_errors3();
22007
+ init_transport_codes();
21998
22008
  diagnosticStages = ["configuration", "token acquisition", "DNS", "TCP", "TLS", "authentication", "response", "tool run"];
21999
- transportCodes = [.../* @__PURE__ */ new Set([...Object.keys(constants.errno), ...[...getSystemErrorMap().values()].map(([code]) => code)])];
22000
22009
  retestCodes = [
22001
22010
  "ECONNREFUSED",
22002
22011
  "ECONNRESET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowttl/artium-axi",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "description": "Client CLI and embedded skill for the Artium managed tools server.",
5
5
  "license": "MIT",
6
6
  "type": "module",