@elevasis/core 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3214 -2501
- package/dist/index.js +3112 -1222
- package/dist/knowledge/index.d.ts +1108 -1264
- package/dist/knowledge/index.js +112 -9
- package/dist/organization-model/index.d.ts +3214 -2501
- package/dist/organization-model/index.js +3112 -1222
- package/dist/test-utils/index.d.ts +985 -1103
- package/dist/test-utils/index.js +2464 -1165
- package/package.json +5 -5
- package/src/README.md +14 -14
- package/src/__tests__/publish.test.ts +24 -24
- package/src/__tests__/template-core-compatibility.test.ts +9 -80
- package/src/_gen/__tests__/__snapshots__/contracts.md.snap +2389 -2121
- package/src/_gen/__tests__/scaffold-contracts.test.ts +30 -30
- package/src/auth/multi-tenancy/credentials/__tests__/encryption.test.ts +217 -217
- package/src/auth/multi-tenancy/credentials/server/encryption.ts +69 -69
- package/src/auth/multi-tenancy/credentials/server/kek-loader.ts +37 -37
- package/src/auth/multi-tenancy/index.ts +26 -26
- package/src/auth/multi-tenancy/invitations/api-schemas.ts +104 -104
- package/src/auth/multi-tenancy/memberships/api-schemas.ts +143 -143
- package/src/auth/multi-tenancy/memberships/index.ts +26 -26
- package/src/auth/multi-tenancy/memberships/membership.ts +130 -130
- package/src/auth/multi-tenancy/organizations/__tests__/api-schemas.test.ts +194 -194
- package/src/auth/multi-tenancy/organizations/api-schemas.ts +136 -136
- package/src/auth/multi-tenancy/permissions.test.ts +42 -42
- package/src/auth/multi-tenancy/permissions.ts +123 -123
- package/src/auth/multi-tenancy/role-management/api-schemas.ts +78 -78
- package/src/auth/multi-tenancy/role-management/index.ts +16 -16
- package/src/auth/multi-tenancy/theme-presets.ts +45 -45
- package/src/auth/multi-tenancy/types.ts +57 -57
- package/src/auth/multi-tenancy/users/api-schemas.ts +165 -165
- package/src/business/README.md +2 -2
- package/src/business/acquisition/activity-events.test.ts +250 -250
- package/src/business/acquisition/activity-events.ts +93 -93
- package/src/business/acquisition/api-schemas.test.ts +1883 -1843
- package/src/business/acquisition/api-schemas.ts +1493 -1500
- package/src/business/acquisition/build-templates.test.ts +240 -240
- package/src/business/acquisition/build-templates.ts +83 -41
- package/src/business/acquisition/crm-next-action.test.ts +262 -262
- package/src/business/acquisition/crm-next-action.ts +220 -220
- package/src/business/acquisition/crm-priority.test.ts +216 -216
- package/src/business/acquisition/crm-priority.ts +349 -349
- package/src/business/acquisition/crm-state-actions.test.ts +153 -151
- package/src/business/acquisition/deal-ownership.test.ts +351 -351
- package/src/business/acquisition/deal-ownership.ts +120 -120
- package/src/business/acquisition/derive-actions.test.ts +129 -104
- package/src/business/acquisition/derive-actions.ts +74 -84
- package/src/business/acquisition/index.ts +171 -170
- package/src/business/acquisition/ontology-validation.ts +309 -0
- package/src/business/acquisition/stateful.ts +30 -30
- package/src/business/acquisition/types.ts +396 -392
- package/src/business/clients/api-schemas.test.ts +115 -115
- package/src/business/clients/api-schemas.ts +158 -158
- package/src/business/clients/index.ts +1 -1
- package/src/business/crm/api-schemas.ts +40 -40
- package/src/business/crm/index.ts +1 -1
- package/src/business/deals/api-schemas.ts +87 -87
- package/src/business/deals/index.ts +1 -1
- package/src/business/index.ts +5 -5
- package/src/business/projects/types.ts +144 -144
- package/src/commands/queue/types/task.ts +15 -15
- package/src/execution/core/runner-types.ts +61 -61
- package/src/execution/core/sse-executions.ts +7 -7
- package/src/execution/engine/__tests__/fixtures/test-agents.ts +10 -10
- package/src/execution/engine/agent/core/__tests__/agent.test.ts +16 -16
- package/src/execution/engine/agent/core/__tests__/error-passthrough.test.ts +4 -4
- package/src/execution/engine/agent/core/types.ts +25 -25
- package/src/execution/engine/agent/index.ts +6 -6
- package/src/execution/engine/agent/reasoning/__tests__/request-builder.test.ts +24 -24
- package/src/execution/engine/index.ts +443 -443
- package/src/execution/engine/tools/integration/server/adapters/apify/__tests__/apify-run-actor.integration.test.ts +298 -298
- package/src/execution/engine/tools/integration/server/adapters/apify/apify-adapter.test.ts +55 -55
- package/src/execution/engine/tools/integration/server/adapters/apify/apify-adapter.ts +107 -107
- package/src/execution/engine/tools/integration/server/adapters/apollo/apollo-adapter.test.ts +48 -48
- package/src/execution/engine/tools/integration/server/adapters/apollo/apollo-adapter.ts +99 -99
- package/src/execution/engine/tools/integration/server/adapters/apollo/index.ts +1 -1
- package/src/execution/engine/tools/integration/server/adapters/attio/__tests__/attio-crud.integration.test.ts +363 -363
- package/src/execution/engine/tools/integration/server/adapters/attio/fetch/get-record/index.test.ts +162 -162
- package/src/execution/engine/tools/integration/server/adapters/attio/fetch/list-records/index.test.ts +316 -316
- package/src/execution/engine/tools/integration/server/adapters/clickup/clickup-adapter.test.ts +18 -18
- package/src/execution/engine/tools/integration/server/adapters/clickup/clickup-adapter.ts +194 -194
- package/src/execution/engine/tools/integration/server/adapters/clickup/index.ts +7 -7
- package/src/execution/engine/tools/integration/server/adapters/gmail/gmail-adapter.ts +204 -204
- package/src/execution/engine/tools/integration/server/adapters/gmail/gmail-tools.ts +105 -105
- package/src/execution/engine/tools/integration/server/adapters/google-calendar/google-calendar-adapter.ts +428 -428
- package/src/execution/engine/tools/integration/server/adapters/google-calendar/index.ts +2 -2
- package/src/execution/engine/tools/integration/server/adapters/google-sheets/__tests__/google-sheets.integration.test.ts +261 -261
- package/src/execution/engine/tools/integration/server/adapters/instantly/instantly-tools.ts +1474 -1474
- package/src/execution/engine/tools/integration/server/adapters/millionverifier/millionverifier-tools.ts +103 -103
- package/src/execution/engine/tools/integration/server/adapters/resend/fetch/send-email/index.test.ts +88 -88
- package/src/execution/engine/tools/integration/server/adapters/resend/fetch/send-email/index.ts +141 -141
- package/src/execution/engine/tools/integration/server/adapters/resend/fetch/utils/types.ts +76 -76
- package/src/execution/engine/tools/integration/server/adapters/signature-api/signature-api-tools.ts +182 -182
- package/src/execution/engine/tools/integration/server/adapters/stripe/stripe-tools.ts +310 -310
- package/src/execution/engine/tools/integration/service.test.ts +239 -239
- package/src/execution/engine/tools/integration/service.ts +172 -172
- package/src/execution/engine/tools/integration/tool.ts +255 -255
- package/src/execution/engine/tools/lead-service-types.ts +1005 -1005
- package/src/execution/engine/tools/messages.ts +43 -43
- package/src/execution/engine/tools/platform/acquisition/company-tools.ts +7 -7
- package/src/execution/engine/tools/platform/acquisition/contact-tools.ts +6 -6
- package/src/execution/engine/tools/platform/acquisition/list-tools.ts +6 -6
- package/src/execution/engine/tools/platform/acquisition/types.ts +280 -280
- package/src/execution/engine/tools/platform/email/types.ts +97 -97
- package/src/execution/engine/tools/registry.ts +704 -704
- package/src/execution/engine/tools/tool-maps.ts +831 -831
- package/src/execution/engine/tools/types.ts +234 -234
- package/src/execution/engine/workflow/types.ts +202 -202
- package/src/execution/external/__tests__/api-schemas.test.ts +127 -127
- package/src/execution/external/api-schemas.ts +40 -40
- package/src/execution/external/index.ts +1 -1
- package/src/index.ts +18 -18
- package/src/integrations/credentials/__tests__/api-schemas.test.ts +420 -420
- package/src/integrations/credentials/api-schemas.ts +146 -146
- package/src/integrations/credentials/schemas.ts +200 -200
- package/src/integrations/oauth/__tests__/provider-registry.test.ts +7 -7
- package/src/integrations/oauth/provider-registry.ts +74 -74
- package/src/integrations/oauth/server/credentials.ts +43 -43
- package/src/integrations/webhook-endpoints/__tests__/api-schemas.test.ts +327 -327
- package/src/integrations/webhook-endpoints/api-schemas.ts +103 -103
- package/src/integrations/webhook-endpoints/types.ts +58 -58
- package/src/knowledge/README.md +33 -32
- package/src/knowledge/__tests__/queries.test.ts +633 -541
- package/src/knowledge/format.ts +100 -99
- package/src/knowledge/index.ts +5 -5
- package/src/knowledge/published.ts +5 -5
- package/src/knowledge/queries.ts +274 -222
- package/src/operations/activities/api-schemas.ts +80 -80
- package/src/operations/activities/types.ts +64 -64
- package/src/organization-model/README.md +149 -109
- package/src/organization-model/__tests__/content-kinds-registry.test.ts +210 -0
- package/src/organization-model/__tests__/defaults.test.ts +168 -194
- package/src/organization-model/__tests__/domains/actions.test.ts +78 -0
- package/src/organization-model/__tests__/domains/customers.test.ts +48 -44
- package/src/organization-model/__tests__/domains/entities.test.ts +56 -0
- package/src/organization-model/__tests__/domains/goals.test.ts +110 -96
- package/src/organization-model/__tests__/domains/identity.test.ts +4 -3
- package/src/organization-model/__tests__/domains/navigation.test.ts +222 -166
- package/src/organization-model/__tests__/domains/offerings.test.ts +83 -88
- package/src/organization-model/__tests__/domains/policies.test.ts +323 -0
- package/src/organization-model/__tests__/domains/resource-mappings.test.ts +30 -30
- package/src/organization-model/__tests__/domains/resources.test.ts +396 -175
- package/src/organization-model/__tests__/domains/roles.test.ts +463 -402
- package/src/organization-model/__tests__/domains/statuses.test.ts +13 -10
- package/src/organization-model/__tests__/domains/systems.test.ts +209 -193
- package/src/organization-model/__tests__/flatten-additive-merge.test.ts +362 -0
- package/src/organization-model/__tests__/foundation.test.ts +47 -75
- package/src/organization-model/__tests__/get-resources-for-system.test.ts +144 -0
- package/src/organization-model/__tests__/graph.test.ts +1336 -149
- package/src/organization-model/__tests__/icons.test.ts +10 -1
- package/src/organization-model/__tests__/knowledge.test.ts +418 -61
- package/src/organization-model/__tests__/lookup-helpers.test.ts +438 -0
- package/src/organization-model/__tests__/migration-helpers.test.ts +591 -0
- package/src/organization-model/__tests__/prospecting-ssot.test.ts +103 -94
- package/src/organization-model/__tests__/recursive-system-schema.test.ts +549 -0
- package/src/organization-model/__tests__/resolve.test.ts +303 -42
- package/src/organization-model/__tests__/schema.test.ts +863 -153
- package/src/organization-model/__tests__/surface-projection.test.ts +284 -174
- package/src/organization-model/catalogs/lead-gen.ts +144 -0
- package/src/organization-model/content-kinds/config.ts +36 -0
- package/src/organization-model/content-kinds/index.ts +78 -0
- package/src/organization-model/content-kinds/pipeline.ts +68 -0
- package/src/organization-model/content-kinds/registry.ts +44 -0
- package/src/organization-model/content-kinds/status.ts +71 -0
- package/src/organization-model/content-kinds/template.ts +83 -0
- package/src/organization-model/content-kinds/types.ts +117 -0
- package/src/organization-model/contracts.ts +27 -17
- package/src/organization-model/defaults.ts +489 -107
- package/src/organization-model/domains/actions.ts +333 -0
- package/src/organization-model/domains/customers.ts +10 -7
- package/src/organization-model/domains/entities.ts +144 -0
- package/src/organization-model/domains/goals.ts +9 -6
- package/src/organization-model/domains/knowledge.ts +128 -54
- package/src/organization-model/domains/navigation.ts +139 -416
- package/src/organization-model/domains/offerings.ts +15 -10
- package/src/organization-model/domains/policies.ts +102 -0
- package/src/organization-model/domains/projects.ts +6 -40
- package/src/organization-model/domains/prospecting.ts +395 -514
- package/src/organization-model/domains/resources.ts +173 -81
- package/src/organization-model/domains/roles.ts +96 -93
- package/src/organization-model/domains/sales.test.ts +218 -218
- package/src/organization-model/domains/sales.ts +380 -589
- package/src/organization-model/domains/shared.ts +8 -8
- package/src/organization-model/domains/statuses.ts +298 -89
- package/src/organization-model/domains/systems.ts +240 -38
- package/src/organization-model/foundation.ts +35 -48
- package/src/organization-model/graph/build.ts +1035 -279
- package/src/organization-model/graph/index.ts +4 -4
- package/src/organization-model/graph/link.ts +10 -10
- package/src/organization-model/graph/schema.ts +77 -56
- package/src/organization-model/graph/types.ts +75 -56
- package/src/organization-model/helpers.ts +312 -59
- package/src/organization-model/icons.ts +78 -66
- package/src/organization-model/index.ts +129 -16
- package/src/organization-model/migration-helpers.ts +252 -0
- package/src/organization-model/ontology.ts +661 -0
- package/src/organization-model/organization-graph.mdx +110 -89
- package/src/organization-model/organization-model.mdx +226 -171
- package/src/organization-model/published.ts +295 -139
- package/src/organization-model/resolve.ts +139 -21
- package/src/organization-model/schema.ts +841 -301
- package/src/organization-model/surface-projection.ts +212 -218
- package/src/organization-model/types.ts +181 -90
- package/src/platform/api/types.ts +38 -38
- package/src/platform/constants/versions.ts +3 -3
- package/src/platform/index.ts +23 -23
- package/src/platform/registry/__tests__/command-view.test.ts +5 -7
- package/src/platform/registry/__tests__/resource-link.test.ts +35 -30
- package/src/platform/registry/__tests__/resource-registry.integration.test.ts +17 -32
- package/src/platform/registry/__tests__/resource-registry.nested-systems.test.ts +245 -0
- package/src/platform/registry/__tests__/resource-registry.test.ts +2053 -2051
- package/src/platform/registry/__tests__/validation.test.ts +1347 -1343
- package/src/platform/registry/command-view.ts +10 -10
- package/src/platform/registry/index.ts +103 -103
- package/src/platform/registry/resource-link.ts +32 -32
- package/src/platform/registry/resource-registry.ts +890 -878
- package/src/platform/registry/serialization.ts +295 -295
- package/src/platform/registry/serialized-types.ts +166 -166
- package/src/platform/registry/stats-types.ts +68 -68
- package/src/platform/registry/types.ts +425 -425
- package/src/platform/registry/validation.ts +745 -743
- package/src/platform/utils/__tests__/validation.test.ts +1084 -1084
- package/src/platform/utils/validation.ts +425 -425
- package/src/projects/api-schemas.test.ts +39 -39
- package/src/projects/api-schemas.ts +291 -291
- package/src/reference/_generated/contracts.md +2389 -2121
- package/src/reference/glossary.md +76 -76
- package/src/scaffold-registry/__tests__/index.test.ts +206 -206
- package/src/scaffold-registry/__tests__/schema.test.ts +166 -166
- package/src/scaffold-registry/index.ts +392 -392
- package/src/scaffold-registry/schema.ts +243 -243
- package/src/server.ts +289 -289
- package/src/supabase/database.types.ts +3153 -3093
- package/src/test-utils/README.md +37 -37
- package/src/test-utils/entities.ts +108 -108
- package/src/test-utils/fixtures/memberships.ts +82 -82
- package/src/test-utils/index.ts +12 -12
- package/src/test-utils/organization-model.ts +65 -65
- package/src/test-utils/published.ts +6 -6
- package/src/test-utils/rls/RLSTestContext.ts +588 -588
- package/src/test-utils/test-utils.test.ts +44 -49
- package/src/organization-model/__tests__/domains/operations.test.ts +0 -203
- package/src/organization-model/domains/features.ts +0 -31
- package/src/organization-model/domains/operations.ts +0 -85
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
2
|
* Fixture-only stub for the generic OrganizationModel merge base.
|
|
3
3
|
*
|
|
4
4
|
* This constant is used by:
|
|
@@ -14,355 +14,737 @@ import { DEFAULT_ORGANIZATION_MODEL_BRANDING } from './domains/branding'
|
|
|
14
14
|
import { DEFAULT_ORGANIZATION_MODEL_IDENTITY } from './domains/identity'
|
|
15
15
|
import { DEFAULT_ORGANIZATION_MODEL_CUSTOMERS } from './domains/customers'
|
|
16
16
|
import { DEFAULT_ORGANIZATION_MODEL_OFFERINGS } from './domains/offerings'
|
|
17
|
-
import { DEFAULT_ORGANIZATION_MODEL_SALES } from './domains/sales'
|
|
18
|
-
import { DEFAULT_ORGANIZATION_MODEL_PROJECTS } from './domains/projects'
|
|
19
|
-
import { DEFAULT_ORGANIZATION_MODEL_PROSPECTING } from './domains/prospecting'
|
|
20
|
-
import { DEFAULT_ORGANIZATION_MODEL_OPERATIONS } from './domains/operations'
|
|
21
17
|
import { DEFAULT_ORGANIZATION_MODEL_ROLES } from './domains/roles'
|
|
22
18
|
import { DEFAULT_ORGANIZATION_MODEL_GOALS } from './domains/goals'
|
|
23
|
-
import { DEFAULT_ORGANIZATION_MODEL_SYSTEMS } from './domains/systems'
|
|
24
19
|
import { DEFAULT_ORGANIZATION_MODEL_RESOURCES } from './domains/resources'
|
|
25
|
-
import {
|
|
26
|
-
import
|
|
20
|
+
import { CRM_ACTION_ENTRIES, DEFAULT_ORGANIZATION_MODEL_ACTIONS, LEAD_GEN_ACTION_ENTRIES } from './domains/actions'
|
|
21
|
+
import { DEFAULT_ORGANIZATION_MODEL_ENTITIES as DEFAULT_ENTITIES } from './domains/entities'
|
|
22
|
+
import { DEFAULT_ORGANIZATION_MODEL_POLICIES } from './domains/policies'
|
|
23
|
+
import { DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA } from './schema'
|
|
24
|
+
import { DEFAULT_ONTOLOGY_SCOPE } from './ontology'
|
|
25
|
+
import type { OrganizationModelNavigation } from './types'
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
// Phase 4: DEFAULT_ORGANIZATION_MODEL_KNOWLEDGE is now a flat Record<id, OrgKnowledgeNode> (D3).
|
|
28
|
+
// The old wrapper shape { version, lastModified, nodes[] } is gone; versioning is in domainMetadata.
|
|
29
|
+
export const DEFAULT_ORGANIZATION_MODEL_KNOWLEDGE = {} as const
|
|
30
|
+
|
|
31
|
+
export const DEFAULT_ORGANIZATION_MODEL_ENTITIES = DEFAULT_ENTITIES
|
|
32
|
+
|
|
33
|
+
const DEFAULT_ORGANIZATION_MODEL_NAVIGATION: OrganizationModelNavigation = {
|
|
34
|
+
sidebar: {
|
|
35
|
+
primary: {
|
|
36
|
+
dashboard: {
|
|
37
|
+
type: 'surface',
|
|
38
|
+
label: 'Dashboard',
|
|
39
|
+
path: '/',
|
|
40
|
+
surfaceType: 'dashboard',
|
|
41
|
+
icon: 'dashboard',
|
|
42
|
+
order: 10,
|
|
43
|
+
targets: { systems: ['dashboard'] }
|
|
44
|
+
},
|
|
45
|
+
business: {
|
|
46
|
+
type: 'group',
|
|
47
|
+
label: 'Business',
|
|
48
|
+
icon: 'business',
|
|
49
|
+
order: 20,
|
|
50
|
+
children: {
|
|
51
|
+
sales: {
|
|
52
|
+
type: 'surface',
|
|
53
|
+
label: 'Sales',
|
|
54
|
+
path: '/sales',
|
|
55
|
+
surfaceType: 'page',
|
|
56
|
+
icon: 'sales',
|
|
57
|
+
order: 10,
|
|
58
|
+
targets: { systems: ['sales'] }
|
|
59
|
+
},
|
|
60
|
+
clients: {
|
|
61
|
+
type: 'surface',
|
|
62
|
+
label: 'Clients',
|
|
63
|
+
path: '/clients',
|
|
64
|
+
surfaceType: 'list',
|
|
65
|
+
icon: 'projects',
|
|
66
|
+
order: 20,
|
|
67
|
+
targets: { systems: ['clients'] }
|
|
68
|
+
},
|
|
69
|
+
projects: {
|
|
70
|
+
type: 'surface',
|
|
71
|
+
label: 'Projects',
|
|
72
|
+
path: '/projects',
|
|
73
|
+
surfaceType: 'page',
|
|
74
|
+
icon: 'projects',
|
|
75
|
+
order: 30,
|
|
76
|
+
targets: { systems: ['projects'] }
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
operations: {
|
|
81
|
+
type: 'group',
|
|
82
|
+
label: 'Operations',
|
|
83
|
+
icon: 'operations',
|
|
84
|
+
order: 30,
|
|
85
|
+
children: {
|
|
86
|
+
'operations-overview': {
|
|
87
|
+
type: 'surface',
|
|
88
|
+
label: 'Overview',
|
|
89
|
+
path: '/operations',
|
|
90
|
+
surfaceType: 'page',
|
|
91
|
+
order: 10,
|
|
92
|
+
targets: { systems: ['operations.overview'] }
|
|
93
|
+
},
|
|
94
|
+
'operations-systems': {
|
|
95
|
+
type: 'surface',
|
|
96
|
+
label: 'Systems',
|
|
97
|
+
path: '/operations/systems',
|
|
98
|
+
surfaceType: 'page',
|
|
99
|
+
order: 20,
|
|
100
|
+
targets: { systems: ['operations'] }
|
|
101
|
+
},
|
|
102
|
+
'operations-resources': {
|
|
103
|
+
type: 'surface',
|
|
104
|
+
label: 'Resources',
|
|
105
|
+
path: '/operations/resources',
|
|
106
|
+
surfaceType: 'list',
|
|
107
|
+
order: 30,
|
|
108
|
+
targets: { systems: ['operations.resources'] }
|
|
109
|
+
},
|
|
110
|
+
'operations-command-queue': {
|
|
111
|
+
type: 'surface',
|
|
112
|
+
label: 'Command Queue',
|
|
113
|
+
path: '/operations/command-queue',
|
|
114
|
+
surfaceType: 'list',
|
|
115
|
+
order: 40,
|
|
116
|
+
targets: { systems: ['operations.command-queue'] }
|
|
117
|
+
},
|
|
118
|
+
'operations-task-scheduler': {
|
|
119
|
+
type: 'surface',
|
|
120
|
+
label: 'Task Scheduler',
|
|
121
|
+
path: '/operations/task-scheduler',
|
|
122
|
+
surfaceType: 'list',
|
|
123
|
+
order: 50,
|
|
124
|
+
targets: { systems: ['operations.task-scheduler'] }
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
monitoring: {
|
|
129
|
+
type: 'group',
|
|
130
|
+
label: 'Monitoring',
|
|
131
|
+
icon: 'monitoring',
|
|
132
|
+
order: 40,
|
|
133
|
+
children: {
|
|
134
|
+
'monitoring-overview': {
|
|
135
|
+
type: 'surface',
|
|
136
|
+
label: 'Overview',
|
|
137
|
+
path: '/monitoring',
|
|
138
|
+
surfaceType: 'page',
|
|
139
|
+
order: 10,
|
|
140
|
+
targets: { systems: ['monitoring'] }
|
|
141
|
+
},
|
|
142
|
+
'monitoring-calendar': {
|
|
143
|
+
type: 'surface',
|
|
144
|
+
label: 'Calendar',
|
|
145
|
+
path: '/monitoring/calendar',
|
|
146
|
+
surfaceType: 'page',
|
|
147
|
+
order: 20,
|
|
148
|
+
targets: { systems: ['monitoring.calendar'] }
|
|
149
|
+
},
|
|
150
|
+
'monitoring-activity-log': {
|
|
151
|
+
type: 'surface',
|
|
152
|
+
label: 'Activity Log',
|
|
153
|
+
path: '/monitoring/activity-log',
|
|
154
|
+
surfaceType: 'list',
|
|
155
|
+
order: 30,
|
|
156
|
+
targets: { systems: ['monitoring.activity-log'] }
|
|
157
|
+
},
|
|
158
|
+
'monitoring-execution-logs': {
|
|
159
|
+
type: 'surface',
|
|
160
|
+
label: 'Execution Logs',
|
|
161
|
+
path: '/monitoring/execution-logs',
|
|
162
|
+
surfaceType: 'list',
|
|
163
|
+
order: 40,
|
|
164
|
+
targets: { systems: ['monitoring.execution-logs'] }
|
|
165
|
+
},
|
|
166
|
+
'monitoring-execution-health': {
|
|
167
|
+
type: 'surface',
|
|
168
|
+
label: 'Execution Health',
|
|
169
|
+
path: '/monitoring/execution-health',
|
|
170
|
+
surfaceType: 'dashboard',
|
|
171
|
+
order: 50,
|
|
172
|
+
targets: { systems: ['monitoring.execution-health'] }
|
|
173
|
+
},
|
|
174
|
+
'monitoring-notifications': {
|
|
175
|
+
type: 'surface',
|
|
176
|
+
label: 'Notifications',
|
|
177
|
+
path: '/monitoring/notifications',
|
|
178
|
+
surfaceType: 'list',
|
|
179
|
+
order: 60,
|
|
180
|
+
targets: { systems: ['monitoring.notifications'] }
|
|
181
|
+
},
|
|
182
|
+
'monitoring-requests': {
|
|
183
|
+
type: 'surface',
|
|
184
|
+
label: 'Requests',
|
|
185
|
+
path: '/monitoring/requests',
|
|
186
|
+
surfaceType: 'list',
|
|
187
|
+
order: 70,
|
|
188
|
+
targets: { systems: ['monitoring.submitted-requests'] }
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
knowledge: {
|
|
193
|
+
type: 'surface',
|
|
194
|
+
label: 'Knowledge Base',
|
|
195
|
+
path: '/knowledge',
|
|
196
|
+
surfaceType: 'page',
|
|
197
|
+
icon: 'knowledge',
|
|
198
|
+
order: 50
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
bottom: {
|
|
202
|
+
settings: {
|
|
203
|
+
type: 'group',
|
|
204
|
+
label: 'Settings',
|
|
205
|
+
icon: 'settings',
|
|
206
|
+
order: 10,
|
|
207
|
+
children: {
|
|
208
|
+
'settings-account': {
|
|
209
|
+
type: 'surface',
|
|
210
|
+
label: 'Account',
|
|
211
|
+
path: '/settings/account',
|
|
212
|
+
surfaceType: 'settings',
|
|
213
|
+
order: 10,
|
|
214
|
+
targets: { systems: ['settings.account'] }
|
|
215
|
+
},
|
|
216
|
+
'settings-appearance': {
|
|
217
|
+
type: 'surface',
|
|
218
|
+
label: 'Appearance',
|
|
219
|
+
path: '/settings/appearance',
|
|
220
|
+
surfaceType: 'settings',
|
|
221
|
+
order: 20,
|
|
222
|
+
targets: { systems: ['settings.appearance'] }
|
|
223
|
+
},
|
|
224
|
+
'settings-roles': {
|
|
225
|
+
type: 'surface',
|
|
226
|
+
label: 'My Roles',
|
|
227
|
+
path: '/settings/roles',
|
|
228
|
+
surfaceType: 'settings',
|
|
229
|
+
order: 30,
|
|
230
|
+
targets: { systems: ['settings.roles'] }
|
|
231
|
+
},
|
|
232
|
+
'settings-organization': {
|
|
233
|
+
type: 'surface',
|
|
234
|
+
label: 'Organization',
|
|
235
|
+
path: '/settings/organization',
|
|
236
|
+
surfaceType: 'settings',
|
|
237
|
+
order: 40,
|
|
238
|
+
targets: { systems: ['settings.organization'] }
|
|
239
|
+
},
|
|
240
|
+
'settings-credentials': {
|
|
241
|
+
type: 'surface',
|
|
242
|
+
label: 'Credentials',
|
|
243
|
+
path: '/settings/credentials',
|
|
244
|
+
surfaceType: 'settings',
|
|
245
|
+
order: 50,
|
|
246
|
+
targets: { systems: ['settings.credentials'] }
|
|
247
|
+
},
|
|
248
|
+
'settings-api-keys': {
|
|
249
|
+
type: 'surface',
|
|
250
|
+
label: 'API Keys',
|
|
251
|
+
path: '/settings/api-keys',
|
|
252
|
+
surfaceType: 'settings',
|
|
253
|
+
order: 60,
|
|
254
|
+
targets: { systems: ['settings.api-keys'] }
|
|
255
|
+
},
|
|
256
|
+
'settings-webhooks': {
|
|
257
|
+
type: 'surface',
|
|
258
|
+
label: 'Webhooks',
|
|
259
|
+
path: '/settings/webhooks',
|
|
260
|
+
surfaceType: 'settings',
|
|
261
|
+
order: 70,
|
|
262
|
+
targets: { systems: ['settings.webhooks'] }
|
|
263
|
+
},
|
|
264
|
+
'settings-deployments': {
|
|
265
|
+
type: 'surface',
|
|
266
|
+
label: 'Deployments',
|
|
267
|
+
path: '/settings/deployments',
|
|
268
|
+
surfaceType: 'settings',
|
|
269
|
+
order: 80,
|
|
270
|
+
targets: { systems: ['settings.deployments'] }
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
admin: {
|
|
275
|
+
type: 'group',
|
|
276
|
+
label: 'Admin',
|
|
277
|
+
icon: 'admin',
|
|
278
|
+
order: 20,
|
|
279
|
+
children: {
|
|
280
|
+
'admin-dashboard': {
|
|
281
|
+
type: 'surface',
|
|
282
|
+
label: 'Dashboard',
|
|
283
|
+
path: '/admin/dashboard',
|
|
284
|
+
surfaceType: 'dashboard',
|
|
285
|
+
order: 10,
|
|
286
|
+
targets: { systems: ['admin'] },
|
|
287
|
+
requiresAdmin: true
|
|
288
|
+
},
|
|
289
|
+
'admin-system-health': {
|
|
290
|
+
type: 'surface',
|
|
291
|
+
label: 'System Health',
|
|
292
|
+
path: '/admin/system-health',
|
|
293
|
+
surfaceType: 'dashboard',
|
|
294
|
+
order: 20,
|
|
295
|
+
targets: { systems: ['admin.system-health'] },
|
|
296
|
+
requiresAdmin: true
|
|
297
|
+
},
|
|
298
|
+
'admin-organizations': {
|
|
299
|
+
type: 'surface',
|
|
300
|
+
label: 'Organizations',
|
|
301
|
+
path: '/admin/organizations',
|
|
302
|
+
surfaceType: 'list',
|
|
303
|
+
order: 30,
|
|
304
|
+
targets: { systems: ['admin.organizations'] },
|
|
305
|
+
requiresAdmin: true
|
|
306
|
+
},
|
|
307
|
+
'admin-users': {
|
|
308
|
+
type: 'surface',
|
|
309
|
+
label: 'Users',
|
|
310
|
+
path: '/admin/users',
|
|
311
|
+
surfaceType: 'list',
|
|
312
|
+
order: 40,
|
|
313
|
+
targets: { systems: ['admin.users'] },
|
|
314
|
+
requiresAdmin: true
|
|
315
|
+
},
|
|
316
|
+
'admin-design-showcase': {
|
|
317
|
+
type: 'surface',
|
|
318
|
+
label: 'Design Showcase',
|
|
319
|
+
path: '/admin/design-showcase',
|
|
320
|
+
surfaceType: 'page',
|
|
321
|
+
order: 50,
|
|
322
|
+
targets: { systems: ['admin.design-showcase'] },
|
|
323
|
+
requiresAdmin: true
|
|
324
|
+
},
|
|
325
|
+
'admin-debug': {
|
|
326
|
+
type: 'surface',
|
|
327
|
+
label: 'Debug',
|
|
328
|
+
path: '/admin/debug',
|
|
329
|
+
surfaceType: 'page',
|
|
330
|
+
order: 60,
|
|
331
|
+
targets: { systems: ['admin.debug'] },
|
|
332
|
+
requiresAdmin: true
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
30
338
|
}
|
|
31
339
|
|
|
32
340
|
export const DEFAULT_ORGANIZATION_MODEL: OrganizationModel = {
|
|
33
341
|
version: 1,
|
|
34
|
-
|
|
35
|
-
|
|
342
|
+
domainMetadata: DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA,
|
|
343
|
+
branding: DEFAULT_ORGANIZATION_MODEL_BRANDING,
|
|
344
|
+
navigation: DEFAULT_ORGANIZATION_MODEL_NAVIGATION,
|
|
345
|
+
identity: DEFAULT_ORGANIZATION_MODEL_IDENTITY,
|
|
346
|
+
customers: DEFAULT_ORGANIZATION_MODEL_CUSTOMERS,
|
|
347
|
+
offerings: DEFAULT_ORGANIZATION_MODEL_OFFERINGS,
|
|
348
|
+
roles: DEFAULT_ORGANIZATION_MODEL_ROLES,
|
|
349
|
+
goals: DEFAULT_ORGANIZATION_MODEL_GOALS,
|
|
350
|
+
systems: {
|
|
351
|
+
dashboard: {
|
|
36
352
|
id: 'dashboard',
|
|
353
|
+
order: 10,
|
|
37
354
|
label: 'Dashboard',
|
|
38
355
|
enabled: true,
|
|
356
|
+
lifecycle: 'active',
|
|
39
357
|
path: '/',
|
|
40
|
-
icon: '
|
|
41
|
-
uiPosition: 'sidebar-primary'
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
id: 'identity',
|
|
45
|
-
label: 'Identity',
|
|
46
|
-
description: 'Company identity, positioning, and market context',
|
|
47
|
-
enabled: true,
|
|
48
|
-
color: 'indigo'
|
|
358
|
+
icon: 'dashboard'
|
|
49
359
|
},
|
|
50
|
-
{
|
|
360
|
+
platform: {
|
|
51
361
|
id: 'platform',
|
|
362
|
+
order: 30,
|
|
52
363
|
label: 'Platform',
|
|
53
364
|
description: 'Elevasis platform architecture, capabilities, and implementation patterns',
|
|
54
365
|
enabled: true,
|
|
366
|
+
lifecycle: 'active',
|
|
55
367
|
color: 'cyan',
|
|
56
|
-
icon: '
|
|
368
|
+
icon: 'platform'
|
|
57
369
|
},
|
|
58
|
-
{
|
|
370
|
+
finance: {
|
|
59
371
|
id: 'finance',
|
|
372
|
+
order: 40,
|
|
60
373
|
label: 'Finance',
|
|
61
374
|
description: 'Finance operations, accounting, billing, reconciliation, and tax prep',
|
|
62
375
|
enabled: true,
|
|
376
|
+
lifecycle: 'active',
|
|
63
377
|
color: 'green',
|
|
64
|
-
icon: '
|
|
378
|
+
icon: 'finance'
|
|
65
379
|
},
|
|
66
|
-
{
|
|
67
|
-
id: 'business',
|
|
68
|
-
label: 'Business',
|
|
69
|
-
description: 'Revenue, client relationships, and project delivery',
|
|
70
|
-
enabled: true,
|
|
71
|
-
color: 'blue',
|
|
72
|
-
icon: 'feature.business',
|
|
73
|
-
uiPosition: 'sidebar-primary'
|
|
74
|
-
},
|
|
75
|
-
{
|
|
380
|
+
sales: {
|
|
76
381
|
id: 'sales',
|
|
382
|
+
order: 60,
|
|
77
383
|
label: 'Sales',
|
|
78
384
|
description: 'Revenue workflows and customer acquisition',
|
|
79
385
|
enabled: true,
|
|
386
|
+
lifecycle: 'active',
|
|
80
387
|
color: 'blue',
|
|
81
|
-
icon: '
|
|
388
|
+
icon: 'sales',
|
|
82
389
|
path: '/sales'
|
|
83
390
|
},
|
|
84
|
-
{
|
|
391
|
+
'sales.crm': {
|
|
85
392
|
id: 'sales.crm',
|
|
393
|
+
order: 70,
|
|
86
394
|
label: 'CRM',
|
|
87
395
|
description: 'Relationship pipeline and deal management',
|
|
88
396
|
enabled: true,
|
|
397
|
+
lifecycle: 'active',
|
|
398
|
+
actions: Object.values(CRM_ACTION_ENTRIES).map((action) => ({
|
|
399
|
+
actionId: action.id,
|
|
400
|
+
intent: 'exposes'
|
|
401
|
+
})),
|
|
89
402
|
color: 'blue',
|
|
90
|
-
icon: '
|
|
403
|
+
icon: 'crm',
|
|
91
404
|
path: '/crm'
|
|
92
405
|
},
|
|
93
|
-
{
|
|
406
|
+
'sales.lead-gen': {
|
|
94
407
|
id: 'sales.lead-gen',
|
|
408
|
+
order: 80,
|
|
95
409
|
label: 'Lead Gen',
|
|
96
410
|
description: 'Prospecting, qualification, and outreach preparation',
|
|
97
411
|
enabled: true,
|
|
412
|
+
lifecycle: 'active',
|
|
413
|
+
actions: Object.values(LEAD_GEN_ACTION_ENTRIES).map((action) => ({
|
|
414
|
+
actionId: action.id,
|
|
415
|
+
intent: 'exposes'
|
|
416
|
+
})),
|
|
98
417
|
color: 'cyan',
|
|
99
|
-
icon: '
|
|
418
|
+
icon: 'lead-gen',
|
|
100
419
|
path: '/lead-gen'
|
|
101
420
|
},
|
|
102
|
-
{
|
|
421
|
+
projects: {
|
|
103
422
|
id: 'projects',
|
|
423
|
+
order: 90,
|
|
104
424
|
label: 'Projects',
|
|
105
425
|
description: 'Projects, milestones, and client work execution',
|
|
106
426
|
enabled: true,
|
|
427
|
+
lifecycle: 'active',
|
|
107
428
|
color: 'orange',
|
|
108
|
-
icon: '
|
|
429
|
+
icon: 'projects',
|
|
109
430
|
path: '/projects'
|
|
110
431
|
},
|
|
111
|
-
{
|
|
432
|
+
clients: {
|
|
112
433
|
id: 'clients',
|
|
434
|
+
order: 100,
|
|
113
435
|
label: 'Clients',
|
|
114
436
|
description: 'Client relationships, accounts, and business context',
|
|
115
437
|
enabled: true,
|
|
438
|
+
lifecycle: 'active',
|
|
116
439
|
color: 'orange',
|
|
117
|
-
icon: '
|
|
118
|
-
path: '/
|
|
440
|
+
icon: 'projects',
|
|
441
|
+
path: '/clients'
|
|
119
442
|
},
|
|
120
|
-
{
|
|
443
|
+
operations: {
|
|
121
444
|
id: 'operations',
|
|
445
|
+
order: 110,
|
|
122
446
|
label: 'Operations',
|
|
123
447
|
description: 'Operational resources, topology, and orchestration visibility',
|
|
124
448
|
enabled: true,
|
|
449
|
+
lifecycle: 'active',
|
|
125
450
|
color: 'violet',
|
|
126
|
-
icon: '
|
|
127
|
-
uiPosition: 'sidebar-primary'
|
|
451
|
+
icon: 'operations'
|
|
128
452
|
},
|
|
129
|
-
{
|
|
453
|
+
'knowledge.command-view': {
|
|
130
454
|
id: 'knowledge.command-view',
|
|
455
|
+
order: 120,
|
|
131
456
|
label: 'Command View',
|
|
132
457
|
enabled: true,
|
|
458
|
+
lifecycle: 'active',
|
|
133
459
|
path: '/knowledge/command-view',
|
|
134
460
|
devOnly: true
|
|
135
461
|
},
|
|
136
|
-
{
|
|
462
|
+
'operations.overview': {
|
|
137
463
|
id: 'operations.overview',
|
|
464
|
+
order: 130,
|
|
138
465
|
label: 'Overview',
|
|
139
466
|
enabled: true,
|
|
467
|
+
lifecycle: 'active',
|
|
140
468
|
path: '/operations'
|
|
141
469
|
},
|
|
142
|
-
{
|
|
470
|
+
'operations.resources': {
|
|
143
471
|
id: 'operations.resources',
|
|
472
|
+
order: 140,
|
|
144
473
|
label: 'Resources',
|
|
145
474
|
enabled: true,
|
|
475
|
+
lifecycle: 'active',
|
|
146
476
|
path: '/operations/resources'
|
|
147
477
|
},
|
|
148
|
-
{
|
|
478
|
+
'operations.command-queue': {
|
|
149
479
|
id: 'operations.command-queue',
|
|
480
|
+
order: 150,
|
|
150
481
|
label: 'Command Queue',
|
|
151
482
|
enabled: true,
|
|
483
|
+
lifecycle: 'active',
|
|
152
484
|
path: '/operations/command-queue'
|
|
153
485
|
},
|
|
154
|
-
{
|
|
486
|
+
'operations.sessions': {
|
|
155
487
|
id: 'operations.sessions',
|
|
488
|
+
order: 160,
|
|
156
489
|
label: 'Sessions',
|
|
157
490
|
enabled: false,
|
|
491
|
+
lifecycle: 'deprecated',
|
|
158
492
|
path: '/operations/sessions'
|
|
159
493
|
},
|
|
160
|
-
{
|
|
494
|
+
'operations.task-scheduler': {
|
|
161
495
|
id: 'operations.task-scheduler',
|
|
496
|
+
order: 170,
|
|
162
497
|
label: 'Task Scheduler',
|
|
163
498
|
enabled: true,
|
|
499
|
+
lifecycle: 'active',
|
|
164
500
|
path: '/operations/task-scheduler'
|
|
165
501
|
},
|
|
166
|
-
{
|
|
502
|
+
monitoring: {
|
|
167
503
|
id: 'monitoring',
|
|
504
|
+
order: 180,
|
|
168
505
|
label: 'Monitoring',
|
|
169
506
|
enabled: true,
|
|
170
|
-
|
|
507
|
+
lifecycle: 'active'
|
|
171
508
|
},
|
|
172
|
-
{
|
|
509
|
+
'monitoring.calendar': {
|
|
173
510
|
id: 'monitoring.calendar',
|
|
511
|
+
order: 190,
|
|
174
512
|
label: 'Calendar',
|
|
175
513
|
description: 'Google Calendar events and agenda views',
|
|
176
514
|
enabled: true,
|
|
515
|
+
lifecycle: 'active',
|
|
177
516
|
path: '/monitoring/calendar',
|
|
178
|
-
icon: '
|
|
517
|
+
icon: 'calendar'
|
|
179
518
|
},
|
|
180
|
-
{
|
|
519
|
+
'monitoring.activity-log': {
|
|
181
520
|
id: 'monitoring.activity-log',
|
|
521
|
+
order: 200,
|
|
182
522
|
label: 'Activity Log',
|
|
183
523
|
enabled: true,
|
|
524
|
+
lifecycle: 'active',
|
|
184
525
|
path: '/monitoring/activity-log'
|
|
185
526
|
},
|
|
186
|
-
{
|
|
527
|
+
'monitoring.execution-logs': {
|
|
187
528
|
id: 'monitoring.execution-logs',
|
|
529
|
+
order: 210,
|
|
188
530
|
label: 'Execution Logs',
|
|
189
531
|
enabled: true,
|
|
532
|
+
lifecycle: 'active',
|
|
190
533
|
path: '/monitoring/execution-logs'
|
|
191
534
|
},
|
|
192
|
-
{
|
|
535
|
+
'monitoring.execution-health': {
|
|
193
536
|
id: 'monitoring.execution-health',
|
|
537
|
+
order: 220,
|
|
194
538
|
label: 'Execution Health',
|
|
195
539
|
enabled: true,
|
|
540
|
+
lifecycle: 'active',
|
|
196
541
|
path: '/monitoring/execution-health'
|
|
197
542
|
},
|
|
198
|
-
{
|
|
543
|
+
'monitoring.cost-analytics': {
|
|
199
544
|
id: 'monitoring.cost-analytics',
|
|
545
|
+
order: 230,
|
|
200
546
|
label: 'Cost Analytics',
|
|
201
547
|
enabled: false,
|
|
548
|
+
lifecycle: 'deprecated',
|
|
202
549
|
path: '/monitoring/cost-analytics'
|
|
203
550
|
},
|
|
204
|
-
{
|
|
551
|
+
'monitoring.notifications': {
|
|
205
552
|
id: 'monitoring.notifications',
|
|
553
|
+
order: 240,
|
|
206
554
|
label: 'Notifications',
|
|
207
555
|
enabled: true,
|
|
556
|
+
lifecycle: 'active',
|
|
208
557
|
path: '/monitoring/notifications'
|
|
209
558
|
},
|
|
210
|
-
{
|
|
559
|
+
'monitoring.submitted-requests': {
|
|
211
560
|
id: 'monitoring.submitted-requests',
|
|
561
|
+
order: 250,
|
|
212
562
|
label: 'Submitted Requests',
|
|
213
563
|
enabled: true,
|
|
564
|
+
lifecycle: 'active',
|
|
214
565
|
path: '/monitoring/requests'
|
|
215
566
|
},
|
|
216
|
-
{
|
|
567
|
+
settings: {
|
|
217
568
|
id: 'settings',
|
|
569
|
+
order: 260,
|
|
218
570
|
label: 'Settings',
|
|
219
571
|
enabled: true,
|
|
220
|
-
|
|
221
|
-
|
|
572
|
+
lifecycle: 'active',
|
|
573
|
+
icon: 'settings'
|
|
222
574
|
},
|
|
223
|
-
{
|
|
575
|
+
'settings.account': {
|
|
224
576
|
id: 'settings.account',
|
|
577
|
+
order: 270,
|
|
225
578
|
label: 'Account',
|
|
226
579
|
enabled: true,
|
|
580
|
+
lifecycle: 'active',
|
|
227
581
|
path: '/settings/account'
|
|
228
582
|
},
|
|
229
|
-
{
|
|
583
|
+
'settings.appearance': {
|
|
230
584
|
id: 'settings.appearance',
|
|
585
|
+
order: 280,
|
|
231
586
|
label: 'Appearance',
|
|
232
587
|
enabled: true,
|
|
588
|
+
lifecycle: 'active',
|
|
233
589
|
path: '/settings/appearance'
|
|
234
590
|
},
|
|
235
|
-
{
|
|
591
|
+
'settings.roles': {
|
|
236
592
|
id: 'settings.roles',
|
|
593
|
+
order: 290,
|
|
237
594
|
label: 'My Roles',
|
|
238
595
|
enabled: true,
|
|
596
|
+
lifecycle: 'active',
|
|
239
597
|
path: '/settings/roles'
|
|
240
598
|
},
|
|
241
|
-
{
|
|
599
|
+
'settings.organization': {
|
|
242
600
|
id: 'settings.organization',
|
|
601
|
+
order: 300,
|
|
243
602
|
label: 'Organization',
|
|
244
603
|
enabled: true,
|
|
604
|
+
lifecycle: 'active',
|
|
245
605
|
path: '/settings/organization'
|
|
246
606
|
},
|
|
247
|
-
{
|
|
607
|
+
'settings.credentials': {
|
|
248
608
|
id: 'settings.credentials',
|
|
609
|
+
order: 310,
|
|
249
610
|
label: 'Credentials',
|
|
250
611
|
enabled: true,
|
|
612
|
+
lifecycle: 'active',
|
|
251
613
|
path: '/settings/credentials'
|
|
252
614
|
},
|
|
253
|
-
{
|
|
615
|
+
'settings.api-keys': {
|
|
254
616
|
id: 'settings.api-keys',
|
|
617
|
+
order: 320,
|
|
255
618
|
label: 'API Keys',
|
|
256
619
|
enabled: true,
|
|
620
|
+
lifecycle: 'active',
|
|
257
621
|
path: '/settings/api-keys'
|
|
258
622
|
},
|
|
259
|
-
{
|
|
623
|
+
'settings.webhooks': {
|
|
260
624
|
id: 'settings.webhooks',
|
|
625
|
+
order: 330,
|
|
261
626
|
label: 'Webhooks',
|
|
262
627
|
enabled: true,
|
|
628
|
+
lifecycle: 'active',
|
|
263
629
|
path: '/settings/webhooks'
|
|
264
630
|
},
|
|
265
|
-
{
|
|
631
|
+
'settings.deployments': {
|
|
266
632
|
id: 'settings.deployments',
|
|
633
|
+
order: 340,
|
|
267
634
|
label: 'Deployments',
|
|
268
635
|
enabled: true,
|
|
636
|
+
lifecycle: 'active',
|
|
269
637
|
path: '/settings/deployments'
|
|
270
638
|
},
|
|
271
|
-
{
|
|
639
|
+
admin: {
|
|
272
640
|
id: 'admin',
|
|
641
|
+
order: 350,
|
|
273
642
|
label: 'Admin',
|
|
274
643
|
enabled: true,
|
|
644
|
+
lifecycle: 'active',
|
|
275
645
|
path: '/admin',
|
|
276
|
-
icon: '
|
|
277
|
-
uiPosition: 'sidebar-bottom',
|
|
646
|
+
icon: 'admin',
|
|
278
647
|
requiresAdmin: true
|
|
279
648
|
},
|
|
280
|
-
{
|
|
649
|
+
'admin.system-health': {
|
|
281
650
|
id: 'admin.system-health',
|
|
651
|
+
order: 360,
|
|
282
652
|
label: 'System Health',
|
|
283
653
|
enabled: true,
|
|
654
|
+
lifecycle: 'active',
|
|
284
655
|
path: '/admin/system-health'
|
|
285
656
|
},
|
|
286
|
-
{
|
|
657
|
+
'admin.organizations': {
|
|
287
658
|
id: 'admin.organizations',
|
|
659
|
+
order: 370,
|
|
288
660
|
label: 'Organizations',
|
|
289
661
|
enabled: true,
|
|
662
|
+
lifecycle: 'active',
|
|
290
663
|
path: '/admin/organizations'
|
|
291
664
|
},
|
|
292
|
-
{
|
|
665
|
+
'admin.users': {
|
|
293
666
|
id: 'admin.users',
|
|
667
|
+
order: 380,
|
|
294
668
|
label: 'Users',
|
|
295
669
|
enabled: true,
|
|
670
|
+
lifecycle: 'active',
|
|
296
671
|
path: '/admin/users'
|
|
297
672
|
},
|
|
298
|
-
{
|
|
673
|
+
'admin.design-showcase': {
|
|
299
674
|
id: 'admin.design-showcase',
|
|
675
|
+
order: 390,
|
|
300
676
|
label: 'Design Showcase',
|
|
301
677
|
enabled: true,
|
|
678
|
+
lifecycle: 'active',
|
|
302
679
|
path: '/admin/design-showcase'
|
|
303
680
|
},
|
|
304
|
-
{
|
|
681
|
+
'admin.debug': {
|
|
305
682
|
id: 'admin.debug',
|
|
683
|
+
order: 400,
|
|
306
684
|
label: 'Debug',
|
|
307
685
|
enabled: true,
|
|
686
|
+
lifecycle: 'active',
|
|
308
687
|
path: '/admin/debug'
|
|
309
688
|
},
|
|
310
|
-
{
|
|
689
|
+
archive: {
|
|
311
690
|
id: 'archive',
|
|
691
|
+
order: 410,
|
|
312
692
|
label: 'Archive',
|
|
313
693
|
enabled: true,
|
|
694
|
+
lifecycle: 'active',
|
|
314
695
|
path: '/archive',
|
|
315
|
-
icon: '
|
|
316
|
-
uiPosition: 'sidebar-bottom',
|
|
696
|
+
icon: 'archive',
|
|
317
697
|
devOnly: true
|
|
318
698
|
},
|
|
319
|
-
{
|
|
699
|
+
'archive.agent-chat': {
|
|
320
700
|
id: 'archive.agent-chat',
|
|
701
|
+
order: 420,
|
|
321
702
|
label: 'Agent Chat',
|
|
322
703
|
enabled: true,
|
|
704
|
+
lifecycle: 'active',
|
|
323
705
|
path: '/archive/agent-chat'
|
|
324
706
|
},
|
|
325
|
-
{
|
|
707
|
+
'archive.execution-runner': {
|
|
326
708
|
id: 'archive.execution-runner',
|
|
709
|
+
order: 430,
|
|
327
710
|
label: 'Execution Runner',
|
|
328
711
|
enabled: true,
|
|
712
|
+
lifecycle: 'active',
|
|
329
713
|
path: '/archive/execution-runner'
|
|
330
714
|
},
|
|
331
|
-
{
|
|
715
|
+
seo: {
|
|
332
716
|
id: 'seo',
|
|
717
|
+
order: 440,
|
|
333
718
|
label: 'SEO',
|
|
334
719
|
enabled: false,
|
|
720
|
+
lifecycle: 'deprecated',
|
|
335
721
|
path: '/seo'
|
|
336
722
|
},
|
|
337
|
-
{
|
|
723
|
+
knowledge: {
|
|
338
724
|
id: 'knowledge',
|
|
725
|
+
order: 450,
|
|
339
726
|
label: 'Knowledge',
|
|
340
727
|
description: 'Operational knowledge, playbooks, and strategy docs',
|
|
341
728
|
enabled: true,
|
|
729
|
+
lifecycle: 'active',
|
|
342
730
|
color: 'teal',
|
|
343
|
-
icon: '
|
|
344
|
-
uiPosition: 'sidebar-primary'
|
|
731
|
+
icon: 'knowledge'
|
|
345
732
|
},
|
|
346
|
-
{
|
|
733
|
+
'knowledge.base': {
|
|
347
734
|
id: 'knowledge.base',
|
|
735
|
+
order: 460,
|
|
348
736
|
label: 'Knowledge Base',
|
|
349
737
|
enabled: true,
|
|
738
|
+
lifecycle: 'active',
|
|
350
739
|
path: '/knowledge'
|
|
351
740
|
}
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
navigation: { surfaces: [], groups: [] },
|
|
355
|
-
sales: DEFAULT_ORGANIZATION_MODEL_SALES,
|
|
356
|
-
prospecting: DEFAULT_ORGANIZATION_MODEL_PROSPECTING,
|
|
357
|
-
projects: DEFAULT_ORGANIZATION_MODEL_PROJECTS,
|
|
358
|
-
identity: DEFAULT_ORGANIZATION_MODEL_IDENTITY,
|
|
359
|
-
customers: DEFAULT_ORGANIZATION_MODEL_CUSTOMERS,
|
|
360
|
-
offerings: DEFAULT_ORGANIZATION_MODEL_OFFERINGS,
|
|
361
|
-
roles: DEFAULT_ORGANIZATION_MODEL_ROLES,
|
|
362
|
-
goals: DEFAULT_ORGANIZATION_MODEL_GOALS,
|
|
363
|
-
systems: DEFAULT_ORGANIZATION_MODEL_SYSTEMS,
|
|
741
|
+
},
|
|
742
|
+
ontology: DEFAULT_ONTOLOGY_SCOPE,
|
|
364
743
|
resources: DEFAULT_ORGANIZATION_MODEL_RESOURCES,
|
|
365
|
-
|
|
366
|
-
|
|
744
|
+
actions: DEFAULT_ORGANIZATION_MODEL_ACTIONS,
|
|
745
|
+
entities: DEFAULT_ORGANIZATION_MODEL_ENTITIES,
|
|
746
|
+
policies: DEFAULT_ORGANIZATION_MODEL_POLICIES,
|
|
747
|
+
// Phase 4 (D1): statuses top-level field removed; bridge status mirrors may
|
|
748
|
+
// still project from System.content, but primary authoring belongs in ontology.
|
|
367
749
|
knowledge: DEFAULT_ORGANIZATION_MODEL_KNOWLEDGE
|
|
368
750
|
}
|