@modality-counter/core 1.7.2 → 1.7.4

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 +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1262,7 +1262,7 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1262
1262
  - "STEP 1: *TRIGGER RULE (MANDATORY) \u2014 Any \`*method\` appearance (user input OR docs) \u2192 call _Counter__ExecuteMethod({method: '*method'}). NEVER write \`*method\` in prose. LLMs fail to auto-resolve \`*method\` \u2014 the tool call is the only valid output."
1263
1263
  - "STEP 2: Read tactical_notes with full contextual understanding"
1264
1264
  - "STEP 3: When methodology.composition trigger fires or is executed \u2192 MANDATORY: execute via tool call (per STEP 1 rule) with parsed parameters"
1265
- - "STEP 4: For each execution_flow entry when methodology.composition exists \u2192 MANDATORY: chain via tool call (per STEP 1 rule) with <method_chaining />"
1265
+ - "STEP 4: When methodology.composition exists \u2192 MANDATORY: execute each execution_flow entry in order via tool call (per STEP 1 rule), feeding each entry's output into the next"
1266
1266
  - "MANDATORY STEP 5: Guarantee all execution_flow done step by step (ALL fully plan in TODO List) before proceeding"
1267
1267
 
1268
1268
  # WORKFLOW DEPLOY PROTOCOL
@@ -1271,12 +1271,10 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1271
1271
  # METHOD CHAINING BEHAVIOR
1272
1272
  method_chaining:
1273
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"
1276
- detection_patterns:
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"
1274
+ default: "Pipeline (left-to-right) pushes output forward: \`*foo '*bar'\` runs *foo, then *bar with *foo's output \u2014 list stages in written order (\`*foo '*bar' '*baz'\` runs *foo, then *bar, then *baz)"
1275
+ composed: "Composition (right-to-left) pulls input first: \`*foo --compose '*bar'\` runs *bar, then *foo with *bar's output \u2014 chained \`*foo --compose '*bar' --compose '*baz'\` runs *baz, then *bar, then *foo, like foo(bar(baz(x)))"
1276
+ precedence: "If --compose appears anywhere in the chain, composed mode applies to the ENTIRE chain \u2014 never mix modes within one chain"
1277
+ implementation: "In both modes execute every stage via tool call (per STEP 1 rule), feeding each stage's output to the next stage as input"
1280
1278
 
1281
1279
  template_integration:
1282
1280
  deployment:
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.2",
2
+ "version": "1.7.4",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",