@lssm/example.analytics-dashboard 0.0.0-canary-20251217063201 → 0.0.0-canary-20251217072406

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.
Files changed (94) hide show
  1. package/dist/dashboard/dashboard.contracts.d.ts +131 -131
  2. package/dist/dashboard/dashboard.contracts.js +5 -5
  3. package/dist/dashboard/dashboard.enum.d.ts +4 -4
  4. package/dist/dashboard/dashboard.enum.js +4 -4
  5. package/dist/dashboard/dashboard.schema.d.ts +79 -79
  6. package/dist/dashboard/dashboard.schema.js +43 -43
  7. package/dist/docs/analytics-dashboard.docblock.js +2 -2
  8. package/dist/events.d.ts +40 -40
  9. package/dist/events.js +25 -25
  10. package/dist/libs/contracts/dist/capabilities/openbanking.js +53 -49
  11. package/dist/libs/contracts/dist/client/index.js +1 -1
  12. package/dist/libs/contracts/dist/client/react/index.js +1 -1
  13. package/dist/libs/contracts/dist/contract-registry/index.js +1 -1
  14. package/dist/libs/contracts/dist/contract-registry/schemas.js +52 -49
  15. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +11 -86
  16. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +11 -360
  17. package/dist/libs/contracts/dist/docs/index.js +2 -2
  18. package/dist/libs/contracts/dist/docs/presentations.js +48 -44
  19. package/dist/libs/contracts/dist/docs/registry.js +27 -25
  20. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +11 -393
  21. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +11 -78
  22. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +11 -150
  23. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +11 -96
  24. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +10 -10
  25. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +15 -15
  26. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +12 -12
  27. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +11 -223
  28. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +44 -44
  29. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +30 -14
  30. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +10 -10
  31. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +13 -274
  32. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +41 -15
  33. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +15 -15
  34. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +14 -14
  35. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +16 -28
  36. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +60 -15
  37. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +13 -13
  38. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +31 -48
  39. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +40 -15
  40. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +14 -14
  41. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +22 -22
  42. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +12 -12
  43. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +22 -22
  44. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +11 -11
  45. package/dist/libs/contracts/dist/events.js +4 -3
  46. package/dist/libs/contracts/dist/index.js +14 -14
  47. package/dist/libs/contracts/dist/integrations/contracts.js +205 -199
  48. package/dist/libs/contracts/dist/integrations/index.js +5 -5
  49. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +133 -130
  50. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +95 -93
  51. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +3 -3
  52. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +120 -118
  53. package/dist/libs/contracts/dist/integrations/openbanking/models.js +122 -120
  54. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +9 -20
  55. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +25 -25
  56. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +36 -36
  57. package/dist/libs/contracts/dist/integrations/providers/gmail.js +40 -40
  58. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +31 -31
  59. package/dist/libs/contracts/dist/integrations/providers/mistral.js +31 -31
  60. package/dist/libs/contracts/dist/integrations/providers/postmark.js +31 -31
  61. package/dist/libs/contracts/dist/integrations/providers/powens.js +51 -51
  62. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +31 -31
  63. package/dist/libs/contracts/dist/integrations/providers/stripe.js +35 -35
  64. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +28 -28
  65. package/dist/libs/contracts/dist/jsonschema.js +1 -1
  66. package/dist/libs/contracts/dist/knowledge/contracts.js +170 -163
  67. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +17 -17
  68. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +17 -17
  69. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +19 -19
  70. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +17 -17
  71. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +17 -17
  72. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +17 -17
  73. package/dist/libs/contracts/dist/llm/exporters.js +13 -12
  74. package/dist/libs/contracts/dist/onboarding-base.js +116 -99
  75. package/dist/libs/contracts/dist/ownership.js +18 -33
  76. package/dist/libs/contracts/dist/presentations.js +1 -1
  77. package/dist/libs/contracts/dist/presentations.v2.js +6 -2
  78. package/dist/libs/contracts/dist/regenerator/service.js +5 -0
  79. package/dist/libs/contracts/dist/registry.js +1 -1
  80. package/dist/libs/contracts/dist/schema/dist/FieldType.js +24 -14
  81. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +180 -166
  82. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +20 -9
  83. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -1
  84. package/dist/libs/contracts/dist/spec.js +22 -13
  85. package/dist/libs/schema/dist/EnumType.js +25 -9
  86. package/dist/libs/schema/dist/FieldType.js +24 -14
  87. package/dist/libs/schema/dist/ScalarTypeEnum.js +180 -166
  88. package/dist/libs/schema/dist/SchemaModel.js +25 -10
  89. package/dist/libs/schema/dist/index.js +4 -4
  90. package/dist/query/query.contracts.d.ts +44 -44
  91. package/dist/query/query.contracts.js +3 -3
  92. package/dist/query/query.enum.js +2 -2
  93. package/dist/query/query.schema.js +33 -33
  94. package/package.json +10 -10
