@useorgx/wizard 0.1.42 → 0.1.43
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 +34 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8338,10 +8338,43 @@ function buildCorpusManifest(input) {
|
|
|
8338
8338
|
0
|
|
8339
8339
|
);
|
|
8340
8340
|
const sessions = manifests.reduce((total, source) => total + source.sessions, 0);
|
|
8341
|
+
const byClient = Object.fromEntries(
|
|
8342
|
+
manifests.map((source) => {
|
|
8343
|
+
const sourceEvents = input.events.filter((event) => event.source_id === source.source_id);
|
|
8344
|
+
const skippedCount = source.files_skipped.reduce((total, skipped) => total + skipped.count, 0);
|
|
8345
|
+
const limitations = [
|
|
8346
|
+
...Object.values(source.capability_cells).flatMap((cell) => cell.blockers_to_full),
|
|
8347
|
+
...source.status === "missing" || source.status === "supported_not_connected" ? ["source_not_connected"] : [],
|
|
8348
|
+
...source.status === "detected_not_read" ? ["detected_without_readable_events"] : []
|
|
8349
|
+
];
|
|
8350
|
+
return [
|
|
8351
|
+
source.source_id,
|
|
8352
|
+
{
|
|
8353
|
+
detected: source.status === "connected" || source.status === "partial" || source.status === "detected_not_read" || source.storage_paths_resolved.length > 0,
|
|
8354
|
+
connected: source.status === "connected" || source.status === "partial",
|
|
8355
|
+
status: source.status,
|
|
8356
|
+
extractionMode: source.extraction_mode,
|
|
8357
|
+
provider: source.provider,
|
|
8358
|
+
sessions: source.sessions,
|
|
8359
|
+
turns: source.message_turns,
|
|
8360
|
+
toolCalls: source.tool_calls,
|
|
8361
|
+
mcpToolCalls: source.mcp_tool_calls,
|
|
8362
|
+
commands: sourceEvents.filter((event) => event.kind === "shell_command").length,
|
|
8363
|
+
fileEdits: sourceEvents.filter((event) => event.kind === "file_edit").length,
|
|
8364
|
+
tests: sourceEvents.filter((event) => event.kind === "test_run").length,
|
|
8365
|
+
errors: sourceEvents.filter((event) => event.kind === "tool_call_error" || event.kind === "error_emitted").length,
|
|
8366
|
+
skipped: skippedCount,
|
|
8367
|
+
limitations: Array.from(new Set(limitations)).sort(),
|
|
8368
|
+
schemaVersionDetected: source.storage_version_detected
|
|
8369
|
+
}
|
|
8370
|
+
];
|
|
8371
|
+
})
|
|
8372
|
+
);
|
|
8341
8373
|
return {
|
|
8342
8374
|
audit_id: input.auditId,
|
|
8343
8375
|
ran_at: input.generatedAt,
|
|
8344
8376
|
sources: manifests,
|
|
8377
|
+
byClient,
|
|
8345
8378
|
totals: {
|
|
8346
8379
|
files_seen: Math.max(filesSeen, input.auditMethod.searched_session_files),
|
|
8347
8380
|
files_read: Math.max(filesRead, input.auditMethod.searched_session_files - input.auditMethod.skipped_session_files),
|
|
@@ -13695,7 +13728,7 @@ function printDoctorReport(report, assessment) {
|
|
|
13695
13728
|
async function main() {
|
|
13696
13729
|
const program = new Command();
|
|
13697
13730
|
program.name("orgx-wizard").description("Add OrgX MCP configs, skills/rules, and companion plugins to your local AI tools.").showHelpAfterError();
|
|
13698
|
-
const pkgVersion = true ? "0.1.
|
|
13731
|
+
const pkgVersion = true ? "0.1.43" : void 0;
|
|
13699
13732
|
program.version(pkgVersion ?? "unknown", "-V, --version");
|
|
13700
13733
|
program.hook("preAction", (_thisCommand, actionCommand) => {
|
|
13701
13734
|
if (Boolean(actionCommand.optsWithGlobals().json)) return;
|