@elevasis/ui 2.73.0 → 2.75.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/api/index.js +3 -3
- package/dist/app/index.d.ts +58 -0
- package/dist/app/index.js +9 -10
- package/dist/auth/index.js +5 -6
- package/dist/charts/index.js +5 -6
- package/dist/chunk-2GIJBHZT.js +60 -0
- package/dist/{chunk-Z4ICFQXG.js → chunk-2ZRY3ARL.js} +1 -1
- package/dist/{chunk-5B2ZFO44.js → chunk-3H5DIJN7.js} +1 -1
- package/dist/{chunk-LZT2H2MA.js → chunk-47YJVIZE.js} +36 -43
- package/dist/{chunk-3TS5U5BL.js → chunk-5RH6NYZH.js} +1 -1
- package/dist/chunk-5SLRGUC4.js +224 -0
- package/dist/{chunk-JYBJMVNY.js → chunk-5VF5LPYS.js} +1 -1
- package/dist/{chunk-SWKAH2YM.js → chunk-6BJ5HMMC.js} +282 -553
- package/dist/{chunk-NI37YNRP.js → chunk-7OOFMEX6.js} +11 -5
- package/dist/{chunk-IBCEAVB2.js → chunk-A2SB32YV.js} +65 -5
- package/dist/{chunk-CJ2232PQ.js → chunk-CRPH5AAB.js} +1 -1
- package/dist/chunk-D3XXPCCK.js +69 -0
- package/dist/chunk-DMSTDZCJ.js +305 -0
- package/dist/chunk-DTEGVSJ6.js +645 -0
- package/dist/chunk-DVAOCHIF.js +165 -0
- package/dist/chunk-G7O4CBMC.js +231 -0
- package/dist/{chunk-IGBPWD6S.js → chunk-GDTK33QT.js} +5 -3
- package/dist/chunk-ICHDIVQO.js +54 -0
- package/dist/{chunk-U2H3TIHD.js → chunk-IYATYH5I.js} +2 -52
- package/dist/chunk-L3NBMLRN.js +49 -0
- package/dist/{chunk-LEPYXLJ2.js → chunk-LFLM723H.js} +1 -1
- package/dist/chunk-M6VAZAQW.js +45 -0
- package/dist/{chunk-AJOVWB47.js → chunk-MLHZUN2X.js} +6 -3
- package/dist/chunk-N6K2Q5BM.js +393 -0
- package/dist/chunk-NMHQAYZU.js +439 -0
- package/dist/chunk-NYIIRZSA.js +286 -0
- package/dist/{chunk-ETN3TTRT.js → chunk-OGHTJKBV.js} +115 -8
- package/dist/{chunk-M7WWRZ5Z.js → chunk-QFGNRKIE.js} +1 -78
- package/dist/chunk-QFS2GZMV.js +515 -0
- package/dist/{chunk-OCVSPAKM.js → chunk-SB3IHM5Y.js} +1150 -4346
- package/dist/{chunk-4CW2C5BD.js → chunk-SEYOVNS5.js} +1 -1
- package/dist/chunk-SN7X5N2A.js +116 -0
- package/dist/{chunk-PQ4B62HH.js → chunk-TX3UHDL5.js} +2 -2
- package/dist/chunk-VM2OWOXL.js +24 -0
- package/dist/{chunk-ZDKPHFTH.js → chunk-VWGCURZF.js} +5 -3
- package/dist/chunk-WDBNW44Z.js +49 -0
- package/dist/chunk-YQQ5GRUR.js +21 -0
- package/dist/{chunk-NHNTX6ZL.js → chunk-ZG6YJUT4.js} +3 -2
- package/dist/components/index.d.ts +228 -6
- package/dist/components/index.js +321 -35
- package/dist/components/navigation/index.js +6 -7
- package/dist/features/auth/index.d.ts +78 -2
- package/dist/features/auth/index.js +18 -9
- package/dist/features/clients/index.js +7 -7
- package/dist/features/content/index.d.ts +226 -5
- package/dist/features/content/index.js +270 -19
- package/dist/features/crm/index.d.ts +58 -0
- package/dist/features/crm/index.js +10 -8
- package/dist/features/dashboard/index.js +9 -8
- package/dist/features/delivery/index.d.ts +58 -0
- package/dist/features/delivery/index.js +23 -7
- package/dist/features/knowledge/index.js +5 -6
- package/dist/features/lead-gen/index.d.ts +9 -15
- package/dist/features/lead-gen/index.js +12 -8
- package/dist/features/monitoring/index.js +11 -9
- package/dist/features/monitoring/requests/index.js +8 -7
- package/dist/features/operations/index.js +15 -11
- package/dist/features/public-agent-chat/index.js +3 -1
- package/dist/features/settings/index.d.ts +66 -3
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/access/index.js +5 -6
- package/dist/hooks/delivery/index.d.ts +58 -0
- package/dist/hooks/delivery/index.js +3 -2
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -1
- package/dist/hooks/published.d.ts +181 -5
- package/dist/hooks/published.js +22 -6
- package/dist/initialization/index.d.ts +58 -0
- package/dist/knowledge/index.js +167 -11
- package/dist/{knowledge-search-index-RZLIVWPJ.js → knowledge-search-index-6GQK55IQ.js} +1 -1
- package/dist/layout/index.js +8 -9
- package/dist/profile/index.d.ts +58 -0
- package/dist/provider/index.d.ts +77 -1
- package/dist/provider/index.js +5 -6
- package/dist/provider/published.d.ts +105 -1
- package/dist/provider/published.js +5 -6
- package/dist/test-utils/index.d.ts +16 -5
- package/dist/test-utils/index.js +17 -18
- package/dist/types/index.d.ts +73 -1
- package/dist/utils/index.d.ts +83 -3
- package/dist/utils/index.js +1 -1
- package/package.json +10 -5
- package/dist/chunk-6M6OLGQY.js +0 -36
- package/dist/chunk-MKH2KOAO.js +0 -39
- package/dist/hooks/index.css +0 -659
- package/dist/hooks/index.d.ts +0 -14073
- package/dist/hooks/index.js +0 -27
- package/dist/supabase/index.d.ts +0 -7118
- package/dist/supabase/index.js +0 -3
- package/dist/typeform/index.d.ts +0 -462
- package/dist/typeform/index.js +0 -2051
- package/dist/typeform/schemas.d.ts +0 -67
- package/dist/typeform/schemas.js +0 -2
package/dist/knowledge/index.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
import '../chunk-CRPH5AAB.js';
|
|
2
|
+
import '../chunk-2ZRY3ARL.js';
|
|
3
|
+
import '../chunk-5RH6NYZH.js';
|
|
4
4
|
import { PageContainer } from '../chunk-BZZCNLT6.js';
|
|
5
|
-
import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-
|
|
6
|
-
export { FILTERABLE_DOMAIN_KEYS, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-
|
|
5
|
+
import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-SB3IHM5Y.js';
|
|
6
|
+
export { FILTERABLE_DOMAIN_KEYS, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-SB3IHM5Y.js';
|
|
7
7
|
import { usePresetsContext } from '../chunk-R6NMRXNO.js';
|
|
8
8
|
import '../chunk-RBGVNPA6.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-NHNTX6ZL.js';
|
|
9
|
+
import '../chunk-ZG6YJUT4.js';
|
|
11
10
|
import '../chunk-L7BZZ4SI.js';
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-ICHDIVQO.js';
|
|
13
12
|
import '../chunk-MISHPEJX.js';
|
|
14
13
|
import '../chunk-62GVNH5U.js';
|
|
15
14
|
import '../chunk-P45GQ3ZW.js';
|
|
16
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-2GIJBHZT.js';
|
|
17
16
|
import '../chunk-3KMDHCAR.js';
|
|
18
17
|
import '../chunk-2IFYDILW.js';
|
|
19
18
|
import '../chunk-BLXJEIQS.js';
|
|
@@ -21,7 +20,7 @@ import '../chunk-UD657ICS.js';
|
|
|
21
20
|
import '../chunk-DD3CCMCZ.js';
|
|
22
21
|
import '../chunk-RNP5R5I3.js';
|
|
23
22
|
import '../chunk-RT4KRGZT.js';
|
|
24
|
-
import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-
|
|
23
|
+
import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-A2SB32YV.js';
|
|
25
24
|
import '../chunk-Y6I3IC45.js';
|
|
26
25
|
import '../chunk-6SSQGWK7.js';
|
|
27
26
|
import '../chunk-BI5VDO2K.js';
|
|
@@ -6807,7 +6806,164 @@ return {
|
|
|
6807
6806
|
default: MDXContent
|
|
6808
6807
|
};
|
|
6809
6808
|
`),
|
|
6810
|
-
"knowledge.platform-systems-overview": makeKnowledgeComponent(
|
|
6809
|
+
"knowledge.platform-systems-overview": makeKnowledgeComponent(`"use strict";
|
|
6810
|
+
const {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];
|
|
6811
|
+
function _createMdxContent(props) {
|
|
6812
|
+
const _components = {
|
|
6813
|
+
code: "code",
|
|
6814
|
+
h2: "h2",
|
|
6815
|
+
h3: "h3",
|
|
6816
|
+
p: "p",
|
|
6817
|
+
strong: "strong",
|
|
6818
|
+
table: "table",
|
|
6819
|
+
tbody: "tbody",
|
|
6820
|
+
td: "td",
|
|
6821
|
+
th: "th",
|
|
6822
|
+
thead: "thead",
|
|
6823
|
+
tr: "tr",
|
|
6824
|
+
...props.components
|
|
6825
|
+
};
|
|
6826
|
+
return _jsxs(_Fragment, {
|
|
6827
|
+
children: [_jsx(_components.h2, {
|
|
6828
|
+
children: "Overview"
|
|
6829
|
+
}), "\\n", _jsx(_components.p, {
|
|
6830
|
+
children: "Elevasis is a production AI orchestration platform that coordinates workflows, autonomous agents, and human approvals into a unified operating layer for SMBs. Everything described below is implemented and running in production."
|
|
6831
|
+
}), "\\n", _jsx(_components.p, {
|
|
6832
|
+
children: _jsx(_components.strong, {
|
|
6833
|
+
children: "Core Architecture:"
|
|
6834
|
+
})
|
|
6835
|
+
}), "\\n", _jsxs(_components.table, {
|
|
6836
|
+
children: [_jsx(_components.thead, {
|
|
6837
|
+
children: _jsxs(_components.tr, {
|
|
6838
|
+
children: [_jsx(_components.th, {
|
|
6839
|
+
children: "Layer"
|
|
6840
|
+
}), _jsx(_components.th, {
|
|
6841
|
+
children: "What It Does"
|
|
6842
|
+
}), _jsx(_components.th, {
|
|
6843
|
+
children: "Key Components"
|
|
6844
|
+
})]
|
|
6845
|
+
})
|
|
6846
|
+
}), _jsxs(_components.tbody, {
|
|
6847
|
+
children: [_jsxs(_components.tr, {
|
|
6848
|
+
children: [_jsx(_components.td, {
|
|
6849
|
+
children: _jsx(_components.strong, {
|
|
6850
|
+
children: "Execution"
|
|
6851
|
+
})
|
|
6852
|
+
}), _jsx(_components.td, {
|
|
6853
|
+
children: "Runs workflows and agents with schema validation"
|
|
6854
|
+
}), _jsx(_components.td, {
|
|
6855
|
+
children: "Workflow Engine, Agent Framework, Execution Runner"
|
|
6856
|
+
})]
|
|
6857
|
+
}), _jsxs(_components.tr, {
|
|
6858
|
+
children: [_jsx(_components.td, {
|
|
6859
|
+
children: _jsx(_components.strong, {
|
|
6860
|
+
children: "Control"
|
|
6861
|
+
})
|
|
6862
|
+
}), _jsx(_components.td, {
|
|
6863
|
+
children: "Human oversight, approvals, and decision capture"
|
|
6864
|
+
}), _jsx(_components.td, {
|
|
6865
|
+
children: "Command Queue (HITL), Dynamic Forms, Action System"
|
|
6866
|
+
})]
|
|
6867
|
+
}), _jsxs(_components.tr, {
|
|
6868
|
+
children: [_jsx(_components.td, {
|
|
6869
|
+
children: _jsx(_components.strong, {
|
|
6870
|
+
children: "Intelligence"
|
|
6871
|
+
})
|
|
6872
|
+
}), _jsx(_components.td, {
|
|
6873
|
+
children: "Autonomous reasoning, tool use, and memory management"
|
|
6874
|
+
}), _jsx(_components.td, {
|
|
6875
|
+
children: "ReAct Agents, Knowledge Map, Session Memory"
|
|
6876
|
+
})]
|
|
6877
|
+
}), _jsxs(_components.tr, {
|
|
6878
|
+
children: [_jsx(_components.td, {
|
|
6879
|
+
children: _jsx(_components.strong, {
|
|
6880
|
+
children: "Observability"
|
|
6881
|
+
})
|
|
6882
|
+
}), _jsx(_components.td, {
|
|
6883
|
+
children: "Real-time visibility into cost, performance, and health"
|
|
6884
|
+
}), _jsx(_components.td, {
|
|
6885
|
+
children: "Cost Tracking, Metrics, Activity Log, SSE Streaming"
|
|
6886
|
+
})]
|
|
6887
|
+
}), _jsxs(_components.tr, {
|
|
6888
|
+
children: [_jsx(_components.td, {
|
|
6889
|
+
children: _jsx(_components.strong, {
|
|
6890
|
+
children: "Platform"
|
|
6891
|
+
})
|
|
6892
|
+
}), _jsx(_components.td, {
|
|
6893
|
+
children: "Multi-tenancy, security, scheduling, integrations"
|
|
6894
|
+
}), _jsx(_components.td, {
|
|
6895
|
+
children: "Registry, RLS, Scheduler, Credential Vault, SDK"
|
|
6896
|
+
})]
|
|
6897
|
+
})]
|
|
6898
|
+
})]
|
|
6899
|
+
}), "\\n", _jsx(_components.h2, {
|
|
6900
|
+
children: "Execution Engine"
|
|
6901
|
+
}), "\\n", _jsx(_components.h3, {
|
|
6902
|
+
children: "AI Workflows"
|
|
6903
|
+
}), "\\n", _jsx(_components.p, {
|
|
6904
|
+
children: "Graph-based workflow execution with schema-validated steps and conditional routing. Steps define explicit routing: linear, conditional (rule-based branching), or terminal. Context flows through the entire workflow."
|
|
6905
|
+
}), "\\n", _jsx(_components.h3, {
|
|
6906
|
+
children: "Autonomous Agents"
|
|
6907
|
+
}), "\\n", _jsx(_components.p, {
|
|
6908
|
+
children: "Production-grade ReAct-style agents with tool use, memory management, and security hardening."
|
|
6909
|
+
}), "\\n", _jsxs(_components.p, {
|
|
6910
|
+
children: [_jsx(_components.strong, {
|
|
6911
|
+
children: "LLM Provider Support:"
|
|
6912
|
+
}), " Anthropic through the direct SDK (", _jsx(_components.code, {
|
|
6913
|
+
children: "claude-opus-5"
|
|
6914
|
+
}), ", ", _jsx(_components.code, {
|
|
6915
|
+
children: "claude-sonnet-5"
|
|
6916
|
+
}), ", ", _jsx(_components.code, {
|
|
6917
|
+
children: "claude-haiku-4-5"
|
|
6918
|
+
}), "),\\nOpenAI (", _jsx(_components.code, {
|
|
6919
|
+
children: "gpt-5"
|
|
6920
|
+
}), ", ", _jsx(_components.code, {
|
|
6921
|
+
children: "gpt-5.4-mini"
|
|
6922
|
+
}), ", ", _jsx(_components.code, {
|
|
6923
|
+
children: "gpt-5.4-nano"
|
|
6924
|
+
}), ", plus the three GPT-5.6 tiers ", _jsx(_components.code, {
|
|
6925
|
+
children: "gpt-5.6-sol"
|
|
6926
|
+
}), ", ", _jsx(_components.code, {
|
|
6927
|
+
children: "gpt-5.6-terra"
|
|
6928
|
+
}), ", and\\n", _jsx(_components.code, {
|
|
6929
|
+
children: "gpt-5.6-luna"
|
|
6930
|
+
}), "), and OpenRouter (", _jsx(_components.code, {
|
|
6931
|
+
children: "openrouter/z-ai/glm-5"
|
|
6932
|
+
}), "). ", _jsx(_components.code, {
|
|
6933
|
+
children: "gpt-5.6-terra"
|
|
6934
|
+
}), " is the platform default, and the bare\\n", _jsx(_components.code, {
|
|
6935
|
+
children: "gpt-5.6"
|
|
6936
|
+
}), " name is deliberately unregistered so it is rejected rather than billed at another tier's rate."]
|
|
6937
|
+
}), "\\n", _jsx(_components.h2, {
|
|
6938
|
+
children: "Human-in-the-Loop (HITL)"
|
|
6939
|
+
}), "\\n", _jsx(_components.p, {
|
|
6940
|
+
children: "The Command Queue surfaces pending approvals as structured tasks. Admin reviews, approves or edits, and the workflow continues. Every critical decision -- sending emails to prospects, updating customer records, publishing content -- requires human approval."
|
|
6941
|
+
}), "\\n", _jsx(_components.h2, {
|
|
6942
|
+
children: "Integrations (12 active)"
|
|
6943
|
+
}), "\\n", _jsx(_components.p, {
|
|
6944
|
+
children: "Attio CRM, Cal.com, Instantly (cold email), Resend, Apify, Google Maps, Tomba, Mails.so, Supabase, Stripe, OpenAI, Anthropic Claude."
|
|
6945
|
+
}), "\\n", _jsx(_components.h2, {
|
|
6946
|
+
children: "SDK"
|
|
6947
|
+
}), "\\n", _jsxs(_components.p, {
|
|
6948
|
+
children: ["TypeScript-based resource development with local testing, validation, and deployment pipeline. External consumers define workflows and agents in their own repos and deploy via ", _jsx(_components.code, {
|
|
6949
|
+
children: "elevasis-sdk deploy"
|
|
6950
|
+
}), "."]
|
|
6951
|
+
})]
|
|
6952
|
+
});
|
|
6953
|
+
}
|
|
6954
|
+
function MDXContent(props = {}) {
|
|
6955
|
+
const {wrapper: MDXLayout} = props.components || ({});
|
|
6956
|
+
return MDXLayout ? _jsx(MDXLayout, {
|
|
6957
|
+
...props,
|
|
6958
|
+
children: _jsx(_createMdxContent, {
|
|
6959
|
+
...props
|
|
6960
|
+
})
|
|
6961
|
+
}) : _createMdxContent(props);
|
|
6962
|
+
}
|
|
6963
|
+
return {
|
|
6964
|
+
default: MDXContent
|
|
6965
|
+
};
|
|
6966
|
+
`),
|
|
6811
6967
|
"knowledge.system-building": makeKnowledgeComponent(`"use strict";
|
|
6812
6968
|
const {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];
|
|
6813
6969
|
function _createMdxContent(props) {
|
|
@@ -1454,7 +1454,7 @@ Actions follow a five-stage lifecycle: draft, beta, active, deprecated, archived
|
|
|
1454
1454
|
id: "knowledge.platform-systems-overview",
|
|
1455
1455
|
title: "Platform Systems Overview",
|
|
1456
1456
|
summary: "Authoritative overview of the Elevasis AI Orchestration Platform systems -- what's built, what each system does, and how the pieces fit together",
|
|
1457
|
-
bodyText: "Overview\n\nElevasis is a production AI orchestration platform that coordinates workflows, autonomous agents, and human approvals into a unified operating layer for SMBs. Everything described below is implemented and running in production.\n\nCore Architecture:\n\n| Layer | What It Does | Key Components |\n| --- | --- | --- |\n| Execution | Runs workflows and agents with schema validation | Workflow Engine, Agent Framework, Execution Runner |\n| Control | Human oversight, approvals, and decision capture | Command Queue (HITL), Dynamic Forms, Action System |\n| Intelligence | Autonomous reasoning, tool use, and memory management | ReAct Agents, Knowledge Map, Session Memory |\n| Observability | Real-time visibility into cost, performance, and health | Cost Tracking, Metrics, Activity Log, SSE Streaming |\n| Platform | Multi-tenancy, security, scheduling, integrations | Registry, RLS, Scheduler, Credential Vault, SDK |\n\nExecution Engine\n\nAI Workflows\n\nGraph-based workflow execution with schema-validated steps and conditional routing. Steps define explicit routing: linear, conditional (rule-based branching), or terminal. Context flows through the entire workflow.\n\nAutonomous Agents\n\nProduction-grade ReAct-style agents with tool use, memory management, and security hardening.\n\nLLM Provider Support: Anthropic (claude-sonnet-5),
|
|
1457
|
+
bodyText: "Overview\n\nElevasis is a production AI orchestration platform that coordinates workflows, autonomous agents, and human approvals into a unified operating layer for SMBs. Everything described below is implemented and running in production.\n\nCore Architecture:\n\n| Layer | What It Does | Key Components |\n| --- | --- | --- |\n| Execution | Runs workflows and agents with schema validation | Workflow Engine, Agent Framework, Execution Runner |\n| Control | Human oversight, approvals, and decision capture | Command Queue (HITL), Dynamic Forms, Action System |\n| Intelligence | Autonomous reasoning, tool use, and memory management | ReAct Agents, Knowledge Map, Session Memory |\n| Observability | Real-time visibility into cost, performance, and health | Cost Tracking, Metrics, Activity Log, SSE Streaming |\n| Platform | Multi-tenancy, security, scheduling, integrations | Registry, RLS, Scheduler, Credential Vault, SDK |\n\nExecution Engine\n\nAI Workflows\n\nGraph-based workflow execution with schema-validated steps and conditional routing. Steps define explicit routing: linear, conditional (rule-based branching), or terminal. Context flows through the entire workflow.\n\nAutonomous Agents\n\nProduction-grade ReAct-style agents with tool use, memory management, and security hardening.\n\nLLM Provider Support: Anthropic through the direct SDK (claude-opus-5, claude-sonnet-5, claude-haiku-4-5),\nOpenAI (gpt-5, gpt-5.4-mini, gpt-5.4-nano, plus the three GPT-5.6 tiers gpt-5.6-sol, gpt-5.6-terra, and\ngpt-5.6-luna), and OpenRouter (openrouter/z-ai/glm-5). gpt-5.6-terra is the platform default, and the bare\ngpt-5.6 name is deliberately unregistered so it is rejected rather than billed at another tier's rate.\n\nHuman-in-the-Loop (HITL)\n\nThe Command Queue surfaces pending approvals as structured tasks. Admin reviews, approves or edits, and the workflow continues. Every critical decision -- sending emails to prospects, updating customer records, publishing content -- requires human approval.\n\nIntegrations (12 active)\n\nAttio CRM, Cal.com, Instantly (cold email), Resend, Apify, Google Maps, Tomba, Mails.so, Supabase, Stripe, OpenAI, Anthropic Claude.\n\nSDK\n\nTypeScript-based resource development with local testing, validation, and deployment pipeline. External consumers define workflows and agents in their own repos and deploy via elevasis-sdk deploy."
|
|
1458
1458
|
},
|
|
1459
1459
|
{
|
|
1460
1460
|
id: "knowledge.system-building",
|
package/dist/layout/index.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-
|
|
2
|
-
export { SubshellLoader } from '../chunk-
|
|
3
|
-
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-
|
|
1
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-CRPH5AAB.js';
|
|
2
|
+
export { SubshellLoader } from '../chunk-2ZRY3ARL.js';
|
|
3
|
+
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-5RH6NYZH.js';
|
|
4
4
|
export { PageContainer } from '../chunk-BZZCNLT6.js';
|
|
5
|
-
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader } from '../chunk-
|
|
5
|
+
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader } from '../chunk-SB3IHM5Y.js';
|
|
6
6
|
import '../chunk-R6NMRXNO.js';
|
|
7
7
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-RBGVNPA6.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-NHNTX6ZL.js';
|
|
8
|
+
import '../chunk-ZG6YJUT4.js';
|
|
10
9
|
import '../chunk-L7BZZ4SI.js';
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-ICHDIVQO.js';
|
|
12
11
|
export { SubshellNavItem, SubshellSidebarSection, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, topbarHeight } from '../chunk-MISHPEJX.js';
|
|
13
12
|
import '../chunk-62GVNH5U.js';
|
|
14
13
|
import '../chunk-P45GQ3ZW.js';
|
|
15
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-2GIJBHZT.js';
|
|
16
15
|
import '../chunk-3KMDHCAR.js';
|
|
17
16
|
import '../chunk-2IFYDILW.js';
|
|
18
17
|
import '../chunk-BLXJEIQS.js';
|
|
@@ -20,7 +19,7 @@ import '../chunk-UD657ICS.js';
|
|
|
20
19
|
import '../chunk-DD3CCMCZ.js';
|
|
21
20
|
import '../chunk-RNP5R5I3.js';
|
|
22
21
|
import '../chunk-RT4KRGZT.js';
|
|
23
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-A2SB32YV.js';
|
|
24
23
|
import '../chunk-Y6I3IC45.js';
|
|
25
24
|
import '../chunk-6SSQGWK7.js';
|
|
26
25
|
import '../chunk-BI5VDO2K.js';
|
package/dist/profile/index.d.ts
CHANGED
|
@@ -1455,6 +1455,64 @@ type Database = {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
];
|
|
1457
1457
|
};
|
|
1458
|
+
content_distribution_metrics: {
|
|
1459
|
+
Row: {
|
|
1460
|
+
captured_at: string;
|
|
1461
|
+
created_at: string;
|
|
1462
|
+
distribution_id: string;
|
|
1463
|
+
id: string;
|
|
1464
|
+
metrics: Json;
|
|
1465
|
+
organization_id: string;
|
|
1466
|
+
raw: Json;
|
|
1467
|
+
source: string;
|
|
1468
|
+
source_execution_id: string | null;
|
|
1469
|
+
};
|
|
1470
|
+
Insert: {
|
|
1471
|
+
captured_at?: string;
|
|
1472
|
+
created_at?: string;
|
|
1473
|
+
distribution_id: string;
|
|
1474
|
+
id?: string;
|
|
1475
|
+
metrics?: Json;
|
|
1476
|
+
organization_id: string;
|
|
1477
|
+
raw?: Json;
|
|
1478
|
+
source: string;
|
|
1479
|
+
source_execution_id?: string | null;
|
|
1480
|
+
};
|
|
1481
|
+
Update: {
|
|
1482
|
+
captured_at?: string;
|
|
1483
|
+
created_at?: string;
|
|
1484
|
+
distribution_id?: string;
|
|
1485
|
+
id?: string;
|
|
1486
|
+
metrics?: Json;
|
|
1487
|
+
organization_id?: string;
|
|
1488
|
+
raw?: Json;
|
|
1489
|
+
source?: string;
|
|
1490
|
+
source_execution_id?: string | null;
|
|
1491
|
+
};
|
|
1492
|
+
Relationships: [
|
|
1493
|
+
{
|
|
1494
|
+
foreignKeyName: "content_distribution_metrics_distribution_fkey";
|
|
1495
|
+
columns: ["distribution_id", "organization_id"];
|
|
1496
|
+
isOneToOne: false;
|
|
1497
|
+
referencedRelation: "content_distributions";
|
|
1498
|
+
referencedColumns: ["id", "organization_id"];
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
foreignKeyName: "content_distribution_metrics_organization_id_fkey";
|
|
1502
|
+
columns: ["organization_id"];
|
|
1503
|
+
isOneToOne: false;
|
|
1504
|
+
referencedRelation: "organizations";
|
|
1505
|
+
referencedColumns: ["id"];
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
foreignKeyName: "content_distribution_metrics_source_execution_id_fkey";
|
|
1509
|
+
columns: ["source_execution_id"];
|
|
1510
|
+
isOneToOne: false;
|
|
1511
|
+
referencedRelation: "execution_logs";
|
|
1512
|
+
referencedColumns: ["execution_id"];
|
|
1513
|
+
}
|
|
1514
|
+
];
|
|
1515
|
+
};
|
|
1458
1516
|
content_distributions: {
|
|
1459
1517
|
Row: {
|
|
1460
1518
|
adapted_body: string | null;
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -1557,6 +1557,64 @@ type Database = {
|
|
|
1557
1557
|
}
|
|
1558
1558
|
];
|
|
1559
1559
|
};
|
|
1560
|
+
content_distribution_metrics: {
|
|
1561
|
+
Row: {
|
|
1562
|
+
captured_at: string;
|
|
1563
|
+
created_at: string;
|
|
1564
|
+
distribution_id: string;
|
|
1565
|
+
id: string;
|
|
1566
|
+
metrics: Json;
|
|
1567
|
+
organization_id: string;
|
|
1568
|
+
raw: Json;
|
|
1569
|
+
source: string;
|
|
1570
|
+
source_execution_id: string | null;
|
|
1571
|
+
};
|
|
1572
|
+
Insert: {
|
|
1573
|
+
captured_at?: string;
|
|
1574
|
+
created_at?: string;
|
|
1575
|
+
distribution_id: string;
|
|
1576
|
+
id?: string;
|
|
1577
|
+
metrics?: Json;
|
|
1578
|
+
organization_id: string;
|
|
1579
|
+
raw?: Json;
|
|
1580
|
+
source: string;
|
|
1581
|
+
source_execution_id?: string | null;
|
|
1582
|
+
};
|
|
1583
|
+
Update: {
|
|
1584
|
+
captured_at?: string;
|
|
1585
|
+
created_at?: string;
|
|
1586
|
+
distribution_id?: string;
|
|
1587
|
+
id?: string;
|
|
1588
|
+
metrics?: Json;
|
|
1589
|
+
organization_id?: string;
|
|
1590
|
+
raw?: Json;
|
|
1591
|
+
source?: string;
|
|
1592
|
+
source_execution_id?: string | null;
|
|
1593
|
+
};
|
|
1594
|
+
Relationships: [
|
|
1595
|
+
{
|
|
1596
|
+
foreignKeyName: "content_distribution_metrics_distribution_fkey";
|
|
1597
|
+
columns: ["distribution_id", "organization_id"];
|
|
1598
|
+
isOneToOne: false;
|
|
1599
|
+
referencedRelation: "content_distributions";
|
|
1600
|
+
referencedColumns: ["id", "organization_id"];
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
foreignKeyName: "content_distribution_metrics_organization_id_fkey";
|
|
1604
|
+
columns: ["organization_id"];
|
|
1605
|
+
isOneToOne: false;
|
|
1606
|
+
referencedRelation: "organizations";
|
|
1607
|
+
referencedColumns: ["id"];
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
foreignKeyName: "content_distribution_metrics_source_execution_id_fkey";
|
|
1611
|
+
columns: ["source_execution_id"];
|
|
1612
|
+
isOneToOne: false;
|
|
1613
|
+
referencedRelation: "execution_logs";
|
|
1614
|
+
referencedColumns: ["execution_id"];
|
|
1615
|
+
}
|
|
1616
|
+
];
|
|
1617
|
+
};
|
|
1560
1618
|
content_distributions: {
|
|
1561
1619
|
Row: {
|
|
1562
1620
|
adapted_body: string | null;
|
|
@@ -5681,6 +5739,24 @@ declare function useElevasisSystems(): ElevasisSystemsContextValue;
|
|
|
5681
5739
|
declare function useOptionalElevasisSystems(): ElevasisSystemsContextValue | null;
|
|
5682
5740
|
declare function ElevasisSystemsProvider({ systems, topbarActions, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisSystemsProviderProps): react_jsx_runtime.JSX.Element;
|
|
5683
5741
|
|
|
5742
|
+
/**
|
|
5743
|
+
* Filters a static candidate manifest list down to the ones whose System is
|
|
5744
|
+
* both **declared** in the organization model and **visible** by lifecycle
|
|
5745
|
+
* (`isSystemLifecycleVisible` -- the Wave 1 shared predicate; `lifecycle:
|
|
5746
|
+
* 'draft'` is not visible, and an omitted lifecycle parses as `'active'`).
|
|
5747
|
+
*
|
|
5748
|
+
* This is a FILTER, not a generator. Tenants keep their hand-written
|
|
5749
|
+
* `SYSTEM_MANIFESTS` array (real imports, so bundling and tree-shaking stay
|
|
5750
|
+
* honest) and route the result through this function before handing it to
|
|
5751
|
+
* `ElevasisSystemsProvider` / `ElevasisAuthenticatedShell`.
|
|
5752
|
+
*
|
|
5753
|
+
* A manifest with no `systemId` is a navigation-only surface (see
|
|
5754
|
+
* `SystemModule.systemId`'s own doc: "Omit for navigation-only app
|
|
5755
|
+
* surfaces") -- there is nothing to check it against, so it always passes
|
|
5756
|
+
* through unfiltered.
|
|
5757
|
+
*/
|
|
5758
|
+
declare function selectDeclaredSystems<T extends SystemModule>(candidates: readonly T[], organizationModel: ElevasisOrganizationModel | undefined): T[];
|
|
5759
|
+
|
|
5684
5760
|
declare function SystemShell({ children }: {
|
|
5685
5761
|
children: ReactNode;
|
|
5686
5762
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -5759,5 +5835,5 @@ declare function createTestSystemsProvider({ organizationModel, systems }?: Crea
|
|
|
5759
5835
|
children: ReactNode;
|
|
5760
5836
|
}) => react_jsx_runtime.JSX.Element;
|
|
5761
5837
|
|
|
5762
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel };
|
|
5838
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, selectDeclaredSystems, useAppearance, useCrmActions, useElevasisServices, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel };
|
|
5763
5839
|
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestSystemsProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, PresetName, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, WithSchemes };
|
package/dist/provider/index.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, selectDeclaredSystems, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-SB3IHM5Y.js';
|
|
2
2
|
import '../chunk-R6NMRXNO.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-NHNTX6ZL.js';
|
|
4
|
+
import '../chunk-ZG6YJUT4.js';
|
|
6
5
|
import '../chunk-L7BZZ4SI.js';
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-ICHDIVQO.js';
|
|
8
7
|
import '../chunk-MISHPEJX.js';
|
|
9
8
|
import '../chunk-62GVNH5U.js';
|
|
10
9
|
import '../chunk-P45GQ3ZW.js';
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-2GIJBHZT.js';
|
|
12
11
|
import '../chunk-3KMDHCAR.js';
|
|
13
12
|
import '../chunk-2IFYDILW.js';
|
|
14
13
|
import '../chunk-BLXJEIQS.js';
|
|
@@ -16,7 +15,7 @@ import '../chunk-UD657ICS.js';
|
|
|
16
15
|
import '../chunk-DD3CCMCZ.js';
|
|
17
16
|
import '../chunk-RNP5R5I3.js';
|
|
18
17
|
import '../chunk-RT4KRGZT.js';
|
|
19
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-A2SB32YV.js';
|
|
20
19
|
import '../chunk-Y6I3IC45.js';
|
|
21
20
|
import '../chunk-6SSQGWK7.js';
|
|
22
21
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|
|
@@ -1556,6 +1556,64 @@ type Database = {
|
|
|
1556
1556
|
}
|
|
1557
1557
|
];
|
|
1558
1558
|
};
|
|
1559
|
+
content_distribution_metrics: {
|
|
1560
|
+
Row: {
|
|
1561
|
+
captured_at: string;
|
|
1562
|
+
created_at: string;
|
|
1563
|
+
distribution_id: string;
|
|
1564
|
+
id: string;
|
|
1565
|
+
metrics: Json;
|
|
1566
|
+
organization_id: string;
|
|
1567
|
+
raw: Json;
|
|
1568
|
+
source: string;
|
|
1569
|
+
source_execution_id: string | null;
|
|
1570
|
+
};
|
|
1571
|
+
Insert: {
|
|
1572
|
+
captured_at?: string;
|
|
1573
|
+
created_at?: string;
|
|
1574
|
+
distribution_id: string;
|
|
1575
|
+
id?: string;
|
|
1576
|
+
metrics?: Json;
|
|
1577
|
+
organization_id: string;
|
|
1578
|
+
raw?: Json;
|
|
1579
|
+
source: string;
|
|
1580
|
+
source_execution_id?: string | null;
|
|
1581
|
+
};
|
|
1582
|
+
Update: {
|
|
1583
|
+
captured_at?: string;
|
|
1584
|
+
created_at?: string;
|
|
1585
|
+
distribution_id?: string;
|
|
1586
|
+
id?: string;
|
|
1587
|
+
metrics?: Json;
|
|
1588
|
+
organization_id?: string;
|
|
1589
|
+
raw?: Json;
|
|
1590
|
+
source?: string;
|
|
1591
|
+
source_execution_id?: string | null;
|
|
1592
|
+
};
|
|
1593
|
+
Relationships: [
|
|
1594
|
+
{
|
|
1595
|
+
foreignKeyName: "content_distribution_metrics_distribution_fkey";
|
|
1596
|
+
columns: ["distribution_id", "organization_id"];
|
|
1597
|
+
isOneToOne: false;
|
|
1598
|
+
referencedRelation: "content_distributions";
|
|
1599
|
+
referencedColumns: ["id", "organization_id"];
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
foreignKeyName: "content_distribution_metrics_organization_id_fkey";
|
|
1603
|
+
columns: ["organization_id"];
|
|
1604
|
+
isOneToOne: false;
|
|
1605
|
+
referencedRelation: "organizations";
|
|
1606
|
+
referencedColumns: ["id"];
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
foreignKeyName: "content_distribution_metrics_source_execution_id_fkey";
|
|
1610
|
+
columns: ["source_execution_id"];
|
|
1611
|
+
isOneToOne: false;
|
|
1612
|
+
referencedRelation: "execution_logs";
|
|
1613
|
+
referencedColumns: ["execution_id"];
|
|
1614
|
+
}
|
|
1615
|
+
];
|
|
1616
|
+
};
|
|
1559
1617
|
content_distributions: {
|
|
1560
1618
|
Row: {
|
|
1561
1619
|
adapted_body: string | null;
|
|
@@ -5565,6 +5623,52 @@ declare function useElevasisSystems(): ElevasisSystemsContextValue;
|
|
|
5565
5623
|
declare function useOptionalElevasisSystems(): ElevasisSystemsContextValue | null;
|
|
5566
5624
|
declare function ElevasisSystemsProvider({ systems, topbarActions, organizationModel, timeRange, operationsApiUrl, operationsSSEManager, deliveryApiUrl, deliverySSEManager, disabledSubsectionPaths, children }: ElevasisSystemsProviderProps): react_jsx_runtime.JSX.Element;
|
|
5567
5625
|
|
|
5626
|
+
/**
|
|
5627
|
+
* Filters a static candidate manifest list down to the ones whose System is
|
|
5628
|
+
* both **declared** in the organization model and **visible** by lifecycle
|
|
5629
|
+
* (`isSystemLifecycleVisible` -- the Wave 1 shared predicate; `lifecycle:
|
|
5630
|
+
* 'draft'` is not visible, and an omitted lifecycle parses as `'active'`).
|
|
5631
|
+
*
|
|
5632
|
+
* This is a FILTER, not a generator. Tenants keep their hand-written
|
|
5633
|
+
* `SYSTEM_MANIFESTS` array (real imports, so bundling and tree-shaking stay
|
|
5634
|
+
* honest) and route the result through this function before handing it to
|
|
5635
|
+
* `ElevasisSystemsProvider` / `ElevasisAuthenticatedShell`.
|
|
5636
|
+
*
|
|
5637
|
+
* A manifest with no `systemId` is a navigation-only surface (see
|
|
5638
|
+
* `SystemModule.systemId`'s own doc: "Omit for navigation-only app
|
|
5639
|
+
* surfaces") -- there is nothing to check it against, so it always passes
|
|
5640
|
+
* through unfiltered.
|
|
5641
|
+
*/
|
|
5642
|
+
declare function selectDeclaredSystems<T extends SystemModule>(candidates: readonly T[], organizationModel: ElevasisOrganizationModel | undefined): T[];
|
|
5643
|
+
|
|
5644
|
+
/**
|
|
5645
|
+
* useResolvedOrganizationModel
|
|
5646
|
+
*
|
|
5647
|
+
* Returns the live organization model from ElevasisSystemsProvider, falling
|
|
5648
|
+
* back to a canonical empty model when the provider has not yet supplied one.
|
|
5649
|
+
*
|
|
5650
|
+
* Fallback uses `mergeDefaults: false` intentionally: the generic
|
|
5651
|
+
* DEFAULT_ORGANIZATION_MODEL has an empty `systems: {}` record (all
|
|
5652
|
+
* Elevasis-specific systems live in `@repo/elevasis-core`). With
|
|
5653
|
+
* `mergeDefaults: true` Zod would inject the generic fixture defaults,
|
|
5654
|
+
* producing a model that looks valid but contains none of the tenant's
|
|
5655
|
+
* semantic data. `mergeDefaults: false` yields a minimal schema-valid shell
|
|
5656
|
+
* that makes the missing-provider state explicit rather than silently hiding it.
|
|
5657
|
+
*/
|
|
5658
|
+
|
|
5659
|
+
/**
|
|
5660
|
+
* Returns the live `OrganizationModel` from the nearest
|
|
5661
|
+
* `ElevasisSystemsProvider`. When the provider has not yet supplied a model
|
|
5662
|
+
* (e.g. during initial load), returns `EMPTY_CANONICAL_MODEL` -- a minimal
|
|
5663
|
+
* schema-valid shell resolved with `{ mergeDefaults: false }` so it never
|
|
5664
|
+
* silently injects the generic fixture Systems/knowledge.
|
|
5665
|
+
*
|
|
5666
|
+
* Use this hook instead of `organizationModel ?? resolveOrganizationModel()`
|
|
5667
|
+
* at call sites; it centralises the fallback decision and enforces the
|
|
5668
|
+
* `mergeDefaults: false` contract in one place.
|
|
5669
|
+
*/
|
|
5670
|
+
declare function useResolvedOrganizationModel(): OrganizationModel;
|
|
5671
|
+
|
|
5568
5672
|
declare function SystemShell({ children }: {
|
|
5569
5673
|
children: ReactNode;
|
|
5570
5674
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -5611,5 +5715,5 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
|
5611
5715
|
*/
|
|
5612
5716
|
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, apiUrl, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
5613
5717
|
|
|
5614
|
-
export { AppearanceProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisServices, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems };
|
|
5718
|
+
export { AppearanceProvider, ElevasisCoreProvider, ElevasisServiceProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, selectDeclaredSystems, useAppearance, useElevasisServices, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel };
|
|
5615
5719
|
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisTokenOverrides, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphSystemBridge, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ResolvedTopbarAction, ResolvedTopbarActionEntry, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SystemIconComponent, SystemModule, SystemSidebarComponent, TopbarActionModule, TopbarActionsProjectionOptions, WithSchemes };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, selectDeclaredSystems, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-SB3IHM5Y.js';
|
|
2
2
|
import '../chunk-R6NMRXNO.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-NHNTX6ZL.js';
|
|
4
|
+
import '../chunk-ZG6YJUT4.js';
|
|
6
5
|
import '../chunk-L7BZZ4SI.js';
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-ICHDIVQO.js';
|
|
8
7
|
import '../chunk-MISHPEJX.js';
|
|
9
8
|
import '../chunk-62GVNH5U.js';
|
|
10
9
|
import '../chunk-P45GQ3ZW.js';
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-2GIJBHZT.js';
|
|
12
11
|
import '../chunk-3KMDHCAR.js';
|
|
13
12
|
import '../chunk-2IFYDILW.js';
|
|
14
13
|
import '../chunk-BLXJEIQS.js';
|
|
@@ -16,7 +15,7 @@ import '../chunk-UD657ICS.js';
|
|
|
16
15
|
import '../chunk-DD3CCMCZ.js';
|
|
17
16
|
import '../chunk-RNP5R5I3.js';
|
|
18
17
|
import '../chunk-RT4KRGZT.js';
|
|
19
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-A2SB32YV.js';
|
|
20
19
|
import '../chunk-Y6I3IC45.js';
|
|
21
20
|
import '../chunk-6SSQGWK7.js';
|
|
22
21
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|