@@ -1,299 +1,306 @@
1
- import { t } from "../schema/dist/SchemaModel.js";
2
- import { l } from "../schema/dist/ScalarTypeEnum.js";
1
+ import { SchemaModel } from "../schema/dist/SchemaModel.js";
2
+ import { ScalarTypeEnum } from "../schema/dist/ScalarTypeEnum.js";
3
3
  import "../schema/dist/index.js";
4
- import { n, t as t$1 } from "../spec.js";
4
+ import { defineCommand, defineQuery } from "../spec.js";
5
5
 
6
6
  //#region ../../libs/contracts/dist/knowledge/contracts.js
7
- const i = new t({
8
- name: `KnowledgeSyncSchedule`,
7
+ const KnowledgeSyncSchedule = new SchemaModel({
8
+ name: "KnowledgeSyncSchedule",
9
9
  fields: {
10
10
  enabled: {
11
- type: l.Boolean(),
12
- isOptional: !1
11
+ type: ScalarTypeEnum.Boolean(),
12
+ isOptional: false
13
13
  },
14
14
  cron: {
15
- type: l.String_unsecure(),
16
- isOptional: !0
15
+ type: ScalarTypeEnum.String_unsecure(),
16
+ isOptional: true
17
17
  },
18
18
  intervalMs: {
19
- type: l.Int_unsecure(),
20
- isOptional: !0
19
+ type: ScalarTypeEnum.Int_unsecure(),
20
+ isOptional: true
21
21
  }
22
22
  }
23
- }), a = new t({
24
- name: `KnowledgeSourceRecord`,
23
+ });
24
+ const KnowledgeSourceRecord = new SchemaModel({
25
+ name: "KnowledgeSourceRecord",
25
26
  fields: {
26
27
  id: {
27
- type: l.ID(),
28
- isOptional: !1
28
+ type: ScalarTypeEnum.ID(),
29
+ isOptional: false
29
30
  },
30
31
  tenantId: {
31
- type: l.ID(),
32
- isOptional: !1
32
+ type: ScalarTypeEnum.ID(),
33
+ isOptional: false
33
34
  },
34
35
  spaceKey: {
35
- type: l.NonEmptyString(),
36
- isOptional: !1
36
+ type: ScalarTypeEnum.NonEmptyString(),
37
+ isOptional: false
37
38
  },
38
39
  spaceVersion: {
39
- type: l.Int_unsecure(),
40
- isOptional: !1
40
+ type: ScalarTypeEnum.Int_unsecure(),
41
+ isOptional: false
41
42
  },
42
43
  label: {
43
- type: l.String_unsecure(),
44
- isOptional: !1
44
+ type: ScalarTypeEnum.String_unsecure(),
45
+ isOptional: false
45
46
  },
46
47
  sourceType: {
47
- type: l.String_unsecure(),
48
- isOptional: !1
48
+ type: ScalarTypeEnum.String_unsecure(),
49
+ isOptional: false
49
50
  },
50
51
  syncSchedule: {
51
- type: i,
52
- isOptional: !0
52
+ type: KnowledgeSyncSchedule,
53
+ isOptional: true
53
54
  },
54
55
  lastSyncStatus: {
55
- type: l.String_unsecure(),
56
- isOptional: !0
56
+ type: ScalarTypeEnum.String_unsecure(),
57
+ isOptional: true
57
58
  },
58
59
  lastSyncAt: {
59
- type: l.DateTime(),
60
- isOptional: !0
60
+ type: ScalarTypeEnum.DateTime(),
61
+ isOptional: true
61
62
  },
62
63
  itemsProcessed: {
63
- type: l.Int_unsecure(),
64
- isOptional: !0
64
+ type: ScalarTypeEnum.Int_unsecure(),
65
+ isOptional: true
65
66
  },
66
67
  createdAt: {
67
- type: l.DateTime(),
68
- isOptional: !0
68
+ type: ScalarTypeEnum.DateTime(),
69
+ isOptional: true
69
70
  },
70
71
  updatedAt: {
71
- type: l.DateTime(),
72
- isOptional: !0
72
+ type: ScalarTypeEnum.DateTime(),
73
+ isOptional: true
73
74
  }
74
75
  }
75
- }), o = new t({
76
- name: `CreateKnowledgeSourceInput`,
76
+ });
77
+ const CreateKnowledgeSourceInput = new SchemaModel({
78
+ name: "CreateKnowledgeSourceInput",
77
79
  fields: {
78
80
  tenantId: {
79
- type: l.ID(),
80
- isOptional: !1
81
+ type: ScalarTypeEnum.ID(),
82
+ isOptional: false
81
83
  },
82
84
  spaceKey: {
83
- type: l.NonEmptyString(),
84
- isOptional: !1
85
+ type: ScalarTypeEnum.NonEmptyString(),
86
+ isOptional: false
85
87
  },
86
88
  spaceVersion: {
87
- type: l.Int_unsecure(),
88
- isOptional: !1
89
+ type: ScalarTypeEnum.Int_unsecure(),
90
+ isOptional: false
89
91
  },
90
92
  label: {
91
- type: l.String_unsecure(),
92
- isOptional: !1
93
+ type: ScalarTypeEnum.String_unsecure(),
94
+ isOptional: false
93
95
  },
94
96
  sourceType: {
95
- type: l.NonEmptyString(),
96
- isOptional: !1
97
+ type: ScalarTypeEnum.NonEmptyString(),
98
+ isOptional: false
97
99
  },
98
100
  config: {
99
- type: l.JSONObject(),
100
- isOptional: !1
101
+ type: ScalarTypeEnum.JSONObject(),
102
+ isOptional: false
101
103
  },
102
104
  syncSchedule: {
103
- type: i,
104
- isOptional: !0
105
+ type: KnowledgeSyncSchedule,
106
+ isOptional: true
105
107
  }
106
108
  }
107
- }), s = new t({
108
- name: `UpdateKnowledgeSourceInput`,
109
+ });
110
+ const UpdateKnowledgeSourceInput = new SchemaModel({
111
+ name: "UpdateKnowledgeSourceInput",
109
112
  fields: {
110
113
  sourceId: {
111
- type: l.ID(),
112
- isOptional: !1
114
+ type: ScalarTypeEnum.ID(),
115
+ isOptional: false
113
116
  },
114
117
  label: {
115
- type: l.String_unsecure(),
116
- isOptional: !0
118
+ type: ScalarTypeEnum.String_unsecure(),
119
+ isOptional: true
117
120
  },
118
121
  config: {
119
- type: l.JSONObject(),
120
- isOptional: !0
122
+ type: ScalarTypeEnum.JSONObject(),
123
+ isOptional: true
121
124
  },
122
125
  syncSchedule: {
123
- type: i,
124
- isOptional: !0
126
+ type: KnowledgeSyncSchedule,
127
+ isOptional: true
125
128
  }
126
129
  }
127
- }), c = new t({
128
- name: `DeleteKnowledgeSourceInput`,
130
+ });
131
+ const DeleteKnowledgeSourceInput = new SchemaModel({
132
+ name: "DeleteKnowledgeSourceInput",
129
133
  fields: { sourceId: {
130
- type: l.ID(),
131
- isOptional: !1
134
+ type: ScalarTypeEnum.ID(),
135
+ isOptional: false
132
136
  } }
133
- }), l$1 = new t({
134
- name: `DeleteKnowledgeSourceOutput`,
137
+ });
138
+ const DeleteKnowledgeSourceOutput = new SchemaModel({
139
+ name: "DeleteKnowledgeSourceOutput",
135
140
  fields: { success: {
136
- type: l.Boolean(),
137
- isOptional: !1
141
+ type: ScalarTypeEnum.Boolean(),
142
+ isOptional: false
138
143
  } }
139
- }), u = new t({
140
- name: `ListKnowledgeSourcesInput`,
144
+ });
145
+ const ListKnowledgeSourcesInput = new SchemaModel({
146
+ name: "ListKnowledgeSourcesInput",
141
147
  fields: {
142
148
  tenantId: {
143
- type: l.ID(),
144
- isOptional: !1
149
+ type: ScalarTypeEnum.ID(),
150
+ isOptional: false
145
151
  },
146
152
  spaceKey: {
147
- type: l.NonEmptyString(),
148
- isOptional: !0
153
+ type: ScalarTypeEnum.NonEmptyString(),
154
+ isOptional: true
149
155
  }
150
156
  }
151
- }), d = new t({
152
- name: `ListKnowledgeSourcesOutput`,
157
+ });
158
+ const ListKnowledgeSourcesOutput = new SchemaModel({
159
+ name: "ListKnowledgeSourcesOutput",
153
160
  fields: { sources: {
154
- type: a,
155
- isOptional: !1,
156
- isArray: !0
161
+ type: KnowledgeSourceRecord,
162
+ isOptional: false,
163
+ isArray: true
157
164
  } }
158
- }), f = new t({
159
- name: `TriggerKnowledgeSyncInput`,
165
+ });
166
+ const TriggerKnowledgeSyncInput = new SchemaModel({
167
+ name: "TriggerKnowledgeSyncInput",
160
168
  fields: { sourceId: {
161
- type: l.ID(),
162
- isOptional: !1
169
+ type: ScalarTypeEnum.ID(),
170
+ isOptional: false
163
171
  } }
164
- }), p = new t({
165
- name: `TriggerKnowledgeSyncOutput`,
172
+ });
173
+ const TriggerKnowledgeSyncOutput = new SchemaModel({
174
+ name: "TriggerKnowledgeSyncOutput",
166
175
  fields: {
167
176
  success: {
168
- type: l.Boolean(),
169
- isOptional: !1
177
+ type: ScalarTypeEnum.Boolean(),
178
+ isOptional: false
170
179
  },
171
180
  itemsProcessed: {
172
- type: l.Int_unsecure(),
173
- isOptional: !0
181
+ type: ScalarTypeEnum.Int_unsecure(),
182
+ isOptional: true
174
183
  },
175
184
  error: {
176
- type: l.String_unsecure(),
177
- isOptional: !0
185
+ type: ScalarTypeEnum.String_unsecure(),
186
+ isOptional: true
178
187
  }
179
188
  }
180
- }), m = t$1({
189
+ });
190
+ const CreateKnowledgeSource = defineCommand({
181
191
  meta: {
182
- name: `knowledge.source.create`,
192
+ name: "knowledge.source.create",
183
193
  version: 1,
184
- description: `Create a knowledge source binding for a tenant.`,
185
- goal: `Onboard a new knowledge ingestion source such as Notion or uploads.`,
186
- context: `Used by Ops and App Studio to configure knowledge ingestion per tenant and space.`,
187
- owners: [`platform.knowledge`],
188
- tags: [`knowledge`, `sources`],
189
- stability: `experimental`
194
+ description: "Create a knowledge source binding for a tenant.",
195
+ goal: "Onboard a new knowledge ingestion source such as Notion or uploads.",
196
+ context: "Used by Ops and App Studio to configure knowledge ingestion per tenant and space.",
197
+ owners: ["platform.knowledge"],
198
+ tags: ["knowledge", "sources"],
199
+ stability: "experimental"
190
200
  },
191
201
  io: {
192
- input: o,
193
- output: a
202
+ input: CreateKnowledgeSourceInput,
203
+ output: KnowledgeSourceRecord
194
204
  },
195
205
  policy: {
196
- auth: `admin`,
206
+ auth: "admin",
197
207
  policies: [{
198
- name: `platform.knowledge.manage`,
208
+ name: "platform.knowledge.manage",
199
209
  version: 1
200
210
  }]
201
211
  }
202
- }), h = t$1({
212
+ });
213
+ const UpdateKnowledgeSource = defineCommand({
203
214
  meta: {
204
- name: `knowledge.source.update`,
215
+ name: "knowledge.source.update",
205
216
  version: 1,
206
- description: `Update metadata or configuration for a knowledge source.`,
207
- goal: `Allow rotation of credentials, sync schedules, and labels.`,
208
- context: `Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).`,
209
- owners: [`platform.knowledge`],
210
- tags: [`knowledge`, `sources`],
211
- stability: `experimental`
217
+ description: "Update metadata or configuration for a knowledge source.",
218
+ goal: "Allow rotation of credentials, sync schedules, and labels.",
219
+ context: "Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).",
220
+ owners: ["platform.knowledge"],
221
+ tags: ["knowledge", "sources"],
222
+ stability: "experimental"
212
223
  },
213
224
  io: {
214
- input: s,
215
- output: a
225
+ input: UpdateKnowledgeSourceInput,
226
+ output: KnowledgeSourceRecord
216
227
  },
217
228
  policy: {
218
- auth: `admin`,
229
+ auth: "admin",
219
230
  policies: [{
220
- name: `platform.knowledge.manage`,
231
+ name: "platform.knowledge.manage",
221
232
  version: 1
222
233
  }]
223
234
  }
224
- }), g = t$1({
235
+ });
236
+ const DeleteKnowledgeSource = defineCommand({
225
237
  meta: {
226
- name: `knowledge.source.delete`,
238
+ name: "knowledge.source.delete",
227
239
  version: 1,
228
- description: `Delete a knowledge source binding for a tenant.`,
229
- goal: `Remove obsolete or compromised knowledge ingestion paths.`,
230
- context: `Ensures ephemeral or external sources can be removed cleanly without leaving residual bindings.`,
231
- owners: [`platform.knowledge`],
232
- tags: [`knowledge`, `sources`],
233
- stability: `experimental`
240
+ description: "Delete a knowledge source binding for a tenant.",
241
+ goal: "Remove obsolete or compromised knowledge ingestion paths.",
242
+ context: "Ensures ephemeral or external sources can be removed cleanly without leaving residual bindings.",
243
+ owners: ["platform.knowledge"],
244
+ tags: ["knowledge", "sources"],
245
+ stability: "experimental"
234
246
  },
235
247
  io: {
236
- input: c,
237
- output: l$1
248
+ input: DeleteKnowledgeSourceInput,
249
+ output: DeleteKnowledgeSourceOutput
238
250
  },
239
251
  policy: {
240
- auth: `admin`,
252
+ auth: "admin",
241
253
  policies: [{
242
- name: `platform.knowledge.manage`,
254
+ name: "platform.knowledge.manage",
243
255
  version: 1
244
256
  }]
245
257
  }
246
- }), _ = n({
258
+ });
259
+ const ListKnowledgeSources = defineQuery({
247
260
  meta: {
248
- name: `knowledge.source.list`,
261
+ name: "knowledge.source.list",
249
262
  version: 1,
250
- description: `List knowledge sources configured for a tenant.`,
251
- goal: `Provide visibility into knowledge ingest configuration and schedules.`,
252
- context: `Used by App Studio and Ops flows to surface knowledge sources and their health.`,
253
- owners: [`platform.knowledge`],
254
- tags: [`knowledge`, `sources`],
255
- stability: `experimental`
263
+ description: "List knowledge sources configured for a tenant.",
264
+ goal: "Provide visibility into knowledge ingest configuration and schedules.",
265
+ context: "Used by App Studio and Ops flows to surface knowledge sources and their health.",
266
+ owners: ["platform.knowledge"],
267
+ tags: ["knowledge", "sources"],
268
+ stability: "experimental"
256
269
  },
257
270
  io: {
258
- input: u,
259
- output: d
271
+ input: ListKnowledgeSourcesInput,
272
+ output: ListKnowledgeSourcesOutput
260
273
  },
261
274
  policy: {
262
- auth: `admin`,
275
+ auth: "admin",
263
276
  policies: [{
264
- name: `platform.knowledge.read`,
277
+ name: "platform.knowledge.read",
265
278
  version: 1
266
279
  }]
267
280
  }
268
- }), v = t$1({
281
+ });
282
+ const TriggerKnowledgeSourceSync = defineCommand({
269
283
  meta: {
270
- name: `knowledge.source.triggerSync`,
284
+ name: "knowledge.source.triggerSync",
271
285
  version: 1,
272
- description: `Trigger an immediate sync for a knowledge source.`,
273
- goal: `Support manual or automated sync retries for knowledge ingestion.`,
274
- context: `Invoked by Ops tooling or monitors when knowledge content must be refreshed or reprocessed.`,
275
- owners: [`platform.knowledge`],
276
- tags: [`knowledge`, `sources`],
277
- stability: `experimental`
286
+ description: "Trigger an immediate sync for a knowledge source.",
287
+ goal: "Support manual or automated sync retries for knowledge ingestion.",
288
+ context: "Invoked by Ops tooling or monitors when knowledge content must be refreshed or reprocessed.",
289
+ owners: ["platform.knowledge"],
290
+ tags: ["knowledge", "sources"],
291
+ stability: "experimental"
278
292
  },
279
293
  io: {
280
- input: f,
281
- output: p
294
+ input: TriggerKnowledgeSyncInput,
295
+ output: TriggerKnowledgeSyncOutput
282
296
  },
283
297
  policy: {
284
- auth: `admin`,
298
+ auth: "admin",
285
299
  policies: [{
286
- name: `platform.knowledge.manage`,
300
+ name: "platform.knowledge.manage",
287
301
  version: 1
288
302
  }]
289
303
  }
290
- }), y = {
291
- CreateKnowledgeSource: m,
292
- UpdateKnowledgeSource: h,
293
- DeleteKnowledgeSource: g,
294
- ListKnowledgeSources: _,
295
- TriggerKnowledgeSourceSync: v
296
- };
304
+ });
297
305
 
298
- //#endregion
299
- export { _, g, h, m, v };
306
+ //#endregion
@@ -1,34 +1,34 @@
1
- import { e } from "../../ownership.js";
1
+ import { StabilityEnum } from "../../ownership.js";
2
2
 
3
3
  //#region ../../libs/contracts/dist/knowledge/spaces/email-threads.js
4
- const t = {
4
+ const emailThreadsKnowledgeSpace = {
5
5
  meta: {
6
- key: `knowledge.email-threads`,
6
+ key: "knowledge.email-threads",
7
7
  version: 1,
8
- category: `operational`,
9
- displayName: `Email Threads`,
10
- title: `Operational Email Threads`,
11
- description: `Indexed copies of operational email threads used for support, onboarding, and workflows.`,
12
- domain: `operations`,
13
- owners: [`platform.operations`],
14
- tags: [`email`, `operations`],
15
- stability: e.Beta
8
+ category: "operational",
9
+ displayName: "Email Threads",
10
+ title: "Operational Email Threads",
11
+ description: "Indexed copies of operational email threads used for support, onboarding, and workflows.",
12
+ domain: "operations",
13
+ owners: ["platform.operations"],
14
+ tags: ["email", "operations"],
15
+ stability: StabilityEnum.Beta
16
16
  },
17
17
  retention: { ttlDays: 365 },
18
18
  access: {
19
19
  policy: {
20
- name: `knowledge.access.email-threads`,
20
+ name: "knowledge.access.email-threads",
21
21
  version: 1
22
22
  },
23
- trustLevel: `medium`,
24
- automationWritable: !0
23
+ trustLevel: "medium",
24
+ automationWritable: true
25
25
  },
26
26
  indexing: {
27
- embeddingModel: `mistral-embed`,
27
+ embeddingModel: "mistral-embed",
28
28
  chunkSize: 600,
29
- vectorDbIntegration: `vectordb.qdrant`
29
+ vectorDbIntegration: "vectordb.qdrant"
30
30
  },
31
- description: `Operational email threads synchronized from Gmail to support automations and contextual assistance.`
31
+ description: "Operational email threads synchronized from Gmail to support automations and contextual assistance."
32
32
  };
33
33
 
34
34
  //#endregion
@@ -1,34 +1,34 @@
1
- import { e } from "../../ownership.js";
1
+ import { StabilityEnum } from "../../ownership.js";
2
2
 
3
3
  //#region ../../libs/contracts/dist/knowledge/spaces/financial-docs.js
4
- const t = {
4
+ const financialDocsKnowledgeSpace = {
5
5
  meta: {
6
- key: `knowledge.financial-docs`,
6
+ key: "knowledge.financial-docs",
7
7
  version: 1,
8
- category: `canonical`,
9
- displayName: `Financial Documents`,
10
- title: `Household Financial Documents`,
11
- description: `Invoices, bills, and contracts powering Pocket Family Office financial automation.`,
12
- domain: `finance`,
13
- owners: [`platform.finance`],
14
- tags: [`finance`, `documents`],
15
- stability: e.Beta
8
+ category: "canonical",
9
+ displayName: "Financial Documents",
10
+ title: "Household Financial Documents",
11
+ description: "Invoices, bills, and contracts powering Pocket Family Office financial automation.",
12
+ domain: "finance",
13
+ owners: ["platform.finance"],
14
+ tags: ["finance", "documents"],
15
+ stability: StabilityEnum.Beta
16
16
  },
17
17
  retention: { ttlDays: null },
18
18
  access: {
19
19
  policy: {
20
- name: `knowledge.access.financial-docs`,
20
+ name: "knowledge.access.financial-docs",
21
21
  version: 1
22
22
  },
23
- trustLevel: `high`,
24
- automationWritable: !0
23
+ trustLevel: "high",
24
+ automationWritable: true
25
25
  },
26
26
  indexing: {
27
- embeddingModel: `mistral-embed`,
27
+ embeddingModel: "mistral-embed",
28
28
  chunkSize: 700,
29
- vectorDbIntegration: `vectordb.qdrant`
29
+ vectorDbIntegration: "vectordb.qdrant"
30
30
  },
31
- description: `Normalized financial documents enabling bill pay automation, reminders, and summaries.`
31
+ description: "Normalized financial documents enabling bill pay automation, reminders, and summaries."
32
32
  };
33
33
 
34
34
  //#endregion
@@ -1,38 +1,38 @@
1
- import { e } from "../../ownership.js";
1
+ import { StabilityEnum } from "../../ownership.js";
2
2
 
3
3
  //#region ../../libs/contracts/dist/knowledge/spaces/financial-overview.js
4
- const t = {
4
+ const financialOverviewKnowledgeSpace = {
5
5
  meta: {
6
- key: `knowledge.financial-overview`,
6
+ key: "knowledge.financial-overview",
7
7
  version: 1,
8
- category: `operational`,
9
- displayName: `Financial Overview Summaries`,
10
- title: `Derived Financial Summaries`,
11
- description: `Aggregated cashflow summaries, category breakdowns, and balance trends derived from open banking data.`,
12
- domain: `finance`,
13
- owners: [`platform.finance`],
8
+ category: "operational",
9
+ displayName: "Financial Overview Summaries",
10
+ title: "Derived Financial Summaries",
11
+ description: "Aggregated cashflow summaries, category breakdowns, and balance trends derived from open banking data.",
12
+ domain: "finance",
13
+ owners: ["platform.finance"],
14
14
  tags: [
15
- `open-banking`,
16
- `summaries`,
17
- `cashflow`
15
+ "open-banking",
16
+ "summaries",
17
+ "cashflow"
18
18
  ],
19
- stability: e.Experimental
19
+ stability: StabilityEnum.Experimental
20
20
  },
21
21
  retention: { ttlDays: 180 },
22
22
  access: {
23
23
  policy: {
24
- name: `knowledge.access.financial-overview`,
24
+ name: "knowledge.access.financial-overview",
25
25
  version: 1
26
26
  },
27
- trustLevel: `medium`,
28
- automationWritable: !0
27
+ trustLevel: "medium",
28
+ automationWritable: true
29
29
  },
30
30
  indexing: {
31
- embeddingModel: `mistral-embed`,
31
+ embeddingModel: "mistral-embed",
32
32
  chunkSize: 600,
33
- vectorDbIntegration: `vectordb.qdrant`
33
+ vectorDbIntegration: "vectordb.qdrant"
34
34
  },
35
- description: `Derived knowledge space containing weekly/monthly cashflow rollups and account health summaries. Raw transactions are excluded to respect privacy guardrails.`
35
+ description: "Derived knowledge space containing weekly/monthly cashflow rollups and account health summaries. Raw transactions are excluded to respect privacy guardrails."
36
36
  };
37
37
 
38
38
  //#endregion