nia-opencode 0.1.4 → 0.1.5

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 (2) hide show
  1. package/dist/cli.js +3 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -234,13 +234,14 @@ async function install(options) {
234
234
  console.log("Step 1: Configure API Key");
235
235
  let apiKey = options.apiKey || process.env.NIA_API_KEY || "";
236
236
  if (!apiKey && options.tui && rl) {
237
- console.log(`Get your API key from: https://app.trynia.ai
237
+ console.log("Get your API key from: https://app.trynia.ai");
238
+ console.log(`New user? Run: curl -fsSL https://app.trynia.ai/cli | sh
238
239
  `);
239
240
  apiKey = await prompt(rl, "Enter your Nia API key (nk_...): ");
240
241
  }
241
242
  if (!apiKey) {
242
243
  console.log(" No API key provided. You can set NIA_API_KEY environment variable later.");
243
- console.log(` Get your API key at: https://trynia.ai/api-keys
244
+ console.log(` Get your API key at: https://app.trynia.ai
244
245
  `);
245
246
  } else if (!apiKey.startsWith("nk_")) {
246
247
  console.log(" Warning: API key should start with 'nk_'");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nia-opencode",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "OpenCode plugin that integrates Nia Knowledge Agent for research and documentation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",