@abyssinia-labs/sokie 0.8.3-staging.182 → 0.9.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/sokie.mjs +13 -9
- package/package.json +2 -2
package/dist/sokie.mjs
CHANGED
|
@@ -24033,9 +24033,9 @@ var require___dev__ = __commonJS((exports, module) => {
|
|
|
24033
24033
|
|
|
24034
24034
|
// package.json
|
|
24035
24035
|
var name = "@abyssinia-labs/sokie";
|
|
24036
|
-
var version = "0.
|
|
24036
|
+
var version = "0.9.0";
|
|
24037
24037
|
var sokie = {
|
|
24038
|
-
site: "https://
|
|
24038
|
+
site: "https://sokie.sh"
|
|
24039
24039
|
};
|
|
24040
24040
|
|
|
24041
24041
|
// src/command.ts
|
|
@@ -66363,8 +66363,9 @@ var STATUS = {
|
|
|
66363
66363
|
live: { text: "live", tone: "ok" },
|
|
66364
66364
|
problem: { text: "needs a fix", tone: "fail" }
|
|
66365
66365
|
};
|
|
66366
|
+
var RETRYING = { text: "still setting up", tone: "warn" };
|
|
66366
66367
|
function statusOf2(view) {
|
|
66367
|
-
return STATUS[view.status];
|
|
66368
|
+
return view.retrying ? RETRYING : STATUS[view.status];
|
|
66368
66369
|
}
|
|
66369
66370
|
function recordLines(records) {
|
|
66370
66371
|
const width = Math.max(...records.map((r) => r.name.length));
|
|
@@ -66516,13 +66517,16 @@ async function followExact(out, client, server, deps) {
|
|
|
66516
66517
|
const exact = card.exact;
|
|
66517
66518
|
if (!exact)
|
|
66518
66519
|
return null;
|
|
66519
|
-
const now = exact.status === "problem" ? exact.problem ?? "problem" : exact.status;
|
|
66520
|
+
const now = exact.retrying ? "retrying" : exact.status === "problem" ? exact.problem ?? "problem" : exact.status;
|
|
66520
66521
|
if (now !== said) {
|
|
66521
66522
|
said = now;
|
|
66522
66523
|
if (exact.status === "waiting")
|
|
66523
66524
|
await out.line(" ◐ waiting for DNS", "warn");
|
|
66524
|
-
if (exact.
|
|
66525
|
+
if (exact.retrying) {
|
|
66526
|
+
await out.line(" ◐ still setting up: nothing for you to change, Sokie keeps trying", "warn");
|
|
66527
|
+
} else if (exact.status === "issuing") {
|
|
66525
66528
|
await out.line(" ◐ getting a certificate", "warn");
|
|
66529
|
+
}
|
|
66526
66530
|
if (exact.status === "problem")
|
|
66527
66531
|
await out.line(` ✕ ${exact.problem ?? ""}`, "fail");
|
|
66528
66532
|
}
|
|
@@ -66552,7 +66556,7 @@ async function addDomain(out, client, domain2, options, deps) {
|
|
|
66552
66556
|
const dns2 = await dnsHelp(client, null);
|
|
66553
66557
|
await dnsHelpLines(out, dns2);
|
|
66554
66558
|
if (!wait) {
|
|
66555
|
-
await out.line("Sokie checks every
|
|
66559
|
+
await out.line("Sokie checks every 5 minutes until it's verified.", "dim");
|
|
66556
66560
|
await out.result({ ok: true, domain: added2, dns: dns2 });
|
|
66557
66561
|
return EXIT.ok;
|
|
66558
66562
|
}
|
|
@@ -66671,15 +66675,15 @@ add <domain> --server <slug>
|
|
|
66671
66675
|
Gives one server an exact domain, like billing.acme.com, shown as its
|
|
66672
66676
|
address once live. Prints its TXT and CNAME records.
|
|
66673
66677
|
--wait Follows the domain until it's live. Ctrl+C stops waiting; Sokie
|
|
66674
|
-
keeps checking every
|
|
66678
|
+
keeps checking every 5 minutes either way.
|
|
66675
66679
|
|
|
66676
66680
|
remove <domain>
|
|
66677
66681
|
Removes the workspace domain, with every server's name under it, or a
|
|
66678
66682
|
server's exact domain. Asks first; --yes doesn't.
|
|
66679
66683
|
|
|
66680
66684
|
check
|
|
66681
|
-
Looks at the DNS records now instead of at the next minute, and
|
|
66682
|
-
again if Sokie had stopped
|
|
66685
|
+
Looks at the DNS records now instead of at the next 5-minute check, and
|
|
66686
|
+
starts again if Sokie had stopped. --server checks a server's.
|
|
66683
66687
|
|
|
66684
66688
|
A bare domain like acme.com can't point here: use a subdomain.
|
|
66685
66689
|
${SITE_HELP}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyssinia-labs/sokie",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.9.0",
|
|
5
5
|
"description": "Turn an OpenAPI or Swagger spec into an MCP server, run it on your machine, and deploy it to Sokie. The sokie command (alias sok).",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"homepage": "https://sokie.sh/docs/cli",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"author": "Abyssinia Labs <hello@sokie.sh> (https://sokie.sh)",
|
|
12
12
|
"sokie": {
|
|
13
|
-
"site": "https://
|
|
13
|
+
"site": "https://sokie.sh"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"mcp",
|