mrvn-cli 0.1.1 → 0.1.3
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 +9 -6
- package/dist/index.js.map +1 -1
- package/dist/marvin.js +9 -6
- 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 = (version3) => {
|
|
2133
|
+
if (!version3)
|
|
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}-${version3}[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 version3 = detectVersion(schema, params?.defaultTarget);
|
|
14292
14292
|
const defs = schema.$defs || schema.definitions || {};
|
|
14293
14293
|
const ctx = {
|
|
14294
|
-
version:
|
|
14294
|
+
version: version3,
|
|
14295
14295
|
defs,
|
|
14296
14296
|
refs: /* @__PURE__ */ new Map(),
|
|
14297
14297
|
processing: /* @__PURE__ */ new Set(),
|
|
@@ -17354,6 +17354,7 @@ async function startStdioServer(options) {
|
|
|
17354
17354
|
}
|
|
17355
17355
|
|
|
17356
17356
|
// src/cli/program.ts
|
|
17357
|
+
import { createRequire } from "module";
|
|
17357
17358
|
import { Command } from "commander";
|
|
17358
17359
|
|
|
17359
17360
|
// src/cli/commands/init.ts
|
|
@@ -19258,11 +19259,13 @@ Analyzing meeting: ${meetingDoc.frontmatter.title}`));
|
|
|
19258
19259
|
}
|
|
19259
19260
|
|
|
19260
19261
|
// src/cli/program.ts
|
|
19262
|
+
var require2 = createRequire(import.meta.url);
|
|
19263
|
+
var { version: version2 } = require2("../../package.json");
|
|
19261
19264
|
function createProgram() {
|
|
19262
19265
|
const program = new Command();
|
|
19263
19266
|
program.name("marvin").description(
|
|
19264
19267
|
"AI-powered product development assistant with Product Owner, Delivery Manager, and Technical Lead personas"
|
|
19265
|
-
).version(
|
|
19268
|
+
).version(version2);
|
|
19266
19269
|
program.command("init").description("Initialize a new Marvin project in the current directory").action(async () => {
|
|
19267
19270
|
await initCommand();
|
|
19268
19271
|
});
|