Commit 953b7d1
fix(llmo): align prompt-suggestion triggers with confirmed createSchedule signature
Match the shared drs-client createSchedule contract (confirmed):
- providerIds is an ARRAY (job_config.provider_ids envelope) — pass a
one-element array per single-provider pipeline.
- cadence enum values use underscores: 'twice_monthly' / 'quarterly'
(SCHEDULE_CADENCES); the client derives the cron server-side.
- drop orgId/imsOrgId entirely: DRS derives the tenant-isolation key from
site_id server-side and rejects any caller-supplied imsOrgId, so it must not
be threaded through createSchedule.
- add a length-capped description; priority defaults HIGH in the client.
Also harden the new Phase 3 before-hook with an explicit timeout for cold
esmock module loads.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent dd4d9a3 commit 953b7d1
2 files changed
Lines changed: 32 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
183 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
184 | 189 | | |
185 | | - | |
| 190 | + | |
186 | 191 | | |
187 | 192 | | |
188 | 193 | | |
| |||
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
199 | 208 | | |
200 | 209 | | |
201 | 210 | | |
202 | 211 | | |
203 | 212 | | |
204 | | - | |
205 | | - | |
206 | 213 | | |
207 | 214 | | |
208 | 215 | | |
209 | 216 | | |
210 | 217 | | |
211 | | - | |
| 218 | + | |
212 | 219 | | |
213 | 220 | | |
214 | 221 | | |
| |||
217 | 224 | | |
218 | 225 | | |
219 | 226 | | |
220 | | - | |
| 227 | + | |
| 228 | + | |
221 | 229 | | |
222 | 230 | | |
223 | | - | |
| 231 | + | |
224 | 232 | | |
225 | | - | |
226 | | - | |
| 233 | + | |
227 | 234 | | |
228 | 235 | | |
229 | 236 | | |
| |||
1550 | 1557 | | |
1551 | 1558 | | |
1552 | 1559 | | |
1553 | | - | |
1554 | | - | |
1555 | 1560 | | |
1556 | 1561 | | |
1557 | 1562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5763 | 5763 | | |
5764 | 5764 | | |
5765 | 5765 | | |
5766 | | - | |
| 5766 | + | |
| 5767 | + | |
| 5768 | + | |
| 5769 | + | |
5767 | 5770 | | |
5768 | 5771 | | |
5769 | 5772 | | |
| |||
5784 | 5787 | | |
5785 | 5788 | | |
5786 | 5789 | | |
5787 | | - | |
5788 | | - | |
5789 | 5790 | | |
5790 | 5791 | | |
5791 | 5792 | | |
5792 | 5793 | | |
5793 | 5794 | | |
5794 | 5795 | | |
5795 | 5796 | | |
5796 | | - | |
5797 | | - | |
| 5797 | + | |
| 5798 | + | |
5798 | 5799 | | |
5799 | 5800 | | |
5800 | 5801 | | |
| |||
5804 | 5805 | | |
5805 | 5806 | | |
5806 | 5807 | | |
5807 | | - | |
| 5808 | + | |
| 5809 | + | |
5808 | 5810 | | |
5809 | | - | |
5810 | | - | |
5811 | | - | |
5812 | 5811 | | |
5813 | 5812 | | |
5814 | 5813 | | |
5815 | 5814 | | |
| 5815 | + | |
| 5816 | + | |
| 5817 | + | |
| 5818 | + | |
5816 | 5819 | | |
5817 | 5820 | | |
5818 | 5821 | | |
| |||
5892 | 5895 | | |
5893 | 5896 | | |
5894 | 5897 | | |
5895 | | - | |
| 5898 | + | |
5896 | 5899 | | |
5897 | 5900 | | |
5898 | 5901 | | |
| |||
0 commit comments