@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/{chunk-E2QFVEIS.js → chunk-YZ5CCUQX.js} +26 -10
- package/dist/chunk-YZ5CCUQX.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +13 -4
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/dist/chunk-E2QFVEIS.js.map +0 -1
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)
|
|
4922
|
-
*
|
|
4923
|
-
*
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleocode/caamp",
|
|
3
|
-
"version": "2026.10.
|
|
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/
|
|
54
|
-
"@cleocode/
|
|
55
|
-
"@cleocode/
|
|
56
|
-
"@cleocode/
|
|
57
|
-
"@cleocode/
|
|
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.
|
|
60
|
+
"@cleocode/core": "2026.10.6-rc.ci.673"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
63
63
|
"@cleocode/core": {
|