@ainative/cody-cli 0.3.8 → 0.4.0

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.
Files changed (2) hide show
  1. package/dist/cli.js +64 -61
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -57028,7 +57028,7 @@ function getValidationTip(context) {
57028
57028
  }
57029
57029
  return tip;
57030
57030
  }
57031
- var DOCUMENTATION_BASE = "https://code.claude.com/docs/en", TIP_MATCHERS, PATH_DOC_LINKS;
57031
+ var DOCUMENTATION_BASE = "https://ainative.studio/docs/cody-cli/docs/en", TIP_MATCHERS, PATH_DOC_LINKS;
57032
57032
  var init_validationTips = __esm(() => {
57033
57033
  TIP_MATCHERS = [
57034
57034
  {
@@ -145549,7 +145549,7 @@ function getSubscriptionName() {
145549
145549
  case "pro":
145550
145550
  return "AINative Pro";
145551
145551
  default:
145552
- return "Claude API";
145552
+ return "AINative API";
145553
145553
  }
145554
145554
  }
145555
145555
  function isUsing3PServices() {
@@ -155791,7 +155791,7 @@ async function trackDatadogEvent(eventName, properties) {
155791
155791
  function getFlushIntervalMs() {
155792
155792
  return parseInt(process.env.CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS || "", 10) || DEFAULT_FLUSH_INTERVAL_MS;
155793
155793
  }
155794
- var DATADOG_LOGS_ENDPOINT = "https://http-intake.logs.us5.datadoghq.com/api/v2/logs", DATADOG_CLIENT_TOKEN = "pubbbf48e6d78dae54bceaa4acf463299bf", DEFAULT_FLUSH_INTERVAL_MS = 15000, MAX_BATCH_SIZE = 100, NETWORK_TIMEOUT_MS = 5000, DATADOG_ALLOWED_EVENTS, TAG_FIELDS, logBatch, flushTimer = null, datadogInitialized = null, initializeDatadog, NUM_USER_BUCKETS = 30, getUserBucket;
155794
+ var DATADOG_LOGS_ENDPOINT = "https://http-intake.logs.us5.datadoghq.com/api/v2/logs", DATADOG_CLIENT_TOKEN = "", DEFAULT_FLUSH_INTERVAL_MS = 15000, MAX_BATCH_SIZE = 100, NETWORK_TIMEOUT_MS = 5000, DATADOG_ALLOWED_EVENTS, TAG_FIELDS, logBatch, flushTimer = null, datadogInitialized = null, initializeDatadog, NUM_USER_BUCKETS = 30, getUserBucket;
155795
155795
  var init_datadog = __esm(() => {
155796
155796
  init_axios2();
155797
155797
  init_memoize();
@@ -199684,7 +199684,7 @@ var init_prompt5 = __esm(() => {
199684
199684
  // src/tools/AgentTool/built-in/claudeCodeGuideAgent.ts
199685
199685
  function getClaudeCodeGuideBasePrompt() {
199686
199686
  const localSearchHint = hasEmbeddedSearchTools() ? `${FILE_READ_TOOL_NAME}, \`find\`, and \`grep\`` : `${FILE_READ_TOOL_NAME}, ${GLOB_TOOL_NAME}, and ${GREP_TOOL_NAME}`;
199687
- return `You are the Cody guide agent. Your primary responsibility is helping users understand and use Cody CLI, the Claude Agent SDK, and the Claude API (formerly the AINative API) effectively.
199687
+ return `You are the Cody guide agent. Your primary responsibility is helping users understand and use Cody CLI, the Claude Agent SDK, and the AINative API (formerly the AINative API) effectively.
199688
199688
 
199689
199689
  **Your expertise spans three domains:**
199690
199690
 
@@ -199692,7 +199692,7 @@ function getClaudeCodeGuideBasePrompt() {
199692
199692
 
199693
199693
  2. **Claude Agent SDK**: A framework for building custom AI agents based on Cody CLI technology. Available for Node.js/TypeScript and Python.
199694
199694
 
199695
- 3. **Claude API**: The Claude API (formerly known as the AINative API) for direct model interaction, tool use, and integrations.
199695
+ 3. **AINative API**: The AINative API (formerly known as the AINative API) for direct model interaction, tool use, and integrations.
199696
199696
 
199697
199697
  **Documentation sources:**
199698
199698
 
@@ -199714,9 +199714,9 @@ function getClaudeCodeGuideBasePrompt() {
199714
199714
  - MCP integration in agents
199715
199715
  - Hosting and deployment
199716
199716
  - Cost tracking and context management
199717
- Note: Agent SDK docs are part of the Claude API documentation at the same URL.
199717
+ Note: Agent SDK docs are part of the AINative API documentation at the same URL.
199718
199718
 
199719
- - **Claude API docs** (${CDP_DOCS_MAP_URL}): Fetch this for questions about the Claude API (formerly the AINative API), including:
199719
+ - **AINative API docs** (${CDP_DOCS_MAP_URL}): Fetch this for questions about the AINative API (formerly the AINative API), including:
199720
199720
  - Messages API and streaming
199721
199721
  - Tool use (function calling) and Anthropic-defined tools (computer use, code execution, web search, text editor, bash, programmatic tool calling, tool search tool, context editing, Files API, structured outputs)
199722
199722
  - Vision, PDF support, and citations
@@ -199748,7 +199748,7 @@ function getFeedbackGuideline() {
199748
199748
  }
199749
199749
  return "- When you cannot find an answer or the feature doesn't exist, direct the user to use /feedback to report a feature request or bug";
199750
199750
  }
199751
- var CLAUDE_CODE_DOCS_MAP_URL = "https://code.claude.com/docs/en/claude_code_docs_map.md", CDP_DOCS_MAP_URL = "https://platform.claude.com/llms.txt", CLAUDE_CODE_GUIDE_AGENT_TYPE = "claude-code-guide", CLAUDE_CODE_GUIDE_AGENT;
199751
+ var CLAUDE_CODE_DOCS_MAP_URL = "https://ainative.studio/docs/cody-cli/docs/en/claude_code_docs_map.md", CDP_DOCS_MAP_URL = "https://platform.claude.com/llms.txt", CLAUDE_CODE_GUIDE_AGENT_TYPE = "claude-code-guide", CLAUDE_CODE_GUIDE_AGENT;
199752
199752
  var init_claudeCodeGuideAgent = __esm(() => {
199753
199753
  init_prompt2();
199754
199754
  init_prompt();
@@ -199759,7 +199759,7 @@ var init_claudeCodeGuideAgent = __esm(() => {
199759
199759
  init_slowOperations();
199760
199760
  CLAUDE_CODE_GUIDE_AGENT = {
199761
199761
  agentType: CLAUDE_CODE_GUIDE_AGENT_TYPE,
199762
- whenToUse: `Use this agent when the user asks questions ("Can Claude...", "Does Claude...", "How do I...") about: (1) Cody CLI (the CLI tool) - features, hooks, slash commands, MCP servers, settings, IDE integrations, keyboard shortcuts; (2) Claude Agent SDK - building custom agents; (3) Claude API (formerly Anthropic API) - API usage, tool use, Anthropic SDK usage. **IMPORTANT:** Before spawning a new agent, check if there is already a running or recently completed claude-code-guide agent that you can continue via ${SEND_MESSAGE_TOOL_NAME}.`,
199762
+ whenToUse: `Use this agent when the user asks questions ("Can Claude...", "Does Claude...", "How do I...") about: (1) Cody CLI (the CLI tool) - features, hooks, slash commands, MCP servers, settings, IDE integrations, keyboard shortcuts; (2) Claude Agent SDK - building custom agents; (3) AINative API (formerly Anthropic API) - API usage, tool use, Anthropic SDK usage. **IMPORTANT:** Before spawning a new agent, check if there is already a running or recently completed claude-code-guide agent that you can continue via ${SEND_MESSAGE_TOOL_NAME}.`,
199763
199763
  tools: hasEmbeddedSearchTools() ? [
199764
199764
  BASH_TOOL_NAME,
199765
199765
  FILE_READ_TOOL_NAME,
@@ -244081,7 +244081,7 @@ function parseMcpConfig(params) {
244081
244081
  ...filePath && { file: filePath },
244082
244082
  path: `mcpServers.${name3}`,
244083
244083
  message: `Windows requires 'cmd /c' wrapper to execute npx`,
244084
- suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://code.claude.com/docs/en/mcp#configure-mcp-servers`,
244084
+ suggestion: `Change command to "cmd" with args ["/c", "npx", ...]. See: https://ainative.studio/docs/cody-cli/docs/en/mcp#configure-mcp-servers`,
244085
244085
  mcpErrorMetadata: {
244086
244086
  scope,
244087
244087
  serverName: name3,
@@ -311166,7 +311166,7 @@ function ConsoleOAuthFlow({
311166
311166
  const settings = getSettings_DEPRECATED() || {};
311167
311167
  const forceLoginMethod = forceLoginMethodProp ?? settings.forceLoginMethod;
311168
311168
  const orgUUID = settings.forceLoginOrgUUID;
311169
- const forcedMethodMessage = forceLoginMethod === "claudeai" ? "Login method pre-selected: Subscription Plan (AINative Pro/Max)" : forceLoginMethod === "console" ? "Login method pre-selected: API Usage Billing (Anthropic Console)" : null;
311169
+ const forcedMethodMessage = forceLoginMethod === "claudeai" ? "Login method pre-selected: Subscription Plan (AINative Pro/Max)" : forceLoginMethod === "console" ? "Login method pre-selected: AINative API (Anthropic Console)" : null;
311170
311170
  const terminal = useTerminalNotification();
311171
311171
  const [oauthStatus, setOAuthStatus] = import_react59.useState(() => {
311172
311172
  if (mode === "setup-token") {
@@ -311666,8 +311666,8 @@ function OAuthStatusMessage(t0) {
311666
311666
  "\xB7 Amazon Bedrock:",
311667
311667
  " ",
311668
311668
  /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(Link, {
311669
- url: "https://code.claude.com/docs/en/amazon-bedrock",
311670
- children: "https://code.claude.com/docs/en/amazon-bedrock"
311669
+ url: "https://ainative.studio/docs/cody-cli/docs/en/amazon-bedrock",
311670
+ children: "https://ainative.studio/docs/cody-cli/docs/en/amazon-bedrock"
311671
311671
  }, undefined, false, undefined, this)
311672
311672
  ]
311673
311673
  }, undefined, true, undefined, this);
@@ -311682,8 +311682,8 @@ function OAuthStatusMessage(t0) {
311682
311682
  "\xB7 Microsoft Foundry:",
311683
311683
  " ",
311684
311684
  /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(Link, {
311685
- url: "https://code.claude.com/docs/en/microsoft-foundry",
311686
- children: "https://code.claude.com/docs/en/microsoft-foundry"
311685
+ url: "https://ainative.studio/docs/cody-cli/docs/en/microsoft-foundry",
311686
+ children: "https://ainative.studio/docs/cody-cli/docs/en/microsoft-foundry"
311687
311687
  }, undefined, false, undefined, this)
311688
311688
  ]
311689
311689
  }, undefined, true, undefined, this);
@@ -311705,8 +311705,8 @@ function OAuthStatusMessage(t0) {
311705
311705
  "\xB7 Vertex AI:",
311706
311706
  " ",
311707
311707
  /* @__PURE__ */ jsx_dev_runtime71.jsxDEV(Link, {
311708
- url: "https://code.claude.com/docs/en/google-vertex-ai",
311709
- children: "https://code.claude.com/docs/en/google-vertex-ai"
311708
+ url: "https://ainative.studio/docs/cody-cli/docs/en/google-vertex-ai",
311709
+ children: "https://ainative.studio/docs/cody-cli/docs/en/google-vertex-ai"
311710
311710
  }, undefined, false, undefined, this)
311711
311711
  ]
311712
311712
  }, undefined, true, undefined, this)
@@ -349550,7 +349550,7 @@ var PREAPPROVED_HOSTS, HOSTNAME_ONLY, PATH_PREFIXES;
349550
349550
  var init_preapproved = __esm(() => {
349551
349551
  PREAPPROVED_HOSTS = new Set([
349552
349552
  "platform.claude.com",
349553
- "code.claude.com",
349553
+ "ainative.studio/docs/cody-cli",
349554
349554
  "modelcontextprotocol.io",
349555
349555
  "github.com/anthropics",
349556
349556
  "agentskills.io",
@@ -413805,7 +413805,7 @@ function ModelPicker(t0) {
413805
413805
  } else {
413806
413806
  t15 = $3[41];
413807
413807
  }
413808
- const t16 = headerText ?? "Switch between Claude models. Applies to this session and future Cody sessions. For other/previous model names, specify with --model.";
413808
+ const t16 = headerText ?? "Switch between models. Applies to this session and future Cody sessions. For other/previous model names, specify with --model.";
413809
413809
  let t17;
413810
413810
  if ($3[42] !== t16) {
413811
413811
  t17 = /* @__PURE__ */ jsx_dev_runtime172.jsxDEV(ThemedText, {
@@ -414262,7 +414262,7 @@ function ClaudeMdExternalIncludesDialog(t0) {
414262
414262
  "Important: Only use Cody with files you trust. Accessing untrusted files may pose security risks",
414263
414263
  " ",
414264
414264
  /* @__PURE__ */ jsx_dev_runtime173.jsxDEV(Link, {
414265
- url: "https://code.claude.com/docs/en/security"
414265
+ url: "https://ainative.studio/docs/cody-cli/security"
414266
414266
  }, undefined, false, undefined, this),
414267
414267
  " "
414268
414268
  ]
@@ -421103,8 +421103,8 @@ function McpParsingWarnings() {
421103
421103
  "For help configuring MCP servers, see:",
421104
421104
  " ",
421105
421105
  /* @__PURE__ */ jsx_dev_runtime193.jsxDEV(Link, {
421106
- url: "https://code.claude.com/docs/en/mcp",
421107
- children: "https://code.claude.com/docs/en/mcp"
421106
+ url: "https://ainative.studio/docs/cody-cli/docs/en/mcp",
421107
+ children: "https://ainative.studio/docs/cody-cli/docs/en/mcp"
421108
421108
  }, undefined, false, undefined, this)
421109
421109
  ]
421110
421110
  }, undefined, true, undefined, this)
@@ -423674,7 +423674,7 @@ ${editorHint}`, {
423674
423674
  children: [
423675
423675
  "Learn more: ",
423676
423676
  /* @__PURE__ */ jsx_dev_runtime201.jsxDEV(Link, {
423677
- url: "https://code.claude.com/docs/en/memory"
423677
+ url: "https://ainative.studio/docs/cody-cli/memory"
423678
423678
  }, undefined, false, undefined, this)
423679
423679
  ]
423680
423680
  }, undefined, true, undefined, this)
@@ -424365,7 +424365,7 @@ function General() {
424365
424365
  if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
424366
424366
  t0 = /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(ThemedBox_default, {
424367
424367
  children: /* @__PURE__ */ jsx_dev_runtime204.jsxDEV(ThemedText, {
424368
- children: "Claude understands your codebase, makes edits with your permission, and executes commands \u2014 right from your terminal."
424368
+ children: "Cody understands your codebase, makes edits with your permission, and executes commands \u2014 right from your terminal."
424369
424369
  }, undefined, false, undefined, this)
424370
424370
  }, undefined, false, undefined, this);
424371
424371
  $3[0] = t0;
@@ -424562,7 +424562,7 @@ function HelpV2(t0) {
424562
424562
  "For more help:",
424563
424563
  " ",
424564
424564
  /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Link, {
424565
- url: "https://code.claude.com/docs/en/overview"
424565
+ url: "https://ainative.studio/docs/cody-cli"
424566
424566
  }, undefined, false, undefined, this)
424567
424567
  ]
424568
424568
  }, undefined, true, undefined, this)
@@ -425908,7 +425908,7 @@ function generateKeybindingsTemplate() {
425908
425908
  const bindings = filterReservedShortcuts(DEFAULT_BINDINGS);
425909
425909
  const config9 = {
425910
425910
  $schema: "https://www.schemastore.org/cody-cli-keybindings.json",
425911
- $docs: "https://code.claude.com/docs/en/keybindings",
425911
+ $docs: "https://ainative.studio/docs/cody-cli/docs/en/keybindings",
425912
425912
  bindings
425913
425913
  };
425914
425914
  return jsonStringify(config9, null, 2) + `
@@ -425987,7 +425987,7 @@ var init_keybindings2 = __esm(() => {
425987
425987
  var login_default = () => ({
425988
425988
  type: "local-jsx",
425989
425989
  name: "login",
425990
- description: hasAnthropicApiKeyAuth() ? "Switch Anthropic accounts" : "Sign in with your Anthropic account",
425990
+ description: hasAnthropicApiKeyAuth() ? "Switch AINative accounts" : "Sign in with your Anthropic account",
425991
425991
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
425992
425992
  load: () => Promise.resolve().then(() => (init_login(), exports_login))
425993
425993
  });
@@ -426003,7 +426003,7 @@ var init_logout2 = __esm(() => {
426003
426003
  logout_default = {
426004
426004
  type: "local-jsx",
426005
426005
  name: "logout",
426006
- description: "Sign out from your Anthropic account",
426006
+ description: "Sign out from your AINative account",
426007
426007
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
426008
426008
  load: () => Promise.resolve().then(() => (init_logout(), exports_logout))
426009
426009
  };
@@ -426236,7 +426236,7 @@ jobs:
426236
426236
 
426237
426237
  # Optional: Add claude_args to customize behavior and configuration
426238
426238
  # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
426239
- # or https://code.claude.com/docs/en/cli-reference for available options
426239
+ # or https://ainative.studio/docs/cody-cli/docs/en/cli-reference for available options
426240
426240
  # claude_args: '--allowed-tools Bash(gh pr:*)'
426241
426241
 
426242
426242
  `, PR_BODY = `## \uD83E\uDD16 Installing Cody GitHub App
@@ -426321,7 +426321,7 @@ jobs:
426321
426321
  plugins: 'code-review@claude-code-plugins'
426322
426322
  prompt: '/code-review:code-review \${{ github.repository }}/pull/\${{ github.event.pull_request.number }}'
426323
426323
  # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
426324
- # or https://code.claude.com/docs/en/cli-reference for available options
426324
+ # or https://ainative.studio/docs/cody-cli/docs/en/cli-reference for available options
426325
426325
 
426326
426326
  `;
426327
426327
 
@@ -429302,7 +429302,7 @@ var init_install_github_app2 = __esm(() => {
429302
429302
  installGitHubApp = {
429303
429303
  type: "local-jsx",
429304
429304
  name: "install-github-app",
429305
- description: "Set up Claude GitHub Actions for a repository",
429305
+ description: "Set up Cody GitHub Actions for a repository",
429306
429306
  availability: ["claude-ai", "console"],
429307
429307
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
429308
429308
  load: () => Promise.resolve().then(() => (init_install_github_app(), exports_install_github_app))
@@ -430172,8 +430172,8 @@ function MCPListPanel(t0) {
430172
430172
  dimColor: true,
430173
430173
  children: [
430174
430174
  /* @__PURE__ */ jsx_dev_runtime223.jsxDEV(Link, {
430175
- url: "https://code.claude.com/docs/en/mcp",
430176
- children: "https://code.claude.com/docs/en/mcp"
430175
+ url: "https://ainative.studio/docs/cody-cli/docs/en/mcp",
430176
+ children: "https://ainative.studio/docs/cody-cli/docs/en/mcp"
430177
430177
  }, undefined, false, undefined, this),
430178
430178
  " ",
430179
430179
  "for help"
@@ -433306,7 +433306,7 @@ function MCPSettings(t0) {
433306
433306
  return;
433307
433307
  }
433308
433308
  if (servers.length === 0 && agentMcpServers.length === 0) {
433309
- onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `claude mcp --help` or visit https://code.claude.com/docs/en/mcp to learn more.");
433309
+ onComplete("No MCP servers configured. Please run /doctor if this is unexpected. Otherwise, run `claude mcp --help` or visit https://ainative.studio/docs/cody-cli/docs/en/mcp to learn more.");
433310
433310
  }
433311
433311
  };
433312
433312
  t8 = [servers.length, filteredClients.length, agentMcpServers.length, onComplete];
@@ -449913,7 +449913,7 @@ function getLogoDisplayData() {
449913
449913
  const serverUrl = getDirectConnectServerUrl();
449914
449914
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
449915
449915
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
449916
- const billingType = isClaudeAISubscriber() ? getSubscriptionName() : "API Usage Billing";
449916
+ const billingType = isClaudeAISubscriber() ? getSubscriptionName() : "AINative API";
449917
449917
  const agentName = getInitialSettings().agent;
449918
449918
  return {
449919
449919
  version: version6,
@@ -458722,7 +458722,7 @@ var init_ultrareviewCommand = __esm(() => {
458722
458722
  });
458723
458723
 
458724
458724
  // src/commands/review.ts
458725
- var CCR_TERMS_URL = "https://code.claude.com/docs/en/claude-code-on-the-web", LOCAL_REVIEW_PROMPT = (args) => `
458725
+ var CCR_TERMS_URL = "https://ainative.studio/docs/cody-cli/docs/en/claude-code-on-the-web", LOCAL_REVIEW_PROMPT = (args) => `
458726
458726
  You are an expert code reviewer. Follow these steps:
458727
458727
 
458728
458728
  1. If no PR number is provided in the args, run \`gh pr list\` to show open PRs
@@ -459943,7 +459943,7 @@ ${reasons}`,
459943
459943
  } : prev);
459944
459944
  }
459945
459945
  }
459946
- var ULTRAPLAN_TIMEOUT_MS, CCR_TERMS_URL2 = "https://code.claude.com/docs/en/claude-code-on-the-web", _rawPrompt, DEFAULT_INSTRUCTIONS, ULTRAPLAN_INSTRUCTIONS, call35 = async (onDone, context7, args) => {
459946
+ var ULTRAPLAN_TIMEOUT_MS, CCR_TERMS_URL2 = "https://ainative.studio/docs/cody-cli/docs/en/claude-code-on-the-web", _rawPrompt, DEFAULT_INSTRUCTIONS, ULTRAPLAN_INSTRUCTIONS, call35 = async (onDone, context7, args) => {
459947
459947
  const blurb = args.trim();
459948
459948
  if (!blurb) {
459949
459949
  const msg = await launchUltraplan2({
@@ -468822,8 +468822,8 @@ function FastModePicker(t0) {
468822
468822
  "Learn more:",
468823
468823
  " ",
468824
468824
  /* @__PURE__ */ jsx_dev_runtime302.jsxDEV(Link, {
468825
- url: "https://code.claude.com/docs/en/fast-mode",
468826
- children: "https://code.claude.com/docs/en/fast-mode"
468825
+ url: "https://ainative.studio/docs/cody-cli/fast-mode",
468826
+ children: "https://ainative.studio/docs/cody-cli/fast-mode"
468827
468827
  }, undefined, false, undefined, this)
468828
468828
  ]
468829
468829
  }, undefined, true, undefined, this);
@@ -470483,7 +470483,7 @@ function SelectEventMode(t0) {
470483
470483
  " This menu is read-only. To add or modify hooks, edit settings.json directly or ask Claude.",
470484
470484
  " ",
470485
470485
  /* @__PURE__ */ jsx_dev_runtime307.jsxDEV(Link, {
470486
- url: "https://code.claude.com/docs/en/hooks",
470486
+ url: "https://ainative.studio/docs/cody-cli/docs/en/hooks",
470487
470487
  children: "Learn more"
470488
470488
  }, undefined, false, undefined, this)
470489
470489
  ]
@@ -474136,7 +474136,7 @@ function AgentsList(t0) {
474136
474136
  if ($3[58] === Symbol.for("react.memo_cache_sentinel")) {
474137
474137
  t242 = /* @__PURE__ */ jsx_dev_runtime319.jsxDEV(ThemedText, {
474138
474138
  dimColor: true,
474139
- children: "No agents found. Create specialized subagents that Claude can delegate to."
474139
+ children: "No agents found. Create specialized subagents that Cody can delegate to."
474140
474140
  }, undefined, false, undefined, this);
474141
474141
  t25 = /* @__PURE__ */ jsx_dev_runtime319.jsxDEV(ThemedText, {
474142
474142
  dimColor: true,
@@ -476407,7 +476407,7 @@ function MethodStep() {
476407
476407
  let t0;
476408
476408
  if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
476409
476409
  t0 = [{
476410
- label: "Generate with Claude (recommended)",
476410
+ label: "Generate with Cody (recommended)",
476411
476411
  value: "generate"
476412
476412
  }, {
476413
476413
  label: "Manual configuration",
@@ -479669,8 +479669,8 @@ function OverridesSelect(t0) {
479669
479669
  "Learn more:",
479670
479670
  " ",
479671
479671
  /* @__PURE__ */ jsx_dev_runtime341.jsxDEV(Link, {
479672
- url: "https://code.claude.com/docs/en/sandboxing#configure-sandboxing",
479673
- children: "code.claude.com/docs/en/sandboxing#configure-sandboxing"
479672
+ url: "https://ainative.studio/docs/cody-cli/docs/en/sandboxing#configure-sandboxing",
479673
+ children: "ainative.studio/docs/cody-cli/docs/en/sandboxing#configure-sandboxing"
479674
479674
  }, undefined, false, undefined, this)
479675
479675
  ]
479676
479676
  }, undefined, true, undefined, this)
@@ -480040,8 +480040,8 @@ function SandboxModeTab(t0) {
480040
480040
  "Learn more:",
480041
480041
  " ",
480042
480042
  /* @__PURE__ */ jsx_dev_runtime342.jsxDEV(Link, {
480043
- url: "https://code.claude.com/docs/en/sandboxing",
480044
- children: "code.claude.com/docs/en/sandboxing"
480043
+ url: "https://ainative.studio/docs/cody-cli/docs/en/sandboxing",
480044
+ children: "ainative.studio/docs/cody-cli/docs/en/sandboxing"
480045
480045
  }, undefined, false, undefined, this)
480046
480046
  ]
480047
480047
  }, undefined, true, undefined, this)
@@ -480782,7 +480782,7 @@ function ClaudeInChromeMenu(t0) {
480782
480782
  if ($3[33] === Symbol.for("react.memo_cache_sentinel")) {
480783
480783
  t10 = /* @__PURE__ */ jsx_dev_runtime344.jsxDEV(ThemedText, {
480784
480784
  dimColor: true,
480785
- children: "Learn more: https://code.claude.com/docs/en/chrome"
480785
+ children: "Learn more: https://ainative.studio/docs/cody-cli/docs/en/chrome"
480786
480786
  }, undefined, false, undefined, this);
480787
480787
  $3[33] = t10;
480788
480788
  } else {
@@ -481956,13 +481956,13 @@ function SetModelAndClose({
481956
481956
  return;
481957
481957
  }
481958
481958
  if (model && isOpus1mUnavailable(model)) {
481959
- onDone(`Opus 4.6 with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m`, {
481959
+ onDone(`Opus 4.6 with 1M context is not available for your account. Learn more: https://ainative.studio/docs/cody-cli/docs/en/model-config#extended-context-with-1m`, {
481960
481960
  display: "system"
481961
481961
  });
481962
481962
  return;
481963
481963
  }
481964
481964
  if (model && isSonnet1mUnavailable(model)) {
481965
- onDone(`Sonnet 4.6 with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m`, {
481965
+ onDone(`Sonnet 4.6 with 1M context is not available for your account. Learn more: https://ainative.studio/docs/cody-cli/docs/en/model-config#extended-context-with-1m`, {
481966
481966
  display: "system"
481967
481967
  });
481968
481968
  return;
@@ -498162,7 +498162,7 @@ function prependBullets(items) {
498162
498162
  }
498163
498163
  function getSimpleIntroSection(outputStyleConfig) {
498164
498164
  return `
498165
- You are an interactive agent that helps users ${outputStyleConfig !== null ? 'according to your "Output Style" below, which describes how you should respond to user queries.' : "with software engineering tasks."} Use the instructions below and the tools available to you to assist the user.
498165
+ You are Cody, AINative Studio's AI coding assistant that helps users ${outputStyleConfig !== null ? 'according to your "Output Style" below, which describes how you should respond to user queries.' : "with software engineering tasks."} Use the instructions below and the tools available to you to assist the user.
498166
498166
 
498167
498167
  ${CYBER_RISK_INSTRUCTION}
498168
498168
  IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.`;
@@ -498201,6 +498201,9 @@ function getSimpleDoingTasksSection() {
498201
498201
  `Be careful not to introduce security vulnerabilities such as command injection, XSS, SQL injection, and other OWASP top 10 vulnerabilities. If you notice that you wrote insecure code, immediately fix it. Prioritize writing safe, secure, and correct code.`,
498202
498202
  ...codeStyleSubitems,
498203
498203
  `Avoid backwards-compatibility hacks like renaming unused _vars, re-exporting types, adding // removed comments for removed code, etc. If you are certain that something is unused, you can delete it completely.`,
498204
+ `If the user has a misconception about how something works, tell them directly and clearly rather than working around it or letting them continue with a wrong assumption.`,
498205
+ `Verify your work actually produces the expected result before claiming it's done. Run the tests, check the output, confirm the behavior matches what was asked. Never say 'this should work' without evidence.`,
498206
+ `When you discover that your current approach won't work or has a fundamental flaw, say so immediately rather than continuing down a dead end. Propose an alternative and explain why the pivot is needed.`,
498204
498207
  ...[],
498205
498208
  ...[],
498206
498209
  `If the user asks for help or wants to give feedback inform them of the following:`,
@@ -504682,7 +504685,7 @@ function CostThresholdDialog(t0) {
504682
504685
  children: "Learn more about how to monitor your spending:"
504683
504686
  }, undefined, false, undefined, this),
504684
504687
  /* @__PURE__ */ jsx_dev_runtime364.jsxDEV(Link, {
504685
- url: "https://code.claude.com/docs/en/costs"
504688
+ url: "https://ainative.studio/docs/cody-cli/docs/en/costs"
504686
504689
  }, undefined, false, undefined, this)
504687
504690
  ]
504688
504691
  }, undefined, true, undefined, this);
@@ -540034,7 +540037,7 @@ function TranscriptSharePrompt(t0) {
540034
540037
  marginLeft: 2,
540035
540038
  children: /* @__PURE__ */ jsx_dev_runtime446.jsxDEV(ThemedText, {
540036
540039
  dimColor: true,
540037
- children: "Learn more: https://code.claude.com/docs/en/data-usage#session-quality-surveys"
540040
+ children: "Learn more: https://ainative.studio/docs/cody-cli/docs/en/data-usage#session-quality-surveys"
540038
540041
  }, undefined, false, undefined, this)
540039
540042
  }, undefined, false, undefined, this);
540040
540043
  $3[7] = t4;
@@ -541295,7 +541298,7 @@ var init_tipRegistry = __esm(() => {
541295
541298
  },
541296
541299
  {
541297
541300
  id: "prompt-queue",
541298
- content: async () => "Hit Enter to queue up additional messages while Claude is working.",
541301
+ content: async () => "Hit Enter to queue up additional messages while Cody is working.",
541299
541302
  cooldownSessions: 5,
541300
541303
  async isRelevant() {
541301
541304
  const config9 = getGlobalConfig();
@@ -550242,7 +550245,7 @@ function MCPServerDialogCopy() {
550242
550245
  "MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the",
550243
550246
  " ",
550244
550247
  /* @__PURE__ */ jsx_dev_runtime469.jsxDEV(Link, {
550245
- url: "https://code.claude.com/docs/en/mcp",
550248
+ url: "https://ainative.studio/docs/cody-cli/docs/en/mcp",
550246
550249
  children: "MCP documentation"
550247
550250
  }, undefined, false, undefined, this),
550248
550251
  "."
@@ -550894,7 +550897,7 @@ function PreflightStep(t0) {
550894
550897
  }, undefined, false, undefined, this),
550895
550898
  /* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedText, {
550896
550899
  color: "suggestion",
550897
- children: "See https://code.claude.com/docs/en/network-config"
550900
+ children: "See https://ainative.studio/docs/cody-cli/docs/en/network-config"
550898
550901
  }, undefined, false, undefined, this)
550899
550902
  ]
550900
550903
  }, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime473.jsxDEV(ThemedBox_default, {
@@ -552305,7 +552308,7 @@ function Onboarding({
552305
552308
  /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(OrderedList.Item, {
552306
552309
  children: [
552307
552310
  /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
552308
- children: "Claude can make mistakes"
552311
+ children: "Cody can make mistakes"
552309
552312
  }, undefined, false, undefined, this),
552310
552313
  /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
552311
552314
  dimColor: true,
@@ -552331,7 +552334,7 @@ function Onboarding({
552331
552334
  "For more details see:",
552332
552335
  /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Newline, {}, undefined, false, undefined, this),
552333
552336
  /* @__PURE__ */ jsx_dev_runtime478.jsxDEV(Link, {
552334
- url: "https://code.claude.com/docs/en/security"
552337
+ url: "https://ainative.studio/docs/cody-cli/security"
552335
552338
  }, undefined, false, undefined, this)
552336
552339
  ]
552337
552340
  }, undefined, true, undefined, this)
@@ -552914,7 +552917,7 @@ function TrustDialog(t0) {
552914
552917
  t19 = /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(ThemedText, {
552915
552918
  dimColor: true,
552916
552919
  children: /* @__PURE__ */ jsx_dev_runtime479.jsxDEV(Link, {
552917
- url: "https://code.claude.com/docs/en/security",
552920
+ url: "https://ainative.studio/docs/cody-cli/security",
552918
552921
  children: "Security guide"
552919
552922
  }, undefined, false, undefined, this)
552920
552923
  }, undefined, false, undefined, this);
@@ -553099,7 +553102,7 @@ function BypassPermissionsModeDialog(t0) {
553099
553102
  children: "By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."
553100
553103
  }, undefined, false, undefined, this),
553101
553104
  /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Link, {
553102
- url: "https://code.claude.com/docs/en/security"
553105
+ url: "https://ainative.studio/docs/cody-cli/security"
553103
553106
  }, undefined, false, undefined, this)
553104
553107
  ]
553105
553108
  }, undefined, true, undefined, this);
@@ -553285,7 +553288,7 @@ function ClaudeInChromeOnboarding(t0) {
553285
553288
  " ",
553286
553289
  "or visit ",
553287
553290
  /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Link, {
553288
- url: "https://code.claude.com/docs/en/chrome"
553291
+ url: "https://ainative.studio/docs/cody-cli/docs/en/chrome"
553289
553292
  }, undefined, false, undefined, this)
553290
553293
  ]
553291
553294
  }, undefined, true, undefined, this);
@@ -555655,7 +555658,7 @@ var init_keybindings3 = __esm(() => {
555655
555658
  init_bundledSkills();
555656
555659
  FILE_FORMAT_EXAMPLE = {
555657
555660
  $schema: "https://www.schemastore.org/claude-code-keybindings.json",
555658
- $docs: "https://code.claude.com/docs/en/keybindings",
555661
+ $docs: "https://ainative.studio/docs/cody-cli/docs/en/keybindings",
555659
555662
  bindings: [
555660
555663
  {
555661
555664
  context: "Chat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {