@fro.bot/space-bus 0.10.0 → 0.10.1
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/cli.js +6 -6
- package/dist/config.js +6 -6
- package/dist/contract.js +0 -3
- package/dist/core.js +0 -10
- package/dist/format.js +0 -3
- package/dist/index.js +1332 -1420
- package/dist/mcp.js +1335 -1423
- package/dist/server.js +6 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
4
4
|
|
|
5
|
+
// src/config.ts
|
|
6
|
+
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
7
|
+
import { homedir as homedir2 } from "node:os";
|
|
8
|
+
import { join as join2 } from "node:path";
|
|
9
|
+
import { z as z3 } from "zod";
|
|
10
|
+
|
|
5
11
|
// src/contract.ts
|
|
6
12
|
import { z } from "zod";
|
|
7
13
|
var sessionSchema = z.looseObject({
|
|
@@ -131,12 +137,6 @@ var discoveryFileSchema = z.object({
|
|
|
131
137
|
baseUrl: z.url()
|
|
132
138
|
});
|
|
133
139
|
|
|
134
|
-
// src/config.ts
|
|
135
|
-
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
136
|
-
import { homedir as homedir2 } from "node:os";
|
|
137
|
-
import { join as join2 } from "node:path";
|
|
138
|
-
import { z as z3 } from "zod";
|
|
139
|
-
|
|
140
140
|
// src/discovery.ts
|
|
141
141
|
import { execFileSync } from "node:child_process";
|
|
142
142
|
import { createHash, randomBytes } from "node:crypto";
|
package/dist/config.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
3
3
|
|
|
4
|
+
// src/config.ts
|
|
5
|
+
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
6
|
+
import { homedir as homedir2 } from "node:os";
|
|
7
|
+
import { join as join2 } from "node:path";
|
|
8
|
+
import { z as z3 } from "zod";
|
|
9
|
+
|
|
4
10
|
// src/contract.ts
|
|
5
11
|
import { z } from "zod";
|
|
6
12
|
var sessionSchema = z.looseObject({
|
|
@@ -130,12 +136,6 @@ var discoveryFileSchema = z.object({
|
|
|
130
136
|
baseUrl: z.url()
|
|
131
137
|
});
|
|
132
138
|
|
|
133
|
-
// src/config.ts
|
|
134
|
-
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
135
|
-
import { homedir as homedir2 } from "node:os";
|
|
136
|
-
import { join as join2 } from "node:path";
|
|
137
|
-
import { z as z3 } from "zod";
|
|
138
|
-
|
|
139
139
|
// src/discovery.ts
|
|
140
140
|
import { execFileSync } from "node:child_process";
|
|
141
141
|
import { createHash, randomBytes } from "node:crypto";
|
package/dist/contract.js
CHANGED
package/dist/core.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { createRequire } from "node:module";
|
|
2
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
3
|
-
|
|
4
1
|
// src/contract.ts
|
|
5
2
|
import { z } from "zod";
|
|
6
3
|
var sessionSchema = z.looseObject({
|
|
@@ -90,13 +87,6 @@ var LOOPBACK_HOSTS = new Set([
|
|
|
90
87
|
"[::1]",
|
|
91
88
|
"localhost"
|
|
92
89
|
]);
|
|
93
|
-
function loopbackOk(baseUrl) {
|
|
94
|
-
try {
|
|
95
|
-
return LOOPBACK_HOSTS.has(new URL(baseUrl).hostname);
|
|
96
|
-
} catch {
|
|
97
|
-
return false;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
90
|
var projectSchema = z.looseObject({
|
|
101
91
|
name: z.string(),
|
|
102
92
|
path: z.string(),
|