@ccdd/core 6.4.0 → 6.5.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
@@ -105,7 +105,7 @@ See [Contributing](CONTRIBUTING.md), [the context map](CONTEXT-MAP.md), [detaile
105
105
 
106
106
  [MIT](LICENSE).
107
107
 
108
- **CCDD 6.4.0:** reviewer tool design guide, field-level repair turns, `contains` in schemas, `tools check --critic` prompt sizes, and the Agent Critic `resultCheck`; review identities are unchanged unless a Critic declares `resultCheck`. See the [release notes](docs/releases/v6.4.0.md).
108
+ **CCDD 6.5.0:** opt-in review budgets (`maxToolCalls`, `maxTokens`) and a bounded tool-call record for reviews that end in ERROR; existing review identities are unchanged unless a profile sets a budget. See the [release notes](docs/releases/v6.5.0.md).
109
109
 
110
110
 
111
111
  ### Existing Pi AI API
@@ -1,11 +1,14 @@
1
1
  import type { ArtifactViews, EnvironmentRequirement, ScriptDefinition, JsonSchema } from './tools/contracts.js';
2
2
  /** Public declarations contain data only; discovery never executes code. */
3
+ /** `maxToolCalls` and `maxTokens` are an optional review budget; like timeoutMs they are declared in ccdd.json. */
3
4
  export interface AgentProfile {
4
5
  kind: 'agent';
5
6
  provider: string;
6
7
  model: string;
7
8
  reasoning: string;
8
9
  timeoutMs?: number;
10
+ maxToolCalls?: number;
11
+ maxTokens?: number;
9
12
  }
10
13
  export interface HumanProfile {
11
14
  kind: 'human';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccdd/core",
3
- "version": "6.4.0",
3
+ "version": "6.5.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",