@haneinfo/assignment 0.3.0 → 0.4.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.
package/README.md CHANGED
@@ -19,3 +19,11 @@ SELECT DISTINCT instance_id, assignee_id, 'ASSIGNED'
19
19
  FROM assignment_tasks
20
20
  ON CONFLICT (instance_id, user_id) DO NOTHING;
21
21
  ```
22
+
23
+ ## Date comparisons
24
+
25
+ GT/GTE/LT/LTE compare numbers, valid calendar dates (YYYY-MM-DD), or timezone-qualified datetimes
26
+ (YYYY-MM-DDTHH:mm:ss with optional fractional seconds and Z or +/-HH:mm). Both operands must have
27
+ the same category. Dates use calendar order; datetimes compare UTC instants at millisecond precision.
28
+ Invalid dates, mixed categories and empty operands yield false. EQ/NEQ/IN retain strict scalar equality;
29
+ matching instants with different textual offsets are still unequal for those operators.
package/agent-guide.md CHANGED
@@ -132,3 +132,11 @@ SELECT DISTINCT instance_id, assignee_id, 'ASSIGNED'
132
132
  FROM assignment_tasks
133
133
  ON CONFLICT (instance_id, user_id) DO NOTHING;
134
134
  ```
135
+
136
+ ## Date comparisons
137
+
138
+ GT/GTE/LT/LTE compare numbers, valid calendar dates (YYYY-MM-DD), or timezone-qualified datetimes
139
+ (YYYY-MM-DDTHH:mm:ss with optional fractional seconds and Z or +/-HH:mm). Both operands must have
140
+ the same category. Dates use calendar order; datetimes compare UTC instants at millisecond precision.
141
+ Invalid dates, mixed categories and empty operands yield false. EQ/NEQ/IN retain strict scalar equality;
142
+ matching instants with different textual offsets are still unequal for those operators.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haneinfo/assignment",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "description": "Assignment mechanism: Assignment definitions (who must respond when a state machine enters a state) and the task runtime, registered with @haneinfo/definition-registry.",
6
6
  "files": [
@@ -38,13 +38,13 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "dependencies": {
41
- "@haneinfo/plugin-api": "1.10.0",
42
- "@haneinfo/form": "0.2.3"
41
+ "@haneinfo/plugin-api": "1.11.0",
42
+ "@haneinfo/form": "0.3.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@haneinfo/common": "^0.3.4",
46
46
  "@haneinfo/definition-registry": "^0.1.0",
47
- "@haneinfo/state-machine": "^0.6.0",
47
+ "@haneinfo/state-machine": "^0.6.0 || ^0.7.0",
48
48
  "@haneinfo/plugin-host-nest": "^2.0.0",
49
49
  "@nestjs/common": "^11.0.0",
50
50
  "@nestjs/core": "^11.0.0",
@@ -64,11 +64,11 @@
64
64
  "typescript": "^5.9.3",
65
65
  "vitest": "^4.1.11",
66
66
  "zod": "^4.4.0",
67
- "@haneinfo/state-machine": "0.6.0",
68
- "@haneinfo/definition-registry": "0.1.5",
67
+ "@haneinfo/definition-registry": "0.1.6",
69
68
  "@haneinfo/common": "0.3.4",
70
- "@haneinfo/plugin-host-nest": "2.1.0",
71
- "@haneinfo/plugin-testkit": "2.3.0"
69
+ "@haneinfo/state-machine": "0.7.1",
70
+ "@haneinfo/plugin-testkit": "2.3.0",
71
+ "@haneinfo/plugin-host-nest": "2.1.0"
72
72
  },
73
73
  "license": "UNLICENSED",
74
74
  "publishConfig": {