@nextxai/cli 0.3.8 → 0.3.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.9
4
+
5
+ - The assistant now answers with the commands of the CLI you are using.
6
+
3
7
  ## 0.3.8
4
8
 
5
9
  - A workspace without an AI plan can still ask how-to questions in chat and with `-p`, up to the free daily limit.
package/dist/ai/client.js CHANGED
@@ -126,7 +126,7 @@ export async function ask(input) {
126
126
  imageKeys: input.attachments?.filter((a) => a.imageKey).map((a) => a.imageKey) ?? undefined,
127
127
  fileKeys: input.attachments?.filter((a) => a.fileKey).map((a) => a.fileKey) ?? undefined,
128
128
  agentCode: input.agent,
129
- clientPlatform: "cli",
129
+ clientPlatform: `cli-${brand().bin}`,
130
130
  ...(mode ? { mode } : {}),
131
131
  };
132
132
  let lastErr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextxai/cli",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "NextX in your terminal: chat with NextX AI on your workspace data, call the API, manage keys and webhooks",
5
5
  "keywords": [
6
6
  "nextx",