@pylonsync/sdk 0.4.26 → 0.4.28

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/src/index.ts +13 -0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.4.26",
6
+ "version": "0.4.28",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "types": "./dist/index.d.ts",
package/src/index.ts CHANGED
@@ -1975,6 +1975,19 @@ function agentEntities(): EntityDefinition[] {
1975
1975
  // Owner-scoped by policy, so it never leaks across users.
1976
1976
  streamId: field.string().optional(),
1977
1977
  error: field.string().optional(),
1978
+ // Steering queue: messages sent while a generation was in
1979
+ // flight. The loop drains them at its next turn boundary and
1980
+ // folds them into the transcript in a replayable position.
1981
+ // Writes here deliberately leave updatedAt alone — that column
1982
+ // is the liveness clock the staleness takeover reads.
1983
+ pendingInput: field.json().optional(),
1984
+ // Cooperative cancel. The loop clears it when it acts, and a
1985
+ // new turn's claim clears one left by a generation that died
1986
+ // before honouring it.
1987
+ cancelRequested: field.boolean().optional(),
1988
+ // Cumulative model↔tool round-trips across every invocation of
1989
+ // this run. `maxSteps` bounds one invocation, not this.
1990
+ steps: field.int().optional(),
1978
1991
  createdAt: field.datetime(),
1979
1992
  updatedAt: field.datetime(),
1980
1993
  },