@happyvertical/garrula 0.0.0-stage → 0.1.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/AGENTS.md +71 -0
- package/CLAUDE.md +1 -0
- package/README.md +117 -2
- package/dist/Garrula.d.ts +240 -0
- package/dist/config.d.ts +49 -0
- package/dist/credentials.d.ts +57 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +2135 -0
- package/dist/index.js.map +1 -0
- package/dist/manifest.json +2217 -0
- package/dist/outbound/drafting.d.ts +23 -0
- package/dist/outbound/models.d.ts +108 -0
- package/dist/outbound/rates.d.ts +35 -0
- package/dist/outbound/service.d.ts +127 -0
- package/dist/outbound/sources.d.ts +20 -0
- package/dist/outbound/state.d.ts +6 -0
- package/dist/outbound/types.d.ts +165 -0
- package/dist/smrt-knowledge.json +1161 -0
- package/dist/types.d.ts +199 -0
- package/dist/ui/admin/ActivitySpendPanel.svelte +340 -0
- package/dist/ui/admin/ActivitySpendPanel.svelte.d.ts +3 -0
- package/dist/ui/admin/AdminRoot.svelte +70 -0
- package/dist/ui/admin/AdminRoot.svelte.d.ts +9 -0
- package/dist/ui/admin/DraftCard.svelte +359 -0
- package/dist/ui/admin/DraftCard.svelte.d.ts +17 -0
- package/dist/ui/admin/PersonaPolicyPanel.svelte +177 -0
- package/dist/ui/admin/PersonaPolicyPanel.svelte.d.ts +3 -0
- package/dist/ui/admin/QueuePanel.svelte +192 -0
- package/dist/ui/admin/QueuePanel.svelte.d.ts +3 -0
- package/dist/ui/admin/SettingsPanel.svelte +338 -0
- package/dist/ui/admin/SettingsPanel.svelte.d.ts +4 -0
- package/dist/ui/admin/SourcesPanel.svelte +196 -0
- package/dist/ui/admin/SourcesPanel.svelte.d.ts +3 -0
- package/dist/ui/admin/StatusRegion.svelte +41 -0
- package/dist/ui/admin/StatusRegion.svelte.d.ts +7 -0
- package/dist/ui/admin/access.d.ts +23 -0
- package/dist/ui/admin/access.js +30 -0
- package/dist/ui/admin/format.d.ts +9 -0
- package/dist/ui/admin/format.js +39 -0
- package/dist/ui/admin/index.d.ts +12 -0
- package/dist/ui/admin/index.js +17 -0
- package/dist/ui/admin/nav.d.ts +2 -0
- package/dist/ui/admin/nav.js +7 -0
- package/dist/ui/types.d.ts +86 -0
- package/dist/ui/types.js +63 -0
- package/docs/manifest-routing.md +41 -0
- package/package.json +111 -4
|
@@ -0,0 +1,1161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sensitiveFieldsExcluded": true,
|
|
4
|
+
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
|
+
"packageName": "@happyvertical/garrula",
|
|
6
|
+
"packageVersion": "0.1.1",
|
|
7
|
+
"sourceManifestPath": "dist/manifest.json",
|
|
8
|
+
"agentDocPath": "AGENTS.md",
|
|
9
|
+
"sourceHashes": {
|
|
10
|
+
"manifest": "cf1c27bcde47d14c09f477a77d50981c973b47842f1c9876b8d460d575b6e367",
|
|
11
|
+
"packageJson": "ddd91001880aade5e7cbd24c2faa7c518e2deadb21ba409ecb8c56f51d4d6149",
|
|
12
|
+
"agents": "37df674b62c16b50b91bda6e6057f1da0c0e2169b9d13f31ac0cdabb88f0f3f5"
|
|
13
|
+
},
|
|
14
|
+
"exports": [
|
|
15
|
+
".",
|
|
16
|
+
"./admin",
|
|
17
|
+
"./admin/*.svelte",
|
|
18
|
+
"./manifest",
|
|
19
|
+
"./manifest.json"
|
|
20
|
+
],
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@happyvertical/smrt-agents": "0.60.16",
|
|
23
|
+
"@happyvertical/smrt-core": "0.60.16",
|
|
24
|
+
"@happyvertical/smrt-social": "0.60.16",
|
|
25
|
+
"@happyvertical/smrt-tenancy": "0.60.16",
|
|
26
|
+
"@happyvertical/smrt-ui": "0.60.16",
|
|
27
|
+
"@happyvertical/social": "0.111.9",
|
|
28
|
+
"@biomejs/biome": "2.5.2",
|
|
29
|
+
"@changesets/cli": "^2.31.0",
|
|
30
|
+
"@changesets/parse": "0.4.3",
|
|
31
|
+
"@happyvertical/smrt-cli": "0.60.16",
|
|
32
|
+
"@happyvertical/smrt-vitest": "0.60.16",
|
|
33
|
+
"@sveltejs/package": "^2.5.8",
|
|
34
|
+
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
35
|
+
"@testing-library/jest-dom": "7.0.1",
|
|
36
|
+
"@types/node": "24.13.2",
|
|
37
|
+
"github-actionlint": "1.7.12",
|
|
38
|
+
"jsdom": "29.1.1",
|
|
39
|
+
"semver": "7.7.3",
|
|
40
|
+
"svelte": "^5.56.4",
|
|
41
|
+
"svelte-check": "4.7.2",
|
|
42
|
+
"tsx": "^4.23.0",
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"vite": "8.1.3",
|
|
45
|
+
"vite-plugin-dts": "4.5.4",
|
|
46
|
+
"vitest": "4.1.9"
|
|
47
|
+
},
|
|
48
|
+
"smrtDependencies": [
|
|
49
|
+
"@happyvertical/smrt-agents",
|
|
50
|
+
"@happyvertical/smrt-cli",
|
|
51
|
+
"@happyvertical/smrt-core",
|
|
52
|
+
"@happyvertical/smrt-social",
|
|
53
|
+
"@happyvertical/smrt-tenancy",
|
|
54
|
+
"@happyvertical/smrt-ui",
|
|
55
|
+
"@happyvertical/smrt-vitest"
|
|
56
|
+
],
|
|
57
|
+
"sdkDependencies": [],
|
|
58
|
+
"tags": [
|
|
59
|
+
"analytics",
|
|
60
|
+
"cross-package",
|
|
61
|
+
"happyvertical",
|
|
62
|
+
"publishing",
|
|
63
|
+
"smrt",
|
|
64
|
+
"social"
|
|
65
|
+
],
|
|
66
|
+
"risks": [
|
|
67
|
+
"sensitive-fields-excluded",
|
|
68
|
+
"sti-inheritance"
|
|
69
|
+
],
|
|
70
|
+
"objects": [
|
|
71
|
+
{
|
|
72
|
+
"name": "Garrula",
|
|
73
|
+
"qualifiedName": "@happyvertical/garrula:Garrula",
|
|
74
|
+
"collection": "agents",
|
|
75
|
+
"tableName": "agents",
|
|
76
|
+
"packageName": "@happyvertical/garrula",
|
|
77
|
+
"extends": "Agent",
|
|
78
|
+
"extendsQualified": "@happyvertical/smrt-agents:Agent",
|
|
79
|
+
"fields": [
|
|
80
|
+
{
|
|
81
|
+
"name": "created_at",
|
|
82
|
+
"type": "datetime",
|
|
83
|
+
"required": false,
|
|
84
|
+
"columnType": "TIMESTAMP"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "updated_at",
|
|
88
|
+
"type": "datetime",
|
|
89
|
+
"required": false,
|
|
90
|
+
"columnType": "TIMESTAMP"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "tenantId",
|
|
94
|
+
"type": "text",
|
|
95
|
+
"required": false,
|
|
96
|
+
"columnType": "UUID"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "status",
|
|
100
|
+
"type": "text",
|
|
101
|
+
"required": false,
|
|
102
|
+
"columnType": "TEXT",
|
|
103
|
+
"default": "idle"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"relationships": [],
|
|
107
|
+
"methods": [
|
|
108
|
+
"approve",
|
|
109
|
+
"createArticleVideoPosts",
|
|
110
|
+
"createStoryLinkPosts",
|
|
111
|
+
"editDraft",
|
|
112
|
+
"execute",
|
|
113
|
+
"exportConfig",
|
|
114
|
+
"getConfigOwnerId",
|
|
115
|
+
"getDispatch",
|
|
116
|
+
"getDispatchSubscriber",
|
|
117
|
+
"getInstanceKey",
|
|
118
|
+
"getLearningMemory",
|
|
119
|
+
"getMergedConfig",
|
|
120
|
+
"getSettings",
|
|
121
|
+
"getSpend",
|
|
122
|
+
"getUISlots",
|
|
123
|
+
"handleDispatch",
|
|
124
|
+
"ingestSourceEvent",
|
|
125
|
+
"initialize",
|
|
126
|
+
"interesting",
|
|
127
|
+
"listDrafts",
|
|
128
|
+
"loadConfigs",
|
|
129
|
+
"pause",
|
|
130
|
+
"processDispatches",
|
|
131
|
+
"publishDue",
|
|
132
|
+
"publishNow",
|
|
133
|
+
"publishPost",
|
|
134
|
+
"reject",
|
|
135
|
+
"resume",
|
|
136
|
+
"retry",
|
|
137
|
+
"run",
|
|
138
|
+
"saveSlotConfig",
|
|
139
|
+
"schedule",
|
|
140
|
+
"shutdown",
|
|
141
|
+
"syncAnalytics",
|
|
142
|
+
"updateSettings",
|
|
143
|
+
"validate"
|
|
144
|
+
],
|
|
145
|
+
"methodSignatures": [
|
|
146
|
+
{
|
|
147
|
+
"name": "approve",
|
|
148
|
+
"async": true,
|
|
149
|
+
"params": [
|
|
150
|
+
"id: string",
|
|
151
|
+
"options?: object"
|
|
152
|
+
],
|
|
153
|
+
"returns": "Promise<OutboundDraft>"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "createArticleVideoPosts",
|
|
157
|
+
"async": true,
|
|
158
|
+
"params": [
|
|
159
|
+
"request: ArticleVideoPostRequest"
|
|
160
|
+
],
|
|
161
|
+
"returns": "Promise<GarrulaSocialPost[]>"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "createStoryLinkPosts",
|
|
165
|
+
"async": true,
|
|
166
|
+
"params": [
|
|
167
|
+
"request: StoryLinkPostRequest"
|
|
168
|
+
],
|
|
169
|
+
"returns": "Promise<GarrulaSocialPost[]>"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "editDraft",
|
|
173
|
+
"async": true,
|
|
174
|
+
"params": [
|
|
175
|
+
"id: string",
|
|
176
|
+
"patch: object",
|
|
177
|
+
"options?: object"
|
|
178
|
+
],
|
|
179
|
+
"returns": "Promise<OutboundDraft>"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "execute",
|
|
183
|
+
"async": true,
|
|
184
|
+
"returns": "Promise<void>"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "exportConfig",
|
|
188
|
+
"async": true,
|
|
189
|
+
"params": [
|
|
190
|
+
"options?: object"
|
|
191
|
+
],
|
|
192
|
+
"returns": "Promise<Record<string, unknown>>"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "getConfigOwnerId",
|
|
196
|
+
"params": [
|
|
197
|
+
"slotId?: string"
|
|
198
|
+
],
|
|
199
|
+
"returns": "string | null"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "getDispatch",
|
|
203
|
+
"async": true,
|
|
204
|
+
"returns": "Promise<DispatchBus>"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "getDispatchSubscriber",
|
|
208
|
+
"returns": "string"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "getInstanceKey",
|
|
212
|
+
"returns": "string | null"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "getLearningMemory",
|
|
216
|
+
"returns": "LearningMemory | null"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "getMergedConfig",
|
|
220
|
+
"async": true,
|
|
221
|
+
"params": [
|
|
222
|
+
"slotId: string"
|
|
223
|
+
],
|
|
224
|
+
"returns": "Promise<Record<string, unknown>>"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "getSettings",
|
|
228
|
+
"async": true,
|
|
229
|
+
"params": [
|
|
230
|
+
"options?: object"
|
|
231
|
+
],
|
|
232
|
+
"returns": "Promise<OutboundSettings>"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "getSpend",
|
|
236
|
+
"async": true,
|
|
237
|
+
"params": [
|
|
238
|
+
"options?: object"
|
|
239
|
+
],
|
|
240
|
+
"returns": "Promise<SpendSummary>"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "getUISlots",
|
|
244
|
+
"returns": "AgentUISlots"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "handleDispatch",
|
|
248
|
+
"async": true,
|
|
249
|
+
"params": [
|
|
250
|
+
"_payload: unknown",
|
|
251
|
+
"_metadata: DispatchMetadata"
|
|
252
|
+
],
|
|
253
|
+
"returns": "Promise<void>"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "ingestSourceEvent",
|
|
257
|
+
"async": true,
|
|
258
|
+
"params": [
|
|
259
|
+
"event: SourceEvent",
|
|
260
|
+
"options?: object"
|
|
261
|
+
],
|
|
262
|
+
"returns": "Promise<IngestResult>"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "initialize",
|
|
266
|
+
"async": true,
|
|
267
|
+
"returns": "Promise<this>"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "interesting",
|
|
271
|
+
"async": true,
|
|
272
|
+
"returns": "Promise<InterestResult[]>"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "listDrafts",
|
|
276
|
+
"async": true,
|
|
277
|
+
"params": [
|
|
278
|
+
"filter?: object",
|
|
279
|
+
"options?: object"
|
|
280
|
+
],
|
|
281
|
+
"returns": "Promise<OutboundDraft[]>"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "loadConfigs",
|
|
285
|
+
"async": true,
|
|
286
|
+
"returns": "Promise<Map<string, Record<string, unknown>>>"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "pause",
|
|
290
|
+
"async": true,
|
|
291
|
+
"params": [
|
|
292
|
+
"options?: object"
|
|
293
|
+
],
|
|
294
|
+
"returns": "Promise<OutboundSettings>"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "processDispatches",
|
|
298
|
+
"async": true,
|
|
299
|
+
"returns": "Promise<number>"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "publishDue",
|
|
303
|
+
"async": true,
|
|
304
|
+
"params": [
|
|
305
|
+
"options?: object"
|
|
306
|
+
],
|
|
307
|
+
"returns": "Promise<PublishDueResult[]>"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "publishNow",
|
|
311
|
+
"async": true,
|
|
312
|
+
"params": [
|
|
313
|
+
"id: string",
|
|
314
|
+
"options?: object"
|
|
315
|
+
],
|
|
316
|
+
"returns": "Promise<PublishDueResult>"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "publishPost",
|
|
320
|
+
"async": true,
|
|
321
|
+
"params": [
|
|
322
|
+
"post: GarrulaSocialPost",
|
|
323
|
+
"options?: PublishPostOptions"
|
|
324
|
+
],
|
|
325
|
+
"returns": "Promise<PublishPostResult>"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "reject",
|
|
329
|
+
"async": true,
|
|
330
|
+
"params": [
|
|
331
|
+
"id: string",
|
|
332
|
+
"reason?: string",
|
|
333
|
+
"options?: object"
|
|
334
|
+
],
|
|
335
|
+
"returns": "Promise<OutboundDraft>"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "resume",
|
|
339
|
+
"async": true,
|
|
340
|
+
"params": [
|
|
341
|
+
"options?: object"
|
|
342
|
+
],
|
|
343
|
+
"returns": "Promise<OutboundSettings>"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "retry",
|
|
347
|
+
"async": true,
|
|
348
|
+
"params": [
|
|
349
|
+
"id: string",
|
|
350
|
+
"options?: object"
|
|
351
|
+
],
|
|
352
|
+
"returns": "Promise<OutboundDraft>"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "run",
|
|
356
|
+
"async": true,
|
|
357
|
+
"returns": "Promise<void>"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "saveSlotConfig",
|
|
361
|
+
"async": true,
|
|
362
|
+
"params": [
|
|
363
|
+
"slotId: string",
|
|
364
|
+
"data: Record<string, unknown>"
|
|
365
|
+
],
|
|
366
|
+
"returns": "Promise<void>"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "schedule",
|
|
370
|
+
"async": true,
|
|
371
|
+
"params": [
|
|
372
|
+
"id: string",
|
|
373
|
+
"at: Date",
|
|
374
|
+
"options?: object"
|
|
375
|
+
],
|
|
376
|
+
"returns": "Promise<OutboundDraft>"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "shutdown",
|
|
380
|
+
"async": true,
|
|
381
|
+
"returns": "Promise<void>"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "syncAnalytics",
|
|
385
|
+
"async": true,
|
|
386
|
+
"params": [
|
|
387
|
+
"postIds?: string[]",
|
|
388
|
+
"options?: object"
|
|
389
|
+
],
|
|
390
|
+
"returns": "Promise<AnalyticsSyncResult>"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "updateSettings",
|
|
394
|
+
"async": true,
|
|
395
|
+
"params": [
|
|
396
|
+
"patch: OutboundSettingsPatch",
|
|
397
|
+
"options?: object"
|
|
398
|
+
],
|
|
399
|
+
"returns": "Promise<OutboundSettings>"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "validate",
|
|
403
|
+
"async": true,
|
|
404
|
+
"returns": "Promise<void>"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"tableStrategy": "sti",
|
|
408
|
+
"surfaces": [
|
|
409
|
+
{
|
|
410
|
+
"kind": "cli",
|
|
411
|
+
"name": "garrula_run",
|
|
412
|
+
"operation": "run",
|
|
413
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"kind": "cli",
|
|
417
|
+
"name": "garrula_syncAnalytics",
|
|
418
|
+
"operation": "syncAnalytics",
|
|
419
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"kind": "mcp",
|
|
423
|
+
"name": "garrula_createstorylinkposts",
|
|
424
|
+
"operation": "createStoryLinkPosts",
|
|
425
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"kind": "mcp",
|
|
429
|
+
"name": "garrula_createarticlevideoposts",
|
|
430
|
+
"operation": "createArticleVideoPosts",
|
|
431
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"withheldSurfaces": [
|
|
435
|
+
{
|
|
436
|
+
"kind": "api",
|
|
437
|
+
"operation": "approve",
|
|
438
|
+
"code": "api-disabled",
|
|
439
|
+
"reason": "api is disabled",
|
|
440
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"kind": "api",
|
|
444
|
+
"operation": "createArticleVideoPosts",
|
|
445
|
+
"code": "api-disabled",
|
|
446
|
+
"reason": "api is disabled",
|
|
447
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "api",
|
|
451
|
+
"operation": "createStoryLinkPosts",
|
|
452
|
+
"code": "api-disabled",
|
|
453
|
+
"reason": "api is disabled",
|
|
454
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"kind": "api",
|
|
458
|
+
"operation": "editDraft",
|
|
459
|
+
"code": "api-disabled",
|
|
460
|
+
"reason": "api is disabled",
|
|
461
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"kind": "api",
|
|
465
|
+
"operation": "execute",
|
|
466
|
+
"code": "api-disabled",
|
|
467
|
+
"reason": "api is disabled",
|
|
468
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"kind": "api",
|
|
472
|
+
"operation": "exportConfig",
|
|
473
|
+
"code": "api-disabled",
|
|
474
|
+
"reason": "api is disabled",
|
|
475
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"kind": "api",
|
|
479
|
+
"operation": "getConfigOwnerId",
|
|
480
|
+
"code": "api-disabled",
|
|
481
|
+
"reason": "api is disabled",
|
|
482
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"kind": "api",
|
|
486
|
+
"operation": "getDispatch",
|
|
487
|
+
"code": "api-disabled",
|
|
488
|
+
"reason": "api is disabled",
|
|
489
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"kind": "api",
|
|
493
|
+
"operation": "getDispatchSubscriber",
|
|
494
|
+
"code": "api-disabled",
|
|
495
|
+
"reason": "api is disabled",
|
|
496
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"kind": "api",
|
|
500
|
+
"operation": "getInstanceKey",
|
|
501
|
+
"code": "api-disabled",
|
|
502
|
+
"reason": "api is disabled",
|
|
503
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"kind": "api",
|
|
507
|
+
"operation": "getLearningMemory",
|
|
508
|
+
"code": "api-disabled",
|
|
509
|
+
"reason": "api is disabled",
|
|
510
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "api",
|
|
514
|
+
"operation": "getMergedConfig",
|
|
515
|
+
"code": "api-disabled",
|
|
516
|
+
"reason": "api is disabled",
|
|
517
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"kind": "api",
|
|
521
|
+
"operation": "getSettings",
|
|
522
|
+
"code": "api-disabled",
|
|
523
|
+
"reason": "api is disabled",
|
|
524
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"kind": "api",
|
|
528
|
+
"operation": "getSpend",
|
|
529
|
+
"code": "api-disabled",
|
|
530
|
+
"reason": "api is disabled",
|
|
531
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"kind": "api",
|
|
535
|
+
"operation": "getUISlots",
|
|
536
|
+
"code": "api-disabled",
|
|
537
|
+
"reason": "api is disabled",
|
|
538
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"kind": "api",
|
|
542
|
+
"operation": "handleDispatch",
|
|
543
|
+
"code": "api-disabled",
|
|
544
|
+
"reason": "api is disabled",
|
|
545
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"kind": "api",
|
|
549
|
+
"operation": "ingestSourceEvent",
|
|
550
|
+
"code": "api-disabled",
|
|
551
|
+
"reason": "api is disabled",
|
|
552
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"kind": "api",
|
|
556
|
+
"operation": "initialize",
|
|
557
|
+
"code": "api-disabled",
|
|
558
|
+
"reason": "api is disabled",
|
|
559
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"kind": "api",
|
|
563
|
+
"operation": "interesting",
|
|
564
|
+
"code": "api-disabled",
|
|
565
|
+
"reason": "api is disabled",
|
|
566
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"kind": "api",
|
|
570
|
+
"operation": "listDrafts",
|
|
571
|
+
"code": "api-disabled",
|
|
572
|
+
"reason": "api is disabled",
|
|
573
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"kind": "api",
|
|
577
|
+
"operation": "loadConfigs",
|
|
578
|
+
"code": "api-disabled",
|
|
579
|
+
"reason": "api is disabled",
|
|
580
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"kind": "api",
|
|
584
|
+
"operation": "pause",
|
|
585
|
+
"code": "api-disabled",
|
|
586
|
+
"reason": "api is disabled",
|
|
587
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"kind": "api",
|
|
591
|
+
"operation": "processDispatches",
|
|
592
|
+
"code": "api-disabled",
|
|
593
|
+
"reason": "api is disabled",
|
|
594
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"kind": "api",
|
|
598
|
+
"operation": "publishDue",
|
|
599
|
+
"code": "api-disabled",
|
|
600
|
+
"reason": "api is disabled",
|
|
601
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"kind": "api",
|
|
605
|
+
"operation": "publishNow",
|
|
606
|
+
"code": "api-disabled",
|
|
607
|
+
"reason": "api is disabled",
|
|
608
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"kind": "api",
|
|
612
|
+
"operation": "publishPost",
|
|
613
|
+
"code": "api-disabled",
|
|
614
|
+
"reason": "api is disabled",
|
|
615
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"kind": "api",
|
|
619
|
+
"operation": "reject",
|
|
620
|
+
"code": "api-disabled",
|
|
621
|
+
"reason": "api is disabled",
|
|
622
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "api",
|
|
626
|
+
"operation": "resume",
|
|
627
|
+
"code": "api-disabled",
|
|
628
|
+
"reason": "api is disabled",
|
|
629
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"kind": "api",
|
|
633
|
+
"operation": "retry",
|
|
634
|
+
"code": "api-disabled",
|
|
635
|
+
"reason": "api is disabled",
|
|
636
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"kind": "api",
|
|
640
|
+
"operation": "run",
|
|
641
|
+
"code": "api-disabled",
|
|
642
|
+
"reason": "api is disabled",
|
|
643
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"kind": "api",
|
|
647
|
+
"operation": "saveSlotConfig",
|
|
648
|
+
"code": "api-disabled",
|
|
649
|
+
"reason": "api is disabled",
|
|
650
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"kind": "api",
|
|
654
|
+
"operation": "schedule",
|
|
655
|
+
"code": "api-disabled",
|
|
656
|
+
"reason": "api is disabled",
|
|
657
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"kind": "api",
|
|
661
|
+
"operation": "shutdown",
|
|
662
|
+
"code": "api-disabled",
|
|
663
|
+
"reason": "api is disabled",
|
|
664
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"kind": "api",
|
|
668
|
+
"operation": "syncAnalytics",
|
|
669
|
+
"code": "api-disabled",
|
|
670
|
+
"reason": "api is disabled",
|
|
671
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"kind": "api",
|
|
675
|
+
"operation": "updateSettings",
|
|
676
|
+
"code": "api-disabled",
|
|
677
|
+
"reason": "api is disabled",
|
|
678
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"kind": "api",
|
|
682
|
+
"operation": "validate",
|
|
683
|
+
"code": "api-disabled",
|
|
684
|
+
"reason": "api is disabled",
|
|
685
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"relationshipFeatures": [
|
|
689
|
+
"uuidColumns"
|
|
690
|
+
],
|
|
691
|
+
"tags": [],
|
|
692
|
+
"risks": []
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "GarrulaOutboundSettings",
|
|
696
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaOutboundSettings",
|
|
697
|
+
"collection": "garrulaoutboundsettingses",
|
|
698
|
+
"description": "One row per tenant: pause switch, cap, persona, source rules, autonomy, links.",
|
|
699
|
+
"tableName": "garrula_outbound_settings",
|
|
700
|
+
"packageName": "@happyvertical/garrula",
|
|
701
|
+
"extends": "SmrtObject",
|
|
702
|
+
"fields": [
|
|
703
|
+
{
|
|
704
|
+
"name": "created_at",
|
|
705
|
+
"type": "datetime",
|
|
706
|
+
"required": false,
|
|
707
|
+
"columnType": "TIMESTAMP"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "updated_at",
|
|
711
|
+
"type": "datetime",
|
|
712
|
+
"required": false,
|
|
713
|
+
"columnType": "TIMESTAMP"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "tenantId",
|
|
717
|
+
"type": "text",
|
|
718
|
+
"required": true,
|
|
719
|
+
"columnType": "UUID"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "paused",
|
|
723
|
+
"type": "boolean",
|
|
724
|
+
"required": true,
|
|
725
|
+
"columnType": "BOOLEAN",
|
|
726
|
+
"default": false
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "monthlyCapMicros",
|
|
730
|
+
"type": "integer",
|
|
731
|
+
"required": true,
|
|
732
|
+
"columnType": "INTEGER",
|
|
733
|
+
"default": 0
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "persona",
|
|
737
|
+
"type": "text",
|
|
738
|
+
"required": false,
|
|
739
|
+
"columnType": "TEXT"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "sources",
|
|
743
|
+
"type": "json",
|
|
744
|
+
"required": false,
|
|
745
|
+
"columnType": "JSON",
|
|
746
|
+
"default": []
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "autonomy",
|
|
750
|
+
"type": "json",
|
|
751
|
+
"required": false,
|
|
752
|
+
"columnType": "JSON",
|
|
753
|
+
"default": {}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "linkPolicy",
|
|
757
|
+
"type": "json",
|
|
758
|
+
"required": false,
|
|
759
|
+
"columnType": "JSON",
|
|
760
|
+
"default": {}
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "defaultLinkPolicy",
|
|
764
|
+
"type": "text",
|
|
765
|
+
"required": false,
|
|
766
|
+
"columnType": "TEXT"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"name": "accountIds",
|
|
770
|
+
"type": "json",
|
|
771
|
+
"required": false,
|
|
772
|
+
"columnType": "JSON",
|
|
773
|
+
"default": []
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "deferTopics",
|
|
777
|
+
"type": "json",
|
|
778
|
+
"required": false,
|
|
779
|
+
"columnType": "JSON",
|
|
780
|
+
"default": []
|
|
781
|
+
}
|
|
782
|
+
],
|
|
783
|
+
"relationships": [],
|
|
784
|
+
"methods": [],
|
|
785
|
+
"tenant": {
|
|
786
|
+
"scoped": true,
|
|
787
|
+
"mode": "required",
|
|
788
|
+
"field": "tenantId"
|
|
789
|
+
},
|
|
790
|
+
"tableStrategy": "sti",
|
|
791
|
+
"conflictColumns": [
|
|
792
|
+
"tenant_id",
|
|
793
|
+
"slug",
|
|
794
|
+
"context",
|
|
795
|
+
"_meta_type"
|
|
796
|
+
],
|
|
797
|
+
"surfaces": [],
|
|
798
|
+
"relationshipFeatures": [
|
|
799
|
+
"uuidColumns"
|
|
800
|
+
],
|
|
801
|
+
"tags": [],
|
|
802
|
+
"risks": []
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "GarrulaOutboundSettingsCollection",
|
|
806
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaOutboundSettingsCollection",
|
|
807
|
+
"collection": "garrulaoutboundsettingses",
|
|
808
|
+
"tableName": "garrula_outbound_settings",
|
|
809
|
+
"packageName": "@happyvertical/garrula",
|
|
810
|
+
"extends": "SmrtCollection",
|
|
811
|
+
"fields": [],
|
|
812
|
+
"relationships": [],
|
|
813
|
+
"methods": [],
|
|
814
|
+
"surfaces": [],
|
|
815
|
+
"relationshipFeatures": [
|
|
816
|
+
"uuidColumns"
|
|
817
|
+
],
|
|
818
|
+
"tags": [],
|
|
819
|
+
"risks": []
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "GarrulaOutboundPost",
|
|
823
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaOutboundPost",
|
|
824
|
+
"collection": "garrulaoutboundposts",
|
|
825
|
+
"description": "The outbound lifecycle of one smrt-social SocialPost: state, kind, source and cited claims.",
|
|
826
|
+
"tableName": "garrula_outbound_posts",
|
|
827
|
+
"packageName": "@happyvertical/garrula",
|
|
828
|
+
"extends": "SmrtObject",
|
|
829
|
+
"fields": [
|
|
830
|
+
{
|
|
831
|
+
"name": "created_at",
|
|
832
|
+
"type": "datetime",
|
|
833
|
+
"required": false,
|
|
834
|
+
"columnType": "TIMESTAMP"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "updated_at",
|
|
838
|
+
"type": "datetime",
|
|
839
|
+
"required": false,
|
|
840
|
+
"columnType": "TIMESTAMP"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "tenantId",
|
|
844
|
+
"type": "text",
|
|
845
|
+
"required": true,
|
|
846
|
+
"columnType": "UUID"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "socialPostId",
|
|
850
|
+
"type": "text",
|
|
851
|
+
"required": false,
|
|
852
|
+
"columnType": "TEXT"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "state",
|
|
856
|
+
"type": "text",
|
|
857
|
+
"required": false,
|
|
858
|
+
"columnType": "TEXT"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "kind",
|
|
862
|
+
"type": "text",
|
|
863
|
+
"required": false,
|
|
864
|
+
"columnType": "TEXT"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"name": "sourceEventId",
|
|
868
|
+
"type": "text",
|
|
869
|
+
"required": false,
|
|
870
|
+
"columnType": "TEXT"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "sourceKind",
|
|
874
|
+
"type": "text",
|
|
875
|
+
"required": false,
|
|
876
|
+
"columnType": "TEXT"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "sourceUrl",
|
|
880
|
+
"type": "text",
|
|
881
|
+
"required": false,
|
|
882
|
+
"columnType": "TEXT"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"name": "claims",
|
|
886
|
+
"type": "json",
|
|
887
|
+
"required": false,
|
|
888
|
+
"columnType": "JSON",
|
|
889
|
+
"default": []
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"name": "approvedBy",
|
|
893
|
+
"type": "text",
|
|
894
|
+
"required": false,
|
|
895
|
+
"columnType": "TEXT"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "rejectedReason",
|
|
899
|
+
"type": "text",
|
|
900
|
+
"required": false,
|
|
901
|
+
"columnType": "TEXT"
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"relationships": [],
|
|
905
|
+
"methods": [],
|
|
906
|
+
"tenant": {
|
|
907
|
+
"scoped": true,
|
|
908
|
+
"mode": "required",
|
|
909
|
+
"field": "tenantId"
|
|
910
|
+
},
|
|
911
|
+
"tableStrategy": "sti",
|
|
912
|
+
"conflictColumns": [
|
|
913
|
+
"tenant_id",
|
|
914
|
+
"slug",
|
|
915
|
+
"context",
|
|
916
|
+
"_meta_type"
|
|
917
|
+
],
|
|
918
|
+
"surfaces": [],
|
|
919
|
+
"relationshipFeatures": [
|
|
920
|
+
"uuidColumns"
|
|
921
|
+
],
|
|
922
|
+
"tags": [],
|
|
923
|
+
"risks": []
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "GarrulaOutboundPostCollection",
|
|
927
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaOutboundPostCollection",
|
|
928
|
+
"collection": "garrulaoutboundposts",
|
|
929
|
+
"tableName": "garrula_outbound_posts",
|
|
930
|
+
"packageName": "@happyvertical/garrula",
|
|
931
|
+
"extends": "SmrtCollection",
|
|
932
|
+
"fields": [],
|
|
933
|
+
"relationships": [],
|
|
934
|
+
"methods": [],
|
|
935
|
+
"surfaces": [],
|
|
936
|
+
"relationshipFeatures": [
|
|
937
|
+
"uuidColumns"
|
|
938
|
+
],
|
|
939
|
+
"tags": [],
|
|
940
|
+
"risks": []
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "GarrulaSpendEntry",
|
|
944
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaSpendEntry",
|
|
945
|
+
"collection": "garrulaspendentries",
|
|
946
|
+
"description": "Spend ledger: one entry per publish attempt, per tenant per month.",
|
|
947
|
+
"tableName": "garrula_spend_entries",
|
|
948
|
+
"packageName": "@happyvertical/garrula",
|
|
949
|
+
"extends": "SmrtObject",
|
|
950
|
+
"fields": [
|
|
951
|
+
{
|
|
952
|
+
"name": "created_at",
|
|
953
|
+
"type": "datetime",
|
|
954
|
+
"required": false,
|
|
955
|
+
"columnType": "TIMESTAMP"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"name": "updated_at",
|
|
959
|
+
"type": "datetime",
|
|
960
|
+
"required": false,
|
|
961
|
+
"columnType": "TIMESTAMP"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"name": "tenantId",
|
|
965
|
+
"type": "text",
|
|
966
|
+
"required": true,
|
|
967
|
+
"columnType": "UUID"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "month",
|
|
971
|
+
"type": "text",
|
|
972
|
+
"required": false,
|
|
973
|
+
"columnType": "TEXT"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "socialPostId",
|
|
977
|
+
"type": "text",
|
|
978
|
+
"required": false,
|
|
979
|
+
"columnType": "TEXT"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "costMicros",
|
|
983
|
+
"type": "integer",
|
|
984
|
+
"required": true,
|
|
985
|
+
"columnType": "INTEGER",
|
|
986
|
+
"default": 0
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"name": "source",
|
|
990
|
+
"type": "text",
|
|
991
|
+
"required": false,
|
|
992
|
+
"columnType": "TEXT"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"name": "status",
|
|
996
|
+
"type": "text",
|
|
997
|
+
"required": false,
|
|
998
|
+
"columnType": "TEXT"
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
"relationships": [],
|
|
1002
|
+
"methods": [],
|
|
1003
|
+
"tenant": {
|
|
1004
|
+
"scoped": true,
|
|
1005
|
+
"mode": "required",
|
|
1006
|
+
"field": "tenantId"
|
|
1007
|
+
},
|
|
1008
|
+
"tableStrategy": "sti",
|
|
1009
|
+
"conflictColumns": [
|
|
1010
|
+
"tenant_id",
|
|
1011
|
+
"slug",
|
|
1012
|
+
"context",
|
|
1013
|
+
"_meta_type"
|
|
1014
|
+
],
|
|
1015
|
+
"surfaces": [],
|
|
1016
|
+
"relationshipFeatures": [
|
|
1017
|
+
"uuidColumns"
|
|
1018
|
+
],
|
|
1019
|
+
"tags": [],
|
|
1020
|
+
"risks": []
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "GarrulaSpendEntryCollection",
|
|
1024
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaSpendEntryCollection",
|
|
1025
|
+
"collection": "garrulaspendentries",
|
|
1026
|
+
"tableName": "garrula_spend_entries",
|
|
1027
|
+
"packageName": "@happyvertical/garrula",
|
|
1028
|
+
"extends": "SmrtCollection",
|
|
1029
|
+
"fields": [],
|
|
1030
|
+
"relationships": [],
|
|
1031
|
+
"methods": [],
|
|
1032
|
+
"surfaces": [],
|
|
1033
|
+
"relationshipFeatures": [
|
|
1034
|
+
"uuidColumns"
|
|
1035
|
+
],
|
|
1036
|
+
"tags": [],
|
|
1037
|
+
"risks": []
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "GarrulaSourceEvent",
|
|
1041
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaSourceEvent",
|
|
1042
|
+
"collection": "garrulasourceevents",
|
|
1043
|
+
"description": "Dedupe ledger: an event id seen once never yields a second candidate.",
|
|
1044
|
+
"tableName": "garrula_source_events",
|
|
1045
|
+
"packageName": "@happyvertical/garrula",
|
|
1046
|
+
"extends": "SmrtObject",
|
|
1047
|
+
"fields": [
|
|
1048
|
+
{
|
|
1049
|
+
"name": "created_at",
|
|
1050
|
+
"type": "datetime",
|
|
1051
|
+
"required": false,
|
|
1052
|
+
"columnType": "TIMESTAMP"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "updated_at",
|
|
1056
|
+
"type": "datetime",
|
|
1057
|
+
"required": false,
|
|
1058
|
+
"columnType": "TIMESTAMP"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "tenantId",
|
|
1062
|
+
"type": "text",
|
|
1063
|
+
"required": true,
|
|
1064
|
+
"columnType": "UUID"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "eventKey",
|
|
1068
|
+
"type": "text",
|
|
1069
|
+
"required": false,
|
|
1070
|
+
"columnType": "TEXT"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "outcome",
|
|
1074
|
+
"type": "text",
|
|
1075
|
+
"required": false,
|
|
1076
|
+
"columnType": "TEXT"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "outboundPostIds",
|
|
1080
|
+
"type": "json",
|
|
1081
|
+
"required": false,
|
|
1082
|
+
"columnType": "JSON",
|
|
1083
|
+
"default": []
|
|
1084
|
+
}
|
|
1085
|
+
],
|
|
1086
|
+
"relationships": [],
|
|
1087
|
+
"methods": [],
|
|
1088
|
+
"tenant": {
|
|
1089
|
+
"scoped": true,
|
|
1090
|
+
"mode": "required",
|
|
1091
|
+
"field": "tenantId"
|
|
1092
|
+
},
|
|
1093
|
+
"tableStrategy": "sti",
|
|
1094
|
+
"conflictColumns": [
|
|
1095
|
+
"tenant_id",
|
|
1096
|
+
"slug",
|
|
1097
|
+
"context",
|
|
1098
|
+
"_meta_type"
|
|
1099
|
+
],
|
|
1100
|
+
"surfaces": [],
|
|
1101
|
+
"relationshipFeatures": [
|
|
1102
|
+
"uuidColumns"
|
|
1103
|
+
],
|
|
1104
|
+
"tags": [],
|
|
1105
|
+
"risks": []
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "GarrulaSourceEventCollection",
|
|
1109
|
+
"qualifiedName": "@happyvertical/garrula:GarrulaSourceEventCollection",
|
|
1110
|
+
"collection": "garrulasourceevents",
|
|
1111
|
+
"tableName": "garrula_source_events",
|
|
1112
|
+
"packageName": "@happyvertical/garrula",
|
|
1113
|
+
"extends": "SmrtCollection",
|
|
1114
|
+
"fields": [],
|
|
1115
|
+
"relationships": [],
|
|
1116
|
+
"methods": [],
|
|
1117
|
+
"surfaces": [],
|
|
1118
|
+
"relationshipFeatures": [
|
|
1119
|
+
"uuidColumns"
|
|
1120
|
+
],
|
|
1121
|
+
"tags": [],
|
|
1122
|
+
"risks": []
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"surfaces": [
|
|
1126
|
+
{
|
|
1127
|
+
"kind": "cli",
|
|
1128
|
+
"name": "garrula_run",
|
|
1129
|
+
"operation": "run",
|
|
1130
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"kind": "cli",
|
|
1134
|
+
"name": "garrula_syncAnalytics",
|
|
1135
|
+
"operation": "syncAnalytics",
|
|
1136
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
"kind": "mcp",
|
|
1140
|
+
"name": "garrula_createstorylinkposts",
|
|
1141
|
+
"operation": "createStoryLinkPosts",
|
|
1142
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"kind": "mcp",
|
|
1146
|
+
"name": "garrula_createarticlevideoposts",
|
|
1147
|
+
"operation": "createArticleVideoPosts",
|
|
1148
|
+
"objectName": "@happyvertical/garrula:Garrula"
|
|
1149
|
+
}
|
|
1150
|
+
],
|
|
1151
|
+
"prompts": [],
|
|
1152
|
+
"relationshipsV2": {
|
|
1153
|
+
"foreignKeyFields": 0,
|
|
1154
|
+
"crossPackageRefFields": 0,
|
|
1155
|
+
"junctionCollections": 0,
|
|
1156
|
+
"hierarchicalObjects": 0,
|
|
1157
|
+
"polymorphicAssociations": 0,
|
|
1158
|
+
"uuidColumns": 18
|
|
1159
|
+
},
|
|
1160
|
+
"agentDoc": "# Repository Agent Instructions\n\n<!-- hv-managed-policy:start revision=1.0.0 sha256=2c2f4d048293cab2fc7f8c636eee474c0386c13a9c7bbf2c535c5ada47d1d6e5 -->\n\n## Shared development kernel\n\n- Be concise. Load detailed SOP skills only when the task triggers them.\n- Read the repository's `.agents/project.yaml` and nearest `AGENTS.md` files before work.\n- Use `implement` by default for accepted issue implementation.\n- Tracked implementation work is complete when documented validation is green, `review-cycle` has passed, the claim is handed off, and a ready-for-review pull request exists; do this unprompted, even where harness defaults wait for a user request. Before editing untracked requested work, create and claim its issue, or — patch-class only — record it on this session's open patch train; work the user explicitly scopes as a throwaway spike is exempt: it ends at its report and never enters the commit, push, or PR lifecycle.\n- Claim an issue before editing it: add `agent: implementation` and post one claim comment naming your runtime, session, and branch. Do not take an issue another session holds with activity in the last 24 hours without a handoff. Any agent may assign work to another agent with a `dispatch: <runtime>` label and an instruction comment; the receiving agent claims it.\n- Patch-class work — small bug, doc, and improvement changes with no schema, contract, dependency, or breaking change — may bundle as one patch train on one branch and pull request with one commit per item. Other work stays one issue per pull request. An incidental patch-class fix of ten lines or fewer near files under edit ships in the same pull request as its own commit, listed under `Drive-by fixes` in the PR description; other findings go to the tracker.\n- Hand off intentionally: when done, blocked, or stopping, update your claim comment with the outcome and next step and remove `agent: implementation`. Never delete claim history.\n- Open pull requests only when reviewable, never as drafts, and keep them ready for review. Watch a ready PR until it is mergeable — no base conflicts, no unresolved review threads, the repository's required checks green, its required approvals satisfied — or report a concrete blocker.\n- Incomplete work remains ready with `status: blocked` and a concrete handoff. Review agents do not claim implementation.\n- Agents do not merge unless explicitly authorized in the current session, and then only when the repository's own required checks and approvals pass.\n- Run documented validation and update affected docs before shipping.\n- Token efficiency: risk defaults to standard, high needs a named trigger; after the first final pass only accepted blockers reopen edits; after six passes, ask the user before more; wait outside the implementer.\n- Preserve unrelated work. Never expose or retain secrets.\n- Use repository Hindsight memory for durable, provenance-linked knowledge; do not store transient logs or duplicate canonical docs.\n- Shared SOPs and portable skills come from the designated control-plane repository. Repositories choose their own technology and may add stricter local rules.\n\n<!-- hv-managed-policy:end -->\n\n## Repository-specific guidance\n\n# Garrula\n\nGarrula is the reusable social-media publishing agent for SMRT applications,\npublished as `@happyvertical/garrula`. It drafts posts for a tenant's ready\n`smrt-social` accounts, publishes due posts (claiming each post atomically so it\nis never sent twice), refreshes OAuth tokens, and records analytics.\n\n## Setup and validation\n\n```bash\npnpm install --frozen-lockfile\npnpm validate\n```\n\nUse Node and pnpm versions from `package.json`. Run the narrowest relevant check\nfirst (`pnpm test`, `pnpm typecheck`), then `pnpm validate` before a pull\nrequest. Tests are in process only (SQLite via `@happyvertical/sql`, fake social\nadapters); never start containers or call real platform APIs.\n\n## Architecture boundaries\n\n- Account, post, and snapshot persistence belongs to `@happyvertical/smrt-social`;\n platform calls belong to `@happyvertical/social`. Garrula orchestrates them.\n- Tenant comes from the request's `tenantId` or the surrounding `withTenant`\n context, never from a global; the only cross-tenant entry points are `run()`\n and an unscoped `syncAnalytics()` (the background job), which enter each\n post's own tenant before touching it.\n- Anything specific to one application (target platforms, wording, refresh\n timing, tenant lifecycle, media storage) is host configuration\n (`GarrulaConfig`, `GarrulaHost`) with neutral defaults, not code.\n- The `@smrt()` decorator keeps `api` closed; see `docs/manifest-routing.md`\n before changing it.\n- All `@happyvertical/smrt-*` packages share one exact version; bump them\n together. `@happyvertical/social` is pinned exactly.\n\n## Package surfaces\n\n- `.`, `./admin`, `./admin/*.svelte` and `./manifest` are the public exports;\n validate them with `pnpm verify:pack`.\n- Admin UI is host-agnostic: it takes an API client and base paths as props and\n owns no application routing.\n- Releases are generated by the merge workflow (`pnpm changeset:auto`); do not\n hand-write changesets. The package stays on the 0.x line.\n- `CLAUDE.md`, `GEMINI.md`, and Copilot instructions are generated adapters;\n update this file for durable repository guidance.\n"
|
|
1161
|
+
}
|