@deepagents/context 0.37.1 → 0.38.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.
package/README.md CHANGED
@@ -185,7 +185,7 @@ Builder functions for user-specific context:
185
185
  - Tagged encoding: `<system-reminder>...</system-reminder>`
186
186
  - Appended to the end of message text or parts
187
187
 
188
- `reminder(..., { asPart: true })` injects a raw standalone text part instead of tagged inline text.
188
+ Part mode (`asPart` set to true) injects a raw standalone text part instead of tagged inline text.
189
189
 
190
190
  When reminders are present, `user(...)` appends metadata to `message.metadata.reminders`:
191
191
 
package/dist/browser.js CHANGED
@@ -1967,7 +1967,7 @@ function reminder(textOrFragment, options) {
1967
1967
  if (typeof text === "string") {
1968
1968
  assertReminderText(text);
1969
1969
  }
1970
- const asPart = options?.asPart ?? fromFragment2;
1970
+ const asPart = options?.asPart ?? false;
1971
1971
  if (options && "when" in options && options.when) {
1972
1972
  return {
1973
1973
  name: "reminder",