@helixlife-ai/xiantao 0.1.14 → 0.1.15
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/commands/plot/fetch-all.js +1 -1
- package/dist/commands/plot/menu.js +1 -1
- package/dist/commands/plot/menus.js +1 -1
- package/dist/commands/plot/resolve.js +1 -1
- package/dist/commands/plot/run.js +1 -1
- package/dist/commands/tool/exec.js +1 -1
- package/dist/commands/tool/inspect.js +1 -1
- package/dist/commands/tool/prepare.js +1 -1
- package/dist/commands/tool/search.js +1 -1
- package/dist/lib/constants.js +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ export default class PlotFetchAll extends XtzCommand {
|
|
|
15
15
|
static flags = {
|
|
16
16
|
...globalFlags,
|
|
17
17
|
token: Flags.string({
|
|
18
|
-
description: 'Bearer token for agent.helixlife.
|
|
18
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
19
19
|
}),
|
|
20
20
|
uuid: Flags.string({
|
|
21
21
|
description: 'Tool UUID used in the public.args.fetch-all payload',
|
|
@@ -15,7 +15,7 @@ export default class PlotMenu extends XtzCommand {
|
|
|
15
15
|
static flags = {
|
|
16
16
|
...globalFlags,
|
|
17
17
|
token: Flags.string({
|
|
18
|
-
description: 'Bearer token for agent.helixlife.
|
|
18
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
19
19
|
}),
|
|
20
20
|
toolProductUuid: Flags.string({
|
|
21
21
|
description: 'tool_product_uuid used in the menu filter payload; defaults to the main Xiantao product UUID',
|
|
@@ -9,7 +9,7 @@ export default class PlotMenus extends XtzCommand {
|
|
|
9
9
|
static flags = {
|
|
10
10
|
...globalFlags,
|
|
11
11
|
token: Flags.string({
|
|
12
|
-
description: 'Bearer token for agent.helixlife.
|
|
12
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
13
13
|
}),
|
|
14
14
|
toolProductUuid: Flags.string({
|
|
15
15
|
description: 'tool_product_uuid used in the menu filter payload; defaults to the main Xiantao product UUID',
|
|
@@ -15,7 +15,7 @@ export default class PlotResolve extends XtzCommand {
|
|
|
15
15
|
static flags = {
|
|
16
16
|
...globalFlags,
|
|
17
17
|
token: Flags.string({
|
|
18
|
-
description: 'Bearer token for agent.helixlife.
|
|
18
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
19
19
|
}),
|
|
20
20
|
toolProductUuid: Flags.string({
|
|
21
21
|
description: 'tool_product_uuid from the /products/apply/:uuid URL; defaults to the main Xiantao product UUID',
|
|
@@ -408,7 +408,7 @@ export default class PlotRun extends ToolRunCommandBase {
|
|
|
408
408
|
description: 'Tool route like app1.violin_flat in generic mode',
|
|
409
409
|
}),
|
|
410
410
|
token: Flags.string({
|
|
411
|
-
description: 'Bearer token for agent.helixlife.
|
|
411
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
412
412
|
}),
|
|
413
413
|
toolProductUuid: Flags.string({
|
|
414
414
|
description: 'tool_product_uuid used to auto-resolve module UUID and route in generic mode; defaults to the main Xiantao product UUID',
|
|
@@ -40,7 +40,7 @@ export default class ToolExec extends ToolRunCommandBase {
|
|
|
40
40
|
description: 'Tool route like app1.violin_flat in generic mode',
|
|
41
41
|
}),
|
|
42
42
|
token: Flags.string({
|
|
43
|
-
description: 'Bearer token for agent.helixlife.
|
|
43
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
44
44
|
}),
|
|
45
45
|
toolProductUuid: Flags.string({
|
|
46
46
|
description: 'tool_product_uuid used to auto-resolve module UUID and route in generic mode; defaults to the main Xiantao product UUID',
|
|
@@ -17,7 +17,7 @@ export default class ToolInspect extends XtzCommand {
|
|
|
17
17
|
static flags = {
|
|
18
18
|
...globalFlags,
|
|
19
19
|
token: Flags.string({
|
|
20
|
-
description: 'Bearer token for agent.helixlife.
|
|
20
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
21
21
|
}),
|
|
22
22
|
toolProductUuid: Flags.string({
|
|
23
23
|
description: 'tool_product_uuid used in the menu filter payload; defaults to the main Xiantao product UUID',
|
|
@@ -38,7 +38,7 @@ export default class ToolPrepare extends ToolRunCommandBase {
|
|
|
38
38
|
description: 'Tool route like app1.violin_flat in generic mode',
|
|
39
39
|
}),
|
|
40
40
|
token: Flags.string({
|
|
41
|
-
description: 'Bearer token for agent.helixlife.
|
|
41
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
42
42
|
}),
|
|
43
43
|
toolProductUuid: Flags.string({
|
|
44
44
|
description: 'tool_product_uuid used to auto-resolve module UUID and route in generic mode; defaults to the main Xiantao product UUID',
|
|
@@ -15,7 +15,7 @@ export default class ToolSearch extends XtzCommand {
|
|
|
15
15
|
static flags = {
|
|
16
16
|
...globalFlags,
|
|
17
17
|
token: Flags.string({
|
|
18
|
-
description: 'Bearer token for agent.helixlife.
|
|
18
|
+
description: 'Bearer token for agent.helixlife.cn xiantao APIs; falls back to the stored agent token',
|
|
19
19
|
}),
|
|
20
20
|
toolProductUuid: Flags.string({
|
|
21
21
|
description: 'tool_product_uuid used in the menu filter payload; defaults to the main Xiantao product UUID',
|
package/dist/lib/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const DEFAULT_AGENT = 'opencode';
|
|
2
2
|
export const XTZ_CONFIG_PATH = '.config/xtz/config.json';
|
|
3
3
|
export const XTZ_UPDATE_CHECK_PATH = '.config/xtz/update-check.json';
|
|
4
|
-
export const XIANTAO_BASE_URL = (process.env.XIANTAO_BASE_URL?.trim() || 'https://agent.helixlife.
|
|
4
|
+
export const XIANTAO_BASE_URL = (process.env.XIANTAO_BASE_URL?.trim() || 'https://agent.helixlife.cn').replace(/\/+$/, '');
|
|
5
5
|
export const AUTH_URL_ENDPOINT = `${XIANTAO_BASE_URL}/api/v1/agent/skills/auth-url`;
|
|
6
6
|
export const XIANTAO_BIO_API_ENDPOINT = `${XIANTAO_BASE_URL}/api/v1/agent/bio-api`;
|
|
7
7
|
export const XIANTAO_TOOL_MENUS_ENDPOINT = `${XIANTAO_BASE_URL}/api/v1/agent/tool/menus`;
|