nia-opencode 0.1.2 → 0.1.3

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
@@ -123,7 +123,7 @@ NIA_DEBUG=true opencode
123
123
 
124
124
  ## Get Your API Key
125
125
 
126
- Get your Nia API key at [trynia.ai/api-keys](https://trynia.ai/api-keys)
126
+ Get your Nia API key at [app.trynia.ai](https://app.trynia.ai)
127
127
 
128
128
  ## License
129
129
 
package/dist/cli.js CHANGED
@@ -210,7 +210,7 @@ async function install(options) {
210
210
  console.log("Step 1: Configure API Key");
211
211
  let apiKey = options.apiKey || process.env.NIA_API_KEY || "";
212
212
  if (!apiKey && options.tui && rl) {
213
- console.log(`Get your API key from: https://trynia.ai/api-keys
213
+ console.log(`Get your API key from: https://app.trynia.ai
214
214
  `);
215
215
  apiKey = await prompt(rl, "Enter your Nia API key (nk_...): ");
216
216
  }
@@ -281,7 +281,7 @@ Step 4: Add Nia Instructions to AGENTS.md`);
281
281
  `);
282
282
  if (!apiKey) {
283
283
  console.log("Next steps:");
284
- console.log("1. Get your API key from: https://trynia.ai/api-keys");
284
+ console.log("1. Get your API key from: https://app.trynia.ai");
285
285
  console.log("2. Set the environment variable:");
286
286
  console.log(' export NIA_API_KEY="nk_..."');
287
287
  console.log(" Or edit ~/.config/opencode/nia.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nia-opencode",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "OpenCode plugin that integrates Nia Knowledge Agent for research and documentation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",