create-spatius-app 0.1.4 → 0.1.5
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 +20 -7
- package/dist/templates.js +12 -3
- package/package.json +7 -7
- package/templates/cloudflare-livekit/agent/pyproject.toml +1 -0
- package/templates/cloudflare-livekit/agent/uv.lock +312 -311
- package/templates/cloudflare-livekit/package-lock.json +473 -488
- package/templates/cloudflare-livekit/package.json +20 -15
- package/templates/cloudflare-livekit/pnpm-lock.yaml +536 -556
- package/templates/cloudflare-livekit/pnpm-workspace.yaml +4 -0
- package/templates/layers/agora/package-lock.json +452 -467
- package/templates/layers/agora/package.json +18 -13
- package/templates/layers/agora/pnpm-lock.yaml +507 -527
- package/templates/layers/agora/pnpm-workspace.yaml +4 -0
package/dist/cli.js
CHANGED
|
@@ -13,11 +13,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
13
13
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
14
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
15
|
});
|
|
16
|
-
var __esm = (fn, res) => function __init() {
|
|
17
|
-
|
|
16
|
+
var __esm = (fn, res, err) => function __init() {
|
|
17
|
+
if (err) throw err[0];
|
|
18
|
+
try {
|
|
19
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
20
|
+
} catch (e) {
|
|
21
|
+
throw err = [e], e;
|
|
22
|
+
}
|
|
18
23
|
};
|
|
19
24
|
var __commonJS = (cb, mod) => function __require2() {
|
|
20
|
-
|
|
25
|
+
try {
|
|
26
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
27
|
+
} catch (e) {
|
|
28
|
+
throw mod = 0, e;
|
|
29
|
+
}
|
|
21
30
|
};
|
|
22
31
|
var __export = (target, all) => {
|
|
23
32
|
for (var name in all)
|
|
@@ -193,9 +202,9 @@ var require_src = __commonJS({
|
|
|
193
202
|
}
|
|
194
203
|
});
|
|
195
204
|
|
|
196
|
-
// node_modules/.pnpm/@vercel+detect-agent@1.2.
|
|
205
|
+
// node_modules/.pnpm/@vercel+detect-agent@1.2.7/node_modules/@vercel/detect-agent/dist/index.js
|
|
197
206
|
var require_dist = __commonJS({
|
|
198
|
-
"node_modules/.pnpm/@vercel+detect-agent@1.2.
|
|
207
|
+
"node_modules/.pnpm/@vercel+detect-agent@1.2.7/node_modules/@vercel/detect-agent/dist/index.js"(exports, module) {
|
|
199
208
|
"use strict";
|
|
200
209
|
var __defProp2 = Object.defineProperty;
|
|
201
210
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -237,6 +246,8 @@ var require_dist = __commonJS({
|
|
|
237
246
|
var GITHUB_COPILOT = "github-copilot";
|
|
238
247
|
var GITHUB_COPILOT_CLI = "github-copilot-cli";
|
|
239
248
|
var V0 = "v0";
|
|
249
|
+
var FX = "fx";
|
|
250
|
+
var EVE = "eve";
|
|
240
251
|
var KNOWN_AGENTS = {
|
|
241
252
|
CURSOR,
|
|
242
253
|
CURSOR_CLI,
|
|
@@ -250,7 +261,9 @@ var require_dist = __commonJS({
|
|
|
250
261
|
AUGMENT_CLI,
|
|
251
262
|
OPENCODE,
|
|
252
263
|
GITHUB_COPILOT,
|
|
253
|
-
V0
|
|
264
|
+
V0,
|
|
265
|
+
FX,
|
|
266
|
+
EVE
|
|
254
267
|
};
|
|
255
268
|
async function determineAgent2() {
|
|
256
269
|
if (process.env.AI_AGENT) {
|
|
@@ -292,7 +305,7 @@ var require_dist = __commonJS({
|
|
|
292
305
|
if (process.env.AUGMENT_AGENT) {
|
|
293
306
|
return { isAgent: true, agent: { name: AUGMENT_CLI } };
|
|
294
307
|
}
|
|
295
|
-
if (process.env.OPENCODE_CLIENT) {
|
|
308
|
+
if (process.env.OPENCODE === "1" || process.env.OPENCODE_CLIENT) {
|
|
296
309
|
return { isAgent: true, agent: { name: OPENCODE } };
|
|
297
310
|
}
|
|
298
311
|
if (process.env.CLAUDECODE || process.env.CLAUDE_CODE) {
|
package/dist/templates.js
CHANGED
|
@@ -13,11 +13,20 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
13
13
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
14
14
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
15
|
});
|
|
16
|
-
var __esm = (fn, res) => function __init() {
|
|
17
|
-
|
|
16
|
+
var __esm = (fn, res, err) => function __init() {
|
|
17
|
+
if (err) throw err[0];
|
|
18
|
+
try {
|
|
19
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
20
|
+
} catch (e) {
|
|
21
|
+
throw err = [e], e;
|
|
22
|
+
}
|
|
18
23
|
};
|
|
19
24
|
var __commonJS = (cb, mod) => function __require2() {
|
|
20
|
-
|
|
25
|
+
try {
|
|
26
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
27
|
+
} catch (e) {
|
|
28
|
+
throw mod = 0, e;
|
|
29
|
+
}
|
|
21
30
|
};
|
|
22
31
|
var __export = (target, all) => {
|
|
23
32
|
for (var name in all)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-spatius-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Create a Spatius voice-avatar app with LiveKit or Agora Conversational AI on Cloudflare Workers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
"@clack/prompts": "^1.7.0",
|
|
60
60
|
"@eslint/js": "^10.0.1",
|
|
61
61
|
"@types/node": "^26.4.1",
|
|
62
|
-
"@vercel/detect-agent": "1.2.
|
|
63
|
-
"@vitest/coverage-v8": "5.0.
|
|
62
|
+
"@vercel/detect-agent": "1.2.7",
|
|
63
|
+
"@vitest/coverage-v8": "5.0.5",
|
|
64
64
|
"ajv": "8.20.0",
|
|
65
65
|
"commander": "^15.0.0",
|
|
66
|
-
"concurrently": "10.0.
|
|
66
|
+
"concurrently": "10.0.6",
|
|
67
67
|
"eslint": "^10.9.1",
|
|
68
68
|
"eslint-config-prettier": "^10.1.8",
|
|
69
69
|
"globals": "^17.12.0",
|
|
70
70
|
"prettier": "^3.9.6",
|
|
71
|
-
"publint": "0.3.
|
|
72
|
-
"tsup": "^
|
|
71
|
+
"publint": "0.3.25",
|
|
72
|
+
"tsup": "^9.0.0",
|
|
73
73
|
"tsx": "^4.23.13",
|
|
74
74
|
"typescript": "^6.0.2",
|
|
75
75
|
"typescript-eslint": "^8.69.0",
|
|
76
|
-
"vitest": "
|
|
76
|
+
"vitest": "5.0.5",
|
|
77
77
|
"yaml": "2.9.1"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -5,6 +5,7 @@ description = "A LiveKit voice agent with a Spatius avatar"
|
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11,<3.15"
|
|
7
7
|
dependencies = [
|
|
8
|
+
"aiohttp>=3.14.4,<4",
|
|
8
9
|
"livekit-agents[spatius]~=1.8.1",
|
|
9
10
|
"livekit-plugins-noise-cancellation~=0.3.0",
|
|
10
11
|
"python-dotenv>=1.2.1,<2",
|