@ainative/cody-cli 0.7.24 → 0.7.25

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 +25 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -181024,7 +181024,7 @@ var init_metadata = __esm(() => {
181024
181024
  isClaudeAiAuth: isClaudeAISubscriber(),
181025
181025
  version: "0.7.15",
181026
181026
  versionBase: getVersionBase(),
181027
- buildTime: "1775427960",
181027
+ buildTime: "1775445242",
181028
181028
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
181029
181029
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
181030
181030
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -419007,7 +419007,7 @@ function getAnthropicEnvMetadata() {
419007
419007
  function getBuildAgeMinutes() {
419008
419008
  if (false)
419009
419009
  ;
419010
- const buildTime = new Date("1775427960").getTime();
419010
+ const buildTime = new Date("1775445242").getTime();
419011
419011
  if (isNaN(buildTime))
419012
419012
  return;
419013
419013
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -511997,7 +511997,7 @@ var init_bridge_kick = __esm(() => {
511997
511997
  var call56 = async () => {
511998
511998
  return {
511999
511999
  type: "text",
512000
- value: `${"0.7.15"} (built ${"1775427960"})`
512000
+ value: `${"0.7.15"} (built ${"1775445242"})`
512001
512001
  };
512002
512002
  }, version6, version_default;
512003
512003
  var init_version = __esm(() => {
@@ -532695,6 +532695,28 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
532695
532695
  } else {
532696
532696
  filteredTools = tools.filter((t) => !toolMatchesName(t, TOOL_SEARCH_TOOL_NAME));
532697
532697
  }
532698
+ if (isAINativeProvider() && !isClaudeModelName(options.model)) {
532699
+ const CORE_TOOL_NAMES = new Set([
532700
+ "Bash",
532701
+ "Read",
532702
+ "Edit",
532703
+ "Write",
532704
+ "Glob",
532705
+ "Grep",
532706
+ "Agent",
532707
+ "WebFetch",
532708
+ "WebSearch",
532709
+ "AskUserQuestion",
532710
+ "TaskCreate",
532711
+ "TaskUpdate",
532712
+ "TaskList",
532713
+ "TodoWrite",
532714
+ "Skill",
532715
+ "ToolSearch"
532716
+ ]);
532717
+ filteredTools = filteredTools.filter((t) => CORE_TOOL_NAMES.has(t.name));
532718
+ logForDebugging(`[AINative] Limited tools to ${filteredTools.length} core tools for non-Claude model ${options.model}`);
532719
+ }
532698
532720
  const toolSearchHeader = useToolSearch ? getToolSearchBetaHeader() : null;
532699
532721
  if (toolSearchHeader && getAPIProvider() !== "bedrock") {
532700
532722
  if (!betas.includes(toolSearchHeader)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.7.24",
3
+ "version": "0.7.25",
4
4
  "type": "module",
5
5
  "description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
6
6
  "main": "dist/cli.js",