@ccdd/core 3.0.0 → 3.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hyukjin LIM
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -68,7 +68,9 @@ Artifact types act as plugin slots through explicit registration. Importing a to
68
68
 
69
69
  ## Try your first review
70
70
 
71
- You need **Node.js 24 or later**. For published packages, install:
71
+ CCDD supports **Node.js 22 LTS (22.19.0 or later)**. Use the latest patch of a supported LTS release.
72
+
73
+ For published packages, install:
72
74
 
73
75
  ```sh
74
76
  npm install --ignore-scripts @ccdd/core @ccdd/project
@@ -115,3 +117,7 @@ An optional local monitor shows current-input checks and saved reviews. Start it
115
117
  | `@ccdd/default-tools` | Optional ready-made Artifact tools. |
116
118
 
117
119
  The repository, examples, CLI, monitor, and built-in review instructions use English. See [Contributing](CONTRIBUTING.md) for setup and checks, [the context map](CONTEXT-MAP.md) for architecture, and [release instructions](docs/releases.md) for packaging and publication.
120
+
121
+ ## License
122
+
123
+ Licensed under the [MIT License](LICENSE).
@@ -10,7 +10,7 @@ In a full Run, both group Critics must wait for the image review to pass because
10
10
 
11
11
  ## Running the example
12
12
 
13
- Install the three v3.0.0 packages on Node 24 or later. The following command works after npm publication; before that, use the local source build below. Start in the CCDD source repository and copy the example into a new project outside it.
13
+ Install the three v3.1.0 packages on Node 22 LTS (22.19.0 or later). The following command works after npm publication; before that, use the local source build below. Start in the CCDD source repository and copy the example into a new project outside it.
14
14
 
15
15
  ```sh
16
16
  CCDD_EXAMPLE_ROOT=$(mktemp -d /tmp/ccdd-groups.XXXXXX)
@@ -18,7 +18,7 @@ cp -R examples/artifact-groups "$CCDD_EXAMPLE_ROOT/project"
18
18
  cd "$CCDD_EXAMPLE_ROOT/project"
19
19
  npm init -y
20
20
  npm pkg set type=module
21
- npm install --ignore-scripts @ccdd/core@3.0.0 @ccdd/project@3.0.0 @ccdd/default-tools@3.0.0
21
+ npm install --ignore-scripts @ccdd/core@3.1.0 @ccdd/project@3.1.0 @ccdd/default-tools@3.1.0
22
22
 
23
23
  # Check group member tool readiness without calling a Provider.
24
24
  npx ccdd tools check --artifact explosion --for agent
@@ -2,7 +2,7 @@
2
2
 
3
3
  This example directly registers `{ metadata, execute }` without the default tool library. `customTextReader()` creates a definition; actual file reading occurs when an Agent calls `read_spec` or `read_why`.
4
4
 
5
- Each project must include its own dependencies. Copy this folder into a new project outside the repository, then install core and Project. The commands below work after npm v3.0.0 publication; before that, use the local tarballs described below. The example is included in the source repository and the core package's `examples/custom-text-reader`. It does not rely on CCDD installed in a parent repository.
5
+ Each project must include its own dependencies. Copy this folder into a new project outside the repository, then install core and Project. The commands below work after npm v3.1.0 publication; before that, use the local tarballs described below. The example is included in the source repository and the core package's `examples/custom-text-reader`. It does not rely on CCDD installed in a parent repository.
6
6
 
7
7
  ```sh
8
8
  # Copy the example from the CCDD source repository.
@@ -10,13 +10,13 @@ cp -R examples/custom-text-reader /tmp/ccdd-custom-reader
10
10
  cd /tmp/ccdd-custom-reader
11
11
  npm init -y
12
12
  npm pkg set type=module
13
- npm install --ignore-scripts @ccdd/core@3.0.0 @ccdd/project@3.0.0
13
+ npm install --ignore-scripts @ccdd/core@3.1.0 @ccdd/project@3.1.0
14
14
  npx ccdd tools check --artifact spec --for agent --tool read
15
15
  npx ccdd tools check --artifact spec --for agent --tool read --execute --args '{"startLine":1,"lineCount":20}'
16
16
  npx ccdd run --copy --critic spec-why --codex-auth-file "$HOME/.codex/auth.json" --wait
17
17
  ```
18
18
 
19
- This example installs core and Project without the default tool library. Alternatively, in the source repository run `npm run release:npm -- --commit <40-character SHA> --dry-run` to verify and generate matching `ccdd-core-3.0.0.tgz` and `ccdd-project-3.0.0.tgz` files, then install with `npm install --ignore-scripts <core.tgz> <project.tgz>`. This local verification requires no GitHub authentication. If CCDD is already installed, change the first `cp` source to `node_modules/@ccdd/core/examples/custom-text-reader`.
19
+ This example installs core and Project without the default tool library. Alternatively, in the source repository run `npm run release:npm -- --commit <40-character SHA> --dry-run` to verify and generate matching `ccdd-core-3.1.0.tgz` and `ccdd-project-3.1.0.tgz` files, then install with `npm install --ignore-scripts <core.tgz> <project.tgz>`. This local verification requires no GitHub authentication. If CCDD is already installed, change the first `cp` source to `node_modules/@ccdd/core/examples/custom-text-reader`.
20
20
 
21
21
  The tool omits `preflight`. The default check distinguishes confirmed registration from unverified execution; `--execute` actually reads the file. Agent review requires valid Provider authentication.
22
22
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@ccdd/core",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
+ "license": "MIT",
4
5
  "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" },
5
6
  "repository": { "type": "git", "url": "git+https://github.com/lhj6102/ccdd.git" },
6
7
  "description": "Artifact, Critic, relationship and tool definitions for CCDD",
@@ -9,7 +10,7 @@
9
10
  "exports": { ".": { "types": "./dist/src/sdk.d.ts", "import": "./dist/src/sdk.js" } },
10
11
  "workspaces": ["packages/default-tools", "packages/project"],
11
12
  "engines": {
12
- "node": ">=24"
13
+ "node": "^22.19.0"
13
14
  },
14
15
  "scripts": {
15
16
  "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",
@@ -33,6 +34,7 @@
33
34
  "dist/src/sdk.*",
34
35
  "dist/src/definitions.*",
35
36
  "dist/src/tools/contracts.*",
37
+ "LICENSE",
36
38
  "README.md",
37
39
  "examples/"
38
40
  ],
@@ -45,7 +47,7 @@
45
47
  "elkjs": "0.12.0",
46
48
  "typebox": "1.3.7",
47
49
  "vue": "3.5.42",
48
- "@types/node": "24.13.3",
50
+ "@types/node": "22.20.2",
49
51
  "@vitejs/plugin-vue": "6.0.8",
50
52
  "typescript": "7.0.2",
51
53
  "typescript-ui": "npm:typescript@6.0.3",