@costrict/csc 4.2.27-beta → 4.2.27

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.
@@ -736,8 +736,8 @@ function getClientVersion() {
736
736
  if (cached)
737
737
  return cached;
738
738
  try {
739
- if ("4.2.27-beta") {
740
- cached = "4.2.27-beta";
739
+ if ("4.2.27") {
740
+ cached = "4.2.27";
741
741
  return cached;
742
742
  }
743
743
  } catch {}
@@ -5600,7 +5600,6 @@ var init_cli = __esm(() => {
5600
5600
  "cli.option.appendSystemPrompt": "Append a system prompt to the default system prompt",
5601
5601
  "cli.option.appendSystemPromptFile": "Read system prompt from a file and append to the default system prompt",
5602
5602
  "cli.option.assistant": "Force assistant mode (Agent SDK daemon use)",
5603
- "cli.option.authProvider": "Authenticate fetches with the current CoStrict login. Only 'costrict' is supported; a URL served by your own CoStrict deployment is detected automatically.",
5604
5603
  "cli.option.authToken": "Bearer token for authentication",
5605
5604
  "cli.option.available": "Include available plugins from marketplaces",
5606
5605
  "cli.option.bare": "Minimal mode: skip hooks, LSP, plugin sync, attribution, auto-memory, background prefetches, keychain reads, and CLAUDE.md auto-discovery. Sets CLAUDE_CODE_SIMPLE=1. Anthropic auth is strictly ANTHROPIC_API_KEY or apiKeyHelper via --settings (OAuth and keychain are never read). 3P providers (Bedrock/Vertex/Foundry) use their own credentials. Skills still resolve via /skill-name. Explicitly provide context via: --system-prompt[-file], --append-system-prompt[-file], --add-dir (CLAUDE.md dirs), --mcp-config, --settings, --agents, --plugin-dir.",
@@ -5827,8 +5826,6 @@ Set it to the space-separated scopes the refresh token was issued with
5827
5826
  "cli.plugins.invalidMarketplaceSource": "Invalid marketplace source format. Try: owner/repo, https://..., or ./path",
5828
5827
  "cli.plugins.invalidScope": "Invalid scope '{scope}'. Use: user, project, or local",
5829
5828
  "cli.plugins.sparseNotSupported": "--sparse is only supported for github and git marketplace sources (got: {source})",
5830
- "cli.plugins.invalidAuthProvider": "Invalid auth provider '{provider}'. Only 'costrict' is supported.",
5831
- "cli.plugins.authProviderNotSupported": "--auth-provider is only supported for url marketplace sources (got: {source})",
5832
5829
  "cli.plugins.addingMarketplace": "Adding marketplace...",
5833
5830
  "cli.plugins.marketplaceAlreadyOnDisk": "Marketplace '{name}' already on disk \u2014 declared in {scope} settings",
5834
5831
  "cli.plugins.marketplaceAdded": "Successfully added marketplace: {name} (declared in {scope} settings)",
@@ -10151,7 +10148,6 @@ var init_cli2 = __esm(() => {
10151
10148
  "cli.option.appendSystemPrompt": "\u5411\u9ED8\u8BA4\u7CFB\u7EDF\u63D0\u793A\u8BCD\u8FFD\u52A0\u5185\u5BB9",
10152
10149
  "cli.option.appendSystemPromptFile": "\u4ECE\u6587\u4EF6\u8BFB\u53D6\u7CFB\u7EDF\u63D0\u793A\u8BCD\u5E76\u8FFD\u52A0\u5230\u9ED8\u8BA4\u7CFB\u7EDF\u63D0\u793A\u8BCD",
10153
10150
  "cli.option.assistant": "\u5F3A\u5236\u4F7F\u7528 assistant \u6A21\u5F0F\uFF08Agent SDK daemon \u4F7F\u7528\uFF09",
10154
- "cli.option.authProvider": "\u4F7F\u7528\u5F53\u524D CoStrict \u767B\u5F55\u6001\u8BA4\u8BC1\u5E02\u573A\u62C9\u53D6\u3002\u4EC5\u652F\u6301 'costrict'\uFF1B\u7531\u672C\u673A CoStrict \u90E8\u7F72\u63D0\u4F9B\u7684 URL \u4F1A\u81EA\u52A8\u8BC6\u522B\u3002",
10155
10151
  "cli.option.authToken": "\u7528\u4E8E\u8BA4\u8BC1\u7684 Bearer token",
10156
10152
  "cli.option.available": "\u5305\u542B\u5E02\u573A\u4E2D\u53EF\u7528\u7684\u63D2\u4EF6",
10157
10153
  "cli.option.bare": "\u7CBE\u7B80\u6A21\u5F0F\uFF1A\u8DF3\u8FC7 hooks\u3001LSP\u3001\u63D2\u4EF6\u540C\u6B65\u3001attribution\u3001\u81EA\u52A8\u8BB0\u5FC6\u3001\u540E\u53F0\u9884\u53D6\u3001keychain \u8BFB\u53D6\u548C CLAUDE.md \u81EA\u52A8\u53D1\u73B0\u3002\u8BBE\u7F6E CLAUDE_CODE_SIMPLE=1\u3002\u8BA4\u8BC1\u4E25\u683C\u4F7F\u7528 ANTHROPIC_API_KEY \u6216\u901A\u8FC7 --settings \u7684 apiKeyHelper\uFF08OAuth \u548C keychain \u4E0D\u4F1A\u88AB\u8BFB\u53D6\uFF09\u3002\u7B2C\u4E09\u65B9 provider\uFF08Bedrock/Vertex/Foundry\uFF09\u4F7F\u7528\u5404\u81EA\u7684\u51ED\u8BC1\u3002\u6280\u80FD\u4ECD\u901A\u8FC7 /skill-name \u89E3\u6790\u3002\u53EF\u901A\u8FC7\u4EE5\u4E0B\u65B9\u5F0F\u663E\u5F0F\u63D0\u4F9B\u4E0A\u4E0B\u6587\uFF1A--system-prompt[-file]\u3001--append-system-prompt[-file]\u3001--add-dir\uFF08CLAUDE.md \u76EE\u5F55\uFF09\u3001--mcp-config\u3001--settings\u3001--agents\u3001--plugin-dir\u3002",
@@ -10378,8 +10374,6 @@ detached \u5F15\u64CE\u6CA1\u6709\u7528\u4E8E\u4EA4\u4E92\u8F93\u5165\u7684\u7EC
10378
10374
  "cli.plugins.invalidMarketplaceSource": "\u65E0\u6548\u7684\u5E02\u573A\u6E90\u683C\u5F0F\u3002\u8BF7\u4F7F\u7528: owner/repo, https://..., \u6216 ./path",
10379
10375
  "cli.plugins.invalidScope": "\u65E0\u6548\u7684\u4F5C\u7528\u57DF '{scope}'\u3002\u8BF7\u4F7F\u7528: user, project \u6216 local",
10380
10376
  "cli.plugins.sparseNotSupported": "--sparse \u4EC5\u652F\u6301 github \u548C git \u5E02\u573A\u6E90\uFF08\u5F97\u5230\u7684\u662F: {source}\uFF09",
10381
- "cli.plugins.invalidAuthProvider": "\u65E0\u6548\u7684\u8BA4\u8BC1\u63D0\u4F9B\u65B9 '{provider}'\u3002\u4EC5\u652F\u6301 'costrict'\u3002",
10382
- "cli.plugins.authProviderNotSupported": "--auth-provider \u4EC5\u652F\u6301 url \u7C7B\u578B\u7684\u5E02\u573A\u6E90\uFF08\u5F97\u5230\u7684\u662F: {source}\uFF09",
10383
10377
  "cli.plugins.addingMarketplace": "\u6B63\u5728\u6DFB\u52A0\u5E02\u573A...",
10384
10378
  "cli.plugins.marketplaceAlreadyOnDisk": "\u5E02\u573A '{name}' \u5DF2\u5B58\u5728\u4E8E\u78C1\u76D8\u4E0A \u2014 \u5DF2\u5728 {scope} \u8BBE\u7F6E\u4E2D\u58F0\u660E",
10385
10379
  "cli.plugins.marketplaceAdded": "\u6210\u529F\u6DFB\u52A0\u5E02\u573A: {name}\uFF08\u5DF2\u5728 {scope} \u8BBE\u7F6E\u4E2D\u58F0\u660E\uFF09",
@@ -87610,7 +87604,7 @@ function isBlockedOfficialName(name) {
87610
87604
  }
87611
87605
  return BLOCKED_OFFICIAL_NAME_PATTERN.test(name);
87612
87606
  }
87613
- var ALLOWED_OFFICIAL_MARKETPLACE_NAMES, NO_AUTO_UPDATE_OFFICIAL_MARKETPLACES, AUTO_UPDATE_THIRD_PARTY_MARKETPLACES, BLOCKED_OFFICIAL_NAME_PATTERN, NON_ASCII_PATTERN, 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, CoStrictAuthProviderSchema, PluginSourceSchema, SettingsMarketplacePluginSchema, PluginMarketplaceEntrySchema, PluginMarketplaceSchema, PluginIdSchema, DEP_REF_REGEX, DependencyRefSchema, SettingsPluginEntrySchema, InstalledPluginSchema, InstalledPluginsFileSchemaV1, PluginScopeSchema, PluginInstallationEntrySchema, InstalledPluginsFileSchemaV2, InstalledPluginsFileSchema, KnownMarketplaceSchema, KnownMarketplacesFileSchema;
87607
+ var ALLOWED_OFFICIAL_MARKETPLACE_NAMES, NO_AUTO_UPDATE_OFFICIAL_MARKETPLACES, AUTO_UPDATE_THIRD_PARTY_MARKETPLACES, BLOCKED_OFFICIAL_NAME_PATTERN, NON_ASCII_PATTERN, 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;
87614
87608
  var init_schemas3 = __esm(() => {
87615
87609
  init_v4();
87616
87610
  init_hooks();
@@ -87817,7 +87811,6 @@ var init_schemas3 = __esm(() => {
87817
87811
  exports_external.object({
87818
87812
  source: exports_external.literal("url"),
87819
87813
  url: exports_external.string().url().describe("Direct URL to marketplace.json file"),
87820
- authProvider: exports_external.literal("costrict").optional().describe("Inject the current CoStrict OAuth token when fetching"),
87821
87814
  headers: exports_external.record(exports_external.string(), exports_external.string()).optional().describe("Custom HTTP headers (e.g., for authentication)")
87822
87815
  }),
87823
87816
  exports_external.object({
@@ -87864,7 +87857,6 @@ var init_schemas3 = __esm(() => {
87864
87857
  }).describe("Inline marketplace manifest defined directly in settings.json. " + "The reconciler writes a synthetic marketplace.json to the cache; " + "diffMarketplaces detects edits via isEqual on the stored source " + "(the plugins array is inside this object, so edits surface as sourceChanged).")
87865
87858
  ]));
87866
87859
  gitSha = lazySchema(() => exports_external.string().length(40).regex(/^[a-f0-9]{40}$/, "Must be a full 40-character lowercase git commit SHA"));
87867
- CoStrictAuthProviderSchema = lazySchema(() => exports_external.literal("costrict").optional().describe("Fetch this source with the current CoStrict identity (private sources only)"));
87868
87860
  PluginSourceSchema = lazySchema(() => exports_external.union([
87869
87861
  RelativePath().describe("Path to the plugin root, relative to the marketplace root (the directory containing .claude-plugin/, not .claude-plugin/ itself)"),
87870
87862
  exports_external.object({
@@ -87883,8 +87875,7 @@ var init_schemas3 = __esm(() => {
87883
87875
  source: exports_external.literal("url"),
87884
87876
  url: exports_external.string().describe("Full git repository URL (https:// or git@)"),
87885
87877
  ref: exports_external.string().optional().describe('Git branch or tag to use (e.g., "main", "v1.0.0"). Defaults to repository default branch.'),
87886
- sha: gitSha().optional().describe("Specific commit SHA to use"),
87887
- authProvider: CoStrictAuthProviderSchema()
87878
+ sha: gitSha().optional().describe("Specific commit SHA to use")
87888
87879
  }),
87889
87880
  exports_external.object({
87890
87881
  source: exports_external.literal("github"),
@@ -87897,8 +87888,7 @@ var init_schemas3 = __esm(() => {
87897
87888
  url: exports_external.string().describe("Git repository: GitHub owner/repo shorthand, https://, or git@ URL"),
87898
87889
  path: exports_external.string().min(1).describe('Subdirectory within the repo containing the plugin (e.g., "tools/claude-plugin"). ' + "Cloned sparsely using partial clone (--filter=tree:0) to minimize bandwidth for monorepos."),
87899
87890
  ref: exports_external.string().optional().describe('Git branch or tag to use (e.g., "main", "v1.0.0"). Defaults to repository default branch.'),
87900
- sha: gitSha().optional().describe("Specific commit SHA to use"),
87901
- authProvider: CoStrictAuthProviderSchema()
87891
+ sha: gitSha().optional().describe("Specific commit SHA to use")
87902
87892
  }).describe("Plugin located in a subdirectory of a larger repository (monorepo). " + "Only the specified subdirectory is materialized; the rest of the repo is not downloaded.")
87903
87893
  ]));
87904
87894
  SettingsMarketplacePluginSchema = lazySchema(() => exports_external.object({
@@ -87917,7 +87907,6 @@ var init_schemas3 = __esm(() => {
87917
87907
  message: 'Plugin name cannot contain spaces. Use kebab-case (e.g., "my-plugin")'
87918
87908
  }).describe("Unique identifier matching the plugin name"),
87919
87909
  source: PluginSourceSchema().describe("Where to fetch the plugin from"),
87920
- authProvider: CoStrictAuthProviderSchema(),
87921
87910
  category: exports_external.string().optional().describe('Category for organizing plugins (e.g., "productivity", "development")'),
87922
87911
  tags: exports_external.array(exports_external.string()).optional().describe("Tags for searchability and discovery"),
87923
87912
  strict: exports_external.boolean().optional().default(true).describe("Require the plugin manifest to be present in the plugin folder. If false, the marketplace entry provides the manifest.")
@@ -138570,7 +138559,7 @@ var init_user = __esm(() => {
138570
138559
  deviceId,
138571
138560
  sessionId: getSessionId(),
138572
138561
  email: getEmail(),
138573
- appVersion: "4.2.27-beta",
138562
+ appVersion: "4.2.27",
138574
138563
  platform: getHostPlatformForAnalytics(),
138575
138564
  organizationUuid,
138576
138565
  accountUuid,
@@ -138857,7 +138846,7 @@ var init_metadata = __esm(() => {
138857
138846
  "sed"
138858
138847
  ]);
138859
138848
  getVersionBase = memoize_default(() => {
138860
- const match = "4.2.27-beta".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
138849
+ const match = "4.2.27".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
138861
138850
  return match ? match[0] : undefined;
138862
138851
  });
138863
138852
  buildEnvContext = memoize_default(async () => {
@@ -138897,9 +138886,9 @@ var init_metadata = __esm(() => {
138897
138886
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
138898
138887
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
138899
138888
  isClaudeAiAuth: isClaudeAISubscriber(),
138900
- version: "4.2.27-beta",
138889
+ version: "4.2.27",
138901
138890
  versionBase: getVersionBase(),
138902
- buildTime: "2026-08-13T02:03:56.338Z",
138891
+ buildTime: "2026-08-13T08:38:48.650Z",
138903
138892
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
138904
138893
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
138905
138894
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -143237,5 +143226,5 @@ export {
143237
143226
  isParentHeartbeatValid
143238
143227
  };
143239
143228
 
143240
- //# debugId=BCA9D4AF4D11B1C564756E2164756E21
143229
+ //# debugId=37609006F3D6B41264756E2164756E21
143241
143230
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.2.27-beta",
3
+ "version": "4.2.27",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",