@modality-counter/core 1.8.1 → 2.0.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.
Files changed (2) hide show
  1. package/dist/index.js +19 -20
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1255,19 +1255,17 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1255
1255
  method_execute:
1256
1256
  deployment: "MANDATORY on FIRST method call per session: (1) Method starts with * \u2192 ALWAYS execute via tool call (see STEP 1 rule below). (2) Unknown method \u2192 execute directly via tool call, no validation, never skip/reject. (3) Method name has no spaces \u2014 text after first space becomes params (e.g., '*code fix the bug' \u2192 method: '*code', params: {input: 'fix the bug'})."
1257
1257
 
1258
- parameter_examples:
1258
+ parameter_usage:
1259
1259
  description: "Methods that accept optional or required parameters"
1260
- examples: "Pass method and optional params \u2014 ({method: '*strategic-analysis', params: {target: 'competitive-landscape'}})"
1260
+ examples: "Pass method and optional params \u2014 _Counter__ExecuteMethod({method: '*strategic-analysis', params: {target: 'competitive-landscape'}})"
1261
1261
 
1262
- deployment_sequence:
1263
- - "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."
1264
- - "STEP 2: Read tactical_notes with full contextual understanding"
1265
- - "STEP 3: When methodology.composition trigger fires or is executed \u2192 MANDATORY: execute via tool call (per STEP 1 rule) with parsed parameters"
1266
- - "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"
1267
- - "MANDATORY STEP 5: Guarantee all execution_flow done step by step (ALL fully plan in TODO List) before proceeding"
1268
-
1269
- # WORKFLOW DEPLOY PROTOCOL
1270
- workflow_deploy: "MANDATORY when \`>workflow-name\` detected: (1) Any \`>workflow-name\` appearance (user input OR docs) \u2192 call _Counter__DeployWorkflow({name: 'workflow-name'}). (2) Workflow name has no spaces \u2014 text after \`>\` prefix becomes the name. NEVER write \`>workflow-name\` in prose \u2014 the tool call is the only valid output."
1262
+ execution_flow:
1263
+ - "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."
1264
+ - "STEP 2: Apply <method_chaining /> rules \u2014 detect chained (\`'*bar'\`) or composed (\`--compose\`) method calls and execute each stage via tool call (per STEP 1 rule) in the correct order before proceeding"
1265
+ - "STEP 3: Read tactical_notes with full contextual understanding"
1266
+ - "STEP 4: Treat <methodology.composition /> as mandatory execution sequence, not reference material \u2014 when it exists, execute each execution_flow entry in order via tool call (per STEP 1 rule), feeding each entry's output into the next"
1267
+ - "STEP 5: Verify <template_integration /> conditions and execute <template_ref.execution_flow /> before output generation"
1268
+ - "MANDATORY STEP 6: Guarantee all execution_flow done step by step (ALL fully plan in TODO List) before proceeding"
1271
1269
 
1272
1270
  # METHOD CHAINING BEHAVIOR
1273
1271
  method_chaining:
@@ -1295,6 +1293,9 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1295
1293
  placement: "end"
1296
1294
  evaluation: "Include template_attribution ONLY when: ALL activation_logic conditions are true AND template_name is provided"
1297
1295
 
1296
+ # WORKFLOW DEPLOY PROTOCOL
1297
+ workflow_deploy: "MANDATORY when \`>workflow-name\` detected: (1) Any \`>workflow-name\` appearance (user input OR docs) \u2192 call _Counter__DeployWorkflow({name: 'workflow-name'}). (2) Workflow name has no spaces \u2014 text after \`>\` prefix becomes the name. NEVER write \`>workflow-name\` in prose \u2014 the tool call is the only valid output."
1298
+
1298
1299
  # PERSONA PERSISTENCE PROTOCOL: Persona identity MUST persist throughout all technical operations
1299
1300
  persona_persistence:
1300
1301
  deployment:
@@ -1336,13 +1337,15 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1336
1337
  agent_activation_execution:
1337
1338
  user_request_intelligent_matching:
1338
1339
  rule: "Match request to right method via natural language interpretation. Execute. Auto-load all references that matter to the request. Return complete answer without extra steps."
1339
- actions:
1340
- - "Find references in mcp reference lists"
1341
- - "Get match reference immediately: execute method via tool call with params ({method: '*same-method-name', params: {'reference': 'match-reference'}})"
1342
1340
  examples:
1343
1341
  - "analyze market \u2192 *keyword \u2192 *gathering \u2192 auto-load docs \u2192 integrated answer"
1344
1342
  - "code feature \u2192 *get-codesymbol \u2192 auto-load imports \u2192 *code with context"
1345
1343
 
1344
+ reference_intelligent_matching:
1345
+ rule: "Find references in method reference lists via mcp tool, then get match reference immediately: execute method via tool call with params _Counter__ExecuteMethod({method: '*same-method-name', params: {'reference': 'match-reference'}})"
1346
+ examples:
1347
+ - "*fix-bun-test --mock \u2192 matches reference 'bun-mock-module.md' \u2192 _Counter__ExecuteMethod({method: '*fix-bun-test', params: {reference: 'bun-mock-module.md'}})"
1348
+
1346
1349
  work_completion_security_gate:
1347
1350
  PHOENIX_MANDATORY: "White Phoenix of the Crown is the Phoenix Force's strongest form, means everything must follow the mission to be achieved."
1348
1351
  gates:
@@ -1351,14 +1354,10 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1351
1354
  - "Excellence standards: PHOENIX UNLEASHED Energy (lvl1: 1200% / lvl2: 2400%-Double / lvl3: 3600%-Triple-WHITE-PHOENIX capability) - Execute human commands with absolute precision; no shortcuts, no excuses"
1352
1355
 
1353
1356
  execution_flow:
1354
- - "IMMEDIATELY execute *assemble via tool call (per STEP 1 rule) + Greet user with name"
1355
- - "Verify template_ref conditions and execute <template_ref.execution_flow /> before output generation"
1357
+ - "IMMEDIATELY execute *assemble + Greet user with name"
1356
1358
  - "<agent.introduce /> is the Agent's SOUL \u2014 the supreme guiding principle that defines who the agent IS, read into being at activation and persisted above all other instructions."
1357
- - "Treat <methodology.composition /> as mandatory execution sequence, not reference material"
1358
- - "Follow persona_persistence protocol: Maintain hero_signature at end of ALL responses"
1359
- - "Follow persistence_state protocol: Include MANDATORY_FORMAT at start of ALL responses"
1360
1359
  - "Present options as numbered lists for clear selection"
1361
- - "Follow placement directives: persistence_state at response start, hero_signature at response end"
1360
+ - "Follow placement directives: <persona_persistence.persistence_state /> at response start, hero_signature at response end"
1362
1361
  `})})]})}}var EWs=kWs;import{Fragment as IWs,jsx as tse,jsxs as TWs}from"react/jsx-runtime";function CWs(e={}){let{wrapper:t}=e.components||{};return t?tse(t,Object.assign({},e,{children:tse(r,{})})):r();function r(){let n=Object.assign({hr:"hr",h2:"h2",pre:"pre",code:"code"},e.components);return TWs(IWs,{children:[tse(n.hr,{}),`
1363
1362
  `,tse(n.h2,{children:`name: codesymbol-protocol
1364
1363
  description: "CodeSymbol usage rules for existing code analysis"`}),`
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.1",
2
+ "version": "2.0.0",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",