xiaozhi-client 2.3.1-beta.0 → 2.3.1-beta.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/backend/Logger.js +2 -2
- package/dist/backend/WebServer.js +3 -3
- package/dist/backend/WebServerLauncher.js +3 -3
- package/dist/cli/index.js +4 -1
- package/dist/cli/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/backend/package.json +0 -187
- /package/dist/{backend → cli}/templates/default/package.json +0 -0
- /package/dist/{backend → cli}/templates/default/prompts/default.md +0 -0
- /package/dist/{backend → cli}/templates/default/xiaozhi.config.json +0 -0
- /package/dist/{backend → cli}/templates/hello-world/package.json +0 -0
- /package/dist/{backend → cli}/templates/hello-world/prompts/default.md +0 -0
- /package/dist/{backend → cli}/templates/hello-world/xiaozhi.config.json +0 -0
- /package/dist/{backend → cli}/templates/json5/package.json +0 -0
- /package/dist/{backend → cli}/templates/json5/prompts/default.md +0 -0
- /package/dist/{backend → cli}/templates/json5/xiaozhi.config.json5 +0 -0
- /package/dist/{backend → cli}/templates/jsonc/package.json +0 -0
- /package/dist/{backend → cli}/templates/jsonc/prompts/default.md +0 -0
- /package/dist/{backend → cli}/templates/jsonc/xiaozhi.config.jsonc +0 -0
- /package/dist/{backend → cli}/templates/modelscope/prompts/default.md +0 -0
- /package/dist/{backend → cli}/templates/modelscope/xiaozhi.config.json +0 -0
package/dist/backend/Logger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
globalThis.require = createRequire(import.meta.url);
|
|
3
|
+
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
6
|
var __export = (target, all) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
globalThis.require = createRequire(import.meta.url);
|
|
3
|
+
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
6
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -58071,7 +58071,7 @@ var UpdateApiHandler = class extends BaseHandler {
|
|
|
58071
58071
|
import fs3 from "fs";
|
|
58072
58072
|
import path6 from "path";
|
|
58073
58073
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
58074
|
-
var VERSION2 = "2.3.1-beta.
|
|
58074
|
+
var VERSION2 = "2.3.1-beta.1";
|
|
58075
58075
|
var APP_NAME = "xiaozhi-client";
|
|
58076
58076
|
var VersionUtils = class _VersionUtils {
|
|
58077
58077
|
static {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
globalThis.require = createRequire(import.meta.url);
|
|
4
|
+
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
7
7
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -59788,7 +59788,7 @@ var VERSION2, APP_NAME, VersionUtils;
|
|
|
59788
59788
|
var init_version2 = __esm({
|
|
59789
59789
|
"../utils/version.ts"() {
|
|
59790
59790
|
"use strict";
|
|
59791
|
-
VERSION2 = "2.3.1-beta.
|
|
59791
|
+
VERSION2 = "2.3.1-beta.1";
|
|
59792
59792
|
APP_NAME = "xiaozhi-client";
|
|
59793
59793
|
VersionUtils = class _VersionUtils {
|
|
59794
59794
|
static {
|
package/dist/cli/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
globalThis.require = createRequire(import.meta.url);
|
|
4
|
+
|
|
2
5
|
var __defProp = Object.defineProperty;
|
|
3
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
7
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -5610,7 +5613,7 @@ init_config();
|
|
|
5610
5613
|
import fs from "fs";
|
|
5611
5614
|
import path3 from "path";
|
|
5612
5615
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
5613
|
-
var VERSION = "2.3.1-beta.
|
|
5616
|
+
var VERSION = "2.3.1-beta.1";
|
|
5614
5617
|
var APP_NAME = "xiaozhi-client";
|
|
5615
5618
|
var VersionUtils = class _VersionUtils {
|
|
5616
5619
|
static {
|