terminal-pilot 0.0.22 → 0.0.24

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.
@@ -89,6 +89,23 @@ var codexAgent = {
89
89
  }
90
90
  };
91
91
 
92
+ // ../agent-defs/src/agents/cursor.ts
93
+ var cursorAgent = {
94
+ id: "cursor",
95
+ name: "cursor",
96
+ aliases: ["cursor-agent"],
97
+ label: "Cursor",
98
+ summary: "Cursor's CLI coding agent.",
99
+ binaryName: "cursor-agent",
100
+ configPath: "~/.cursor/cli-config.json",
101
+ branding: {
102
+ colors: {
103
+ dark: "#FFFFFF",
104
+ light: "#000000"
105
+ }
106
+ }
107
+ };
108
+
92
109
  // ../agent-defs/src/agents/gemini-cli.ts
93
110
  var geminiCliAgent = {
94
111
  id: "gemini-cli",
@@ -203,6 +220,7 @@ var allAgents = Object.freeze([
203
220
  freezeAgent(claudeCodeAgent),
204
221
  freezeAgent(claudeDesktopAgent),
205
222
  freezeAgent(codexAgent),
223
+ freezeAgent(cursorAgent),
206
224
  freezeAgent(geminiCliAgent),
207
225
  freezeAgent(openCodeAgent),
208
226
  freezeAgent(kimiAgent),
@@ -236,6 +254,10 @@ var agentSkillConfigs = {
236
254
  globalSkillDir: "~/.codex/skills",
237
255
  localSkillDir: ".codex/skills"
238
256
  },
257
+ cursor: {
258
+ globalSkillDir: "~/.cursor/skills-cursor",
259
+ localSkillDir: ".cursor/skills"
260
+ },
239
261
  "gemini-cli": {
240
262
  globalSkillDir: "~/.gemini/skills",
241
263
  localSkillDir: ".gemini/skills"
@@ -898,7 +920,7 @@ import { createHash, randomUUID as randomUUID3 } from "node:crypto";
898
920
  import path8 from "node:path";
899
921
 
900
922
  // src/errors.ts
901
- function hasOwnErrorCode(error2, code) {
923
+ function hasOwnErrorCode3(error2, code) {
902
924
  return error2 instanceof Error && Object.prototype.hasOwnProperty.call(error2, "code") && error2.code === code;
903
925
  }
904
926
 
@@ -908,7 +930,7 @@ var DEFAULT_INSTALL_SCOPE = "local";
908
930
  var TERMINAL_PILOT_SKILL_NAME = "terminal-pilot";
909
931
  var installableAgents = supportedAgents;
910
932
  function isNotFoundError(error2) {
911
- return hasOwnErrorCode(error2, "ENOENT");
933
+ return hasOwnErrorCode3(error2, "ENOENT");
912
934
  }
913
935
  function resolveInstallerServices(installer) {
914
936
  return {