@dxos/config 0.16.0 → 0.17.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/lib/index.mjs +0 -4
- package/dist/lib/index.mjs.map +1 -1
- package/dist/lib/plugin/rollup-plugin.mjs.map +1 -1
- package/dist/types/src/edge-services.d.ts +0 -1
- package/dist/types/src/edge-services.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -10
- package/src/edge-services.test.ts +0 -2
- package/src/edge-services.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Config utilities",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -67,24 +67,24 @@
|
|
|
67
67
|
],
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@bufbuild/protobuf": "2.11.0",
|
|
70
|
+
"@dxos/client-protocol": "0.17.0",
|
|
71
|
+
"@dxos/invariant": "0.17.0",
|
|
72
|
+
"@dxos/log": "0.17.0",
|
|
73
|
+
"@dxos/node-std": "0.17.0",
|
|
74
|
+
"@dxos/protocols": "0.17.0",
|
|
75
|
+
"@dxos/util": "0.17.0",
|
|
70
76
|
"effect": "4.0.4",
|
|
71
77
|
"localforage": "^1.10.0",
|
|
72
78
|
"lodash.defaultsdeep": "^4.6.1",
|
|
73
79
|
"lodash.ismatch": "^4.4.0",
|
|
74
80
|
"pkg-up": "^3.1.0",
|
|
75
|
-
"yaml": "^2.8.2"
|
|
76
|
-
"@dxos/log": "0.16.0",
|
|
77
|
-
"@dxos/protocols": "0.16.0",
|
|
78
|
-
"@dxos/invariant": "0.16.0",
|
|
79
|
-
"@dxos/client-protocol": "0.16.0",
|
|
80
|
-
"@dxos/node-std": "0.16.0",
|
|
81
|
-
"@dxos/util": "0.16.0"
|
|
81
|
+
"yaml": "^2.8.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
+
"@dxos/effect": "0.17.0",
|
|
84
85
|
"@effect/platform-node": "4.0.4",
|
|
85
86
|
"@types/lodash.defaultsdeep": "^4.6.6",
|
|
86
|
-
"@types/lodash.ismatch": "^4.4.9"
|
|
87
|
-
"@dxos/effect": "0.16.0"
|
|
87
|
+
"@types/lodash.ismatch": "^4.4.9"
|
|
88
88
|
},
|
|
89
89
|
"publishConfig": {
|
|
90
90
|
"access": "public"
|
|
@@ -17,8 +17,6 @@ describe('edge services', () => {
|
|
|
17
17
|
expect(getEdgeServiceEndpoint(config, EdgeServiceName.Discord)).toBe('https://dxos.network/discord');
|
|
18
18
|
expect(getEdgeServiceEndpoint(config, EdgeServiceName.CorsProxy)).toBe('https://dxos.network/cors-proxy');
|
|
19
19
|
expect(getEdgeServiceEndpoint(config, EdgeServiceName.Sandbox)).toBe('https://dxos.network/sandbox');
|
|
20
|
-
// The ASR endpoint is calls-service's `/transcribe`; transcription-service is the `/video` one.
|
|
21
|
-
expect(getEdgeServiceEndpoint(config, EdgeServiceName.Transcription)).toBe('https://dxos.network/calls');
|
|
22
20
|
expect(getEdgeServiceEndpoint(config, EdgeServiceName.VideoTranscription)).toBe(
|
|
23
21
|
'https://dxos.network/transcription',
|
|
24
22
|
);
|
package/src/edge-services.ts
CHANGED
|
@@ -11,7 +11,6 @@ import { type Config } from './config.ts';
|
|
|
11
11
|
export const EdgeServiceName = Object.freeze({
|
|
12
12
|
Calls: 'calls',
|
|
13
13
|
Image: 'image',
|
|
14
|
-
Transcription: 'transcription',
|
|
15
14
|
VideoTranscription: 'video-transcription',
|
|
16
15
|
Discord: 'discord',
|
|
17
16
|
CorsProxy: 'cors-proxy',
|
|
@@ -42,8 +41,6 @@ export const EDGE_URLS = Object.freeze({
|
|
|
42
41
|
*
|
|
43
42
|
* The entries that are not simply `/<name>`:
|
|
44
43
|
*
|
|
45
|
-
* - `transcription` is the ASR endpoint (`POST /transcribe`), which calls-service serves — the same
|
|
46
|
-
* worker `calls` reaches, which is why it has always been configured to the same host.
|
|
47
44
|
* - `video-transcription` is the separate transcription-service (`GET /video`), whose prefix is the
|
|
48
45
|
* worker's own name.
|
|
49
46
|
* - `introspect` carries the `/mcp` path because the value IS the MCP server URL a client connects to.
|
|
@@ -51,7 +48,6 @@ export const EDGE_URLS = Object.freeze({
|
|
|
51
48
|
const EDGE_SERVICE_PATHS: Record<EdgeServiceName, string> = Object.freeze({
|
|
52
49
|
[EdgeServiceName.Calls]: '/calls',
|
|
53
50
|
[EdgeServiceName.Image]: '/image',
|
|
54
|
-
[EdgeServiceName.Transcription]: '/calls',
|
|
55
51
|
[EdgeServiceName.VideoTranscription]: '/transcription',
|
|
56
52
|
[EdgeServiceName.Discord]: '/discord',
|
|
57
53
|
[EdgeServiceName.CorsProxy]: '/cors-proxy',
|