@notation/factory 0.5.0 → 0.5.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runner/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notation/factory",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "author": "Daniel Grant",
5
5
  "license": "MIT",
6
6
  "repository": {
package/runner/index.ts CHANGED
@@ -395,8 +395,8 @@ const refreshTokens = async (run: Run) => {
395
395
  /** The thread's messages that a session has seen: a hash of each one's body, by its id. */
396
396
  type Seen = Record<string, string>;
397
397
 
398
- /** An agent's session in a conversation. `seen` is set once a run has passed it the thread's messages. */
399
- type Session = { id: string; cwd: string; seen?: Seen };
398
+ /** An agent's session in a conversation, with the messages that runs have passed it. */
399
+ type Session = { id: string; cwd: string; seen: Seen };
400
400
 
401
401
  // Each agent in a conversation has its own session, since one runtime
402
402
  // can't resume another's.