@corbat-tech/coco 2.16.0 → 2.17.1

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/dist/index.js CHANGED
@@ -16764,13 +16764,25 @@ var SENSITIVE_ENV_PATTERNS = [
16764
16764
  ];
16765
16765
  var bashExecTool = defineTool({
16766
16766
  name: "bash_exec",
16767
- description: `Execute a bash/shell command with safety controls.
16767
+ description: `Execute a bash/shell command in the user's shell environment.
16768
+
16769
+ Runs with the user's full PATH and inherited environment \u2014 any tool installed
16770
+ on the user's machine is available: kubectl, gcloud, aws, docker, git, node,
16771
+ pnpm, and others. Credentials configured locally are inherited automatically:
16772
+ kubeconfig contexts, gcloud auth, AWS profiles, SSH keys, etc.
16773
+
16774
+ IMPORTANT: never claim you cannot run a command because you lack credentials
16775
+ or access \u2014 the environment is the user's own shell. Always attempt; report
16776
+ failure only if the command actually returns a non-zero exit code.
16768
16777
 
16769
16778
  Examples:
16770
- - List files: { "command": "ls -la" }
16771
- - Run npm script: { "command": "npm run build" }
16772
- - Check disk space: { "command": "df -h" }
16773
- - Find process: { "command": "ps aux | grep node" }`,
16779
+ - List files: { "command": "ls -la" }
16780
+ - Run npm script: { "command": "npm run build" }
16781
+ - Check disk space: { "command": "df -h" }
16782
+ - Find process: { "command": "ps aux | grep node" }
16783
+ - Kubernetes logs: { "command": "kubectl logs -n my-ns deploy/my-app --since=30m" }
16784
+ - Cloud CLI: { "command": "gcloud container clusters list" }
16785
+ - AWS CLI: { "command": "aws s3 ls s3://my-bucket" }`,
16774
16786
  category: "bash",
16775
16787
  parameters: z.object({
16776
16788
  command: z.string().describe("Command to execute"),
@@ -16864,12 +16876,15 @@ ${message}
16864
16876
  });
16865
16877
  var bashBackgroundTool = defineTool({
16866
16878
  name: "bash_background",
16867
- description: `Execute a command in the background (returns immediately with PID).
16879
+ description: `Execute a command in the background in the user's shell environment (returns immediately with PID).
16880
+
16881
+ Like bash_exec, runs with the user's full PATH and inherited environment \u2014 any
16882
+ tool available in the user's shell (docker, kubectl, gcloud, etc.) can be used.
16868
16883
 
16869
16884
  Examples:
16870
- - Start dev server: { "command": "npm run dev" }
16871
- - Run watcher: { "command": "npx nodemon src/index.ts" }
16872
- - Start database: { "command": "docker-compose up" }`,
16885
+ - Start dev server: { "command": "npm run dev" }
16886
+ - Run watcher: { "command": "npx nodemon src/index.ts" }
16887
+ - Start database: { "command": "docker-compose up" }`,
16873
16888
  category: "bash",
16874
16889
  parameters: z.object({
16875
16890
  command: z.string().describe("Command to execute"),