@topolo/cli 0.1.9 → 0.1.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.
- package/dist/index.js +26 -13
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { platform as platform2 } from "os";
|
|
|
9
9
|
import { createInterface } from "readline/promises";
|
|
10
10
|
import { stdin as input } from "process";
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// ../../PlatformApplications/packages/topolo-sdk/dist/index.js
|
|
13
13
|
function applyAuthHeaders(headers, credential) {
|
|
14
14
|
if (credential.kind === "api_key") {
|
|
15
15
|
headers.set("X-Api-Key", credential.apiKey);
|
|
@@ -73,6 +73,7 @@ var SERVICES = {
|
|
|
73
73
|
chat: "https://chat.topolo.app",
|
|
74
74
|
commerce: "https://topolo-commerce-api.topolo.workers.dev",
|
|
75
75
|
crm: "https://crm-api.topolo.app",
|
|
76
|
+
feed: "https://topolo-feed-api.topolo.app",
|
|
76
77
|
forecast: "https://forecast-worker-production.topolo.workers.dev",
|
|
77
78
|
learn: "https://topololearn-api.topolo.workers.dev",
|
|
78
79
|
mail: "https://mail.topolo.app",
|
|
@@ -409,24 +410,34 @@ var APPLICATIONS = {
|
|
|
409
410
|
"appDir": "TopoloFeed",
|
|
410
411
|
"name": "TopoloFeed",
|
|
411
412
|
"packageName": null,
|
|
412
|
-
"productionUrl":
|
|
413
|
-
"services": [
|
|
413
|
+
"productionUrl": "https://topolo-feed-api.topolo.app",
|
|
414
|
+
"services": [
|
|
415
|
+
"feed"
|
|
416
|
+
],
|
|
414
417
|
"deployTargets": [
|
|
415
418
|
{
|
|
416
419
|
"name": "topolo-feed-analytics-api",
|
|
417
420
|
"kind": "worker",
|
|
418
|
-
"apiUrl":
|
|
419
|
-
"domains": [
|
|
420
|
-
|
|
421
|
+
"apiUrl": "https://topolo-feed-analytics-api.topolo.app",
|
|
422
|
+
"domains": [
|
|
423
|
+
"topolo-feed-analytics-api.topolo.app"
|
|
424
|
+
],
|
|
425
|
+
"routes": [
|
|
426
|
+
"topolo-feed-analytics-api.topolo.app"
|
|
427
|
+
],
|
|
421
428
|
"serviceId": null
|
|
422
429
|
},
|
|
423
430
|
{
|
|
424
431
|
"name": "topolo-feed-api",
|
|
425
432
|
"kind": "worker",
|
|
426
|
-
"apiUrl":
|
|
427
|
-
"domains": [
|
|
428
|
-
|
|
429
|
-
|
|
433
|
+
"apiUrl": "https://topolo-feed-api.topolo.app",
|
|
434
|
+
"domains": [
|
|
435
|
+
"topolo-feed-api.topolo.app"
|
|
436
|
+
],
|
|
437
|
+
"routes": [
|
|
438
|
+
"topolo-feed-api.topolo.app"
|
|
439
|
+
],
|
|
440
|
+
"serviceId": "feed"
|
|
430
441
|
}
|
|
431
442
|
]
|
|
432
443
|
},
|
|
@@ -963,10 +974,12 @@ var APPLICATION_REQUIREMENTS = [
|
|
|
963
974
|
evidence: [
|
|
964
975
|
"@topolo/ui-kit is used for the platform shell where the app has authenticated UI",
|
|
965
976
|
"The shared launcher/app switcher is reachable from authenticated app chrome",
|
|
966
|
-
"Account menu and sign-out behavior use
|
|
977
|
+
"Account menu and sign-out behavior use TopoloAppShell or TopoloAccountMenu"
|
|
967
978
|
],
|
|
968
979
|
implementation: [
|
|
969
|
-
"Use
|
|
980
|
+
"Use TopoloAppShell for authenticated app layouts",
|
|
981
|
+
"Use TopoloAccountMenu when a partial-shell surface still needs account chrome",
|
|
982
|
+
"Pass app-specific account actions as additive menu items instead of forking dropdowns",
|
|
970
983
|
"Use shared design tokens and platform UI primitives before creating local equivalents",
|
|
971
984
|
"Keep mobile and desktop shell behavior aligned with the platform UI kit"
|
|
972
985
|
]
|
|
@@ -1929,7 +1942,7 @@ function sleep(ms) {
|
|
|
1929
1942
|
}
|
|
1930
1943
|
|
|
1931
1944
|
// src/version.ts
|
|
1932
|
-
var CLI_VERSION = "0.1.
|
|
1945
|
+
var CLI_VERSION = "0.1.10";
|
|
1933
1946
|
|
|
1934
1947
|
// src/client.ts
|
|
1935
1948
|
async function buildClient(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topolo/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Command-line interface for the Topolo platform. Designed for humans and for agents (Claude, Codex, etc.) that prefer shell invocation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"commander": "^12.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@topolo/sdk": "
|
|
24
|
+
"@topolo/sdk": "file:../packages/topolo-sdk",
|
|
25
25
|
"@types/node": "^20.12.0",
|
|
26
26
|
"tsup": "^8.0.0",
|
|
27
27
|
"typescript": "^5.4.0",
|