@ainative/cody-cli 0.5.0 → 0.5.2

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 +10 -10
  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,11 +193646,11 @@ 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",
193653
- repo: "anthropics/claude-plugins-official"
193653
+ repo: "AINative-Studio/cody-plugins-official"
193654
193654
  };
193655
193655
  });
193656
193656
 
@@ -343826,7 +343826,7 @@ function formatModelUsage() {
343826
343826
  return result;
343827
343827
  }
343828
343828
  function formatTotalCost() {
343829
- const costDisplay = formatCost(getTotalCostUSD()) + (hasUnknownModelCost() ? " (costs may be inaccurate due to usage of unknown models)" : "");
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();
@@ -434205,7 +434205,7 @@ function formatInstallCount(count4) {
434205
434205
  const formatted = m5.toFixed(1);
434206
434206
  return formatted.endsWith(".0") ? `${formatted.slice(0, -2)}M` : `${formatted}M`;
434207
434207
  }
434208
- var INSTALL_COUNTS_CACHE_VERSION = 1, INSTALL_COUNTS_CACHE_FILENAME = "install-counts-cache.json", INSTALL_COUNTS_URL = "https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json", CACHE_TTL_MS4;
434208
+ var INSTALL_COUNTS_CACHE_VERSION = 1, INSTALL_COUNTS_CACHE_FILENAME = "install-counts-cache.json", INSTALL_COUNTS_URL = "https://raw.githubusercontent.com/AINative-Studio/cody-plugins-official/refs/heads/stats/stats/plugin-installs.json", CACHE_TTL_MS4;
434209
434209
  var init_installCounts = __esm(() => {
434210
434210
  init_axios2();
434211
434211
  init_debug();
@@ -465763,7 +465763,7 @@ async function call40(onDone) {
465763
465763
  onDone
465764
465764
  }, undefined, false, undefined, this);
465765
465765
  }
465766
- var import_compiler_runtime229, import_react166, jsx_dev_runtime291, OFFICIAL_MARKETPLACE_REPO = "anthropics/claude-plugins-official", SKILL_NAME = "thinkback", EDIT_PROMPT = 'Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Cody year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.', FIX_PROMPT = 'Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Cody year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.', REGENERATE_PROMPT = 'Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Cody year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';
465766
+ var import_compiler_runtime229, import_react166, jsx_dev_runtime291, OFFICIAL_MARKETPLACE_REPO = "AINative-Studio/cody-plugins-official", SKILL_NAME = "thinkback", EDIT_PROMPT = 'Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Cody year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.', FIX_PROMPT = 'Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Cody year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.', REGENERATE_PROMPT = 'Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Cody year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';
465767
465767
  var init_thinkback = __esm(() => {
465768
465768
  init_execa();
465769
465769
  init_select();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
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": {