waitad 0.0.2 → 0.0.4
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.js +9 -6
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1171,10 +1171,10 @@ var init_regexes = __esm({
|
|
|
1171
1171
|
duration = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;
|
|
1172
1172
|
extendedDuration = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;
|
|
1173
1173
|
guid = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
|
|
1174
|
-
uuid = (
|
|
1175
|
-
if (!
|
|
1174
|
+
uuid = (version3) => {
|
|
1175
|
+
if (!version3)
|
|
1176
1176
|
return /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;
|
|
1177
|
-
return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${
|
|
1177
|
+
return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version3}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
|
|
1178
1178
|
};
|
|
1179
1179
|
uuid4 = /* @__PURE__ */ uuid(4);
|
|
1180
1180
|
uuid6 = /* @__PURE__ */ uuid(6);
|
|
@@ -14794,10 +14794,10 @@ function fromJSONSchema(schema, params) {
|
|
|
14794
14794
|
} catch {
|
|
14795
14795
|
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
|
|
14796
14796
|
}
|
|
14797
|
-
const
|
|
14797
|
+
const version3 = detectVersion(normalized, params?.defaultTarget);
|
|
14798
14798
|
const defs = normalized.$defs || normalized.definitions || {};
|
|
14799
14799
|
const ctx = {
|
|
14800
|
-
version:
|
|
14800
|
+
version: version3,
|
|
14801
14801
|
defs,
|
|
14802
14802
|
refs: /* @__PURE__ */ new Map(),
|
|
14803
14803
|
processing: /* @__PURE__ */ new Set(),
|
|
@@ -15823,8 +15823,11 @@ Queue: ${lines} pending impression(s)`);
|
|
|
15823
15823
|
}
|
|
15824
15824
|
});
|
|
15825
15825
|
|
|
15826
|
+
// package.json
|
|
15827
|
+
var version2 = "0.0.4";
|
|
15828
|
+
|
|
15826
15829
|
// src/index.ts
|
|
15827
|
-
var program = new import_commander5.Command().name("waitad").version(
|
|
15830
|
+
var program = new import_commander5.Command().name("waitad").version(version2).description("Status-line ad marketplace for CLI coding agents");
|
|
15828
15831
|
program.addCommand(loginCommand);
|
|
15829
15832
|
program.addCommand(installCommand);
|
|
15830
15833
|
program.addCommand(uninstallCommand);
|