@cluesmith/multisage 1.0.0 → 1.0.2

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/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # @multisage/cli
1
+ # @cluesmith/multisage
2
2
 
3
3
  Query [Multisage](https://multisage.ai) from your terminal. Get answers from a panel of AI experts (Claude, GPT, Gemini) with a single command.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install -g @multisage/cli
8
+ npm install -g @cluesmith/multisage
9
9
  ```
10
10
 
11
11
  Or use without installing:
12
12
 
13
13
  ```bash
14
- npx @multisage/cli "What's the best programming language for beginners?"
14
+ npx @cluesmith/multisage "What's the best programming language for beginners?"
15
15
  ```
16
16
 
17
17
  ## Setup
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/index.ts
4
+ import { config } from "dotenv";
4
5
  import { Command } from "commander";
5
6
  import ora from "ora";
6
7
 
@@ -238,9 +239,10 @@ function displayName(name) {
238
239
  }
239
240
 
240
241
  // src/index.ts
242
+ config();
241
243
  var DEFAULT_API_URL = "https://multisage.ai";
242
244
  var program = new Command();
243
- program.name("multisage").description("Query Multisage from your terminal").version("0.1.0").argument("[question]", "The question to ask").option("-k, --api-key <key>", "API key (overrides MULTISAGE_API_KEY env var)").option("-u, --api-url <url>", "Base URL for API", DEFAULT_API_URL).option("-f, --full", "Include all stages and expert details", false).option("-j, --json", "Output as structured JSON", false).option("-q, --quiet", "Suppress progress indicator", false).action(async (question, options) => {
245
+ program.name("multisage").description("Query Multisage from your terminal").version("1.0.2").argument("[question]", "The question to ask").option("-k, --api-key <key>", "API key (overrides MULTISAGE_API_KEY env var)").option("-u, --api-url <url>", "Base URL for API", DEFAULT_API_URL).option("-f, --full", "Include all stages and expert details", false).option("-j, --json", "Output as structured JSON", false).option("-q, --quiet", "Suppress progress indicator", false).action(async (question, options) => {
244
246
  if (!question) {
245
247
  if (process.stdin.isTTY) {
246
248
  program.help();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cluesmith/multisage",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "CLI client for Multisage — ask questions from your terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -19,6 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "commander": "^12.1.0",
22
+ "dotenv": "^17.3.1",
22
23
  "ora": "^8.1.1"
23
24
  },
24
25
  "devDependencies": {