@agiflowai/aicode-utils 0.6.0 → 1.0.0

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.cjs CHANGED
@@ -603,10 +603,10 @@ const print = {
603
603
  console.log(chalk.default.bold.cyan(message));
604
604
  },
605
605
  item: (message) => {
606
- console.log(chalk.default.gray(` - ${message}`));
606
+ console.log(chalk.default.white(` - ${message}`));
607
607
  },
608
608
  indent: (message) => {
609
- console.log(chalk.default.gray(` ${message}`));
609
+ console.log(chalk.default.white(` ${message}`));
610
610
  },
611
611
  highlight: (message) => {
612
612
  console.log(chalk.default.bold.green(message));
package/dist/index.d.cts CHANGED
@@ -396,11 +396,11 @@ declare const print: {
396
396
  */
397
397
  header: (message: string) => void;
398
398
  /**
399
- * Log item in a list (gray with prefix)
399
+ * Log item in a list (white with prefix)
400
400
  */
401
401
  item: (message: string) => void;
402
402
  /**
403
- * Log indented text (gray)
403
+ * Log indented text (white)
404
404
  */
405
405
  indent: (message: string) => void;
406
406
  /**
package/dist/index.d.ts CHANGED
@@ -396,11 +396,11 @@ declare const print: {
396
396
  */
397
397
  header: (message: string) => void;
398
398
  /**
399
- * Log item in a list (gray with prefix)
399
+ * Log item in a list (white with prefix)
400
400
  */
401
401
  item: (message: string) => void;
402
402
  /**
403
- * Log indented text (gray)
403
+ * Log indented text (white)
404
404
  */
405
405
  indent: (message: string) => void;
406
406
  /**
package/dist/index.js CHANGED
@@ -581,10 +581,10 @@ const print = {
581
581
  console.log(chalk.bold.cyan(message));
582
582
  },
583
583
  item: (message) => {
584
- console.log(chalk.gray(` - ${message}`));
584
+ console.log(chalk.white(` - ${message}`));
585
585
  },
586
586
  indent: (message) => {
587
- console.log(chalk.gray(` ${message}`));
587
+ console.log(chalk.white(` ${message}`));
588
588
  },
589
589
  highlight: (message) => {
590
590
  console.log(chalk.bold.green(message));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agiflowai/aicode-utils",
3
3
  "description": "Shared utilities and types for AI-powered code generation, scaffolding, and analysis",
4
- "version": "0.6.0",
4
+ "version": "1.0.0",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "AgiflowIO",
7
7
  "repository": {
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "main": "./dist/index.cjs",
26
26
  "module": "./dist/index.js",
27
- "types": "./dist/index.d.ts",
27
+ "types": "./dist/index.d.cts",
28
28
  "files": [
29
29
  "dist",
30
30
  "README.md"
@@ -48,6 +48,13 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
+ "exports": {
52
+ ".": {
53
+ "import": "./dist/index.js",
54
+ "require": "./dist/index.cjs"
55
+ },
56
+ "./package.json": "./package.json"
57
+ },
51
58
  "scripts": {
52
59
  "build": "tsdown",
53
60
  "test": "vitest --run",