@topolo/sdk 0.9.3 → 0.9.5

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.cts CHANGED
@@ -433,9 +433,45 @@ interface TopoloActionDigestInput {
433
433
  agentAccess?: string | null;
434
434
  inputSchema: Record<string, unknown>;
435
435
  outputSchema: Record<string, unknown>;
436
+ agentContract?: Record<string, unknown>;
436
437
  }
437
438
  declare function digestTopoloActionCatalog(actions: TopoloActionDigestInput[], appId: string): Promise<string>;
438
439
 
440
+ interface ActionContractManifest {
441
+ appId?: string;
442
+ app_id?: string;
443
+ slug?: string;
444
+ name?: string;
445
+ actions?: ActionContractSource[];
446
+ }
447
+
448
+ interface ActionContractSource {
449
+ name?: string;
450
+ title?: string;
451
+ method?: string;
452
+ path?: string;
453
+ permission?: string;
454
+ permissionName?: string;
455
+ readOnly?: boolean;
456
+ destructive?: boolean;
457
+ inputSchema?: Record<string, unknown>;
458
+ outputSchema?: Record<string, unknown>;
459
+ agentContract?: Record<string, unknown>;
460
+ }
461
+
462
+ declare function enrichActionContract(
463
+ manifest: ActionContractManifest,
464
+ action: ActionContractSource,
465
+ allActions?: ActionContractSource[],
466
+ ): {
467
+ outputSchema: Record<string, unknown>;
468
+ agentContract: Record<string, unknown>;
469
+ };
470
+
471
+ declare function actionContractCompleteness(
472
+ action: ActionContractSource,
473
+ ): Record<string, boolean>;
474
+
439
475
  declare const APP_API_URLS: {
440
476
  readonly agent: "https://agent.topolo.app";
441
477
  readonly auth: "https://auth.topolo.app";
@@ -502,7 +538,7 @@ declare const APPLICATIONS: {
502
538
  readonly kind: "worker";
503
539
  readonly apiUrl: "https://admin.topolo.app";
504
540
  readonly domains: readonly ["admin.topolo.app"];
505
- readonly routes: readonly [];
541
+ readonly routes: readonly ["admin.topolo.app"];
506
542
  readonly appId: null;
507
543
  }, {
508
544
  readonly name: "topolo-admin-api";
@@ -541,7 +577,7 @@ declare const APPLICATIONS: {
541
577
  readonly appDir: "TopoloAuth";
542
578
  readonly name: "topolo-auth";
543
579
  readonly packageName: "topolo-auth";
544
- readonly productionUrl: "https://auth.topolo.app/login";
580
+ readonly productionUrl: "https://auth.topolo.app";
545
581
  readonly services: readonly ["auth"];
546
582
  readonly deployTargets: readonly [{
547
583
  readonly name: "topolo-auth";
@@ -564,7 +600,7 @@ declare const APPLICATIONS: {
564
600
  readonly kind: "worker";
565
601
  readonly apiUrl: "https://backup.topolo.app";
566
602
  readonly domains: readonly ["backup.topolo.app"];
567
- readonly routes: readonly [];
603
+ readonly routes: readonly ["backup.topolo.app"];
568
604
  readonly appId: "backup";
569
605
  }];
570
606
  };
@@ -603,7 +639,7 @@ declare const APPLICATIONS: {
603
639
  readonly kind: "worker";
604
640
  readonly apiUrl: "https://brand.topolo.app";
605
641
  readonly domains: readonly ["brand.topolo.app"];
606
- readonly routes: readonly ["brand.topolo.app"];
642
+ readonly routes: readonly [];
607
643
  readonly appId: "brand";
608
644
  }, {
609
645
  readonly name: "topolo-brand-api";
@@ -642,7 +678,7 @@ declare const APPLICATIONS: {
642
678
  readonly kind: "worker";
643
679
  readonly apiUrl: "https://bytes.topolo.app";
644
680
  readonly domains: readonly ["bytes.topolo.app"];
645
- readonly routes: readonly [];
681
+ readonly routes: readonly ["bytes.topolo.app"];
646
682
  readonly appId: "bytes";
647
683
  }, {
648
684
  readonly name: "topolo-bytes-api";
@@ -665,7 +701,7 @@ declare const APPLICATIONS: {
665
701
  readonly kind: "worker";
666
702
  readonly apiUrl: "https://calendar.topolo.app";
667
703
  readonly domains: readonly ["calendar.topolo.app"];
668
- readonly routes: readonly [];
704
+ readonly routes: readonly ["calendar.topolo.app"];
669
705
  readonly appId: "calendar";
670
706
  }, {
671
707
  readonly name: "topolo-calendar-api";
@@ -688,7 +724,7 @@ declare const APPLICATIONS: {
688
724
  readonly kind: "worker";
689
725
  readonly apiUrl: "https://campaigns.topolo.app";
690
726
  readonly domains: readonly ["campaigns.topolo.app"];
691
- readonly routes: readonly ["campaigns.topolo.app"];
727
+ readonly routes: readonly [];
692
728
  readonly appId: "campaigns";
693
729
  }, {
694
730
  readonly name: "topolo-campaigns-api";
@@ -757,21 +793,21 @@ declare const APPLICATIONS: {
757
793
  readonly kind: "worker";
758
794
  readonly apiUrl: "https://guest.topolo.app";
759
795
  readonly domains: readonly ["guest.topolo.app"];
760
- readonly routes: readonly [];
796
+ readonly routes: readonly ["guest.topolo.app"];
761
797
  readonly appId: null;
762
798
  }, {
763
799
  readonly name: "topolo-commerce-ops-web";
764
800
  readonly kind: "worker";
765
801
  readonly apiUrl: "https://commerce.topolo.app";
766
802
  readonly domains: readonly ["commerce.topolo.app"];
767
- readonly routes: readonly [];
803
+ readonly routes: readonly ["commerce.topolo.app"];
768
804
  readonly appId: "commerce";
769
805
  }, {
770
806
  readonly name: "topolo-commerce-station-web";
771
807
  readonly kind: "worker";
772
808
  readonly apiUrl: "https://station-commerce.topolo.app";
773
809
  readonly domains: readonly ["station-commerce.topolo.app"];
774
- readonly routes: readonly [];
810
+ readonly routes: readonly ["station-commerce.topolo.app"];
775
811
  readonly appId: null;
776
812
  }];
777
813
  };
@@ -909,7 +945,7 @@ declare const APPLICATIONS: {
909
945
  readonly kind: "worker";
910
946
  readonly apiUrl: "https://docs.topolo.app";
911
947
  readonly domains: readonly ["docs.topolo.app"];
912
- readonly routes: readonly [];
948
+ readonly routes: readonly ["docs.topolo.app"];
913
949
  readonly appId: null;
914
950
  }, {
915
951
  readonly name: "topolo-docs-api";
@@ -932,21 +968,21 @@ declare const APPLICATIONS: {
932
968
  readonly kind: "worker";
933
969
  readonly apiUrl: "https://feed-analytics-api.topolo.app";
934
970
  readonly domains: readonly ["feed-analytics-api.topolo.app"];
935
- readonly routes: readonly [];
971
+ readonly routes: readonly ["feed-analytics-api.topolo.app"];
936
972
  readonly appId: null;
937
973
  }, {
938
974
  readonly name: "topolo-feed-api";
939
975
  readonly kind: "worker";
940
976
  readonly apiUrl: "https://feed-api.topolo.app";
941
977
  readonly domains: readonly ["feed-api.topolo.app"];
942
- readonly routes: readonly [];
978
+ readonly routes: readonly ["feed-api.topolo.app"];
943
979
  readonly appId: null;
944
980
  }, {
945
981
  readonly name: "topolo-feed-web";
946
982
  readonly kind: "worker";
947
983
  readonly apiUrl: "https://feed.topolo.app";
948
984
  readonly domains: readonly ["feed.topolo.app"];
949
- readonly routes: readonly [];
985
+ readonly routes: readonly ["feed.topolo.app"];
950
986
  readonly appId: "feed";
951
987
  }];
952
988
  };
@@ -1031,7 +1067,7 @@ declare const APPLICATIONS: {
1031
1067
  readonly kind: "worker";
1032
1068
  readonly apiUrl: "https://home.topolo.app";
1033
1069
  readonly domains: readonly ["home.topolo.app"];
1034
- readonly routes: readonly [];
1070
+ readonly routes: readonly ["home.topolo.app"];
1035
1071
  readonly appId: "home";
1036
1072
  }, {
1037
1073
  readonly name: "topolo-home-api";
@@ -1100,7 +1136,7 @@ declare const APPLICATIONS: {
1100
1136
  readonly kind: "worker";
1101
1137
  readonly apiUrl: "https://learn.topolo.app";
1102
1138
  readonly domains: readonly ["learn.topolo.app"];
1103
- readonly routes: readonly [];
1139
+ readonly routes: readonly ["learn.topolo.app"];
1104
1140
  readonly appId: "learn";
1105
1141
  }, {
1106
1142
  readonly name: "topolo-learn-api";
@@ -1169,7 +1205,7 @@ declare const APPLICATIONS: {
1169
1205
  readonly kind: "worker";
1170
1206
  readonly apiUrl: "https://mdm.topolo.app";
1171
1207
  readonly domains: readonly ["mdm.topolo.app"];
1172
- readonly routes: readonly [];
1208
+ readonly routes: readonly ["mdm.topolo.app"];
1173
1209
  readonly appId: "mdm";
1174
1210
  }];
1175
1211
  };
@@ -1185,7 +1221,7 @@ declare const APPLICATIONS: {
1185
1221
  readonly kind: "worker";
1186
1222
  readonly apiUrl: "https://messages.topolo.app";
1187
1223
  readonly domains: readonly ["messages.topolo.app"];
1188
- readonly routes: readonly [];
1224
+ readonly routes: readonly ["messages.topolo.app"];
1189
1225
  readonly appId: "messages";
1190
1226
  }, {
1191
1227
  readonly name: "topolo-messages-api";
@@ -1213,9 +1249,9 @@ declare const APPLICATIONS: {
1213
1249
  readonly deployTargets: readonly [{
1214
1250
  readonly name: "topolo-nexus-dashboard";
1215
1251
  readonly kind: "worker";
1216
- readonly apiUrl: null;
1252
+ readonly apiUrl: "https://nexus.topolo.app";
1217
1253
  readonly domains: readonly ["nexus.topolo.app"];
1218
- readonly routes: readonly [];
1254
+ readonly routes: readonly ["nexus.topolo.app"];
1219
1255
  readonly appId: null;
1220
1256
  }, {
1221
1257
  readonly name: "topolo-nexus-gateway";
@@ -1300,7 +1336,7 @@ declare const APPLICATIONS: {
1300
1336
  readonly kind: "worker";
1301
1337
  readonly apiUrl: "https://p2p.topolo.app";
1302
1338
  readonly domains: readonly ["p2p.topolo.app"];
1303
- readonly routes: readonly [];
1339
+ readonly routes: readonly ["p2p.topolo.app"];
1304
1340
  readonly appId: "p2p";
1305
1341
  }, {
1306
1342
  readonly name: "topolo-p2p-api";
@@ -1445,7 +1481,7 @@ declare const APPLICATIONS: {
1445
1481
  readonly kind: "worker";
1446
1482
  readonly apiUrl: "https://studio.topolo.app";
1447
1483
  readonly domains: readonly ["studio.topolo.app"];
1448
- readonly routes: readonly [];
1484
+ readonly routes: readonly ["studio.topolo.app"];
1449
1485
  readonly appId: "social_studio";
1450
1486
  }, {
1451
1487
  readonly name: "topolo-social-studio-api";
@@ -1475,14 +1511,14 @@ declare const APPLICATIONS: {
1475
1511
  readonly kind: "worker";
1476
1512
  readonly apiUrl: "https://socialize.topolo.app";
1477
1513
  readonly domains: readonly ["socialize.topolo.app"];
1478
- readonly routes: readonly [];
1514
+ readonly routes: readonly ["socialize.topolo.app"];
1479
1515
  readonly appId: "socialize";
1480
1516
  }, {
1481
1517
  readonly name: "topolo-socialize-api";
1482
1518
  readonly kind: "worker";
1483
1519
  readonly apiUrl: "https://socialize-api.topolo.app";
1484
1520
  readonly domains: readonly ["socialize-api.topolo.app"];
1485
- readonly routes: readonly [];
1521
+ readonly routes: readonly ["socialize-api.topolo.app"];
1486
1522
  readonly appId: null;
1487
1523
  }, {
1488
1524
  readonly name: "topolo-socialize-scheduler";
@@ -1528,7 +1564,7 @@ declare const APPLICATIONS: {
1528
1564
  readonly kind: "worker";
1529
1565
  readonly apiUrl: "https://status.topolo.app";
1530
1566
  readonly domains: readonly ["status.topolo.app"];
1531
- readonly routes: readonly [];
1567
+ readonly routes: readonly ["status.topolo.app"];
1532
1568
  readonly appId: "status";
1533
1569
  }];
1534
1570
  };
@@ -1613,7 +1649,7 @@ declare const APPLICATIONS: {
1613
1649
  readonly kind: "worker";
1614
1650
  readonly apiUrl: "https://voice.topolo.app";
1615
1651
  readonly domains: readonly ["voice.topolo.app"];
1616
- readonly routes: readonly [];
1652
+ readonly routes: readonly ["voice.topolo.app"];
1617
1653
  readonly appId: "voice";
1618
1654
  }, {
1619
1655
  readonly name: "topolo-voice-api";
@@ -1650,7 +1686,7 @@ declare const APPLICATIONS: {
1650
1686
  readonly kind: "worker";
1651
1687
  readonly apiUrl: "https://web.topolo.app";
1652
1688
  readonly domains: readonly ["web.topolo.app"];
1653
- readonly routes: readonly [];
1689
+ readonly routes: readonly ["web.topolo.app"];
1654
1690
  readonly appId: "web";
1655
1691
  }];
1656
1692
  };
@@ -1734,7 +1770,7 @@ declare const APPLICATION_REQUIREMENTS: readonly [{
1734
1770
  readonly summary: "Browser applications should feel like one platform and should not create isolated navigation or account surfaces.";
1735
1771
  readonly appliesTo: readonly ["browser"];
1736
1772
  readonly evidence: readonly ["@topolo-io/app-shell is used for the platform shell where the app has authenticated UI", "@topolo-io/app-launcher keeps the shared launcher/app switcher reachable from authenticated app chrome", "Account menu and sign-out behavior use TopoloAppShell or the ui-kit TopoloAccountMenu primitive", "Repeated app body surfaces use shared TopoloAppLayout primitives instead of local stat cards, empty states, or status badges", "Local preview supports deterministic visual QA fixtures for overview, list, detail, settings, and empty/loading states", "Authenticated app body content stays inside the viewport on mobile and desktop widths"];
1737
- readonly implementation: readonly ["Use @topolo-io/app-shell TopoloAppShell for authenticated app layouts", "Use the @topolo-io/ui-kit TopoloAccountMenu primitive when a partial-shell surface still needs account chrome", "Pass app-specific account actions as additive menu items instead of forking dropdowns", "Use shared design tokens and platform UI primitives before creating local equivalents", "Use TopoloAppMetricCard, TopoloAppEmptyState, TopoloAppStatusBadge, TopoloAppGrid, and TopoloAppSection for repeated app body patterns", "Keep visual QA fixtures available through visualQa=1 or __devpreview=1 so screenshot checks do not depend on live API state", "Keep mobile and desktop shell behavior aligned with the platform UI kit", "Constrain app-owned workspace wrappers with min-width: 0, width: auto, and viewport-aware max-width so shell padding cannot create page-level horizontal overflow"];
1773
+ readonly implementation: readonly ["Use @topolo-io/app-shell TopoloAppShell for authenticated app layouts", "Use the @topolo-io/ui-kit TopoloAccountMenu primitive when a partial-shell surface still needs account chrome", "Pass app-specific account actions as additive menu items instead of forking dropdowns", "Use shared design tokens and platform UI primitives before creating local equivalents", "Use TopoloAppMetricCard, TopoloAppEmptyState, TopoloAppStatusBadge, TopoloAppGrid, and TopoloAppSection for repeated app body patterns", "Keep visual QA fixtures available through visualQa=1 or __devpreview=1 so screenshot checks do not depend on live API state", "Keep mobile and desktop shell behavior aligned with the platform UI kit", "Constrain the app workspace-view layout wrappers with min-width: 0, width: auto, and viewport-aware max-width so shell padding cannot create page-level horizontal overflow"];
1738
1774
  }, {
1739
1775
  readonly id: "app-registration-and-scopes";
1740
1776
  readonly title: "Register protected APIs as platform apps";
@@ -2327,4 +2363,4 @@ declare function createTopolo(options: TopoloClientOptions): {
2327
2363
  };
2328
2364
  type Topolo = ReturnType<typeof createTopolo>;
2329
2365
 
2330
- export { ACTION_CATALOG_DIGEST_ALGORITHM, APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type AgentIdentity, type AppApiId, type ApplicationCatalogEntry, type ApplicationDeployTarget, type ApplicationId, type ApplicationRequirement, type ApplicationRequirementAudit, type ApplicationRequirementFinding, type ApplicationRequirementMigrationItem, type ApplicationRequirementScope, type ApplicationRequirementScore, type ApplicationRequirementStatus, type ApplicationRequirementsAuditReport, type CredentialIntrospection, type CrmContactSummary, CrmModule, DEFAULT_APP_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, type P2PActionDetail, type P2PActionRequestInput, type P2PActionRequestResult, type P2PActionRow, type P2PActionRun, type P2PCapability, type P2PConnection, type P2PHold, type P2PLedgerEntry, P2PModule, type P2PPolicy, type P2PPricingModel, type P2PSettlementBatch, type P2PSettlementGroup, type PublishCapabilityInput, type RequestOptions, type ServiceCatalogUrlEntry, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, type TopoloActionAgentContract, type TopoloActionCatalogEntry, type TopoloActionCatalogSummary, type TopoloActionDigestInput, type TopoloActionPlan, type TopoloActionValidationIssue, type TopoloActionValidationResult, type TopoloApiKeyResourceMetadata, TopoloAuthError, type TopoloBindableResource, type TopoloBindableResourceCatalog, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, TopoloConfirmationRequiredError, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloServiceCatalogEntry, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetSnapshotMetadata, type TopoloWidgetSnapshotMetric, type TopoloWidgetType, type TopoloWidgetValidationResult, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, digestTopoloActionCatalog, requirementsForApplication, resolveCatalogServiceUrl, resolveServiceUrl, validateTopoloActionInput, validateTopoloWidgetResponse };
2366
+ export { ACTION_CATALOG_DIGEST_ALGORITHM, APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type ActionContractManifest, type ActionContractSource, type AgentIdentity, type AppApiId, type ApplicationCatalogEntry, type ApplicationDeployTarget, type ApplicationId, type ApplicationRequirement, type ApplicationRequirementAudit, type ApplicationRequirementFinding, type ApplicationRequirementMigrationItem, type ApplicationRequirementScope, type ApplicationRequirementScore, type ApplicationRequirementStatus, type ApplicationRequirementsAuditReport, type CredentialIntrospection, type CrmContactSummary, CrmModule, DEFAULT_APP_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, type P2PActionDetail, type P2PActionRequestInput, type P2PActionRequestResult, type P2PActionRow, type P2PActionRun, type P2PCapability, type P2PConnection, type P2PHold, type P2PLedgerEntry, P2PModule, type P2PPolicy, type P2PPricingModel, type P2PSettlementBatch, type P2PSettlementGroup, type PublishCapabilityInput, type RequestOptions, type ServiceCatalogUrlEntry, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, type TopoloActionAgentContract, type TopoloActionCatalogEntry, type TopoloActionCatalogSummary, type TopoloActionDigestInput, type TopoloActionPlan, type TopoloActionValidationIssue, type TopoloActionValidationResult, type TopoloApiKeyResourceMetadata, TopoloAuthError, type TopoloBindableResource, type TopoloBindableResourceCatalog, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, TopoloConfirmationRequiredError, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloServiceCatalogEntry, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetSnapshotMetadata, type TopoloWidgetSnapshotMetric, type TopoloWidgetType, type TopoloWidgetValidationResult, actionContractCompleteness, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, digestTopoloActionCatalog, enrichActionContract, requirementsForApplication, resolveCatalogServiceUrl, resolveServiceUrl, validateTopoloActionInput, validateTopoloWidgetResponse };
package/dist/index.d.ts CHANGED
@@ -433,9 +433,45 @@ interface TopoloActionDigestInput {
433
433
  agentAccess?: string | null;
434
434
  inputSchema: Record<string, unknown>;
435
435
  outputSchema: Record<string, unknown>;
436
+ agentContract?: Record<string, unknown>;
436
437
  }
437
438
  declare function digestTopoloActionCatalog(actions: TopoloActionDigestInput[], appId: string): Promise<string>;
438
439
 
440
+ interface ActionContractManifest {
441
+ appId?: string;
442
+ app_id?: string;
443
+ slug?: string;
444
+ name?: string;
445
+ actions?: ActionContractSource[];
446
+ }
447
+
448
+ interface ActionContractSource {
449
+ name?: string;
450
+ title?: string;
451
+ method?: string;
452
+ path?: string;
453
+ permission?: string;
454
+ permissionName?: string;
455
+ readOnly?: boolean;
456
+ destructive?: boolean;
457
+ inputSchema?: Record<string, unknown>;
458
+ outputSchema?: Record<string, unknown>;
459
+ agentContract?: Record<string, unknown>;
460
+ }
461
+
462
+ declare function enrichActionContract(
463
+ manifest: ActionContractManifest,
464
+ action: ActionContractSource,
465
+ allActions?: ActionContractSource[],
466
+ ): {
467
+ outputSchema: Record<string, unknown>;
468
+ agentContract: Record<string, unknown>;
469
+ };
470
+
471
+ declare function actionContractCompleteness(
472
+ action: ActionContractSource,
473
+ ): Record<string, boolean>;
474
+
439
475
  declare const APP_API_URLS: {
440
476
  readonly agent: "https://agent.topolo.app";
441
477
  readonly auth: "https://auth.topolo.app";
@@ -502,7 +538,7 @@ declare const APPLICATIONS: {
502
538
  readonly kind: "worker";
503
539
  readonly apiUrl: "https://admin.topolo.app";
504
540
  readonly domains: readonly ["admin.topolo.app"];
505
- readonly routes: readonly [];
541
+ readonly routes: readonly ["admin.topolo.app"];
506
542
  readonly appId: null;
507
543
  }, {
508
544
  readonly name: "topolo-admin-api";
@@ -541,7 +577,7 @@ declare const APPLICATIONS: {
541
577
  readonly appDir: "TopoloAuth";
542
578
  readonly name: "topolo-auth";
543
579
  readonly packageName: "topolo-auth";
544
- readonly productionUrl: "https://auth.topolo.app/login";
580
+ readonly productionUrl: "https://auth.topolo.app";
545
581
  readonly services: readonly ["auth"];
546
582
  readonly deployTargets: readonly [{
547
583
  readonly name: "topolo-auth";
@@ -564,7 +600,7 @@ declare const APPLICATIONS: {
564
600
  readonly kind: "worker";
565
601
  readonly apiUrl: "https://backup.topolo.app";
566
602
  readonly domains: readonly ["backup.topolo.app"];
567
- readonly routes: readonly [];
603
+ readonly routes: readonly ["backup.topolo.app"];
568
604
  readonly appId: "backup";
569
605
  }];
570
606
  };
@@ -603,7 +639,7 @@ declare const APPLICATIONS: {
603
639
  readonly kind: "worker";
604
640
  readonly apiUrl: "https://brand.topolo.app";
605
641
  readonly domains: readonly ["brand.topolo.app"];
606
- readonly routes: readonly ["brand.topolo.app"];
642
+ readonly routes: readonly [];
607
643
  readonly appId: "brand";
608
644
  }, {
609
645
  readonly name: "topolo-brand-api";
@@ -642,7 +678,7 @@ declare const APPLICATIONS: {
642
678
  readonly kind: "worker";
643
679
  readonly apiUrl: "https://bytes.topolo.app";
644
680
  readonly domains: readonly ["bytes.topolo.app"];
645
- readonly routes: readonly [];
681
+ readonly routes: readonly ["bytes.topolo.app"];
646
682
  readonly appId: "bytes";
647
683
  }, {
648
684
  readonly name: "topolo-bytes-api";
@@ -665,7 +701,7 @@ declare const APPLICATIONS: {
665
701
  readonly kind: "worker";
666
702
  readonly apiUrl: "https://calendar.topolo.app";
667
703
  readonly domains: readonly ["calendar.topolo.app"];
668
- readonly routes: readonly [];
704
+ readonly routes: readonly ["calendar.topolo.app"];
669
705
  readonly appId: "calendar";
670
706
  }, {
671
707
  readonly name: "topolo-calendar-api";
@@ -688,7 +724,7 @@ declare const APPLICATIONS: {
688
724
  readonly kind: "worker";
689
725
  readonly apiUrl: "https://campaigns.topolo.app";
690
726
  readonly domains: readonly ["campaigns.topolo.app"];
691
- readonly routes: readonly ["campaigns.topolo.app"];
727
+ readonly routes: readonly [];
692
728
  readonly appId: "campaigns";
693
729
  }, {
694
730
  readonly name: "topolo-campaigns-api";
@@ -757,21 +793,21 @@ declare const APPLICATIONS: {
757
793
  readonly kind: "worker";
758
794
  readonly apiUrl: "https://guest.topolo.app";
759
795
  readonly domains: readonly ["guest.topolo.app"];
760
- readonly routes: readonly [];
796
+ readonly routes: readonly ["guest.topolo.app"];
761
797
  readonly appId: null;
762
798
  }, {
763
799
  readonly name: "topolo-commerce-ops-web";
764
800
  readonly kind: "worker";
765
801
  readonly apiUrl: "https://commerce.topolo.app";
766
802
  readonly domains: readonly ["commerce.topolo.app"];
767
- readonly routes: readonly [];
803
+ readonly routes: readonly ["commerce.topolo.app"];
768
804
  readonly appId: "commerce";
769
805
  }, {
770
806
  readonly name: "topolo-commerce-station-web";
771
807
  readonly kind: "worker";
772
808
  readonly apiUrl: "https://station-commerce.topolo.app";
773
809
  readonly domains: readonly ["station-commerce.topolo.app"];
774
- readonly routes: readonly [];
810
+ readonly routes: readonly ["station-commerce.topolo.app"];
775
811
  readonly appId: null;
776
812
  }];
777
813
  };
@@ -909,7 +945,7 @@ declare const APPLICATIONS: {
909
945
  readonly kind: "worker";
910
946
  readonly apiUrl: "https://docs.topolo.app";
911
947
  readonly domains: readonly ["docs.topolo.app"];
912
- readonly routes: readonly [];
948
+ readonly routes: readonly ["docs.topolo.app"];
913
949
  readonly appId: null;
914
950
  }, {
915
951
  readonly name: "topolo-docs-api";
@@ -932,21 +968,21 @@ declare const APPLICATIONS: {
932
968
  readonly kind: "worker";
933
969
  readonly apiUrl: "https://feed-analytics-api.topolo.app";
934
970
  readonly domains: readonly ["feed-analytics-api.topolo.app"];
935
- readonly routes: readonly [];
971
+ readonly routes: readonly ["feed-analytics-api.topolo.app"];
936
972
  readonly appId: null;
937
973
  }, {
938
974
  readonly name: "topolo-feed-api";
939
975
  readonly kind: "worker";
940
976
  readonly apiUrl: "https://feed-api.topolo.app";
941
977
  readonly domains: readonly ["feed-api.topolo.app"];
942
- readonly routes: readonly [];
978
+ readonly routes: readonly ["feed-api.topolo.app"];
943
979
  readonly appId: null;
944
980
  }, {
945
981
  readonly name: "topolo-feed-web";
946
982
  readonly kind: "worker";
947
983
  readonly apiUrl: "https://feed.topolo.app";
948
984
  readonly domains: readonly ["feed.topolo.app"];
949
- readonly routes: readonly [];
985
+ readonly routes: readonly ["feed.topolo.app"];
950
986
  readonly appId: "feed";
951
987
  }];
952
988
  };
@@ -1031,7 +1067,7 @@ declare const APPLICATIONS: {
1031
1067
  readonly kind: "worker";
1032
1068
  readonly apiUrl: "https://home.topolo.app";
1033
1069
  readonly domains: readonly ["home.topolo.app"];
1034
- readonly routes: readonly [];
1070
+ readonly routes: readonly ["home.topolo.app"];
1035
1071
  readonly appId: "home";
1036
1072
  }, {
1037
1073
  readonly name: "topolo-home-api";
@@ -1100,7 +1136,7 @@ declare const APPLICATIONS: {
1100
1136
  readonly kind: "worker";
1101
1137
  readonly apiUrl: "https://learn.topolo.app";
1102
1138
  readonly domains: readonly ["learn.topolo.app"];
1103
- readonly routes: readonly [];
1139
+ readonly routes: readonly ["learn.topolo.app"];
1104
1140
  readonly appId: "learn";
1105
1141
  }, {
1106
1142
  readonly name: "topolo-learn-api";
@@ -1169,7 +1205,7 @@ declare const APPLICATIONS: {
1169
1205
  readonly kind: "worker";
1170
1206
  readonly apiUrl: "https://mdm.topolo.app";
1171
1207
  readonly domains: readonly ["mdm.topolo.app"];
1172
- readonly routes: readonly [];
1208
+ readonly routes: readonly ["mdm.topolo.app"];
1173
1209
  readonly appId: "mdm";
1174
1210
  }];
1175
1211
  };
@@ -1185,7 +1221,7 @@ declare const APPLICATIONS: {
1185
1221
  readonly kind: "worker";
1186
1222
  readonly apiUrl: "https://messages.topolo.app";
1187
1223
  readonly domains: readonly ["messages.topolo.app"];
1188
- readonly routes: readonly [];
1224
+ readonly routes: readonly ["messages.topolo.app"];
1189
1225
  readonly appId: "messages";
1190
1226
  }, {
1191
1227
  readonly name: "topolo-messages-api";
@@ -1213,9 +1249,9 @@ declare const APPLICATIONS: {
1213
1249
  readonly deployTargets: readonly [{
1214
1250
  readonly name: "topolo-nexus-dashboard";
1215
1251
  readonly kind: "worker";
1216
- readonly apiUrl: null;
1252
+ readonly apiUrl: "https://nexus.topolo.app";
1217
1253
  readonly domains: readonly ["nexus.topolo.app"];
1218
- readonly routes: readonly [];
1254
+ readonly routes: readonly ["nexus.topolo.app"];
1219
1255
  readonly appId: null;
1220
1256
  }, {
1221
1257
  readonly name: "topolo-nexus-gateway";
@@ -1300,7 +1336,7 @@ declare const APPLICATIONS: {
1300
1336
  readonly kind: "worker";
1301
1337
  readonly apiUrl: "https://p2p.topolo.app";
1302
1338
  readonly domains: readonly ["p2p.topolo.app"];
1303
- readonly routes: readonly [];
1339
+ readonly routes: readonly ["p2p.topolo.app"];
1304
1340
  readonly appId: "p2p";
1305
1341
  }, {
1306
1342
  readonly name: "topolo-p2p-api";
@@ -1445,7 +1481,7 @@ declare const APPLICATIONS: {
1445
1481
  readonly kind: "worker";
1446
1482
  readonly apiUrl: "https://studio.topolo.app";
1447
1483
  readonly domains: readonly ["studio.topolo.app"];
1448
- readonly routes: readonly [];
1484
+ readonly routes: readonly ["studio.topolo.app"];
1449
1485
  readonly appId: "social_studio";
1450
1486
  }, {
1451
1487
  readonly name: "topolo-social-studio-api";
@@ -1475,14 +1511,14 @@ declare const APPLICATIONS: {
1475
1511
  readonly kind: "worker";
1476
1512
  readonly apiUrl: "https://socialize.topolo.app";
1477
1513
  readonly domains: readonly ["socialize.topolo.app"];
1478
- readonly routes: readonly [];
1514
+ readonly routes: readonly ["socialize.topolo.app"];
1479
1515
  readonly appId: "socialize";
1480
1516
  }, {
1481
1517
  readonly name: "topolo-socialize-api";
1482
1518
  readonly kind: "worker";
1483
1519
  readonly apiUrl: "https://socialize-api.topolo.app";
1484
1520
  readonly domains: readonly ["socialize-api.topolo.app"];
1485
- readonly routes: readonly [];
1521
+ readonly routes: readonly ["socialize-api.topolo.app"];
1486
1522
  readonly appId: null;
1487
1523
  }, {
1488
1524
  readonly name: "topolo-socialize-scheduler";
@@ -1528,7 +1564,7 @@ declare const APPLICATIONS: {
1528
1564
  readonly kind: "worker";
1529
1565
  readonly apiUrl: "https://status.topolo.app";
1530
1566
  readonly domains: readonly ["status.topolo.app"];
1531
- readonly routes: readonly [];
1567
+ readonly routes: readonly ["status.topolo.app"];
1532
1568
  readonly appId: "status";
1533
1569
  }];
1534
1570
  };
@@ -1613,7 +1649,7 @@ declare const APPLICATIONS: {
1613
1649
  readonly kind: "worker";
1614
1650
  readonly apiUrl: "https://voice.topolo.app";
1615
1651
  readonly domains: readonly ["voice.topolo.app"];
1616
- readonly routes: readonly [];
1652
+ readonly routes: readonly ["voice.topolo.app"];
1617
1653
  readonly appId: "voice";
1618
1654
  }, {
1619
1655
  readonly name: "topolo-voice-api";
@@ -1650,7 +1686,7 @@ declare const APPLICATIONS: {
1650
1686
  readonly kind: "worker";
1651
1687
  readonly apiUrl: "https://web.topolo.app";
1652
1688
  readonly domains: readonly ["web.topolo.app"];
1653
- readonly routes: readonly [];
1689
+ readonly routes: readonly ["web.topolo.app"];
1654
1690
  readonly appId: "web";
1655
1691
  }];
1656
1692
  };
@@ -1734,7 +1770,7 @@ declare const APPLICATION_REQUIREMENTS: readonly [{
1734
1770
  readonly summary: "Browser applications should feel like one platform and should not create isolated navigation or account surfaces.";
1735
1771
  readonly appliesTo: readonly ["browser"];
1736
1772
  readonly evidence: readonly ["@topolo-io/app-shell is used for the platform shell where the app has authenticated UI", "@topolo-io/app-launcher keeps the shared launcher/app switcher reachable from authenticated app chrome", "Account menu and sign-out behavior use TopoloAppShell or the ui-kit TopoloAccountMenu primitive", "Repeated app body surfaces use shared TopoloAppLayout primitives instead of local stat cards, empty states, or status badges", "Local preview supports deterministic visual QA fixtures for overview, list, detail, settings, and empty/loading states", "Authenticated app body content stays inside the viewport on mobile and desktop widths"];
1737
- readonly implementation: readonly ["Use @topolo-io/app-shell TopoloAppShell for authenticated app layouts", "Use the @topolo-io/ui-kit TopoloAccountMenu primitive when a partial-shell surface still needs account chrome", "Pass app-specific account actions as additive menu items instead of forking dropdowns", "Use shared design tokens and platform UI primitives before creating local equivalents", "Use TopoloAppMetricCard, TopoloAppEmptyState, TopoloAppStatusBadge, TopoloAppGrid, and TopoloAppSection for repeated app body patterns", "Keep visual QA fixtures available through visualQa=1 or __devpreview=1 so screenshot checks do not depend on live API state", "Keep mobile and desktop shell behavior aligned with the platform UI kit", "Constrain app-owned workspace wrappers with min-width: 0, width: auto, and viewport-aware max-width so shell padding cannot create page-level horizontal overflow"];
1773
+ readonly implementation: readonly ["Use @topolo-io/app-shell TopoloAppShell for authenticated app layouts", "Use the @topolo-io/ui-kit TopoloAccountMenu primitive when a partial-shell surface still needs account chrome", "Pass app-specific account actions as additive menu items instead of forking dropdowns", "Use shared design tokens and platform UI primitives before creating local equivalents", "Use TopoloAppMetricCard, TopoloAppEmptyState, TopoloAppStatusBadge, TopoloAppGrid, and TopoloAppSection for repeated app body patterns", "Keep visual QA fixtures available through visualQa=1 or __devpreview=1 so screenshot checks do not depend on live API state", "Keep mobile and desktop shell behavior aligned with the platform UI kit", "Constrain the app workspace-view layout wrappers with min-width: 0, width: auto, and viewport-aware max-width so shell padding cannot create page-level horizontal overflow"];
1738
1774
  }, {
1739
1775
  readonly id: "app-registration-and-scopes";
1740
1776
  readonly title: "Register protected APIs as platform apps";
@@ -2327,4 +2363,4 @@ declare function createTopolo(options: TopoloClientOptions): {
2327
2363
  };
2328
2364
  type Topolo = ReturnType<typeof createTopolo>;
2329
2365
 
2330
- export { ACTION_CATALOG_DIGEST_ALGORITHM, APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type AgentIdentity, type AppApiId, type ApplicationCatalogEntry, type ApplicationDeployTarget, type ApplicationId, type ApplicationRequirement, type ApplicationRequirementAudit, type ApplicationRequirementFinding, type ApplicationRequirementMigrationItem, type ApplicationRequirementScope, type ApplicationRequirementScore, type ApplicationRequirementStatus, type ApplicationRequirementsAuditReport, type CredentialIntrospection, type CrmContactSummary, CrmModule, DEFAULT_APP_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, type P2PActionDetail, type P2PActionRequestInput, type P2PActionRequestResult, type P2PActionRow, type P2PActionRun, type P2PCapability, type P2PConnection, type P2PHold, type P2PLedgerEntry, P2PModule, type P2PPolicy, type P2PPricingModel, type P2PSettlementBatch, type P2PSettlementGroup, type PublishCapabilityInput, type RequestOptions, type ServiceCatalogUrlEntry, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, type TopoloActionAgentContract, type TopoloActionCatalogEntry, type TopoloActionCatalogSummary, type TopoloActionDigestInput, type TopoloActionPlan, type TopoloActionValidationIssue, type TopoloActionValidationResult, type TopoloApiKeyResourceMetadata, TopoloAuthError, type TopoloBindableResource, type TopoloBindableResourceCatalog, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, TopoloConfirmationRequiredError, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloServiceCatalogEntry, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetSnapshotMetadata, type TopoloWidgetSnapshotMetric, type TopoloWidgetType, type TopoloWidgetValidationResult, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, digestTopoloActionCatalog, requirementsForApplication, resolveCatalogServiceUrl, resolveServiceUrl, validateTopoloActionInput, validateTopoloWidgetResponse };
2366
+ export { ACTION_CATALOG_DIGEST_ALGORITHM, APPLICATIONS, APPLICATION_REQUIREMENTS, APPLICATION_REQUIREMENTS_VERSION, type ActionContractManifest, type ActionContractSource, type AgentIdentity, type AppApiId, type ApplicationCatalogEntry, type ApplicationDeployTarget, type ApplicationId, type ApplicationRequirement, type ApplicationRequirementAudit, type ApplicationRequirementFinding, type ApplicationRequirementMigrationItem, type ApplicationRequirementScope, type ApplicationRequirementScore, type ApplicationRequirementStatus, type ApplicationRequirementsAuditReport, type CredentialIntrospection, type CrmContactSummary, CrmModule, DEFAULT_APP_URLS, type DeviceAuthorizationResponse, IdentityModule, type ListContactsOptions, type ListContactsResult, type OAuthHelperOptions, type P2PActionDetail, type P2PActionRequestInput, type P2PActionRequestResult, type P2PActionRow, type P2PActionRun, type P2PCapability, type P2PConnection, type P2PHold, type P2PLedgerEntry, P2PModule, type P2PPolicy, type P2PPricingModel, type P2PSettlementBatch, type P2PSettlementGroup, type PublishCapabilityInput, type RequestOptions, type ServiceCatalogUrlEntry, TOPOLO_WIDGET_ENDPOINT, TOPOLO_WIDGET_REFRESH_INTERVAL_MS, type TokenResponse, type Topolo, type TopoloActionAgentContract, type TopoloActionCatalogEntry, type TopoloActionCatalogSummary, type TopoloActionDigestInput, type TopoloActionPlan, type TopoloActionValidationIssue, type TopoloActionValidationResult, type TopoloApiKeyResourceMetadata, TopoloAuthError, type TopoloBindableResource, type TopoloBindableResourceCatalog, type TopoloChartWidget, TopoloClient, type TopoloClientOptions, TopoloConfirmationRequiredError, type TopoloCredential, type TopoloDebugEvent, TopoloHttpError, type TopoloNotificationsWidget, TopoloOAuth, TopoloPermissionError, type TopoloQuickActionsWidget, type TopoloRecentActivityWidget, TopoloSdkError, type TopoloServiceCatalogEntry, type TopoloStatsWidget, type TopoloWidget, type TopoloWidgetActionItem, type TopoloWidgetActivityItem, type TopoloWidgetApiResponse, type TopoloWidgetBase, type TopoloWidgetConfig, type TopoloWidgetDraft, type TopoloWidgetMetric, type TopoloWidgetNotificationItem, type TopoloWidgetResponseOptions, type TopoloWidgetSnapshotMetadata, type TopoloWidgetSnapshotMetric, type TopoloWidgetType, type TopoloWidgetValidationResult, actionContractCompleteness, applicationRequirementScopes, auditAllApplicationRequirements, auditApplicationRequirements, createTopolo, createTopoloWidgetError, createTopoloWidgetResponse, defineTopoloChartWidget, defineTopoloNotificationsWidget, defineTopoloQuickActionsWidget, defineTopoloRecentActivityWidget, defineTopoloStatsWidget, digestTopoloActionCatalog, enrichActionContract, requirementsForApplication, resolveCatalogServiceUrl, resolveServiceUrl, validateTopoloActionInput, validateTopoloWidgetResponse };