@deslop/scope 0.1.1173 → 0.1.1179

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.
Files changed (2) hide show
  1. package/dist/server.js +11 -6
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -65065,7 +65065,7 @@ var Auth = class Auth extends Service$2()("@deslop/runtime/auth/service/Auth") {
65065
65065
  const url = yield* pipe(String$1("AUTH_URL"), withDefault(AUTH_URL));
65066
65066
  const client = filterStatusOk(yield* HttpClient);
65067
65067
  const origins = [
65068
- new URL(url).origin,
65068
+ AUTH_URL,
65069
65069
  "https://portfolio.mp281x.xyz",
65070
65070
  ...map$5(Resource$1.literals, (identifier) => new URL(identifier).origin)
65071
65071
  ];
@@ -65162,25 +65162,30 @@ function layerMcp(options) {
65162
65162
  v2025_11_25,
65163
65163
  v2025_06_18
65164
65164
  ]
65165
- }), provide$2(layerMcpAuth(resource))), add("GET", "/.well-known/oauth-protected-resource/mcp", map$2(pipe(String$1("AUTH_URL"), withDefault(AUTH_URL)), (url) => jsonUnsafe({
65166
- authorization_servers: [`${url}/api/auth`],
65165
+ }), provide$2(layerMcpAuth(resource))), add("GET", "/.well-known/oauth-protected-resource/mcp", succeed$4(jsonUnsafe({
65166
+ authorization_servers: [`${AUTH_URL}/api/auth`],
65167
65167
  bearer_methods_supported: ["header"],
65168
65168
  resource,
65169
65169
  scopes_supported: ["deslop"]
65170
65170
  }))));
65171
65171
  }
65172
- layer({
65172
+ mergeAll$1(layer({
65173
+ cacheControl: "public, max-age=31536000, immutable",
65174
+ prefix: "/assets",
65175
+ root: fileURLToPath(new URL("./client/assets", import.meta.url))
65176
+ }), layer({
65177
+ cacheControl: "no-cache",
65173
65178
  index: "index.html",
65174
65179
  root: fileURLToPath(new URL("./client", import.meta.url)),
65175
65180
  spa: true
65176
- });
65181
+ }));
65177
65182
  const layerNodeHttpServer = layerConfig(createServer, {
65178
65183
  gracefulShutdownTimeout: succeed("1500 millis"),
65179
65184
  host: pipe(String$1("HOST"), withDefault("0.0.0.0")),
65180
65185
  port: pipe(Port("PORT"), withDefault(5e3))
65181
65186
  });
65182
65187
  // package.json
65183
- var version = "0.1.1173";
65188
+ var version = "0.1.1179";
65184
65189
  // src/services/telemetry/schema.ts
65185
65190
  var TelemetryError = class extends TaggedError()("TelemetryError", {
65186
65191
  cause: optional$6(Defect()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/scope",
3
- "version": "0.1.1173",
3
+ "version": "0.1.1179",
4
4
  "description": "An Effect development debugger: an OTLP/HTTP JSON receiver whose traces and logs agents query over MCP.",
5
5
  "repository": {
6
6
  "type": "git",