@happyvertical/smrt-agents 0.46.0 → 0.47.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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +92 -2
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +37 -15
- package/dist/migrations/agent-schedule-slugs.d.ts +30 -0
- package/dist/migrations/agent-schedule-slugs.d.ts.map +1 -0
- package/dist/smrt-knowledge.json +223 -28
- package/package.json +18 -17
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-agents",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.47.1",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-agents:Agent": {
|
|
8
8
|
"name": "agent",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"name": "loadConfigs",
|
|
88
88
|
"async": true,
|
|
89
89
|
"parameters": [],
|
|
90
|
-
"returnType": "Promise<Map<string, Record<string>>>",
|
|
90
|
+
"returnType": "Promise<Map<string, Record<string, unknown>>>",
|
|
91
91
|
"isStatic": false,
|
|
92
92
|
"isPublic": true
|
|
93
93
|
},
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"name": "data",
|
|
105
|
-
"type": "Record<string>",
|
|
105
|
+
"type": "Record<string, unknown>",
|
|
106
106
|
"optional": false
|
|
107
107
|
}
|
|
108
108
|
],
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"optional": false
|
|
121
121
|
}
|
|
122
122
|
],
|
|
123
|
-
"returnType": "Promise<Record<string>>",
|
|
123
|
+
"returnType": "Promise<Record<string, unknown>>",
|
|
124
124
|
"isStatic": false,
|
|
125
125
|
"isPublic": true
|
|
126
126
|
},
|
|
@@ -131,10 +131,13 @@
|
|
|
131
131
|
{
|
|
132
132
|
"name": "options",
|
|
133
133
|
"type": "object",
|
|
134
|
-
"optional": true
|
|
134
|
+
"optional": true,
|
|
135
|
+
"memberTypes": [
|
|
136
|
+
"boolean"
|
|
137
|
+
]
|
|
135
138
|
}
|
|
136
139
|
],
|
|
137
|
-
"returnType": "Promise<Record<string>>",
|
|
140
|
+
"returnType": "Promise<Record<string, unknown>>",
|
|
138
141
|
"isStatic": false,
|
|
139
142
|
"isPublic": true
|
|
140
143
|
},
|
|
@@ -152,7 +155,7 @@
|
|
|
152
155
|
"parameters": [
|
|
153
156
|
{
|
|
154
157
|
"name": "_payload",
|
|
155
|
-
"type": "
|
|
158
|
+
"type": "unknown",
|
|
156
159
|
"optional": false
|
|
157
160
|
},
|
|
158
161
|
{
|
|
@@ -185,7 +188,7 @@
|
|
|
185
188
|
"name": "initialize",
|
|
186
189
|
"async": true,
|
|
187
190
|
"parameters": [],
|
|
188
|
-
"returnType": "Promise",
|
|
191
|
+
"returnType": "Promise<this>",
|
|
189
192
|
"isStatic": false,
|
|
190
193
|
"isPublic": true
|
|
191
194
|
},
|
|
@@ -392,7 +395,7 @@
|
|
|
392
395
|
"optional": false
|
|
393
396
|
}
|
|
394
397
|
],
|
|
395
|
-
"returnType": "Promise<Map<string, Record<string>>>",
|
|
398
|
+
"returnType": "Promise<Map<string, Record<string, unknown>>>",
|
|
396
399
|
"isStatic": true,
|
|
397
400
|
"isPublic": true
|
|
398
401
|
},
|
|
@@ -411,7 +414,7 @@
|
|
|
411
414
|
"optional": false
|
|
412
415
|
}
|
|
413
416
|
],
|
|
414
|
-
"returnType": "Promise<Map<string, Map<string, Record<string>>>>",
|
|
417
|
+
"returnType": "Promise<Map<string, Map<string, Record<string, unknown>>>>",
|
|
415
418
|
"isStatic": true,
|
|
416
419
|
"isPublic": true
|
|
417
420
|
},
|
|
@@ -435,7 +438,7 @@
|
|
|
435
438
|
"optional": false
|
|
436
439
|
}
|
|
437
440
|
],
|
|
438
|
-
"returnType": "Promise<Record<string> | undefined>",
|
|
441
|
+
"returnType": "Promise<Record<string, unknown> | undefined>",
|
|
439
442
|
"isStatic": true,
|
|
440
443
|
"isPublic": true
|
|
441
444
|
},
|
|
@@ -446,7 +449,11 @@
|
|
|
446
449
|
{
|
|
447
450
|
"name": "data",
|
|
448
451
|
"type": "object",
|
|
449
|
-
"optional": false
|
|
452
|
+
"optional": false,
|
|
453
|
+
"memberTypes": [
|
|
454
|
+
"string",
|
|
455
|
+
"Record<string, unknown>"
|
|
456
|
+
]
|
|
450
457
|
},
|
|
451
458
|
{
|
|
452
459
|
"name": "options",
|
|
@@ -1134,12 +1141,23 @@
|
|
|
1134
1141
|
{
|
|
1135
1142
|
"name": "status",
|
|
1136
1143
|
"type": "ScheduleStatus | ScheduleStatus[]",
|
|
1137
|
-
"optional": false
|
|
1144
|
+
"optional": false,
|
|
1145
|
+
"unionBranches": [
|
|
1146
|
+
{
|
|
1147
|
+
"type": "ScheduleStatus"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"type": "ScheduleStatus[]"
|
|
1151
|
+
}
|
|
1152
|
+
]
|
|
1138
1153
|
},
|
|
1139
1154
|
{
|
|
1140
1155
|
"name": "options",
|
|
1141
1156
|
"type": "object",
|
|
1142
|
-
"optional": true
|
|
1157
|
+
"optional": true,
|
|
1158
|
+
"memberTypes": [
|
|
1159
|
+
"number"
|
|
1160
|
+
]
|
|
1143
1161
|
}
|
|
1144
1162
|
],
|
|
1145
1163
|
"returnType": "Promise<AgentSchedule[]>",
|
|
@@ -1158,7 +1176,11 @@
|
|
|
1158
1176
|
{
|
|
1159
1177
|
"name": "options",
|
|
1160
1178
|
"type": "object",
|
|
1161
|
-
"optional": true
|
|
1179
|
+
"optional": true,
|
|
1180
|
+
"memberTypes": [
|
|
1181
|
+
"number",
|
|
1182
|
+
"boolean"
|
|
1183
|
+
]
|
|
1162
1184
|
}
|
|
1163
1185
|
],
|
|
1164
1186
|
"returnType": "Promise<AgentSchedule[]>",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DatabaseInterface } from '@happyvertical/sql';
|
|
2
|
+
export declare const AGENT_SCHEDULE_SLUG_BACKFILL = "@happyvertical/smrt-agents:agent-schedule-slugs:v1";
|
|
3
|
+
export declare const AGENT_SCHEDULE_TABLE = "_smrt_agent_schedules";
|
|
4
|
+
export interface AgentScheduleSlugBackfillOptions {
|
|
5
|
+
backfillName?: string;
|
|
6
|
+
packageName?: string;
|
|
7
|
+
lockTimeout?: number;
|
|
8
|
+
statementTimeout?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface AgentScheduleSlugBackfillResult {
|
|
11
|
+
ran: boolean;
|
|
12
|
+
updated: number;
|
|
13
|
+
}
|
|
14
|
+
export interface AgentScheduleSlugBackfillPlan {
|
|
15
|
+
pending: number;
|
|
16
|
+
}
|
|
17
|
+
export declare class AgentScheduleSlugBackfillError extends Error {
|
|
18
|
+
constructor(message: string);
|
|
19
|
+
}
|
|
20
|
+
/** Mirrors SmrtObject.getSlug()'s final id fallback for persisted schedules. */
|
|
21
|
+
export declare function canonicalScheduleSlug(value: unknown): string | null;
|
|
22
|
+
/** Validate the exact legacy schedule identities without mutating the database. */
|
|
23
|
+
export declare function planAgentScheduleSlugMigration(db: DatabaseInterface): Promise<AgentScheduleSlugBackfillPlan>;
|
|
24
|
+
/**
|
|
25
|
+
* Backfill inherited AgentSchedule slugs and enforce the current NOT NULL
|
|
26
|
+
* contract. This is deliberately operator-invoked: it takes an exclusive
|
|
27
|
+
* table lock and never starts or evaluates schedules.
|
|
28
|
+
*/
|
|
29
|
+
export declare function migrateAgentScheduleSlugs(db: DatabaseInterface, options?: AgentScheduleSlugBackfillOptions): Promise<AgentScheduleSlugBackfillResult>;
|
|
30
|
+
//# sourceMappingURL=agent-schedule-slugs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-schedule-slugs.d.ts","sourceRoot":"","sources":["../../src/migrations/agent-schedule-slugs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,eAAO,MAAM,4BAA4B,uDACa,CAAC;AACvD,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAE5D,MAAM,WAAW,gCAAgC;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,+BAA+B;IAC9C,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,8BAA+B,SAAQ,KAAK;gBAC3C,OAAO,EAAE,MAAM;CAI5B;AAWD,gFAAgF;AAChF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAOnE;AA6ED,mFAAmF;AACnF,wBAAsB,8BAA8B,CAClD,EAAE,EAAE,iBAAiB,GACpB,OAAO,CAAC,6BAA6B,CAAC,CAGxC;AAED;;;;GAIG;AACH,wBAAsB,yBAAyB,CAC7C,EAAE,EAAE,iBAAiB,EACrB,OAAO,GAAE,gCAAqC,GAC7C,OAAO,CAAC,+BAA+B,CAAC,CA0D1C"}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-agents",
|
|
6
|
-
"packageVersion": "0.
|
|
6
|
+
"packageVersion": "0.47.1",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "b9f2ecec3c71f1cee598db83cac33662def385dfee3bed0fee0a5e9ff5e96e00",
|
|
11
|
+
"packageJson": "072a0778eb433c9debe76a12192cc9531cf6811d67bc401f2a15f14a7c63ecfd",
|
|
12
12
|
"agents": "14f3cf361f649432fe871988e13c8382fed295d2bd16f47a4502433322a5d8ed"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"params": [
|
|
140
140
|
"options?: object"
|
|
141
141
|
],
|
|
142
|
-
"returns": "Promise<Record<string>>"
|
|
142
|
+
"returns": "Promise<Record<string, unknown>>"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "getConfigOwnerId",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"params": [
|
|
172
172
|
"slotId: string"
|
|
173
173
|
],
|
|
174
|
-
"returns": "Promise<Record<string>>"
|
|
174
|
+
"returns": "Promise<Record<string, unknown>>"
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
"name": "getUISlots",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"name": "handleDispatch",
|
|
182
182
|
"async": true,
|
|
183
183
|
"params": [
|
|
184
|
-
"_payload:
|
|
184
|
+
"_payload: unknown",
|
|
185
185
|
"_metadata: DispatchMetadata"
|
|
186
186
|
],
|
|
187
187
|
"returns": "Promise<void>"
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
{
|
|
190
190
|
"name": "initialize",
|
|
191
191
|
"async": true,
|
|
192
|
-
"returns": "Promise"
|
|
192
|
+
"returns": "Promise<this>"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"name": "interesting",
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
{
|
|
200
200
|
"name": "loadConfigs",
|
|
201
201
|
"async": true,
|
|
202
|
-
"returns": "Promise<Map<string, Record<string>>>"
|
|
202
|
+
"returns": "Promise<Map<string, Record<string, unknown>>>"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
"name": "processDispatches",
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
"async": true,
|
|
212
212
|
"params": [
|
|
213
213
|
"slotId: string",
|
|
214
|
-
"data: Record<string>"
|
|
214
|
+
"data: Record<string, unknown>"
|
|
215
215
|
],
|
|
216
216
|
"returns": "Promise<void>"
|
|
217
217
|
},
|
|
@@ -239,6 +239,127 @@
|
|
|
239
239
|
"_meta_type"
|
|
240
240
|
],
|
|
241
241
|
"surfaces": [],
|
|
242
|
+
"withheldSurfaces": [
|
|
243
|
+
{
|
|
244
|
+
"kind": "api",
|
|
245
|
+
"operation": "execute",
|
|
246
|
+
"code": "api-disabled",
|
|
247
|
+
"reason": "api is disabled",
|
|
248
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "api",
|
|
252
|
+
"operation": "exportConfig",
|
|
253
|
+
"code": "api-disabled",
|
|
254
|
+
"reason": "api is disabled",
|
|
255
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "api",
|
|
259
|
+
"operation": "getConfigOwnerId",
|
|
260
|
+
"code": "api-disabled",
|
|
261
|
+
"reason": "api is disabled",
|
|
262
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "api",
|
|
266
|
+
"operation": "getDispatch",
|
|
267
|
+
"code": "api-disabled",
|
|
268
|
+
"reason": "api is disabled",
|
|
269
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "api",
|
|
273
|
+
"operation": "getDispatchSubscriber",
|
|
274
|
+
"code": "api-disabled",
|
|
275
|
+
"reason": "api is disabled",
|
|
276
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"kind": "api",
|
|
280
|
+
"operation": "getInstanceKey",
|
|
281
|
+
"code": "api-disabled",
|
|
282
|
+
"reason": "api is disabled",
|
|
283
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "api",
|
|
287
|
+
"operation": "getLearningMemory",
|
|
288
|
+
"code": "api-disabled",
|
|
289
|
+
"reason": "api is disabled",
|
|
290
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "api",
|
|
294
|
+
"operation": "getMergedConfig",
|
|
295
|
+
"code": "api-disabled",
|
|
296
|
+
"reason": "api is disabled",
|
|
297
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"kind": "api",
|
|
301
|
+
"operation": "getUISlots",
|
|
302
|
+
"code": "api-disabled",
|
|
303
|
+
"reason": "api is disabled",
|
|
304
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "api",
|
|
308
|
+
"operation": "handleDispatch",
|
|
309
|
+
"code": "api-disabled",
|
|
310
|
+
"reason": "api is disabled",
|
|
311
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"kind": "api",
|
|
315
|
+
"operation": "initialize",
|
|
316
|
+
"code": "api-disabled",
|
|
317
|
+
"reason": "api is disabled",
|
|
318
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"kind": "api",
|
|
322
|
+
"operation": "interesting",
|
|
323
|
+
"code": "api-disabled",
|
|
324
|
+
"reason": "api is disabled",
|
|
325
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "api",
|
|
329
|
+
"operation": "loadConfigs",
|
|
330
|
+
"code": "api-disabled",
|
|
331
|
+
"reason": "api is disabled",
|
|
332
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "api",
|
|
336
|
+
"operation": "processDispatches",
|
|
337
|
+
"code": "api-disabled",
|
|
338
|
+
"reason": "api is disabled",
|
|
339
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "api",
|
|
343
|
+
"operation": "saveSlotConfig",
|
|
344
|
+
"code": "api-disabled",
|
|
345
|
+
"reason": "api is disabled",
|
|
346
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "api",
|
|
350
|
+
"operation": "shutdown",
|
|
351
|
+
"code": "api-disabled",
|
|
352
|
+
"reason": "api is disabled",
|
|
353
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "api",
|
|
357
|
+
"operation": "validate",
|
|
358
|
+
"code": "api-disabled",
|
|
359
|
+
"reason": "api is disabled",
|
|
360
|
+
"objectName": "@happyvertical/smrt-agents:Agent"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
242
363
|
"relationshipFeatures": [
|
|
243
364
|
"uuidColumns"
|
|
244
365
|
],
|
|
@@ -300,7 +421,7 @@
|
|
|
300
421
|
"agentId: string",
|
|
301
422
|
"options: SmrtClassOptions"
|
|
302
423
|
],
|
|
303
|
-
"returns": "Promise<Map<string, Record<string>>>"
|
|
424
|
+
"returns": "Promise<Map<string, Record<string, unknown>>>"
|
|
304
425
|
},
|
|
305
426
|
{
|
|
306
427
|
"name": "forAgents",
|
|
@@ -310,7 +431,7 @@
|
|
|
310
431
|
"agentIds: string[]",
|
|
311
432
|
"options: SmrtClassOptions"
|
|
312
433
|
],
|
|
313
|
-
"returns": "Promise<Map<string, Map<string, Record<string>>>>"
|
|
434
|
+
"returns": "Promise<Map<string, Map<string, Record<string, unknown>>>>"
|
|
314
435
|
},
|
|
315
436
|
{
|
|
316
437
|
"name": "forSlot",
|
|
@@ -321,7 +442,7 @@
|
|
|
321
442
|
"slotId: string",
|
|
322
443
|
"options: SmrtClassOptions"
|
|
323
444
|
],
|
|
324
|
-
"returns": "Promise<Record<string> | undefined>"
|
|
445
|
+
"returns": "Promise<Record<string, unknown> | undefined>"
|
|
325
446
|
},
|
|
326
447
|
{
|
|
327
448
|
"name": "saveSlot",
|
|
@@ -452,6 +573,36 @@
|
|
|
452
573
|
"objectName": "@happyvertical/smrt-agents:AgentConfig"
|
|
453
574
|
}
|
|
454
575
|
],
|
|
576
|
+
"withheldSurfaces": [
|
|
577
|
+
{
|
|
578
|
+
"kind": "api",
|
|
579
|
+
"operation": "forAgent",
|
|
580
|
+
"code": "not-included",
|
|
581
|
+
"reason": "not listed in api.include",
|
|
582
|
+
"objectName": "@happyvertical/smrt-agents:AgentConfig"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"kind": "api",
|
|
586
|
+
"operation": "forAgents",
|
|
587
|
+
"code": "not-included",
|
|
588
|
+
"reason": "not listed in api.include",
|
|
589
|
+
"objectName": "@happyvertical/smrt-agents:AgentConfig"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"kind": "api",
|
|
593
|
+
"operation": "forSlot",
|
|
594
|
+
"code": "not-included",
|
|
595
|
+
"reason": "not listed in api.include",
|
|
596
|
+
"objectName": "@happyvertical/smrt-agents:AgentConfig"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"kind": "api",
|
|
600
|
+
"operation": "saveSlot",
|
|
601
|
+
"code": "not-included",
|
|
602
|
+
"reason": "not listed in api.include",
|
|
603
|
+
"objectName": "@happyvertical/smrt-agents:AgentConfig"
|
|
604
|
+
}
|
|
605
|
+
],
|
|
455
606
|
"relationshipFeatures": [
|
|
456
607
|
"uuidColumns"
|
|
457
608
|
],
|
|
@@ -837,6 +988,57 @@
|
|
|
837
988
|
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
838
989
|
}
|
|
839
990
|
],
|
|
991
|
+
"withheldSurfaces": [
|
|
992
|
+
{
|
|
993
|
+
"kind": "api",
|
|
994
|
+
"operation": "beforeSave",
|
|
995
|
+
"code": "not-included",
|
|
996
|
+
"reason": "not listed in api.include",
|
|
997
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"kind": "api",
|
|
1001
|
+
"operation": "calculateNextRun",
|
|
1002
|
+
"code": "not-included",
|
|
1003
|
+
"reason": "not listed in api.include",
|
|
1004
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"kind": "api",
|
|
1008
|
+
"operation": "disable",
|
|
1009
|
+
"code": "not-included",
|
|
1010
|
+
"reason": "not listed in api.include",
|
|
1011
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"kind": "api",
|
|
1015
|
+
"operation": "enable",
|
|
1016
|
+
"code": "not-included",
|
|
1017
|
+
"reason": "not listed in api.include",
|
|
1018
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "api",
|
|
1022
|
+
"operation": "getDescription",
|
|
1023
|
+
"code": "not-included",
|
|
1024
|
+
"reason": "not listed in api.include",
|
|
1025
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "api",
|
|
1029
|
+
"operation": "pause",
|
|
1030
|
+
"code": "not-included",
|
|
1031
|
+
"reason": "not listed in api.include",
|
|
1032
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "api",
|
|
1036
|
+
"operation": "resume",
|
|
1037
|
+
"code": "not-included",
|
|
1038
|
+
"reason": "not listed in api.include",
|
|
1039
|
+
"objectName": "@happyvertical/smrt-agents:AgentSchedule"
|
|
1040
|
+
}
|
|
1041
|
+
],
|
|
840
1042
|
"relationshipFeatures": [
|
|
841
1043
|
"uuidColumns"
|
|
842
1044
|
],
|
|
@@ -1200,14 +1402,6 @@
|
|
|
1200
1402
|
}
|
|
1201
1403
|
],
|
|
1202
1404
|
"surfaces": [
|
|
1203
|
-
{
|
|
1204
|
-
"kind": "api",
|
|
1205
|
-
"name": "tenantagents.resolveForTenant",
|
|
1206
|
-
"operation": "resolveForTenant",
|
|
1207
|
-
"objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
|
|
1208
|
-
"path": "/tenantagents/resolveForTenant",
|
|
1209
|
-
"method": "POST"
|
|
1210
|
-
},
|
|
1211
1405
|
{
|
|
1212
1406
|
"kind": "api",
|
|
1213
1407
|
"name": "tenantagents.enableAgent",
|
|
@@ -1321,6 +1515,15 @@
|
|
|
1321
1515
|
"objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
|
|
1322
1516
|
}
|
|
1323
1517
|
],
|
|
1518
|
+
"withheldSurfaces": [
|
|
1519
|
+
{
|
|
1520
|
+
"kind": "api",
|
|
1521
|
+
"operation": "resolveForTenant",
|
|
1522
|
+
"code": "not-wireable",
|
|
1523
|
+
"reason": "not routed: parameter `getAncestorIds`: `Function` is a runtime value a JSON request cannot carry",
|
|
1524
|
+
"objectName": "@happyvertical/smrt-agents:TenantAgentCollection"
|
|
1525
|
+
}
|
|
1526
|
+
],
|
|
1324
1527
|
"relationshipFeatures": [
|
|
1325
1528
|
"uuidColumns"
|
|
1326
1529
|
],
|
|
@@ -1753,14 +1956,6 @@
|
|
|
1753
1956
|
"operation": "get",
|
|
1754
1957
|
"objectName": "@happyvertical/smrt-agents:TenantAgent"
|
|
1755
1958
|
},
|
|
1756
|
-
{
|
|
1757
|
-
"kind": "api",
|
|
1758
|
-
"name": "tenantagents.resolveForTenant",
|
|
1759
|
-
"operation": "resolveForTenant",
|
|
1760
|
-
"objectName": "@happyvertical/smrt-agents:TenantAgentCollection",
|
|
1761
|
-
"path": "/tenantagents/resolveForTenant",
|
|
1762
|
-
"method": "POST"
|
|
1763
|
-
},
|
|
1764
1959
|
{
|
|
1765
1960
|
"kind": "api",
|
|
1766
1961
|
"name": "tenantagents.enableAgent",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"smrtRawPrimitives": "strict",
|
|
@@ -57,22 +57,23 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@happyvertical/ai": "^0.89.
|
|
61
|
-
"@happyvertical/files": "^0.89.
|
|
62
|
-
"@happyvertical/
|
|
63
|
-
"@happyvertical/smrt-core": "0.
|
|
64
|
-
"@happyvertical/smrt-playbooks": "0.
|
|
65
|
-
"@happyvertical/smrt-reports": "0.
|
|
66
|
-
"@happyvertical/smrt-secrets": "0.
|
|
67
|
-
"@happyvertical/smrt-
|
|
68
|
-
"@happyvertical/smrt-types": "0.
|
|
69
|
-
"@happyvertical/smrt-ui": "0.
|
|
70
|
-
"@happyvertical/smrt-
|
|
71
|
-
"@happyvertical/
|
|
60
|
+
"@happyvertical/ai": "^0.89.6",
|
|
61
|
+
"@happyvertical/files": "^0.89.6",
|
|
62
|
+
"@happyvertical/smrt-config": "0.47.1",
|
|
63
|
+
"@happyvertical/smrt-core": "0.47.1",
|
|
64
|
+
"@happyvertical/smrt-playbooks": "0.47.1",
|
|
65
|
+
"@happyvertical/smrt-reports": "0.47.1",
|
|
66
|
+
"@happyvertical/smrt-secrets": "0.47.1",
|
|
67
|
+
"@happyvertical/smrt-tenancy": "0.47.1",
|
|
68
|
+
"@happyvertical/smrt-types": "0.47.1",
|
|
69
|
+
"@happyvertical/smrt-ui": "0.47.1",
|
|
70
|
+
"@happyvertical/smrt-users": "0.47.1",
|
|
71
|
+
"@happyvertical/utils": "^0.89.6"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@happyvertical/logger": "^0.89.
|
|
75
|
-
"@happyvertical/
|
|
74
|
+
"@happyvertical/logger": "^0.89.6",
|
|
75
|
+
"@happyvertical/smrt-vitest": "0.47.1",
|
|
76
|
+
"@happyvertical/sql": "^0.89.6",
|
|
76
77
|
"@sentry/node": "^10.63.0",
|
|
77
78
|
"@sveltejs/package": "^2.5.8",
|
|
78
79
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
@@ -84,8 +85,7 @@
|
|
|
84
85
|
"svelte": "^5.56.4",
|
|
85
86
|
"typescript": "5.9.3",
|
|
86
87
|
"vite": "8.1.4",
|
|
87
|
-
"vitest": "4.1.10"
|
|
88
|
-
"@happyvertical/smrt-vitest": "0.46.0"
|
|
88
|
+
"vitest": "4.1.10"
|
|
89
89
|
},
|
|
90
90
|
"keywords": [
|
|
91
91
|
"agent",
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
"typecheck": "tsc --noEmit && node ../../scripts/svelte-check-a11y.mjs --tsconfig ./tsconfig.svelte.json",
|
|
112
112
|
"test": "vitest run",
|
|
113
113
|
"test:watch": "vitest",
|
|
114
|
+
"test:postgres": "node ../../scripts/run-with-ci-postgres.mjs -- pnpm exec vitest run src/migrations/__tests__/agent-schedule-slugs-postgres.optional.test.ts",
|
|
114
115
|
"verify:pack": "node ../../scripts/verify-package-types-exports.js ."
|
|
115
116
|
}
|
|
116
117
|
}
|