@aidenhq/sdk 0.5.20 → 0.5.21

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
@@ -26,3 +26,7 @@ without a version bump (services import the published package, so an unpublished
26
26
  A change to the SDK lands in two steps: the PR that changes it and bumps the version; then, once it is published, the PRs that
27
27
  move each consumer's pin (`bun add --exact @aidenhq/sdk@X.Y.Z` in its folder). A consumer's PR never depends on an SDK change that
28
28
  is not yet on npm.
29
+
30
+ Test the consumers before opening the SDK PR, so one release carries everything they need: `bun pm pack` here, then
31
+ `bun add ../../kernel/sdk/aidenhq-sdk-X.Y.Z.tgz` (the relative path to the tarball) in each consumer you change, run its tests, and
32
+ revert that dependency change and delete the tarball before committing (the copies `scripts/sync-shared.ts` writes still land with the SDK change).
@@ -40,6 +40,8 @@ export type StateRow = TaskState & {
40
40
  origin: string | null;
41
41
  holder_name?: string;
42
42
  holder_gone?: true;
43
+ /** When the task's last idle wake ended (bound, dropped or covered); with it the idle sweep re-fires a `history_expired` task whose own `since` never moves. */
44
+ swept_since?: string;
43
45
  };
44
46
  export type StateRead = {
45
47
  as_of: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidenhq/sdk",
3
- "version": "0.5.20",
3
+ "version": "0.5.21",
4
4
  "description": "The shared code of AidenHQ modules: contract types, engine IO, the caller check and fence, write executors, the reviewer side, the judges' models and call, the source writer and the vendor MCP pass-through.",
5
5
  "license": "MIT",
6
6
  "repository": {