@ccmsg/cli 0.8.1 → 0.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccmsg/cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "The ccmsg daemon, CLI and agent plugins for one instance (= one config home)",
5
5
  "license": "MIT",
6
6
  "author": "kawaz",
@@ -513,10 +513,16 @@ export class Classification {
513
513
  make("system:unknown", { record });
514
514
  return;
515
515
  }
516
- // A turn begins where a person speaks, which is the only place a dump can
517
- // count turns from the harness numbers nothing.
516
+ // What is left is somebody writing to the subject in their own words, and
517
+ // who that can be follows from the standing. A session and a teammate both
518
+ // go on standing and a person can type straight at either, so there it is
519
+ // a person speaking; an errand is written to only by whoever started it,
520
+ // so there the bare words are the parent asking for more.
521
+ //
522
+ // A turn begins where the subject is addressed, which is the only place a
523
+ // dump can count turns from — the harness numbers nothing.
518
524
  this.#turn += 1;
519
- make("message:user:in", { text: said });
525
+ make(this.#subject === "sub" ? "message:parent:in" : "message:user:in", { text: said });
520
526
  }
521
527
 
522
528
  /** A background task reporting, or an agent handing back its answer.