@xagent/x-cli 1.1.81 → 1.1.82
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 +1 -1
- package/dist/index.js +11 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Test comment for PR creation -->
|
|
2
2
|
|
|
3
|
-
## 1.1.
|
|
3
|
+
## 1.1.82 – Logo Assets & NPM Publication Complete
|
|
4
4
|
|
|
5
5
|
✅ **Live on NPM**: [@xagent/x-cli](https://www.npmjs.com/package/@xagent/x-cli) - Fully published and ready for global installation
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -71,8 +71,9 @@ var GrokClient;
|
|
|
71
71
|
var init_client = __esm({
|
|
72
72
|
"src/grok/client.ts"() {
|
|
73
73
|
GrokClient = class {
|
|
74
|
-
constructor(apiKey2
|
|
74
|
+
constructor(apiKey2, model, baseURL) {
|
|
75
75
|
this.currentModel = "grok-4-fast-non-reasoning";
|
|
76
|
+
apiKey2 = apiKey2 || process.env.OPENAI_API_KEY || process.env.GROK_API_KEY || process.env.XAI_API_KEY;
|
|
76
77
|
this.client = new OpenAI({
|
|
77
78
|
apiKey: apiKey2,
|
|
78
79
|
baseURL: baseURL || process.env.GROK_BASE_URL || "https://api.x.ai/v1",
|
|
@@ -9317,26 +9318,17 @@ var init_research_recommend = __esm({
|
|
|
9317
9318
|
issues: [],
|
|
9318
9319
|
options: [],
|
|
9319
9320
|
recommendation: {
|
|
9320
|
-
|
|
9321
|
+
optionId: 1,
|
|
9321
9322
|
reasoning: "Mock plan - real AI integration pending",
|
|
9322
|
-
|
|
9323
|
+
justification: "Using mock data while implementing AI integration",
|
|
9324
|
+
confidence: "high"
|
|
9323
9325
|
},
|
|
9324
9326
|
plan: {
|
|
9325
9327
|
summary: "Mock summary - detailed plan generation pending",
|
|
9326
|
-
approach: "Mock approach - implementation strategy pending",
|
|
9327
|
-
todo: [
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
description: "Mock task - actual tasks will be generated by AI",
|
|
9331
|
-
priority: "medium",
|
|
9332
|
-
estimatedEffort: "2 hours"
|
|
9333
|
-
}
|
|
9334
|
-
],
|
|
9335
|
-
riskAssessment: {
|
|
9336
|
-
complexity: "low",
|
|
9337
|
-
dependencies: [],
|
|
9338
|
-
potentialIssues: []
|
|
9339
|
-
}
|
|
9328
|
+
approach: ["Mock approach - implementation strategy pending"],
|
|
9329
|
+
todo: ["Mock task - actual tasks will be generated by AI"],
|
|
9330
|
+
estimatedEffort: "2 hours",
|
|
9331
|
+
keyConsiderations: ["Mock consideration - real considerations pending"]
|
|
9340
9332
|
}
|
|
9341
9333
|
};
|
|
9342
9334
|
return mockOutput;
|
|
@@ -16205,7 +16197,7 @@ var init_package = __esm({
|
|
|
16205
16197
|
package_default = {
|
|
16206
16198
|
type: "module",
|
|
16207
16199
|
name: "@xagent/x-cli",
|
|
16208
|
-
version: "1.1.
|
|
16200
|
+
version: "1.1.82",
|
|
16209
16201
|
description: "An open-source AI agent that brings advanced AI capabilities directly into your terminal.",
|
|
16210
16202
|
main: "dist/index.js",
|
|
16211
16203
|
module: "dist/index.js",
|
|
@@ -21794,7 +21786,7 @@ var require_package = __commonJS({
|
|
|
21794
21786
|
module.exports = {
|
|
21795
21787
|
type: "module",
|
|
21796
21788
|
name: "@xagent/x-cli",
|
|
21797
|
-
version: "1.1.
|
|
21789
|
+
version: "1.1.82",
|
|
21798
21790
|
description: "An open-source AI agent that brings advanced AI capabilities directly into your terminal.",
|
|
21799
21791
|
main: "dist/index.js",
|
|
21800
21792
|
module: "dist/index.js",
|