keyring-agent-core 0.3.4 → 0.3.5

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/dist/index.d.ts CHANGED
@@ -1845,6 +1845,22 @@ declare class Subagent {
1845
1845
  interface RewriteResult {
1846
1846
  /** True if the user message depends on prior turns (pronoun, ellipsis, confirmation, continuation). */
1847
1847
  isFollowUp: boolean;
1848
+ /**
1849
+ * The model's SEMANTIC judgement of the latest message read in isolation:
1850
+ * does it state both an action and what that action applies to, so a reader
1851
+ * with zero access to prior turns understands it?
1852
+ *
1853
+ * This is the primitive `isFollowUp` and `topicChanged` are derived from.
1854
+ * Asking for it separately is what makes the pair reliable: the model used to
1855
+ * answer "is this a follow-up?" by pattern-matching topical similarity to the
1856
+ * previous turn, so a self-contained new intent that reused a token from the
1857
+ * previous turn ("buy usdc" during an add-liquidity flow) came back as a
1858
+ * follow-up and inherited context it never asked for. "Does this sentence
1859
+ * stand alone?" is a question about the sentence only, which the model
1860
+ * answers far more consistently — and it cannot be approximated with a word
1861
+ * list, since the same short reply is elliptical or not depending on meaning.
1862
+ */
1863
+ selfContained: boolean;
1848
1864
  /**
1849
1865
  * The fully-resolved, self-contained version of the user query in the user's
1850
1866
  * language. Equal to the original message when `isFollowUp` is false.