@webdeb/gogi 1.0.1 → 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 +5 -0
- package/dist/agent.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,6 +65,11 @@ Simply type `gogi` followed by your request:
|
|
|
65
65
|
gogi find all the .ts files in the current directory
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
+
> **Tip:** If your prompt contains special shell characters like `?` or `*`, be sure to wrap your prompt in quotes so your shell doesn't try to evaluate it as a file glob:
|
|
69
|
+
> ```bash
|
|
70
|
+
> gogi "what time is it?"
|
|
71
|
+
> ```
|
|
72
|
+
|
|
68
73
|
```bash
|
|
69
74
|
🤔 Gogi is thinking...
|
|
70
75
|
✔ Gogi wants to run:
|
package/dist/agent.js
CHANGED
|
@@ -64,7 +64,7 @@ ${systemDetails}
|
|
|
64
64
|
while (true) {
|
|
65
65
|
let response;
|
|
66
66
|
try {
|
|
67
|
-
response = await (0, pi_ai_1.complete)(model, context, { apiKey
|
|
67
|
+
response = await (0, pi_ai_1.complete)(model, context, { apiKey });
|
|
68
68
|
}
|
|
69
69
|
catch (err) {
|
|
70
70
|
console.error(`❌ API Error: ${err.message}`);
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ program
|
|
|
30
30
|
console.log(`✅ Active provider switched to ${provider}`);
|
|
31
31
|
});
|
|
32
32
|
program
|
|
33
|
-
.argument('[prompt...]', 'The task you want gogi to perform')
|
|
33
|
+
.argument('[prompt...]', 'The task you want gogi to perform. Tip: use quotes if your prompt contains ?, *, or other special shell characters.')
|
|
34
34
|
.action(async (promptArr) => {
|
|
35
35
|
const prompt = promptArr.join(' ').trim();
|
|
36
36
|
if (!prompt) {
|