@ccdd/core 6.0.2 → 6.2.0

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/README.md CHANGED
@@ -40,10 +40,11 @@ These relationships define required input, verification and default dependency-G
40
40
  Use Node.js 22 LTS, version 22.19.0 or later.
41
41
 
42
42
  ```sh
43
- npm install --ignore-scripts @ccdd/core@6.0.2 @ccdd/project@6.0.2
43
+ npm install --ignore-scripts @ccdd/ccdd
44
+ # or: pnpm add --ignore-scripts @ccdd/ccdd
44
45
  ```
45
46
 
46
- This single command installs the definitions and Project runtime, including their dependencies. Common view tools are optional and installed separately; see [installation choices](docs/getting-started.md#installation-choices).
47
+ The single public package installs exact matching core, Project and default-tools modules as normal dependencies. Its `ccdd`, `ccdd-project` and `ccdd-view` commands delegate to those modules. Use `@ccdd/ccdd/core`, `/project` and `/tools` imports; see [installation choices](docs/getting-started.md#installation-choices).
47
48
 
48
49
  Inside an Artifact folder, create `ccdd.json`:
49
50
 
@@ -92,6 +93,7 @@ The optional local monitor shows folders, relationships, cycles, review progress
92
93
 
93
94
  | Package | Responsibility |
94
95
  | --- | --- |
96
+ | `@ccdd/ccdd` | Single-install entrypoint, public module subpaths and CLI delegates. |
95
97
  | `@ccdd/core` | Public definitions and logical path resolution. |
96
98
  | `@ccdd/project` | Validation, CLI, Broker, Executors and monitor. |
97
99
  | `@ccdd/default-tools` | Optional common view scripts; no automatic registration. |
@@ -102,4 +104,26 @@ See [Contributing](CONTRIBUTING.md), [the context map](CONTEXT-MAP.md), [detaile
102
104
 
103
105
  [MIT](LICENSE).
104
106
 
105
- **CCDD 6.0.2:** corrects installation guides and npm package READMEs to use matching current packages. Runtime behavior, identity rules and state format are unchanged. See the [release notes](docs/releases/v6.0.2.md); upgrades from before 6.0 still require the [6.0 migration guide](docs/migration-v6.md).
107
+ **CCDD 6.2.0:** install `@ccdd/ccdd` once for the existing CCDD modules and use unchanged Pi AI APIs through public subpaths. See the [release notes](docs/releases/v6.2.0.md). This release adds no new authentication CLI, store or policy; existing review behavior and format-6 evidence remain unchanged.
108
+
109
+
110
+ ### Existing Pi AI API
111
+
112
+ `@ccdd/ccdd/pi` re-exports Pi AI unchanged; `@ccdd/ccdd/pi/providers/all`
113
+ re-exports its public `builtinModels` and `builtinProviders` catalog API. These
114
+ are ESM and type forwards, not a new authentication manager or coding agent.
115
+ The umbrella declares Pi AI directly, so both paths work under strict pnpm.
116
+
117
+ The existing official CLI remains `npx @earendil-works/pi-ai@0.87.1 list` and
118
+ `npx @earendil-works/pi-ai@0.87.1 login [provider]`. Its current CLI lists/logs
119
+ in OAuth providers and saves `auth.json` in the current directory; use it only
120
+ from an appropriate private directory outside reviewed input. API-key login
121
+ is available through Pi's library API, not that OAuth-only CLI. These exports
122
+ do not create new CCDD login commands, persistence or credential precedence.
123
+
124
+ ## Review resources and budgets
125
+
126
+ Machine-wide provider pools, weighted owner identities, submission execution
127
+ budgets, original runtime provenance and guarded offline load checks share one
128
+ review-management contract. See [the guide](docs/review-management.md), including
129
+ the required old-worker shutdown and option migration.
@@ -39,12 +39,18 @@ export type StaleStrategy = {
39
39
  script: ScriptDefinition;
40
40
  inputs?: string[];
41
41
  timeoutMs?: number;
42
+ weight?: number;
42
43
  };
44
+ export interface ReviewPolicy {
45
+ dependencyGates?: 'green' | 'ignore';
46
+ maxConcurrentExecutors?: number;
47
+ }
43
48
  export interface ArtifactManifest {
44
49
  name: string;
45
50
  critics?: CriticDefinition[];
46
51
  views?: ArtifactViews;
47
52
  mounts?: Record<string, string>;
53
+ reviewPolicy?: ReviewPolicy;
48
54
  basis?: boolean;
49
55
  stale?: StaleStrategy;
50
56
  envRequirements?: Record<string, EnvironmentRequirement>;
@@ -56,6 +62,7 @@ export interface ArtifactDefinition {
56
62
  mounts: Record<string, string>;
57
63
  /** Nearest marked descendants, indexed by their physical relative paths. */
58
64
  children: Record<string, string>;
65
+ reviewPolicy?: ReviewPolicy;
59
66
  basis?: boolean;
60
67
  stale?: StaleStrategy;
61
68
  envRequirements?: Record<string, EnvironmentRequirement>;
@@ -66,6 +66,8 @@ export interface ScriptToolContext {
66
66
  tmpDir: string;
67
67
  /** Canonical paths and logical connections for this review's allowed scope. */
68
68
  scope: ArtifactScope;
69
+ /** Declared workspace-relative runtime paths mapped to pinned bytes for this attempt. */
70
+ executionPaths?: Record<string, string>;
69
71
  }
70
72
  export interface ScriptToolRequest {
71
73
  version: 1;
@@ -9,4 +9,4 @@ ccdd-project verify checkout --human-inbox
9
9
  ccdd-project monitor
10
10
  ```
11
11
 
12
- Run these commands from this directory after installing `@ccdd/core` and `@ccdd/project`. Submit the Human verdict explicitly through the monitor. Scenario files, the manifest and the shared script determine input identity. Output belongs in `context.outputDir`, outside the supplied workspace. Parameter combinations that generate Artifact declarations are not supported in version 4.
12
+ Run these commands from this directory after installing `@ccdd/ccdd`. Submit the Human verdict explicitly through the monitor. Scenario files, the manifest and the shared script determine input identity. Output belongs in `context.outputDir`, outside the supplied workspace. Parameter combinations that generate Artifact declarations are not supported in version 4.
@@ -2,7 +2,7 @@
2
2
 
3
3
  `why/ccdd.json` declares an explicit basis. `spec/ccdd.json` owns its alignment Critic and reader. The instruction `{why}` derives the dependency; no `target`, `deps`, type registry or config factory is needed.
4
4
 
5
- Install `@ccdd/core` and `@ccdd/project` in this example directory. The custom `view.mjs` requires only Node; default tools are optional.
5
+ Install `@ccdd/ccdd` in this example directory. The custom `view.mjs` requires only Node; default tools are optional.
6
6
 
7
7
  ```sh
8
8
  ccdd-project config check
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdd/core",
3
- "version": "6.0.2",
3
+ "version": "6.2.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -21,13 +21,14 @@
21
21
  },
22
22
  "workspaces": [
23
23
  "packages/default-tools",
24
- "packages/project"
24
+ "packages/project",
25
+ "packages/ccdd"
25
26
  ],
26
27
  "engines": {
27
28
  "node": "^22.19.0"
28
29
  },
29
30
  "scripts": {
30
- "build": "node scripts/clean-build.mjs && npm run build:core && npm run build:tools && node node_modules/typescript/bin/tsc -p tsconfig.json && npm run build:ui && npm run build:project",
31
+ "build": "node scripts/clean-build.mjs && npm run build:core && npm run build:tools && node node_modules/typescript/bin/tsc -p tsconfig.json && npm run build:ui && npm run build:project && npm run build:umbrella",
31
32
  "build:core": "node node_modules/typescript/bin/tsc -p tsconfig.runtime.json",
32
33
  "build:tools": "npm run build --workspace @ccdd/default-tools",
33
34
  "build:project": "node scripts/build-project.mjs",
@@ -41,7 +42,8 @@
41
42
  "release": "node scripts/local-release.mjs",
42
43
  "release:npm": "node scripts/local-release.mjs --npm",
43
44
  "release:npm:check": "node scripts/check-npm.mjs",
44
- "demo:prepare": "npm run build && node dist/src/cli.js prepare-demo"
45
+ "demo:prepare": "npm run build && node dist/src/cli.js prepare-demo",
46
+ "build:umbrella": "npm run build --workspace @ccdd/ccdd"
45
47
  },
46
48
  "files": [
47
49
  "dist/src/sdk.*",
@@ -53,8 +55,8 @@
53
55
  "examples/"
54
56
  ],
55
57
  "devDependencies": {
56
- "@earendil-works/pi-agent-core": "0.85.1",
57
- "@earendil-works/pi-ai": "0.85.1",
58
+ "@earendil-works/pi-agent-core": "0.87.1",
59
+ "@earendil-works/pi-ai": "0.87.1",
58
60
  "@lucide/vue": "1.41.0",
59
61
  "@vue-flow/background": "1.3.2",
60
62
  "@vue-flow/core": "1.48.2",
@@ -66,6 +68,7 @@
66
68
  "typescript": "7.0.2",
67
69
  "typescript-ui": "npm:typescript@6.0.3",
68
70
  "vite": "8.2.2",
69
- "vue-tsc": "3.3.11"
71
+ "vue-tsc": "3.3.11",
72
+ "pnpm": "10.30.2"
70
73
  }
71
74
  }