shabti 1.4.0 → 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shabti",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Demo CLI tool — showcasing npm-publishable CLI structure",
5
5
  "type": "module",
6
6
  "bin": {
package/src/repl/index.js CHANGED
@@ -25,7 +25,7 @@ export async function launchRepl() {
25
25
  const session = new ChatSession({
26
26
  apiKey,
27
27
  model,
28
- promptPrefix: "shabti> ",
28
+ promptPrefix: "you> ",
29
29
  onSlashCommand: handleSlashCommand,
30
30
  legacyExitWord: false,
31
31
  });
@@ -1,7 +1,7 @@
1
1
  import chalk from "chalk";
2
2
 
3
- export const success = (msg) => console.log(chalk.green(" ") + msg);
4
- export const error = (msg) => console.log(chalk.red(" ") + msg);
5
- export const info = (msg) => console.log(chalk.cyan(" ") + msg);
6
- export const warn = (msg) => console.log(chalk.yellow(" ") + msg);
3
+ export const success = (msg) => console.log(chalk.green("[ok] ") + msg);
4
+ export const error = (msg) => console.log(chalk.red("[error] ") + msg);
5
+ export const info = (msg) => console.log(chalk.cyan("[info] ") + msg);
6
+ export const warn = (msg) => console.log(chalk.yellow("[warn] ") + msg);
7
7
  export const heading = (msg) => console.log(chalk.bold.underline(msg));