@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 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: config.openaiApiKey });
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webdeb/gogi",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Gogi CLI: An AI-powered terminal assistant with native device-code OAuth.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {