@lssm/example.analytics-dashboard 0.0.0-canary-20251222120211 → 0.0.0-canary-20251223012036
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/dashboard/dashboard.enum.js +4 -4
- package/dist/dashboard/dashboard.enum.js.map +1 -1
- package/dist/dashboard/dashboard.operation.d.ts +1 -1
- package/dist/dashboard/dashboard.operation.js +1 -2
- package/dist/dashboard/dashboard.operation.js.map +1 -1
- package/dist/dashboard/dashboard.schema.js +42 -42
- package/dist/dashboard/dashboard.schema.js.map +1 -1
- package/dist/docs/analytics-dashboard.docblock.js +1 -2
- package/dist/docs/analytics-dashboard.docblock.js.map +1 -1
- package/dist/events.d.ts +1 -1
- package/dist/events.js +21 -22
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/query/query.enum.js +2 -2
- package/dist/query/query.enum.js.map +1 -1
- package/dist/query/query.operation.d.ts +1 -1
- package/dist/query/query.operation.js +1 -2
- package/dist/query/query.operation.js.map +1 -1
- package/dist/query/query.schema.js +32 -32
- package/dist/query/query.schema.js.map +1 -1
- package/package.json +11 -11
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js +0 -6
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +0 -1
- package/dist/libs/contracts/dist/capabilities/index.js +0 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -89
- package/dist/libs/contracts/dist/capabilities/openbanking.js.map +0 -1
- package/dist/libs/contracts/dist/client/index.js +0 -5
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -3
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -5
- package/dist/libs/contracts/dist/client/react/index.js +0 -4
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -61
- package/dist/libs/contracts/dist/contract-registry/schemas.js.map +0 -1
- package/dist/libs/contracts/dist/data-views/data-views.js +0 -7
- package/dist/libs/contracts/dist/data-views/data-views.js.map +0 -1
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -17
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/index.js +0 -25
- package/dist/libs/contracts/dist/docs/meta.docs.js +0 -30
- package/dist/libs/contracts/dist/docs/meta.docs.js.map +0 -1
- package/dist/libs/contracts/dist/docs/presentations.js +0 -72
- package/dist/libs/contracts/dist/docs/presentations.js.map +0 -1
- package/dist/libs/contracts/dist/docs/registry.js +0 -45
- package/dist/libs/contracts/dist/docs/registry.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -81
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -58
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -17
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -358
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -38
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -17
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -49
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -80
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -85
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -46
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -41
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -70
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -48
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -63
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -156
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -102
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -21
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +0 -1
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +0 -97
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +0 -1
- package/dist/libs/contracts/dist/events.js +0 -11
- package/dist/libs/contracts/dist/events.js.map +0 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/features.js +0 -7
- package/dist/libs/contracts/dist/features.js.map +0 -1
- package/dist/libs/contracts/dist/forms/forms.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -88
- package/dist/libs/contracts/dist/index.js.map +0 -1
- package/dist/libs/contracts/dist/install.js +0 -2
- package/dist/libs/contracts/dist/integrations/index.js +0 -18
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -241
- package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -14
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/operations.js +0 -377
- package/dist/libs/contracts/dist/integrations/operations.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -53
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -76
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -88
- package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -67
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -69
- package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -69
- package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -117
- package/dist/libs/contracts/dist/integrations/providers/powens.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -74
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -84
- package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -62
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +0 -1
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/index.js +0 -7
- package/dist/libs/contracts/dist/knowledge/operations.js +0 -306
- package/dist/libs/contracts/dist/knowledge/operations.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -39
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -38
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -35
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +0 -1
- package/dist/libs/contracts/dist/llm/exporters.js +0 -21
- package/dist/libs/contracts/dist/llm/exporters.js.map +0 -1
- package/dist/libs/contracts/dist/llm/index.js +0 -2
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -196
- package/dist/libs/contracts/dist/onboarding-base.js.map +0 -1
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/operations/index.js +0 -2
- package/dist/libs/contracts/dist/operations/operation.js +0 -35
- package/dist/libs/contracts/dist/operations/operation.js.map +0 -1
- package/dist/libs/contracts/dist/operations/registry.js +0 -8
- package/dist/libs/contracts/dist/operations/registry.js.map +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -24
- package/dist/libs/contracts/dist/ownership.js.map +0 -1
- package/dist/libs/contracts/dist/presentations/index.js +0 -2
- package/dist/libs/contracts/dist/presentations/presentations.js +0 -8
- package/dist/libs/contracts/dist/presentations/presentations.js.map +0 -1
- package/dist/libs/contracts/dist/presentations/transform-engine.js +0 -12
- package/dist/libs/contracts/dist/presentations/transform-engine.js.map +0 -1
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -1
- package/dist/libs/contracts/dist/regenerator/service.js +0 -7
- package/dist/libs/contracts/dist/regenerator/service.js.map +0 -1
- package/dist/libs/contracts/dist/registry-utils.js +0 -24
- package/dist/libs/contracts/dist/registry-utils.js.map +0 -1
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -3873
- package/dist/libs/contracts/dist/schema/dist/index.js.map +0 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
- package/dist/libs/contracts/dist/server/index.js +0 -8
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -3
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -2
- package/dist/libs/contracts/dist/workflow/index.js +0 -2
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/contracts/dist/workflow/spec.js +0 -7
- package/dist/libs/contracts/dist/workflow/spec.js.map +0 -1
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +0 -164
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +0 -1
- package/dist/libs/contracts/dist/workspace-config/index.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -4717
- package/dist/libs/schema/dist/index.js.map +0 -1
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import { E5, x8 } from "../schema/dist/index.js";
|
|
2
|
-
import { defineCommand, defineQuery } from "../operations/operation.js";
|
|
3
|
-
import "../operations/index.js";
|
|
4
|
-
|
|
5
|
-
//#region ../../libs/contracts/dist/knowledge/operations.js
|
|
6
|
-
const KnowledgeSyncSchedule = new x8({
|
|
7
|
-
name: "KnowledgeSyncSchedule",
|
|
8
|
-
fields: {
|
|
9
|
-
enabled: {
|
|
10
|
-
type: E5.Boolean(),
|
|
11
|
-
isOptional: false
|
|
12
|
-
},
|
|
13
|
-
cron: {
|
|
14
|
-
type: E5.String_unsecure(),
|
|
15
|
-
isOptional: true
|
|
16
|
-
},
|
|
17
|
-
intervalMs: {
|
|
18
|
-
type: E5.Int_unsecure(),
|
|
19
|
-
isOptional: true
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const KnowledgeSourceRecord = new x8({
|
|
24
|
-
name: "KnowledgeSourceRecord",
|
|
25
|
-
fields: {
|
|
26
|
-
id: {
|
|
27
|
-
type: E5.ID(),
|
|
28
|
-
isOptional: false
|
|
29
|
-
},
|
|
30
|
-
tenantId: {
|
|
31
|
-
type: E5.ID(),
|
|
32
|
-
isOptional: false
|
|
33
|
-
},
|
|
34
|
-
spaceKey: {
|
|
35
|
-
type: E5.NonEmptyString(),
|
|
36
|
-
isOptional: false
|
|
37
|
-
},
|
|
38
|
-
spaceVersion: {
|
|
39
|
-
type: E5.Int_unsecure(),
|
|
40
|
-
isOptional: false
|
|
41
|
-
},
|
|
42
|
-
label: {
|
|
43
|
-
type: E5.String_unsecure(),
|
|
44
|
-
isOptional: false
|
|
45
|
-
},
|
|
46
|
-
sourceType: {
|
|
47
|
-
type: E5.String_unsecure(),
|
|
48
|
-
isOptional: false
|
|
49
|
-
},
|
|
50
|
-
syncSchedule: {
|
|
51
|
-
type: KnowledgeSyncSchedule,
|
|
52
|
-
isOptional: true
|
|
53
|
-
},
|
|
54
|
-
lastSyncStatus: {
|
|
55
|
-
type: E5.String_unsecure(),
|
|
56
|
-
isOptional: true
|
|
57
|
-
},
|
|
58
|
-
lastSyncAt: {
|
|
59
|
-
type: E5.DateTime(),
|
|
60
|
-
isOptional: true
|
|
61
|
-
},
|
|
62
|
-
itemsProcessed: {
|
|
63
|
-
type: E5.Int_unsecure(),
|
|
64
|
-
isOptional: true
|
|
65
|
-
},
|
|
66
|
-
createdAt: {
|
|
67
|
-
type: E5.DateTime(),
|
|
68
|
-
isOptional: true
|
|
69
|
-
},
|
|
70
|
-
updatedAt: {
|
|
71
|
-
type: E5.DateTime(),
|
|
72
|
-
isOptional: true
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
const CreateKnowledgeSourceInput = new x8({
|
|
77
|
-
name: "CreateKnowledgeSourceInput",
|
|
78
|
-
fields: {
|
|
79
|
-
tenantId: {
|
|
80
|
-
type: E5.ID(),
|
|
81
|
-
isOptional: false
|
|
82
|
-
},
|
|
83
|
-
spaceKey: {
|
|
84
|
-
type: E5.NonEmptyString(),
|
|
85
|
-
isOptional: false
|
|
86
|
-
},
|
|
87
|
-
spaceVersion: {
|
|
88
|
-
type: E5.Int_unsecure(),
|
|
89
|
-
isOptional: false
|
|
90
|
-
},
|
|
91
|
-
label: {
|
|
92
|
-
type: E5.String_unsecure(),
|
|
93
|
-
isOptional: false
|
|
94
|
-
},
|
|
95
|
-
sourceType: {
|
|
96
|
-
type: E5.NonEmptyString(),
|
|
97
|
-
isOptional: false
|
|
98
|
-
},
|
|
99
|
-
config: {
|
|
100
|
-
type: E5.JSONObject(),
|
|
101
|
-
isOptional: false
|
|
102
|
-
},
|
|
103
|
-
syncSchedule: {
|
|
104
|
-
type: KnowledgeSyncSchedule,
|
|
105
|
-
isOptional: true
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
const UpdateKnowledgeSourceInput = new x8({
|
|
110
|
-
name: "UpdateKnowledgeSourceInput",
|
|
111
|
-
fields: {
|
|
112
|
-
sourceId: {
|
|
113
|
-
type: E5.ID(),
|
|
114
|
-
isOptional: false
|
|
115
|
-
},
|
|
116
|
-
label: {
|
|
117
|
-
type: E5.String_unsecure(),
|
|
118
|
-
isOptional: true
|
|
119
|
-
},
|
|
120
|
-
config: {
|
|
121
|
-
type: E5.JSONObject(),
|
|
122
|
-
isOptional: true
|
|
123
|
-
},
|
|
124
|
-
syncSchedule: {
|
|
125
|
-
type: KnowledgeSyncSchedule,
|
|
126
|
-
isOptional: true
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
const DeleteKnowledgeSourceInput = new x8({
|
|
131
|
-
name: "DeleteKnowledgeSourceInput",
|
|
132
|
-
fields: { sourceId: {
|
|
133
|
-
type: E5.ID(),
|
|
134
|
-
isOptional: false
|
|
135
|
-
} }
|
|
136
|
-
});
|
|
137
|
-
const DeleteKnowledgeSourceOutput = new x8({
|
|
138
|
-
name: "DeleteKnowledgeSourceOutput",
|
|
139
|
-
fields: { success: {
|
|
140
|
-
type: E5.Boolean(),
|
|
141
|
-
isOptional: false
|
|
142
|
-
} }
|
|
143
|
-
});
|
|
144
|
-
const ListKnowledgeSourcesInput = new x8({
|
|
145
|
-
name: "ListKnowledgeSourcesInput",
|
|
146
|
-
fields: {
|
|
147
|
-
tenantId: {
|
|
148
|
-
type: E5.ID(),
|
|
149
|
-
isOptional: false
|
|
150
|
-
},
|
|
151
|
-
spaceKey: {
|
|
152
|
-
type: E5.NonEmptyString(),
|
|
153
|
-
isOptional: true
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
const ListKnowledgeSourcesOutput = new x8({
|
|
158
|
-
name: "ListKnowledgeSourcesOutput",
|
|
159
|
-
fields: { sources: {
|
|
160
|
-
type: KnowledgeSourceRecord,
|
|
161
|
-
isOptional: false,
|
|
162
|
-
isArray: true
|
|
163
|
-
} }
|
|
164
|
-
});
|
|
165
|
-
const TriggerKnowledgeSyncInput = new x8({
|
|
166
|
-
name: "TriggerKnowledgeSyncInput",
|
|
167
|
-
fields: { sourceId: {
|
|
168
|
-
type: E5.ID(),
|
|
169
|
-
isOptional: false
|
|
170
|
-
} }
|
|
171
|
-
});
|
|
172
|
-
const TriggerKnowledgeSyncOutput = new x8({
|
|
173
|
-
name: "TriggerKnowledgeSyncOutput",
|
|
174
|
-
fields: {
|
|
175
|
-
success: {
|
|
176
|
-
type: E5.Boolean(),
|
|
177
|
-
isOptional: false
|
|
178
|
-
},
|
|
179
|
-
itemsProcessed: {
|
|
180
|
-
type: E5.Int_unsecure(),
|
|
181
|
-
isOptional: true
|
|
182
|
-
},
|
|
183
|
-
error: {
|
|
184
|
-
type: E5.String_unsecure(),
|
|
185
|
-
isOptional: true
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
const CreateKnowledgeSource = defineCommand({
|
|
190
|
-
meta: {
|
|
191
|
-
name: "knowledge.source.create",
|
|
192
|
-
version: 1,
|
|
193
|
-
description: "Create a knowledge source binding for a tenant.",
|
|
194
|
-
goal: "Onboard a new knowledge ingestion source such as Notion or uploads.",
|
|
195
|
-
context: "Used by Ops and App Studio to configure knowledge ingestion per tenant and space.",
|
|
196
|
-
owners: ["platform.knowledge"],
|
|
197
|
-
tags: ["knowledge", "sources"],
|
|
198
|
-
stability: "experimental"
|
|
199
|
-
},
|
|
200
|
-
io: {
|
|
201
|
-
input: CreateKnowledgeSourceInput,
|
|
202
|
-
output: KnowledgeSourceRecord
|
|
203
|
-
},
|
|
204
|
-
policy: {
|
|
205
|
-
auth: "admin",
|
|
206
|
-
policies: [{
|
|
207
|
-
name: "platform.knowledge.manage",
|
|
208
|
-
version: 1
|
|
209
|
-
}]
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
const UpdateKnowledgeSource = defineCommand({
|
|
213
|
-
meta: {
|
|
214
|
-
name: "knowledge.source.update",
|
|
215
|
-
version: 1,
|
|
216
|
-
description: "Update metadata or configuration for a knowledge source.",
|
|
217
|
-
goal: "Allow rotation of credentials, sync schedules, and labels.",
|
|
218
|
-
context: "Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).",
|
|
219
|
-
owners: ["platform.knowledge"],
|
|
220
|
-
tags: ["knowledge", "sources"],
|
|
221
|
-
stability: "experimental"
|
|
222
|
-
},
|
|
223
|
-
io: {
|
|
224
|
-
input: UpdateKnowledgeSourceInput,
|
|
225
|
-
output: KnowledgeSourceRecord
|
|
226
|
-
},
|
|
227
|
-
policy: {
|
|
228
|
-
auth: "admin",
|
|
229
|
-
policies: [{
|
|
230
|
-
name: "platform.knowledge.manage",
|
|
231
|
-
version: 1
|
|
232
|
-
}]
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
const DeleteKnowledgeSource = defineCommand({
|
|
236
|
-
meta: {
|
|
237
|
-
name: "knowledge.source.delete",
|
|
238
|
-
version: 1,
|
|
239
|
-
description: "Delete a knowledge source binding for a tenant.",
|
|
240
|
-
goal: "Remove obsolete or compromised knowledge ingestion paths.",
|
|
241
|
-
context: "Ensures ephemeral or external sources can be removed cleanly without leaving residual bindings.",
|
|
242
|
-
owners: ["platform.knowledge"],
|
|
243
|
-
tags: ["knowledge", "sources"],
|
|
244
|
-
stability: "experimental"
|
|
245
|
-
},
|
|
246
|
-
io: {
|
|
247
|
-
input: DeleteKnowledgeSourceInput,
|
|
248
|
-
output: DeleteKnowledgeSourceOutput
|
|
249
|
-
},
|
|
250
|
-
policy: {
|
|
251
|
-
auth: "admin",
|
|
252
|
-
policies: [{
|
|
253
|
-
name: "platform.knowledge.manage",
|
|
254
|
-
version: 1
|
|
255
|
-
}]
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
const ListKnowledgeSources = defineQuery({
|
|
259
|
-
meta: {
|
|
260
|
-
name: "knowledge.source.list",
|
|
261
|
-
version: 1,
|
|
262
|
-
description: "List knowledge sources configured for a tenant.",
|
|
263
|
-
goal: "Provide visibility into knowledge ingest configuration and schedules.",
|
|
264
|
-
context: "Used by App Studio and Ops flows to surface knowledge sources and their health.",
|
|
265
|
-
owners: ["platform.knowledge"],
|
|
266
|
-
tags: ["knowledge", "sources"],
|
|
267
|
-
stability: "experimental"
|
|
268
|
-
},
|
|
269
|
-
io: {
|
|
270
|
-
input: ListKnowledgeSourcesInput,
|
|
271
|
-
output: ListKnowledgeSourcesOutput
|
|
272
|
-
},
|
|
273
|
-
policy: {
|
|
274
|
-
auth: "admin",
|
|
275
|
-
policies: [{
|
|
276
|
-
name: "platform.knowledge.read",
|
|
277
|
-
version: 1
|
|
278
|
-
}]
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
const TriggerKnowledgeSourceSync = defineCommand({
|
|
282
|
-
meta: {
|
|
283
|
-
name: "knowledge.source.triggerSync",
|
|
284
|
-
version: 1,
|
|
285
|
-
description: "Trigger an immediate sync for a knowledge source.",
|
|
286
|
-
goal: "Support manual or automated sync retries for knowledge ingestion.",
|
|
287
|
-
context: "Invoked by Ops tooling or monitors when knowledge content must be refreshed or reprocessed.",
|
|
288
|
-
owners: ["platform.knowledge"],
|
|
289
|
-
tags: ["knowledge", "sources"],
|
|
290
|
-
stability: "experimental"
|
|
291
|
-
},
|
|
292
|
-
io: {
|
|
293
|
-
input: TriggerKnowledgeSyncInput,
|
|
294
|
-
output: TriggerKnowledgeSyncOutput
|
|
295
|
-
},
|
|
296
|
-
policy: {
|
|
297
|
-
auth: "admin",
|
|
298
|
-
policies: [{
|
|
299
|
-
name: "platform.knowledge.manage",
|
|
300
|
-
version: 1
|
|
301
|
-
}]
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
//#endregion
|
|
306
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","names":[],"sources":["../../../../../../../libs/contracts/dist/knowledge/operations.js"],"sourcesContent":["import { E5, x8 } from \"../schema/dist/index.js\";\nimport { defineCommand, defineQuery } from \"../operations/operation.js\";\nimport \"../operations/index.js\";\n\n//#region src/knowledge/operations.ts\nconst KnowledgeSyncSchedule = new x8({\n\tname: \"KnowledgeSyncSchedule\",\n\tfields: {\n\t\tenabled: {\n\t\t\ttype: E5.Boolean(),\n\t\t\tisOptional: false\n\t\t},\n\t\tcron: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tintervalMs: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst KnowledgeSourceRecord = new x8({\n\tname: \"KnowledgeSourceRecord\",\n\tfields: {\n\t\tid: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tspaceKey: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tspaceVersion: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tlabel: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tsourceType: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tsyncSchedule: {\n\t\t\ttype: KnowledgeSyncSchedule,\n\t\t\tisOptional: true\n\t\t},\n\t\tlastSyncStatus: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tlastSyncAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\titemsProcessed: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tcreatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t},\n\t\tupdatedAt: {\n\t\t\ttype: E5.DateTime(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst CreateKnowledgeSourceInput = new x8({\n\tname: \"CreateKnowledgeSourceInput\",\n\tfields: {\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tspaceKey: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tspaceVersion: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tlabel: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: false\n\t\t},\n\t\tsourceType: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: false\n\t\t},\n\t\tconfig: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: false\n\t\t},\n\t\tsyncSchedule: {\n\t\t\ttype: KnowledgeSyncSchedule,\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst UpdateKnowledgeSourceInput = new x8({\n\tname: \"UpdateKnowledgeSourceInput\",\n\tfields: {\n\t\tsourceId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tlabel: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\tconfig: {\n\t\t\ttype: E5.JSONObject(),\n\t\t\tisOptional: true\n\t\t},\n\t\tsyncSchedule: {\n\t\t\ttype: KnowledgeSyncSchedule,\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst DeleteKnowledgeSourceInput = new x8({\n\tname: \"DeleteKnowledgeSourceInput\",\n\tfields: { sourceId: {\n\t\ttype: E5.ID(),\n\t\tisOptional: false\n\t} }\n});\nconst DeleteKnowledgeSourceOutput = new x8({\n\tname: \"DeleteKnowledgeSourceOutput\",\n\tfields: { success: {\n\t\ttype: E5.Boolean(),\n\t\tisOptional: false\n\t} }\n});\nconst ListKnowledgeSourcesInput = new x8({\n\tname: \"ListKnowledgeSourcesInput\",\n\tfields: {\n\t\ttenantId: {\n\t\t\ttype: E5.ID(),\n\t\t\tisOptional: false\n\t\t},\n\t\tspaceKey: {\n\t\t\ttype: E5.NonEmptyString(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst ListKnowledgeSourcesOutput = new x8({\n\tname: \"ListKnowledgeSourcesOutput\",\n\tfields: { sources: {\n\t\ttype: KnowledgeSourceRecord,\n\t\tisOptional: false,\n\t\tisArray: true\n\t} }\n});\nconst TriggerKnowledgeSyncInput = new x8({\n\tname: \"TriggerKnowledgeSyncInput\",\n\tfields: { sourceId: {\n\t\ttype: E5.ID(),\n\t\tisOptional: false\n\t} }\n});\nconst TriggerKnowledgeSyncOutput = new x8({\n\tname: \"TriggerKnowledgeSyncOutput\",\n\tfields: {\n\t\tsuccess: {\n\t\t\ttype: E5.Boolean(),\n\t\t\tisOptional: false\n\t\t},\n\t\titemsProcessed: {\n\t\t\ttype: E5.Int_unsecure(),\n\t\t\tisOptional: true\n\t\t},\n\t\terror: {\n\t\t\ttype: E5.String_unsecure(),\n\t\t\tisOptional: true\n\t\t}\n\t}\n});\nconst CreateKnowledgeSource = defineCommand({\n\tmeta: {\n\t\tname: \"knowledge.source.create\",\n\t\tversion: 1,\n\t\tdescription: \"Create a knowledge source binding for a tenant.\",\n\t\tgoal: \"Onboard a new knowledge ingestion source such as Notion or uploads.\",\n\t\tcontext: \"Used by Ops and App Studio to configure knowledge ingestion per tenant and space.\",\n\t\towners: [\"platform.knowledge\"],\n\t\ttags: [\"knowledge\", \"sources\"],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: CreateKnowledgeSourceInput,\n\t\toutput: KnowledgeSourceRecord\n\t},\n\tpolicy: {\n\t\tauth: \"admin\",\n\t\tpolicies: [{\n\t\t\tname: \"platform.knowledge.manage\",\n\t\t\tversion: 1\n\t\t}]\n\t}\n});\nconst UpdateKnowledgeSource = defineCommand({\n\tmeta: {\n\t\tname: \"knowledge.source.update\",\n\t\tversion: 1,\n\t\tdescription: \"Update metadata or configuration for a knowledge source.\",\n\t\tgoal: \"Allow rotation of credentials, sync schedules, and labels.\",\n\t\tcontext: \"Supports editing how a tenant ingests knowledge (e.g., toggling sync cadence).\",\n\t\towners: [\"platform.knowledge\"],\n\t\ttags: [\"knowledge\", \"sources\"],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: UpdateKnowledgeSourceInput,\n\t\toutput: KnowledgeSourceRecord\n\t},\n\tpolicy: {\n\t\tauth: \"admin\",\n\t\tpolicies: [{\n\t\t\tname: \"platform.knowledge.manage\",\n\t\t\tversion: 1\n\t\t}]\n\t}\n});\nconst DeleteKnowledgeSource = defineCommand({\n\tmeta: {\n\t\tname: \"knowledge.source.delete\",\n\t\tversion: 1,\n\t\tdescription: \"Delete a knowledge source binding for a tenant.\",\n\t\tgoal: \"Remove obsolete or compromised knowledge ingestion paths.\",\n\t\tcontext: \"Ensures ephemeral or external sources can be removed cleanly without leaving residual bindings.\",\n\t\towners: [\"platform.knowledge\"],\n\t\ttags: [\"knowledge\", \"sources\"],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: DeleteKnowledgeSourceInput,\n\t\toutput: DeleteKnowledgeSourceOutput\n\t},\n\tpolicy: {\n\t\tauth: \"admin\",\n\t\tpolicies: [{\n\t\t\tname: \"platform.knowledge.manage\",\n\t\t\tversion: 1\n\t\t}]\n\t}\n});\nconst ListKnowledgeSources = defineQuery({\n\tmeta: {\n\t\tname: \"knowledge.source.list\",\n\t\tversion: 1,\n\t\tdescription: \"List knowledge sources configured for a tenant.\",\n\t\tgoal: \"Provide visibility into knowledge ingest configuration and schedules.\",\n\t\tcontext: \"Used by App Studio and Ops flows to surface knowledge sources and their health.\",\n\t\towners: [\"platform.knowledge\"],\n\t\ttags: [\"knowledge\", \"sources\"],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: ListKnowledgeSourcesInput,\n\t\toutput: ListKnowledgeSourcesOutput\n\t},\n\tpolicy: {\n\t\tauth: \"admin\",\n\t\tpolicies: [{\n\t\t\tname: \"platform.knowledge.read\",\n\t\t\tversion: 1\n\t\t}]\n\t}\n});\nconst TriggerKnowledgeSourceSync = defineCommand({\n\tmeta: {\n\t\tname: \"knowledge.source.triggerSync\",\n\t\tversion: 1,\n\t\tdescription: \"Trigger an immediate sync for a knowledge source.\",\n\t\tgoal: \"Support manual or automated sync retries for knowledge ingestion.\",\n\t\tcontext: \"Invoked by Ops tooling or monitors when knowledge content must be refreshed or reprocessed.\",\n\t\towners: [\"platform.knowledge\"],\n\t\ttags: [\"knowledge\", \"sources\"],\n\t\tstability: \"experimental\"\n\t},\n\tio: {\n\t\tinput: TriggerKnowledgeSyncInput,\n\t\toutput: TriggerKnowledgeSyncOutput\n\t},\n\tpolicy: {\n\t\tauth: \"admin\",\n\t\tpolicies: [{\n\t\t\tname: \"platform.knowledge.manage\",\n\t\t\tversion: 1\n\t\t}]\n\t}\n});\nconst knowledgeContracts = {\n\tCreateKnowledgeSource,\n\tUpdateKnowledgeSource,\n\tDeleteKnowledgeSource,\n\tListKnowledgeSources,\n\tTriggerKnowledgeSourceSync\n};\nfunction registerKnowledgeContracts(registry) {\n\treturn registry.register(CreateKnowledgeSource).register(UpdateKnowledgeSource).register(DeleteKnowledgeSource).register(ListKnowledgeSources).register(TriggerKnowledgeSourceSync);\n}\n\n//#endregion\nexport { CreateKnowledgeSource, DeleteKnowledgeSource, ListKnowledgeSources, TriggerKnowledgeSourceSync, UpdateKnowledgeSource, knowledgeContracts, registerKnowledgeContracts };"],"mappings":"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"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/email-threads.js
|
|
4
|
-
const emailThreadsKnowledgeSpace = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "knowledge.email-threads",
|
|
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: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: 365 },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: "knowledge.access.email-threads",
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: "medium",
|
|
24
|
-
automationWritable: true
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: "mistral-embed",
|
|
28
|
-
chunkSize: 600,
|
|
29
|
-
vectorDbIntegration: "vectordb.qdrant"
|
|
30
|
-
},
|
|
31
|
-
description: "Operational email threads synchronized from Gmail to support automations and contextual assistance."
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
//# sourceMappingURL=email-threads.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email-threads.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/knowledge/spaces/email-threads.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/knowledge/spaces/email-threads.ts\nconst emailThreadsKnowledgeSpace = {\n\tmeta: {\n\t\tkey: \"knowledge.email-threads\",\n\t\tversion: 1,\n\t\tcategory: \"operational\",\n\t\tdisplayName: \"Email Threads\",\n\t\ttitle: \"Operational Email Threads\",\n\t\tdescription: \"Indexed copies of operational email threads used for support, onboarding, and workflows.\",\n\t\tdomain: \"operations\",\n\t\towners: [\"platform.operations\"],\n\t\ttags: [\"email\", \"operations\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tretention: { ttlDays: 365 },\n\taccess: {\n\t\tpolicy: {\n\t\t\tname: \"knowledge.access.email-threads\",\n\t\t\tversion: 1\n\t\t},\n\t\ttrustLevel: \"medium\",\n\t\tautomationWritable: true\n\t},\n\tindexing: {\n\t\tembeddingModel: \"mistral-embed\",\n\t\tchunkSize: 600,\n\t\tvectorDbIntegration: \"vectordb.qdrant\"\n\t},\n\tdescription: \"Operational email threads synchronized from Gmail to support automations and contextual assistance.\"\n};\nfunction registerEmailThreadsKnowledgeSpace(registry) {\n\treturn registry.register(emailThreadsKnowledgeSpace);\n}\n\n//#endregion\nexport { emailThreadsKnowledgeSpace, registerEmailThreadsKnowledgeSpace };"],"mappings":";;;AAGA,MAAM,6BAA6B;CAClC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,sBAAsB;EAC/B,MAAM,CAAC,SAAS,aAAa;EAC7B,WAAW,cAAc;EACzB;CACD,WAAW,EAAE,SAAS,KAAK;CAC3B,QAAQ;EACP,QAAQ;GACP,MAAM;GACN,SAAS;GACT;EACD,YAAY;EACZ,oBAAoB;EACpB;CACD,UAAU;EACT,gBAAgB;EAChB,WAAW;EACX,qBAAqB;EACrB;CACD,aAAa;CACb"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/financial-docs.js
|
|
4
|
-
const financialDocsKnowledgeSpace = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "knowledge.financial-docs",
|
|
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: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: null },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: "knowledge.access.financial-docs",
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: "high",
|
|
24
|
-
automationWritable: true
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: "mistral-embed",
|
|
28
|
-
chunkSize: 700,
|
|
29
|
-
vectorDbIntegration: "vectordb.qdrant"
|
|
30
|
-
},
|
|
31
|
-
description: "Normalized financial documents enabling bill pay automation, reminders, and summaries."
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
//# sourceMappingURL=financial-docs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"financial-docs.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/knowledge/spaces/financial-docs.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/knowledge/spaces/financial-docs.ts\nconst financialDocsKnowledgeSpace = {\n\tmeta: {\n\t\tkey: \"knowledge.financial-docs\",\n\t\tversion: 1,\n\t\tcategory: \"canonical\",\n\t\tdisplayName: \"Financial Documents\",\n\t\ttitle: \"Household Financial Documents\",\n\t\tdescription: \"Invoices, bills, and contracts powering Pocket Family Office financial automation.\",\n\t\tdomain: \"finance\",\n\t\towners: [\"platform.finance\"],\n\t\ttags: [\"finance\", \"documents\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tretention: { ttlDays: null },\n\taccess: {\n\t\tpolicy: {\n\t\t\tname: \"knowledge.access.financial-docs\",\n\t\t\tversion: 1\n\t\t},\n\t\ttrustLevel: \"high\",\n\t\tautomationWritable: true\n\t},\n\tindexing: {\n\t\tembeddingModel: \"mistral-embed\",\n\t\tchunkSize: 700,\n\t\tvectorDbIntegration: \"vectordb.qdrant\"\n\t},\n\tdescription: \"Normalized financial documents enabling bill pay automation, reminders, and summaries.\"\n};\nfunction registerFinancialDocsKnowledgeSpace(registry) {\n\treturn registry.register(financialDocsKnowledgeSpace);\n}\n\n//#endregion\nexport { financialDocsKnowledgeSpace, registerFinancialDocsKnowledgeSpace };"],"mappings":";;;AAGA,MAAM,8BAA8B;CACnC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,mBAAmB;EAC5B,MAAM,CAAC,WAAW,YAAY;EAC9B,WAAW,cAAc;EACzB;CACD,WAAW,EAAE,SAAS,MAAM;CAC5B,QAAQ;EACP,QAAQ;GACP,MAAM;GACN,SAAS;GACT;EACD,YAAY;EACZ,oBAAoB;EACpB;CACD,UAAU;EACT,gBAAgB;EAChB,WAAW;EACX,qBAAqB;EACrB;CACD,aAAa;CACb"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/financial-overview.js
|
|
4
|
-
const financialOverviewKnowledgeSpace = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "knowledge.financial-overview",
|
|
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"],
|
|
14
|
-
tags: [
|
|
15
|
-
"open-banking",
|
|
16
|
-
"summaries",
|
|
17
|
-
"cashflow"
|
|
18
|
-
],
|
|
19
|
-
stability: StabilityEnum.Experimental
|
|
20
|
-
},
|
|
21
|
-
retention: { ttlDays: 180 },
|
|
22
|
-
access: {
|
|
23
|
-
policy: {
|
|
24
|
-
name: "knowledge.access.financial-overview",
|
|
25
|
-
version: 1
|
|
26
|
-
},
|
|
27
|
-
trustLevel: "medium",
|
|
28
|
-
automationWritable: true
|
|
29
|
-
},
|
|
30
|
-
indexing: {
|
|
31
|
-
embeddingModel: "mistral-embed",
|
|
32
|
-
chunkSize: 600,
|
|
33
|
-
vectorDbIntegration: "vectordb.qdrant"
|
|
34
|
-
},
|
|
35
|
-
description: "Derived knowledge space containing weekly/monthly cashflow rollups and account health summaries. Raw transactions are excluded to respect privacy guardrails."
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
//#endregion
|
|
39
|
-
//# sourceMappingURL=financial-overview.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"financial-overview.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/knowledge/spaces/financial-overview.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/knowledge/spaces/financial-overview.ts\nconst financialOverviewKnowledgeSpace = {\n\tmeta: {\n\t\tkey: \"knowledge.financial-overview\",\n\t\tversion: 1,\n\t\tcategory: \"operational\",\n\t\tdisplayName: \"Financial Overview Summaries\",\n\t\ttitle: \"Derived Financial Summaries\",\n\t\tdescription: \"Aggregated cashflow summaries, category breakdowns, and balance trends derived from open banking data.\",\n\t\tdomain: \"finance\",\n\t\towners: [\"platform.finance\"],\n\t\ttags: [\n\t\t\t\"open-banking\",\n\t\t\t\"summaries\",\n\t\t\t\"cashflow\"\n\t\t],\n\t\tstability: StabilityEnum.Experimental\n\t},\n\tretention: { ttlDays: 180 },\n\taccess: {\n\t\tpolicy: {\n\t\t\tname: \"knowledge.access.financial-overview\",\n\t\t\tversion: 1\n\t\t},\n\t\ttrustLevel: \"medium\",\n\t\tautomationWritable: true\n\t},\n\tindexing: {\n\t\tembeddingModel: \"mistral-embed\",\n\t\tchunkSize: 600,\n\t\tvectorDbIntegration: \"vectordb.qdrant\"\n\t},\n\tdescription: \"Derived knowledge space containing weekly/monthly cashflow rollups and account health summaries. Raw transactions are excluded to respect privacy guardrails.\"\n};\nfunction registerFinancialOverviewKnowledgeSpace(registry) {\n\treturn registry.register(financialOverviewKnowledgeSpace);\n}\n\n//#endregion\nexport { financialOverviewKnowledgeSpace, registerFinancialOverviewKnowledgeSpace };"],"mappings":";;;AAGA,MAAM,kCAAkC;CACvC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,mBAAmB;EAC5B,MAAM;GACL;GACA;GACA;GACA;EACD,WAAW,cAAc;EACzB;CACD,WAAW,EAAE,SAAS,KAAK;CAC3B,QAAQ;EACP,QAAQ;GACP,MAAM;GACN,SAAS;GACT;EACD,YAAY;EACZ,oBAAoB;EACpB;CACD,UAAU;EACT,gBAAgB;EAChB,WAAW;EACX,qBAAqB;EACrB;CACD,aAAa;CACb"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/product-canon.js
|
|
4
|
-
const productCanonKnowledgeSpace = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "knowledge.product-canon",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "canonical",
|
|
9
|
-
displayName: "Product Canon",
|
|
10
|
-
title: "Product Canon Knowledge Space",
|
|
11
|
-
description: "Authoritative product knowledge covering strategy, roadmap, and delivery canon.",
|
|
12
|
-
domain: "product",
|
|
13
|
-
owners: ["platform.product"],
|
|
14
|
-
tags: ["knowledge", "product"],
|
|
15
|
-
stability: StabilityEnum.Stable
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: null },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: "knowledge.access.product-canon",
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: "high",
|
|
24
|
-
automationWritable: false
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: "text-embedding-3-large",
|
|
28
|
-
chunkSize: 800,
|
|
29
|
-
vectorDbIntegration: "vectordb.qdrant"
|
|
30
|
-
},
|
|
31
|
-
description: "Single source of truth for product canon, principles, and strategic narratives."
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
//# sourceMappingURL=product-canon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product-canon.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/knowledge/spaces/product-canon.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/knowledge/spaces/product-canon.ts\nconst productCanonKnowledgeSpace = {\n\tmeta: {\n\t\tkey: \"knowledge.product-canon\",\n\t\tversion: 1,\n\t\tcategory: \"canonical\",\n\t\tdisplayName: \"Product Canon\",\n\t\ttitle: \"Product Canon Knowledge Space\",\n\t\tdescription: \"Authoritative product knowledge covering strategy, roadmap, and delivery canon.\",\n\t\tdomain: \"product\",\n\t\towners: [\"platform.product\"],\n\t\ttags: [\"knowledge\", \"product\"],\n\t\tstability: StabilityEnum.Stable\n\t},\n\tretention: { ttlDays: null },\n\taccess: {\n\t\tpolicy: {\n\t\t\tname: \"knowledge.access.product-canon\",\n\t\t\tversion: 1\n\t\t},\n\t\ttrustLevel: \"high\",\n\t\tautomationWritable: false\n\t},\n\tindexing: {\n\t\tembeddingModel: \"text-embedding-3-large\",\n\t\tchunkSize: 800,\n\t\tvectorDbIntegration: \"vectordb.qdrant\"\n\t},\n\tdescription: \"Single source of truth for product canon, principles, and strategic narratives.\"\n};\nfunction registerProductCanonKnowledgeSpace(registry) {\n\treturn registry.register(productCanonKnowledgeSpace);\n}\n\n//#endregion\nexport { productCanonKnowledgeSpace, registerProductCanonKnowledgeSpace };"],"mappings":";;;AAGA,MAAM,6BAA6B;CAClC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,mBAAmB;EAC5B,MAAM,CAAC,aAAa,UAAU;EAC9B,WAAW,cAAc;EACzB;CACD,WAAW,EAAE,SAAS,MAAM;CAC5B,QAAQ;EACP,QAAQ;GACP,MAAM;GACN,SAAS;GACT;EACD,YAAY;EACZ,oBAAoB;EACpB;CACD,UAAU;EACT,gBAAgB;EAChB,WAAW;EACX,qBAAqB;EACrB;CACD,aAAa;CACb"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/support-faq.js
|
|
4
|
-
const supportFaqKnowledgeSpace = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "knowledge.support-faq",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "operational",
|
|
9
|
-
displayName: "Support FAQ",
|
|
10
|
-
title: "Support & Success FAQ",
|
|
11
|
-
description: "Operational knowledge base for customer support and success.",
|
|
12
|
-
domain: "support",
|
|
13
|
-
owners: ["platform.support"],
|
|
14
|
-
tags: ["knowledge", "support"],
|
|
15
|
-
stability: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: {
|
|
18
|
-
ttlDays: 365,
|
|
19
|
-
archiveAfterDays: 180
|
|
20
|
-
},
|
|
21
|
-
access: {
|
|
22
|
-
policy: {
|
|
23
|
-
name: "knowledge.access.support",
|
|
24
|
-
version: 1
|
|
25
|
-
},
|
|
26
|
-
trustLevel: "medium",
|
|
27
|
-
automationWritable: true
|
|
28
|
-
},
|
|
29
|
-
indexing: {
|
|
30
|
-
embeddingModel: "text-embedding-3-small",
|
|
31
|
-
chunkSize: 700,
|
|
32
|
-
vectorDbIntegration: "vectordb.qdrant"
|
|
33
|
-
},
|
|
34
|
-
description: "Operational FAQs, runbooks, and customer success playbooks augmented with automation updates."
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
//# sourceMappingURL=support-faq.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"support-faq.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/knowledge/spaces/support-faq.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/knowledge/spaces/support-faq.ts\nconst supportFaqKnowledgeSpace = {\n\tmeta: {\n\t\tkey: \"knowledge.support-faq\",\n\t\tversion: 1,\n\t\tcategory: \"operational\",\n\t\tdisplayName: \"Support FAQ\",\n\t\ttitle: \"Support & Success FAQ\",\n\t\tdescription: \"Operational knowledge base for customer support and success.\",\n\t\tdomain: \"support\",\n\t\towners: [\"platform.support\"],\n\t\ttags: [\"knowledge\", \"support\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tretention: {\n\t\tttlDays: 365,\n\t\tarchiveAfterDays: 180\n\t},\n\taccess: {\n\t\tpolicy: {\n\t\t\tname: \"knowledge.access.support\",\n\t\t\tversion: 1\n\t\t},\n\t\ttrustLevel: \"medium\",\n\t\tautomationWritable: true\n\t},\n\tindexing: {\n\t\tembeddingModel: \"text-embedding-3-small\",\n\t\tchunkSize: 700,\n\t\tvectorDbIntegration: \"vectordb.qdrant\"\n\t},\n\tdescription: \"Operational FAQs, runbooks, and customer success playbooks augmented with automation updates.\"\n};\nfunction registerSupportFaqKnowledgeSpace(registry) {\n\treturn registry.register(supportFaqKnowledgeSpace);\n}\n\n//#endregion\nexport { registerSupportFaqKnowledgeSpace, supportFaqKnowledgeSpace };"],"mappings":";;;AAGA,MAAM,2BAA2B;CAChC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,mBAAmB;EAC5B,MAAM,CAAC,aAAa,UAAU;EAC9B,WAAW,cAAc;EACzB;CACD,WAAW;EACV,SAAS;EACT,kBAAkB;EAClB;CACD,QAAQ;EACP,QAAQ;GACP,MAAM;GACN,SAAS;GACT;EACD,YAAY;EACZ,oBAAoB;EACpB;CACD,UAAU;EACT,gBAAgB;EAChB,WAAW;EACX,qBAAqB;EACrB;CACD,aAAa;CACb"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { StabilityEnum } from "../../ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../libs/contracts/dist/knowledge/spaces/uploaded-docs.js
|
|
4
|
-
const uploadedDocsKnowledgeSpace = {
|
|
5
|
-
meta: {
|
|
6
|
-
key: "knowledge.uploaded-docs",
|
|
7
|
-
version: 1,
|
|
8
|
-
category: "external",
|
|
9
|
-
displayName: "Uploaded Documents",
|
|
10
|
-
title: "Uploaded Knowledge Assets",
|
|
11
|
-
description: "Documents uploaded by households, including invoices, contracts, and reference files.",
|
|
12
|
-
domain: "operations",
|
|
13
|
-
owners: ["platform.operations"],
|
|
14
|
-
tags: ["documents", "storage"],
|
|
15
|
-
stability: StabilityEnum.Beta
|
|
16
|
-
},
|
|
17
|
-
retention: { ttlDays: null },
|
|
18
|
-
access: {
|
|
19
|
-
policy: {
|
|
20
|
-
name: "knowledge.access.uploaded-docs",
|
|
21
|
-
version: 1
|
|
22
|
-
},
|
|
23
|
-
trustLevel: "medium",
|
|
24
|
-
automationWritable: true
|
|
25
|
-
},
|
|
26
|
-
indexing: {
|
|
27
|
-
embeddingModel: "mistral-embed",
|
|
28
|
-
chunkSize: 900,
|
|
29
|
-
vectorDbIntegration: "vectordb.qdrant"
|
|
30
|
-
},
|
|
31
|
-
description: "User-provided documents normalized and embedded for retrieval augmented workflows."
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
//# sourceMappingURL=uploaded-docs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"uploaded-docs.js","names":[],"sources":["../../../../../../../../libs/contracts/dist/knowledge/spaces/uploaded-docs.js"],"sourcesContent":["import { StabilityEnum } from \"../../ownership.js\";\n\n//#region src/knowledge/spaces/uploaded-docs.ts\nconst uploadedDocsKnowledgeSpace = {\n\tmeta: {\n\t\tkey: \"knowledge.uploaded-docs\",\n\t\tversion: 1,\n\t\tcategory: \"external\",\n\t\tdisplayName: \"Uploaded Documents\",\n\t\ttitle: \"Uploaded Knowledge Assets\",\n\t\tdescription: \"Documents uploaded by households, including invoices, contracts, and reference files.\",\n\t\tdomain: \"operations\",\n\t\towners: [\"platform.operations\"],\n\t\ttags: [\"documents\", \"storage\"],\n\t\tstability: StabilityEnum.Beta\n\t},\n\tretention: { ttlDays: null },\n\taccess: {\n\t\tpolicy: {\n\t\t\tname: \"knowledge.access.uploaded-docs\",\n\t\t\tversion: 1\n\t\t},\n\t\ttrustLevel: \"medium\",\n\t\tautomationWritable: true\n\t},\n\tindexing: {\n\t\tembeddingModel: \"mistral-embed\",\n\t\tchunkSize: 900,\n\t\tvectorDbIntegration: \"vectordb.qdrant\"\n\t},\n\tdescription: \"User-provided documents normalized and embedded for retrieval augmented workflows.\"\n};\nfunction registerUploadedDocsKnowledgeSpace(registry) {\n\treturn registry.register(uploadedDocsKnowledgeSpace);\n}\n\n//#endregion\nexport { registerUploadedDocsKnowledgeSpace, uploadedDocsKnowledgeSpace };"],"mappings":";;;AAGA,MAAM,6BAA6B;CAClC,MAAM;EACL,KAAK;EACL,SAAS;EACT,UAAU;EACV,aAAa;EACb,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,sBAAsB;EAC/B,MAAM,CAAC,aAAa,UAAU;EAC9B,WAAW,cAAc;EACzB;CACD,WAAW,EAAE,SAAS,MAAM;CAC5B,QAAQ;EACP,QAAQ;GACP,MAAM;GACN,SAAS;GACT;EACD,YAAY;EACZ,oBAAoB;EACpB;CACD,UAAU;EACT,gBAAgB;EAChB,WAAW;EACX,qBAAqB;EACrB;CACD,aAAa;CACb"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import "../jsonschema.js";
|
|
2
|
-
import "../operations/index.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../libs/contracts/dist/llm/exporters.js
|
|
5
|
-
const DEFAULT_SPEC_OPTIONS = {
|
|
6
|
-
format: "full",
|
|
7
|
-
includeSchemas: true,
|
|
8
|
-
includeScenarios: true,
|
|
9
|
-
includeExamples: true,
|
|
10
|
-
includePolicy: true,
|
|
11
|
-
includeSideEffects: true
|
|
12
|
-
};
|
|
13
|
-
const DEFAULT_FEATURE_OPTIONS = {
|
|
14
|
-
...DEFAULT_SPEC_OPTIONS,
|
|
15
|
-
includeRelatedSpecs: true,
|
|
16
|
-
includeRelatedEvents: true,
|
|
17
|
-
includeRelatedPresentations: true
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
//# sourceMappingURL=exporters.js.map
|