@stndrds/schema 1.0.0-alpha.143 → 1.0.0-alpha.145

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.mts CHANGED
@@ -1341,6 +1341,10 @@ interface AgentSession {
1341
1341
  completedAt?: Date;
1342
1342
  expiresAt?: Date;
1343
1343
  archivedAt?: Date;
1344
+ /** Per-actor read marker. Populated by list endpoints when the caller is known. */
1345
+ lastReadAt?: Date;
1346
+ /** Convenience flag: true when session has activity since `lastReadAt` (or never read). */
1347
+ isUnread?: boolean;
1344
1348
  }
1345
1349
  type ToolPartState = "streaming" | "running" | "completed" | "error";
1346
1350
  type AgentMessagePart = {
package/dist/index.d.ts CHANGED
@@ -1341,6 +1341,10 @@ interface AgentSession {
1341
1341
  completedAt?: Date;
1342
1342
  expiresAt?: Date;
1343
1343
  archivedAt?: Date;
1344
+ /** Per-actor read marker. Populated by list endpoints when the caller is known. */
1345
+ lastReadAt?: Date;
1346
+ /** Convenience flag: true when session has activity since `lastReadAt` (or never read). */
1347
+ isUnread?: boolean;
1344
1348
  }
1345
1349
  type ToolPartState = "streaming" | "running" | "completed" | "error";
1346
1350
  type AgentMessagePart = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/schema",
3
- "version": "1.0.0-alpha.143",
3
+ "version": "1.0.0-alpha.145",
4
4
  "description": "Standard schema definitions and utilities",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -131,7 +131,7 @@
131
131
  "expr-eval": "^2.0.2",
132
132
  "libphonenumber-js": "^1.12.31",
133
133
  "zod": "^4.2.1",
134
- "@stndrds/constants": "1.0.0-alpha.143"
134
+ "@stndrds/constants": "1.0.0-alpha.145"
135
135
  },
136
136
  "devDependencies": {
137
137
  "@types/node": "^25.0.3",