ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      The handshake spec proposes to normalize AI_AGENT before it reports client.env.agent. If merged, three suggested changes for mongosh in packages/logging/src/helpers.ts:

      1. Trim and lowercase the value. AI_AGENT=" true " must report ai_agent, not " true ".
      2. Treat a whitespace-only value as unset. AI_AGENT=" " must report nothing.
      3. Truncate to largest valid UTF-8 prefix of 64 bytes. Do not split a character.

      The variable list and the agent names already match so its only normalization that differs!

      Spec:

            Assignee:
            Unassigned
            Reporter:
            Alex Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: