@cleocode/caamp 2026.10.5 → 2026.10.6-rc.ci.673

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.
package/dist/index.d.ts CHANGED
@@ -4913,14 +4913,23 @@ interface GlobalInstructionOptions {
4913
4913
  interface SyncGlobalInstructionsOptions extends GlobalInstructionOptions {
4914
4914
  /** Plan the targets without writing. @defaultValue false */
4915
4915
  dryRun?: boolean;
4916
+ /**
4917
+ * The user ran a command whose whole purpose is to write these files
4918
+ * (`caamp instructions update --global`). Without it nothing is written and
4919
+ * the result is `refused`: the files are the owner's, and automatic paths
4920
+ * (npm postinstall, `cleo upgrade`, session start) must never rewrite them
4921
+ * (T13409). @defaultValue false
4922
+ */
4923
+ userRequested?: boolean;
4916
4924
  }
4917
4925
  /**
4918
4926
  * Regenerate every global provider instruction file from its sources.
4919
4927
  *
4920
4928
  * @remarks
4921
- * The single global regenerator (T12377), shared by `cleo install-global`, the
4922
- * npm postinstall, `caamp instructions update --global`, and the automatic
4923
- * refresh at `cleo session start` / `cleo briefing`.
4929
+ * The single global regenerator (T12377). It writes only for a user-run
4930
+ * command that passes `userRequested: true` — today `caamp instructions update
4931
+ * --global`. Every other caller gets `refused` with the planned targets: CLEO's
4932
+ * install, upgrade and session paths never write user-global files (T13409).
4924
4933
  *
4925
4934
  * 1. Resolves {@link GLOBAL_INSTRUCTION_HUB_REFERENCE} into a self-contained,
4926
4935
  * source-stamped delivery. Any defect other than a benign duplicate stops
@@ -4939,7 +4948,7 @@ interface SyncGlobalInstructionsOptions extends GlobalInstructionOptions {
4939
4948
  *
4940
4949
  * @example
4941
4950
  * ```typescript
4942
- * const result = await syncGlobalInstructions();
4951
+ * const result = await syncGlobalInstructions({ userRequested: true });
4943
4952
  * if (result.status === 'unresolved') console.error(result.findings);
4944
4953
  * ```
4945
4954
  *
package/dist/index.js CHANGED
@@ -82,7 +82,7 @@ import {
82
82
  validateRecommendationCriteria,
83
83
  validateSkill,
84
84
  writeConfig
85
- } from "./chunk-E2QFVEIS.js";
85
+ } from "./chunk-YZ5CCUQX.js";
86
86
  import {
87
87
  EmbeddedDeliveryDowngradeError,
88
88
  HITL_REQUEST_FALLBACK,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleocode/caamp",
3
- "version": "2026.10.5",
3
+ "version": "2026.10.6-rc.ci.673",
4
4
  "description": "Central AI Agent Managed Packages - unified provider registry and package manager for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -50,14 +50,14 @@
50
50
  "jsonc-parser": "^3.3.1",
51
51
  "picocolors": "^1.1.1",
52
52
  "simple-git": "3.33.0",
53
- "@cleocode/contracts": "2026.10.5",
54
- "@cleocode/cant": "2026.10.5",
55
- "@cleocode/lafs": "2026.10.5",
56
- "@cleocode/paths": "2026.10.5",
57
- "@cleocode/core": "2026.10.5"
53
+ "@cleocode/cant": "2026.10.6-rc.ci.673",
54
+ "@cleocode/contracts": "2026.10.6-rc.ci.673",
55
+ "@cleocode/core": "2026.10.6-rc.ci.673",
56
+ "@cleocode/lafs": "2026.10.6-rc.ci.673",
57
+ "@cleocode/paths": "2026.10.6-rc.ci.673"
58
58
  },
59
59
  "peerDependencies": {
60
- "@cleocode/core": "2026.10.5"
60
+ "@cleocode/core": "2026.10.6-rc.ci.673"
61
61
  },
62
62
  "peerDependenciesMeta": {
63
63
  "@cleocode/core": {