mrvn-cli 0.1.3 → 0.1.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/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/dist/marvin.js +6 -9
- package/dist/marvin.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2129,10 +2129,10 @@ var nanoid = /^[a-zA-Z0-9_-]{21}$/;
|
|
|
2129
2129
|
var duration = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;
|
|
2130
2130
|
var 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)?)??$/;
|
|
2131
2131
|
var 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})$/;
|
|
2132
|
-
var uuid = (
|
|
2133
|
-
if (!
|
|
2132
|
+
var uuid = (version2) => {
|
|
2133
|
+
if (!version2)
|
|
2134
2134
|
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)$/;
|
|
2135
|
-
return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${
|
|
2135
|
+
return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version2}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
|
|
2136
2136
|
};
|
|
2137
2137
|
var uuid4 = /* @__PURE__ */ uuid(4);
|
|
2138
2138
|
var uuid6 = /* @__PURE__ */ uuid(6);
|
|
@@ -14288,10 +14288,10 @@ function fromJSONSchema(schema, params) {
|
|
|
14288
14288
|
if (typeof schema === "boolean") {
|
|
14289
14289
|
return schema ? z.any() : z.never();
|
|
14290
14290
|
}
|
|
14291
|
-
const
|
|
14291
|
+
const version2 = detectVersion(schema, params?.defaultTarget);
|
|
14292
14292
|
const defs = schema.$defs || schema.definitions || {};
|
|
14293
14293
|
const ctx = {
|
|
14294
|
-
version:
|
|
14294
|
+
version: version2,
|
|
14295
14295
|
defs,
|
|
14296
14296
|
refs: /* @__PURE__ */ new Map(),
|
|
14297
14297
|
processing: /* @__PURE__ */ new Set(),
|
|
@@ -17354,7 +17354,6 @@ async function startStdioServer(options) {
|
|
|
17354
17354
|
}
|
|
17355
17355
|
|
|
17356
17356
|
// src/cli/program.ts
|
|
17357
|
-
import { createRequire } from "module";
|
|
17358
17357
|
import { Command } from "commander";
|
|
17359
17358
|
|
|
17360
17359
|
// src/cli/commands/init.ts
|
|
@@ -19259,13 +19258,11 @@ Analyzing meeting: ${meetingDoc.frontmatter.title}`));
|
|
|
19259
19258
|
}
|
|
19260
19259
|
|
|
19261
19260
|
// src/cli/program.ts
|
|
19262
|
-
var require2 = createRequire(import.meta.url);
|
|
19263
|
-
var { version: version2 } = require2("../../package.json");
|
|
19264
19261
|
function createProgram() {
|
|
19265
19262
|
const program = new Command();
|
|
19266
19263
|
program.name("marvin").description(
|
|
19267
19264
|
"AI-powered product development assistant with Product Owner, Delivery Manager, and Technical Lead personas"
|
|
19268
|
-
).version(
|
|
19265
|
+
).version("0.1.4");
|
|
19269
19266
|
program.command("init").description("Initialize a new Marvin project in the current directory").action(async () => {
|
|
19270
19267
|
await initCommand();
|
|
19271
19268
|
});
|