@rosh100yx/outlier 0.4.14 → 0.4.15

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 (3) hide show
  1. package/bin/outlier.js +13 -33
  2. package/package.json +1 -1
  3. package/src/cli.ts +11 -44
package/bin/outlier.js CHANGED
@@ -165,7 +165,7 @@ var require_picocolors = __commonJS((exports, module) => {
165
165
  var require_package = __commonJS((exports, module) => {
166
166
  module.exports = {
167
167
  name: "@rosh100yx/outlier",
168
- version: "0.4.14",
168
+ version: "0.4.15",
169
169
  description: "AI Code Governance & Capability Auditing for the Terminal. Measures AI reliance, context waste, and enforces local CI/CD policies.",
170
170
  bin: {
171
171
  outlier: "bin/outlier.js"
@@ -1940,34 +1940,7 @@ COMMANDS:`));
1940
1940
  }
1941
1941
  intro(import_picocolors.default.inverse(" outlier "));
1942
1942
  if (!action || action === "audit") {
1943
- if (action !== "audit") {
1944
- let menuLoop = true;
1945
- while (menuLoop) {
1946
- action = await select({
1947
- message: "Select outlier governance module:",
1948
- options: [
1949
- { value: "status", label: import_picocolors.default.bold("Status") + import_picocolors.default.dim(" Full audit (reliance + carbon + capabilities)") },
1950
- { value: "authorship", label: import_picocolors.default.bold("Authorship") + import_picocolors.default.dim(" Human vs AI, per commit") },
1951
- { value: "carbon", label: import_picocolors.default.bold("Carbon") + import_picocolors.default.dim(" Token waste + regional cost") },
1952
- { value: "capabilities", label: import_picocolors.default.bold("Capabilities") + import_picocolors.default.dim(" What your agents can reach") },
1953
- { value: "policy", label: import_picocolors.default.bold("Policy") + import_picocolors.default.dim(" Set guardrails / install the gate") },
1954
- { value: "_divider", label: import_picocolors.default.dim("───────────────────────────────────────────────────────") },
1955
- { value: "impact", label: "Impact" + import_picocolors.default.dim(" What happens over the next 5-10 years") },
1956
- { value: "knowledge", label: "Literature" + import_picocolors.default.dim(" The academic foundation") },
1957
- { value: "participate", label: "Participate" + import_picocolors.default.dim(" Contribute to the research") }
1958
- ]
1959
- });
1960
- if (isCancel(action)) {
1961
- cancel("Operation cancelled.");
1962
- process.exit(0);
1963
- }
1964
- if (action !== "_divider") {
1965
- menuLoop = false;
1966
- }
1967
- }
1968
- } else {
1969
- action = "status";
1970
- }
1943
+ action = "status";
1971
1944
  }
1972
1945
  const s = spinner();
1973
1946
  if (action === "carbon") {
@@ -2364,12 +2337,19 @@ Read the full academic foundation at: ${import_picocolors.default.underline("htt
2364
2337
  if (typeof finalReceipt !== "undefined" && finalReceipt) {
2365
2338
  console.log(finalReceipt);
2366
2339
  }
2367
- console.log(import_picocolors.default.dim(`└ Share your audit: https://x.com/intent/tweet?text=${encodeURIComponent(`I just audited my codebase for AI reliance and deskilling risk. What does your repo score?
2340
+ if (action === "status") {
2341
+ console.log("");
2342
+ console.log(import_picocolors.default.bold(" Explore Outlier:"));
2343
+ console.log(import_picocolors.default.dim(" ────────────────────────────────────────────────────────────"));
2344
+ console.log(` ${import_picocolors.default.cyan("outlier policy")} Configure CI/CD guardrails and thresholds`);
2345
+ console.log(` ${import_picocolors.default.cyan("outlier capabilities")} Audit active MCPs, skills, and orchestrations`);
2346
+ console.log(` ${import_picocolors.default.cyan("outlier impact")} See the compounding horizon of AI Deskilling`);
2347
+ console.log(` ${import_picocolors.default.cyan("outlier participate")} Help build the academic literature`);
2348
+ console.log(import_picocolors.default.dim(` ────────────────────────────────────────────────────────────
2349
+ `));
2350
+ console.log(import_picocolors.default.bold(import_picocolors.default.green(" └ Prove Your Mastery: ")) + import_picocolors.default.underline(`https://x.com/intent/tweet?text=${encodeURIComponent(`I just audited my codebase for AI reliance and deskilling risk. What does your repo score?
2368
2351
 
2369
2352
  \uD83D\uDCCF #Outlier`)}`));
2370
- if (action === "status") {
2371
- console.log(import_picocolors.default.dim(`└ Have thoughts on AI deskilling? Tell us: `) + import_picocolors.default.cyan(`outlier participate`));
2372
- console.log(import_picocolors.default.dim(`└ Keep your local policies updated: `) + import_picocolors.default.cyan(`outlier update`));
2373
2353
  }
2374
2354
  }
2375
2355
  main().catch(console.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rosh100yx/outlier",
3
- "version": "0.4.14",
3
+ "version": "0.4.15",
4
4
  "description": "AI Code Governance & Capability Auditing for the Terminal. Measures AI reliance, context waste, and enforces local CI/CD policies.",
5
5
  "bin": {
6
6
  "outlier": "bin/outlier.js"
package/src/cli.ts CHANGED
@@ -67,36 +67,7 @@ async function main() {
67
67
  intro(pc.inverse(' outlier '));
68
68
 
69
69
  if (!action || action === 'audit') {
70
- if (action !== 'audit') {
71
- let menuLoop = true;
72
- while (menuLoop) {
73
- action = await select({
74
- message: 'Select outlier governance module:',
75
- options: [
76
- { value: 'status', label: pc.bold('Status') + pc.dim(' Full audit (reliance + carbon + capabilities)') },
77
- { value: 'authorship', label: pc.bold('Authorship') + pc.dim(' Human vs AI, per commit') },
78
- { value: 'carbon', label: pc.bold('Carbon') + pc.dim(' Token waste + regional cost') },
79
- { value: 'capabilities', label: pc.bold('Capabilities') + pc.dim(' What your agents can reach') },
80
- { value: 'policy', label: pc.bold('Policy') + pc.dim(' Set guardrails / install the gate') },
81
- { value: '_divider', label: pc.dim('───────────────────────────────────────────────────────') },
82
- { value: 'impact', label: 'Impact' + pc.dim(' What happens over the next 5-10 years') },
83
- { value: 'knowledge', label: 'Literature' + pc.dim(' The academic foundation') },
84
- { value: 'participate', label: 'Participate' + pc.dim(' Contribute to the research') }
85
- ],
86
- });
87
-
88
- if (isCancel(action)) {
89
- cancel('Operation cancelled.');
90
- process.exit(0);
91
- }
92
-
93
- if (action !== '_divider') {
94
- menuLoop = false;
95
- }
96
- }
97
- } else {
98
- action = 'status'; // Map the 'audit' alias directly to status for CI
99
- }
70
+ action = 'status'; // Auto-run the main audit loop for highest TTV
100
71
  }
101
72
 
102
73
  const s = spinner();
@@ -530,22 +501,18 @@ Artifact: ${pc.cyan(reportPath)}`,
530
501
  console.log(finalReceipt);
531
502
  }
532
503
 
533
- // (Old artifact storytelling block removed to unify receipt UX)
534
-
535
- console.log(
536
- pc.dim(
537
- `└ Share your audit: https://x.com/intent/tweet?text=${encodeURIComponent(
538
- 'I just audited my codebase for AI reliance and deskilling risk. What does your repo score?\n\n📏 #Outlier'
539
- )}`
540
- )
541
- );
542
-
543
504
  if (action === 'status') {
505
+ console.log('');
506
+ console.log(pc.bold(' Explore Outlier:'));
507
+ console.log(pc.dim(' ────────────────────────────────────────────────────────────'));
508
+ console.log(` ${pc.cyan('outlier policy')} Configure CI/CD guardrails and thresholds`);
509
+ console.log(` ${pc.cyan('outlier capabilities')} Audit active MCPs, skills, and orchestrations`);
510
+ console.log(` ${pc.cyan('outlier impact')} See the compounding horizon of AI Deskilling`);
511
+ console.log(` ${pc.cyan('outlier participate')} Help build the academic literature`);
512
+ console.log(pc.dim(' ────────────────────────────────────────────────────────────\n'));
513
+
544
514
  console.log(
545
- pc.dim(`└ Have thoughts on AI deskilling? Tell us: `) + pc.cyan(`outlier participate`)
546
- );
547
- console.log(
548
- pc.dim(`└ Keep your local policies updated: `) + pc.cyan(`outlier update`)
515
+ pc.bold(pc.green(' Prove Your Mastery: ')) + pc.underline(`https://x.com/intent/tweet?text=${encodeURIComponent('I just audited my codebase for AI reliance and deskilling risk. What does your repo score?\n\n📏 #Outlier')}`)
549
516
  );
550
517
  }
551
518
  }