@modality-counter/core 1.7.1 → 1.7.2

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1270,10 +1270,13 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1270
1270
 
1271
1271
  # METHOD CHAINING BEHAVIOR
1272
1272
  method_chaining:
1273
+ execution_order:
1274
+ default: "Composition (right-to-left): nested '*method' resolves innermost-first \u2014 \`*a '*b xxx'\` runs *b, then feeds its output to *a, like a(b(x))"
1275
+ piped: "Pipeline (left-to-right): \`*a xxx --pipe '*b' --pipe '*c'\` runs *a, pipes its output to *b, then to *c"
1273
1276
  detection_patterns:
1274
- - "When task param starts with '*method-name' \u2192 LLM executes method via tool call (per STEP 1 rule)"
1275
- - "When --chain '*method-name xxx' provided \u2192 chain output as processing input"
1276
- implementation: "LLM detects '*method-name' patterns, executes via tool call (per STEP 1 rule), then chains output as next input"
1277
+ - "Task param contains a nested '*method-name' \u2192 apply execution_order.default"
1278
+ - "--pipe present \u2192 apply execution_order.piped (explicit flag takes precedence when both patterns match)"
1279
+ implementation: "Execute each stage via tool call (per STEP 1 rule), passing each stage's output as the next stage's input in the direction the active execution_order mode defines"
1277
1280
 
1278
1281
  template_integration:
1279
1282
  deployment:
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.1",
2
+ "version": "1.7.2",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",