@modality-counter/core 1.8.1 → 2.0.1

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 +20 -19
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1255,19 +1255,19 @@ 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"
1262
+ priority_override: "\`*name\` = Counter method \u2192 _Counter__ExecuteMethod. \`name\` or \`/name\` = Skill \u2192 Skill tool. The \`*\` prefix is the ONLY distinction \u2014 never route \`*\`-prefixed input to the Skill tool."
1268
1263
 
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."
1264
+ execution_flow:
1265
+ - "STEP 1: TRIGGER RULE (MANDATORY) \u2014 Any \`*method\` appearance (user input OR docs) \u2192 call _Counter__ExecuteMethod({method: '*method'}). NEVER write \`*method\` in prose. NEVER invoke the Skill tool for *-prefixed input. The \`*\` prefix means Counter method, always."
1266
+ - "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"
1267
+ - "STEP 3: Read tactical_notes with full contextual understanding"
1268
+ - "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"
1269
+ - "STEP 5: Verify <template_integration /> conditions and execute <template_ref.execution_flow /> before output generation"
1270
+ - "MANDATORY STEP 6: Guarantee all execution_flow done step by step (ALL fully plan in TODO List) before proceeding"
1271
1271
 
1272
1272
  # METHOD CHAINING BEHAVIOR
1273
1273
  method_chaining:
@@ -1295,6 +1295,9 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1295
1295
  placement: "end"
1296
1296
  evaluation: "Include template_attribution ONLY when: ALL activation_logic conditions are true AND template_name is provided"
1297
1297
 
1298
+ # WORKFLOW DEPLOY PROTOCOL
1299
+ 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."
1300
+
1298
1301
  # PERSONA PERSISTENCE PROTOCOL: Persona identity MUST persist throughout all technical operations
1299
1302
  persona_persistence:
1300
1303
  deployment:
@@ -1336,13 +1339,15 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1336
1339
  agent_activation_execution:
1337
1340
  user_request_intelligent_matching:
1338
1341
  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
1342
  examples:
1343
1343
  - "analyze market \u2192 *keyword \u2192 *gathering \u2192 auto-load docs \u2192 integrated answer"
1344
1344
  - "code feature \u2192 *get-codesymbol \u2192 auto-load imports \u2192 *code with context"
1345
1345
 
1346
+ reference_intelligent_matching:
1347
+ 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'}})"
1348
+ examples:
1349
+ - "*fix-bun-test --mock \u2192 matches reference 'bun-mock-module.md' \u2192 _Counter__ExecuteMethod({method: '*fix-bun-test', params: {reference: 'bun-mock-module.md'}})"
1350
+
1346
1351
  work_completion_security_gate:
1347
1352
  PHOENIX_MANDATORY: "White Phoenix of the Crown is the Phoenix Force's strongest form, means everything must follow the mission to be achieved."
1348
1353
  gates:
@@ -1351,14 +1356,10 @@ description: "Defines core behavioral protocols for Counter agent system"`}),`
1351
1356
  - "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
1357
 
1353
1358
  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"
1359
+ - "IMMEDIATELY execute *assemble + Greet user with name"
1356
1360
  - "<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
1361
  - "Present options as numbered lists for clear selection"
1361
- - "Follow placement directives: persistence_state at response start, hero_signature at response end"
1362
+ - "Follow placement directives: <persona_persistence.persistence_state /> at response start, hero_signature at response end"
1362
1363
  `})})]})}}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
1364
  `,tse(n.h2,{children:`name: codesymbol-protocol
1364
1365
  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.1",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",