@modality-counter/core 1.7.1 → 1.7.3

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 -5
  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
@@ -1270,10 +1270,10 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1270
1270
 
1271
1271
  # METHOD CHAINING BEHAVIOR
1272
1272
  method_chaining:
1273
- 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"
1273
+ 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)"
1274
+ 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)))"
1275
+ precedence: "If --compose appears anywhere in the chain, composed mode applies to the ENTIRE chain \u2014 never mix modes within one chain"
1276
+ 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"
1277
1277
 
1278
1278
  template_integration:
1279
1279
  deployment:
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.1",
2
+ "version": "1.7.3",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",