@ainative/cody-cli 0.5.1 → 0.5.3

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 +7 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -55894,8 +55894,8 @@ function validateOfficialNameSource(name, source) {
55894
55894
  }
55895
55895
  if (source.source === "git" && source.url) {
55896
55896
  const url3 = source.url.toLowerCase();
55897
- const isHttpsAnthropics = url3.includes("github.com/anthropics/");
55898
- const isSshAnthropics = url3.includes("git@github.com:anthropics/");
55897
+ const isHttpsAnthropics = url3.includes("github.com/AINative-Studio/");
55898
+ const isSshAnthropics = url3.includes("git@github.com:AINative-Studio/");
55899
55899
  if (isHttpsAnthropics || isSshAnthropics) {
55900
55900
  return null;
55901
55901
  }
@@ -55909,7 +55909,7 @@ function isLocalPluginSource(source) {
55909
55909
  function isLocalMarketplaceSource(source) {
55910
55910
  return source.source === "file" || source.source === "directory";
55911
55911
  }
55912
- var ALLOWED_OFFICIAL_MARKETPLACE_NAMES, NO_AUTO_UPDATE_OFFICIAL_MARKETPLACES, BLOCKED_OFFICIAL_NAME_PATTERN, NON_ASCII_PATTERN, OFFICIAL_GITHUB_ORG = "anthropics", RelativePath, RelativeJSONPath, McpbPath, RelativeMarkdownPath, RelativeCommandPath, MarketplaceNameSchema, PluginAuthorSchema, PluginManifestMetadataSchema, PluginHooksSchema, PluginManifestHooksSchema, CommandMetadataSchema, PluginManifestCommandsSchema, PluginManifestAgentsSchema, PluginManifestSkillsSchema, PluginManifestOutputStylesSchema, nonEmptyString, fileExtension, PluginManifestMcpServerSchema, PluginUserConfigOptionSchema, PluginManifestUserConfigSchema, PluginManifestChannelsSchema, LspServerConfigSchema, PluginManifestLspServerSchema, NpmPackageNameSchema, PluginManifestSettingsSchema, PluginManifestSchema, MarketplaceSourceSchema, gitSha, PluginSourceSchema, SettingsMarketplacePluginSchema, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, DEP_REF_REGEX, DependencyRefSchema, SettingsPluginEntrySchema, InstalledPluginSchema, InstalledPluginsFileSchemaV1, PluginScopeSchema, PluginInstallationEntrySchema, InstalledPluginsFileSchemaV2, InstalledPluginsFileSchema, KnownMarketplaceSchema, KnownMarketplacesFileSchema;
55912
+ var ALLOWED_OFFICIAL_MARKETPLACE_NAMES, NO_AUTO_UPDATE_OFFICIAL_MARKETPLACES, BLOCKED_OFFICIAL_NAME_PATTERN, NON_ASCII_PATTERN, OFFICIAL_GITHUB_ORG = "AINative-Studio", RelativePath, RelativeJSONPath, McpbPath, RelativeMarkdownPath, RelativeCommandPath, MarketplaceNameSchema, PluginAuthorSchema, PluginManifestMetadataSchema, PluginHooksSchema, PluginManifestHooksSchema, CommandMetadataSchema, PluginManifestCommandsSchema, PluginManifestAgentsSchema, PluginManifestSkillsSchema, PluginManifestOutputStylesSchema, nonEmptyString, fileExtension, PluginManifestMcpServerSchema, PluginUserConfigOptionSchema, PluginManifestUserConfigSchema, PluginManifestChannelsSchema, LspServerConfigSchema, PluginManifestLspServerSchema, NpmPackageNameSchema, PluginManifestSettingsSchema, PluginManifestSchema, MarketplaceSourceSchema, gitSha, PluginSourceSchema, SettingsMarketplacePluginSchema, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, DEP_REF_REGEX, DependencyRefSchema, SettingsPluginEntrySchema, InstalledPluginSchema, InstalledPluginsFileSchemaV1, PluginScopeSchema, PluginInstallationEntrySchema, InstalledPluginsFileSchemaV2, InstalledPluginsFileSchema, KnownMarketplaceSchema, KnownMarketplacesFileSchema;
55913
55913
  var init_schemas3 = __esm(() => {
55914
55914
  init_v4();
55915
55915
  init_hooks();
@@ -107812,7 +107812,7 @@ var init_modelCost = __esm(() => {
107812
107812
  [firstPartyNameToCanonical(CLAUDE_OPUS_4_CONFIG.firstParty)]: COST_TIER_15_75,
107813
107813
  [firstPartyNameToCanonical(CLAUDE_OPUS_4_1_CONFIG.firstParty)]: COST_TIER_15_75,
107814
107814
  [firstPartyNameToCanonical(CLAUDE_OPUS_4_5_CONFIG.firstParty)]: COST_TIER_5_25,
107815
- [firstPartyNameToCanonical(CLAUDE_OPUS_4_6_CONFIG.firstParty)]: COST_TIER_5_25
107815
+ [firstPartyNameToCanonical(CLAUDE_OPUS_4_6_CONFIG.firstParty)]: COST_TIER_5_25, "qwen-coder-32b": { inputTokens: 0.5, outputTokens: 1.5, promptCacheWriteTokens: 0.625, promptCacheReadTokens: 0.05, webSearchRequests: 0 }, "qwen-coder-7b": { inputTokens: 0.1, outputTokens: 0.3, promptCacheWriteTokens: 0.125, promptCacheReadTokens: 0.01, webSearchRequests: 0 }, "nouscoder-14b": { inputTokens: 0.3, outputTokens: 0.9, promptCacheWriteTokens: 0.375, promptCacheReadTokens: 0.03, webSearchRequests: 0 }, "gemma-9b": { inputTokens: 0.2, outputTokens: 0.6, promptCacheWriteTokens: 0.25, promptCacheReadTokens: 0.02, webSearchRequests: 0 }, "deepseek-r1-distill-qwen-7b": { inputTokens: 0.15, outputTokens: 0.45, promptCacheWriteTokens: 0.1875, promptCacheReadTokens: 0.015, webSearchRequests: 0 }
107816
107816
  };
107817
107817
  });
107818
107818
 
@@ -193646,7 +193646,7 @@ var init_dependencyResolver = __esm(() => {
193646
193646
  });
193647
193647
 
193648
193648
  // src/utils/plugins/officialMarketplace.ts
193649
- var OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME = "claude-plugins-official";
193649
+ var OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME = "cody-plugins-official";
193650
193650
  var init_officialMarketplace = __esm(() => {
193651
193651
  OFFICIAL_MARKETPLACE_SOURCE = {
193652
193652
  source: "github",
@@ -343826,7 +343826,7 @@ function formatModelUsage() {
343826
343826
  return result;
343827
343827
  }
343828
343828
  function formatTotalCost() {
343829
- const costDisplay = formatCost(getTotalCostUSD()) + (hasUnknownModelCost() ? " (estimated costs based on AINative API pricing)" : "");
343829
+ const costDisplay = formatCost(getTotalCostUSD());
343830
343830
  const modelUsageDisplay = formatModelUsage();
343831
343831
  return source_default.dim(`Total cost: ${costDisplay}
343832
343832
  ` + `Total duration (API): ${formatDuration(getTotalAPIDuration())}
@@ -394560,7 +394560,7 @@ function classifyGcsError(e4) {
394560
394560
  return "empty_latest";
394561
394561
  return "other";
394562
394562
  }
394563
- var GCS_BASE = "https://downloads.ainative.studio/cody-cli-releases/plugins/cody-plugins-official", ARC_PREFIX = "marketplaces/claude-plugins-official/", KNOWN_FS_CODES;
394563
+ var GCS_BASE = "https://downloads.ainative.studio/cody-cli-releases/plugins/cody-plugins-official", ARC_PREFIX = "marketplaces/cody-plugins-official/", KNOWN_FS_CODES;
394564
394564
  var init_officialMarketplaceGcs = __esm(() => {
394565
394565
  init_axios2();
394566
394566
  init_state();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
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": {