@topolo/sdk 0.2.9 → 0.2.10

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.
@@ -138,7 +138,7 @@ export const APPLICATIONS = {
138
138
  ],
139
139
  "deployTargets": [
140
140
  {
141
- "name": "bytes",
141
+ "name": "topolo-bytes",
142
142
  "kind": "pages",
143
143
  "apiUrl": null,
144
144
  "domains": [
@@ -148,7 +148,7 @@ export const APPLICATIONS = {
148
148
  "serviceId": null
149
149
  },
150
150
  {
151
- "name": "r2-media-manager-worker",
151
+ "name": "topolo-bytes-api",
152
152
  "kind": "worker",
153
153
  "apiUrl": "https://bytes-api.topolo.app",
154
154
  "domains": [
@@ -241,7 +241,7 @@ export const APPLICATIONS = {
241
241
  "cloudcontrol": {
242
242
  "id": "cloudcontrol",
243
243
  "appDir": "TopoloCloudControl",
244
- "name": "topolo-cloudcontrol",
244
+ "name": "cloudcontrol",
245
245
  "packageName": "topolo-cloudcontrol",
246
246
  "productionUrl": null,
247
247
  "services": [],
@@ -334,51 +334,69 @@ export const APPLICATIONS = {
334
334
  ],
335
335
  "deployTargets": [
336
336
  {
337
- "name": "topolo-crm-frontend",
338
- "kind": "pages",
339
- "apiUrl": null,
337
+ "name": "topolo-crm-api",
338
+ "kind": "worker",
339
+ "apiUrl": "https://crm-api.topolo.app",
340
340
  "domains": [
341
- "crm.topolo.app"
341
+ "crm-api.topolo.app"
342
342
  ],
343
343
  "routes": [],
344
- "serviceId": null
344
+ "serviceId": "crm"
345
345
  },
346
346
  {
347
- "name": "topolo-crm-worker",
348
- "kind": "worker",
349
- "apiUrl": "https://crm-api.topolo.app",
347
+ "name": "topolo-crm-app",
348
+ "kind": "pages",
349
+ "apiUrl": null,
350
350
  "domains": [
351
- "crm-api.topolo.app"
351
+ "crm.topolo.app"
352
352
  ],
353
353
  "routes": [],
354
- "serviceId": "crm"
354
+ "serviceId": null
355
355
  }
356
356
  ]
357
357
  },
358
358
  "customer_success": {
359
359
  "id": "customer_success",
360
- "appDir": "TopoloCustomerSuccess",
361
- "name": "topolo-customer-success",
362
- "packageName": "topolo-customer-success",
363
- "productionUrl": "https://customer-success.topolo.app",
360
+ "appDir": "TopoloSuccess",
361
+ "name": "topolo-success",
362
+ "packageName": "topolo-success",
363
+ "productionUrl": "https://success.topolo.app",
364
364
  "services": [
365
365
  "customer_success"
366
366
  ],
367
367
  "deployTargets": [
368
368
  {
369
- "name": "topolo-customer-success",
369
+ "name": "topolo-success",
370
370
  "kind": "worker",
371
- "apiUrl": "https://customer-success.topolo.app",
371
+ "apiUrl": "https://success.topolo.app",
372
372
  "domains": [
373
- "customer-success.topolo.app"
373
+ "success.topolo.app"
374
374
  ],
375
375
  "routes": [
376
- "customer-success.topolo.app"
376
+ "success.topolo.app"
377
377
  ],
378
378
  "serviceId": "customer_success"
379
379
  }
380
380
  ]
381
381
  },
382
+ "d1_backup": {
383
+ "id": "d1_backup",
384
+ "appDir": "TopoloD1Backup",
385
+ "name": "topolo-d1-backup",
386
+ "packageName": "topolo-d1-backup",
387
+ "productionUrl": null,
388
+ "services": [],
389
+ "deployTargets": [
390
+ {
391
+ "name": "topolo-d1-backup",
392
+ "kind": "worker",
393
+ "apiUrl": null,
394
+ "domains": [],
395
+ "routes": [],
396
+ "serviceId": null
397
+ }
398
+ ]
399
+ },
382
400
  "developers": {
383
401
  "id": "developers",
384
402
  "appDir": "TopoloDevelopers",
@@ -387,6 +405,14 @@ export const APPLICATIONS = {
387
405
  "productionUrl": "https://developers.topolo.app",
388
406
  "services": [],
389
407
  "deployTargets": [
408
+ {
409
+ "name": "topolo-catalog-cron",
410
+ "kind": "worker",
411
+ "apiUrl": null,
412
+ "domains": [],
413
+ "routes": [],
414
+ "serviceId": null
415
+ },
390
416
  {
391
417
  "name": "topolo-developers",
392
418
  "kind": "pages",
@@ -399,6 +425,30 @@ export const APPLICATIONS = {
399
425
  }
400
426
  ]
401
427
  },
428
+ "director": {
429
+ "id": "director",
430
+ "appDir": "TopoloDirector",
431
+ "name": "topolo-director",
432
+ "packageName": "topolo-director",
433
+ "productionUrl": "https://director.topolo.app",
434
+ "services": [
435
+ "director"
436
+ ],
437
+ "deployTargets": [
438
+ {
439
+ "name": "topolo-director",
440
+ "kind": "worker",
441
+ "apiUrl": "https://director.topolo.app",
442
+ "domains": [
443
+ "director.topolo.app"
444
+ ],
445
+ "routes": [
446
+ "director.topolo.app"
447
+ ],
448
+ "serviceId": "director"
449
+ }
450
+ ]
451
+ },
402
452
  "docs": {
403
453
  "id": "docs",
404
454
  "appDir": "TopoloDocs",
@@ -490,7 +540,7 @@ export const APPLICATIONS = {
490
540
  ],
491
541
  "deployTargets": [
492
542
  {
493
- "name": "forecast",
543
+ "name": "topolo-forecast",
494
544
  "kind": "pages",
495
545
  "apiUrl": null,
496
546
  "domains": [
@@ -500,7 +550,7 @@ export const APPLICATIONS = {
500
550
  "serviceId": null
501
551
  },
502
552
  {
503
- "name": "forecast-worker-production",
553
+ "name": "topolo-forecast-api",
504
554
  "kind": "worker",
505
555
  "apiUrl": "https://forecast-api.topolo.app",
506
556
  "domains": [
@@ -594,7 +644,7 @@ export const APPLICATIONS = {
594
644
  ],
595
645
  "deployTargets": [
596
646
  {
597
- "name": "topololearn",
647
+ "name": "topolo-learn",
598
648
  "kind": "pages",
599
649
  "apiUrl": null,
600
650
  "domains": [
@@ -604,7 +654,7 @@ export const APPLICATIONS = {
604
654
  "serviceId": null
605
655
  },
606
656
  {
607
- "name": "topololearn-api",
657
+ "name": "topolo-learn-api",
608
658
  "kind": "worker",
609
659
  "apiUrl": "https://learn-api.topolo.app",
610
660
  "domains": [
@@ -615,6 +665,30 @@ export const APPLICATIONS = {
615
665
  }
616
666
  ]
617
667
  },
668
+ "localize": {
669
+ "id": "localize",
670
+ "appDir": "TopoloLocalize",
671
+ "name": "topolo-localize",
672
+ "packageName": "topolo-localize",
673
+ "productionUrl": "https://localize.topolo.app",
674
+ "services": [
675
+ "localize"
676
+ ],
677
+ "deployTargets": [
678
+ {
679
+ "name": "topolo-localize",
680
+ "kind": "worker",
681
+ "apiUrl": "https://localize.topolo.app",
682
+ "domains": [
683
+ "localize.topolo.app"
684
+ ],
685
+ "routes": [
686
+ "localize.topolo.app"
687
+ ],
688
+ "serviceId": "localize"
689
+ }
690
+ ]
691
+ },
618
692
  "mail": {
619
693
  "id": "mail",
620
694
  "appDir": "TopoloMail",
@@ -652,7 +726,7 @@ export const APPLICATIONS = {
652
726
  "id": "mdm",
653
727
  "appDir": "TopoloMDM",
654
728
  "name": "TopoloMDM",
655
- "packageName": null,
729
+ "packageName": "topolo-mdm",
656
730
  "productionUrl": "https://mdm.topolo.app",
657
731
  "services": [
658
732
  "mdm"
@@ -770,6 +844,15 @@ export const APPLICATIONS = {
770
844
  }
771
845
  ]
772
846
  },
847
+ "observability_watch": {
848
+ "id": "observability_watch",
849
+ "appDir": "TopoloObservabilityWatch",
850
+ "name": "topolo-observability-watch",
851
+ "packageName": "topolo-observability-watch",
852
+ "productionUrl": null,
853
+ "services": [],
854
+ "deployTargets": []
855
+ },
773
856
  "one": {
774
857
  "id": "one",
775
858
  "appDir": "TopoloOne",
@@ -792,7 +875,7 @@ export const APPLICATIONS = {
792
875
  "serviceId": "one.ai"
793
876
  },
794
877
  {
795
- "name": "topoloone",
878
+ "name": "topolo-one",
796
879
  "kind": "pages",
797
880
  "apiUrl": null,
798
881
  "domains": [
@@ -802,11 +885,10 @@ export const APPLICATIONS = {
802
885
  "serviceId": null
803
886
  },
804
887
  {
805
- "name": "topoloone-website",
888
+ "name": "topolo-one-website",
806
889
  "kind": "worker",
807
890
  "apiUrl": null,
808
891
  "domains": [
809
- "one.topolo.io",
810
892
  "topolo.io",
811
893
  "www.topolo.io"
812
894
  ],
@@ -814,14 +896,18 @@ export const APPLICATIONS = {
814
896
  "serviceId": null
815
897
  },
816
898
  {
817
- "name": "topoloone-worker",
899
+ "name": "topolo-one-worker",
818
900
  "kind": "worker",
819
901
  "apiUrl": "https://one.topolo.app",
820
902
  "domains": [
821
- "one.topolo.app"
903
+ "one.topolo.app",
904
+ "topolo.app",
905
+ "www.topolo.app"
822
906
  ],
823
907
  "routes": [
824
- "one.topolo.app/*"
908
+ "one.topolo.app/*",
909
+ "topolo.app",
910
+ "www.topolo.app/*"
825
911
  ],
826
912
  "serviceId": "one"
827
913
  }
@@ -897,11 +983,20 @@ export const APPLICATIONS = {
897
983
  }
898
984
  ]
899
985
  },
986
+ "pulse": {
987
+ "id": "pulse",
988
+ "appDir": "TopoloPulse",
989
+ "name": "topolo-pulse",
990
+ "packageName": "topolo-pulse",
991
+ "productionUrl": null,
992
+ "services": [],
993
+ "deployTargets": []
994
+ },
900
995
  "quro": {
901
996
  "id": "quro",
902
997
  "appDir": "TopoloQuro",
903
998
  "name": "TopoloQuro",
904
- "packageName": null,
999
+ "packageName": "topolo-quro",
905
1000
  "productionUrl": "https://quro.topolo.app",
906
1001
  "services": [
907
1002
  "quro.api",
@@ -953,7 +1048,7 @@ export const APPLICATIONS = {
953
1048
  ],
954
1049
  "deployTargets": [
955
1050
  {
956
- "name": "roadmapper",
1051
+ "name": "topolo-roadmapper",
957
1052
  "kind": "pages",
958
1053
  "apiUrl": null,
959
1054
  "domains": [
@@ -963,7 +1058,7 @@ export const APPLICATIONS = {
963
1058
  "serviceId": null
964
1059
  },
965
1060
  {
966
- "name": "topolo-production-roadmapper",
1061
+ "name": "topolo-roadmapper-api",
967
1062
  "kind": "worker",
968
1063
  "apiUrl": "https://roadmapper-api.topolo.app",
969
1064
  "domains": [
@@ -1049,7 +1144,7 @@ export const APPLICATIONS = {
1049
1144
  ],
1050
1145
  "deployTargets": [
1051
1146
  {
1052
- "name": "socialize",
1147
+ "name": "topolo-socialize",
1053
1148
  "kind": "pages",
1054
1149
  "apiUrl": null,
1055
1150
  "domains": [
@@ -1059,7 +1154,7 @@ export const APPLICATIONS = {
1059
1154
  "serviceId": null
1060
1155
  },
1061
1156
  {
1062
- "name": "socialize-prod-api",
1157
+ "name": "topolo-socialize-api",
1063
1158
  "kind": "worker",
1064
1159
  "apiUrl": "https://socialize-api.topolo.app",
1065
1160
  "domains": [
@@ -1069,7 +1164,7 @@ export const APPLICATIONS = {
1069
1164
  "serviceId": "socialize"
1070
1165
  },
1071
1166
  {
1072
- "name": "socialize-prod-scheduler",
1167
+ "name": "topolo-socialize-scheduler",
1073
1168
  "kind": "worker",
1074
1169
  "apiUrl": null,
1075
1170
  "domains": [],
@@ -1078,6 +1173,30 @@ export const APPLICATIONS = {
1078
1173
  }
1079
1174
  ]
1080
1175
  },
1176
+ "status": {
1177
+ "id": "status",
1178
+ "appDir": "TopoloStatus",
1179
+ "name": "topolo-status",
1180
+ "packageName": "topolo-status",
1181
+ "productionUrl": "https://status.topolo.app",
1182
+ "services": [
1183
+ "status"
1184
+ ],
1185
+ "deployTargets": [
1186
+ {
1187
+ "name": "topolo-status",
1188
+ "kind": "worker",
1189
+ "apiUrl": "https://status.topolo.app",
1190
+ "domains": [
1191
+ "status.topolo.app"
1192
+ ],
1193
+ "routes": [
1194
+ "status.topolo.app"
1195
+ ],
1196
+ "serviceId": "status"
1197
+ }
1198
+ ]
1199
+ },
1081
1200
  "support": {
1082
1201
  "id": "support",
1083
1202
  "appDir": "TopoloSupport",
@@ -1161,7 +1280,7 @@ export const APPLICATIONS = {
1161
1280
  ],
1162
1281
  "deployTargets": [
1163
1282
  {
1164
- "name": "topoloweb-api",
1283
+ "name": "topolo-web-api",
1165
1284
  "kind": "worker",
1166
1285
  "apiUrl": "https://web-api.topolo.app",
1167
1286
  "domains": [
@@ -1171,7 +1290,7 @@ export const APPLICATIONS = {
1171
1290
  "serviceId": "web"
1172
1291
  },
1173
1292
  {
1174
- "name": "topoloweb-runtime",
1293
+ "name": "topolo-web-runtime",
1175
1294
  "kind": "worker",
1176
1295
  "apiUrl": "https://sites.topolo.app",
1177
1296
  "domains": [
@@ -1181,7 +1300,7 @@ export const APPLICATIONS = {
1181
1300
  "serviceId": null
1182
1301
  },
1183
1302
  {
1184
- "name": "topoloweb-studio",
1303
+ "name": "topolo-web-studio",
1185
1304
  "kind": "pages",
1186
1305
  "apiUrl": null,
1187
1306
  "domains": [
@@ -14,7 +14,8 @@ export const SERVICES = {
14
14
  commerce: "https://commerce-api.topolo.app",
15
15
  compose: "https://compose.topolo.app",
16
16
  crm: "https://crm-api.topolo.app",
17
- customer_success: "https://customer-success.topolo.app",
17
+ customer_success: "https://success.topolo.app",
18
+ director: "https://director.topolo.app",
18
19
  feed: "https://feed-api.topolo.app",
19
20
  flow: "https://flow.topolo.app",
20
21
  forecast: "https://forecast-api.topolo.app",
@@ -22,6 +23,7 @@ export const SERVICES = {
22
23
  insights: "https://insights.topolo.app",
23
24
  inventory: "https://inventory.topolo.app",
24
25
  learn: "https://learn-api.topolo.app",
26
+ localize: "https://localize.topolo.app",
25
27
  mail: "https://mail.topolo.app",
26
28
  mdm: "https://mdm-api.topolo.app",
27
29
  messaging: "https://messages.topolo.app",
@@ -38,6 +40,7 @@ export const SERVICES = {
38
40
  sign: "https://sign.topolo.app",
39
41
  social_studio: "https://studio-api.topolo.app",
40
42
  socialize: "https://socialize-api.topolo.app",
43
+ status: "https://status.topolo.app",
41
44
  support: "https://support.topolo.app",
42
45
  survey: "https://survey.topolo.app",
43
46
  voice: "https://voice.topolo.app",
@@ -48,17 +51,21 @@ export type ServiceId = keyof typeof SERVICES;
48
51
 
49
52
  export const PLATFORM_SERVICE_IDS: Partial<Record<ServiceId, string>> = {
50
53
  books: "srv_topolo_books",
54
+ bugfix: "srv_topolo_bugfix",
51
55
  compose: "srv_topolo_compose",
52
56
  crm: "srv_iCwM4jGXcwlj",
53
- customer_success: "srv_topolo_customer_success",
57
+ customer_success: "srv_topolo_success",
58
+ director: "srv_topolo_director",
54
59
  flow: "srv_topolo_flow",
55
60
  forms: "srv_topolo_forms",
56
61
  insights: "srv_topolo_insights",
57
62
  inventory: "srv_topolo_inventory",
63
+ localize: "srv_topolo_localize",
58
64
  notify: "svc_topolo_notify",
59
65
  p2p: "srv_topolo_p2p",
60
66
  people: "srv_topolo_people",
61
67
  sign: "srv_topolo_sign",
68
+ status: "srv_topolo_status",
62
69
  survey: "srv_topolo_survey",
63
70
  voice: "srv_topolo_voice",
64
71
  };
@@ -26,7 +26,9 @@ const EXPECTED_APPLICATION_IDS = [
26
26
  'compose',
27
27
  'crm',
28
28
  'customer_success',
29
+ 'd1_backup',
29
30
  'developers',
31
+ 'director',
30
32
  'docs',
31
33
  'feed',
32
34
  'flow',
@@ -35,21 +37,25 @@ const EXPECTED_APPLICATION_IDS = [
35
37
  'insights',
36
38
  'inventory',
37
39
  'learn',
40
+ 'localize',
38
41
  'mail',
39
42
  'mcp',
40
43
  'mdm',
41
44
  'messaging',
42
45
  'nexus',
43
46
  'notify',
47
+ 'observability_watch',
44
48
  'one',
45
49
  'p2p',
46
50
  'pay',
47
51
  'people',
52
+ 'pulse',
48
53
  'quro',
49
54
  'roadmapper',
50
55
  'sign',
51
56
  'social_studio',
52
57
  'socialize',
58
+ 'status',
53
59
  'support',
54
60
  'survey',
55
61
  'voice',
@@ -67,7 +73,7 @@ describe('service registry', () => {
67
73
  web: 'https://web-api.topolo.app',
68
74
  });
69
75
  expect(DEFAULT_SERVICE_URLS).toMatchObject({
70
- customer_success: 'https://customer-success.topolo.app',
76
+ customer_success: 'https://success.topolo.app',
71
77
  forms: 'https://forms.topolo.app',
72
78
  survey: 'https://survey.topolo.app',
73
79
  });
@@ -79,7 +85,7 @@ describe('service registry', () => {
79
85
  const { PLATFORM_SERVICE_IDS } = await import('./services.js');
80
86
 
81
87
  expect(PLATFORM_SERVICE_IDS.books).toBe('srv_topolo_books');
82
- expect(PLATFORM_SERVICE_IDS.customer_success).toBe('srv_topolo_customer_success');
88
+ expect(PLATFORM_SERVICE_IDS.customer_success).toBe('srv_topolo_success');
83
89
  });
84
90
 
85
91
  it('maps every callable service back to an application catalog entry', () => {
@@ -114,10 +120,10 @@ describe('application catalog', () => {
114
120
  it('treats TopoloWeb runtime as a deploy target, not an agent-callable API service', () => {
115
121
  expect(APPLICATIONS.web.services).toEqual(['web']);
116
122
  expect(
117
- APPLICATIONS.web.deployTargets.find((target) => target.name === 'topoloweb-api')?.serviceId,
123
+ APPLICATIONS.web.deployTargets.find((target) => target.name === 'topolo-web-api')?.serviceId,
118
124
  ).toBe('web');
119
125
  expect(
120
- APPLICATIONS.web.deployTargets.find((target) => target.name === 'topoloweb-runtime')?.serviceId,
126
+ APPLICATIONS.web.deployTargets.find((target) => target.name === 'topolo-web-runtime')?.serviceId,
121
127
  ).toBeNull();
122
128
  });
123
129