@xenosystem/agents-client 0.1.113 → 0.1.114
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/LICENSE +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/modelCatalog.js +2 -2
- package/package.json +3 -2
package/LICENSE
CHANGED
|
@@ -9,7 +9,7 @@ transferred to any user.
|
|
|
9
9
|
|
|
10
10
|
1. GRANT OF USE
|
|
11
11
|
Subject to a separate written agreement and/or the terms of service published
|
|
12
|
-
at https://
|
|
12
|
+
at https://xenosystem.ai, XENO grants the end user a limited, non-exclusive,
|
|
13
13
|
non-transferable, revocable license to install and use the Software for its
|
|
14
14
|
intended purpose. The standalone desktop application ("the Agent") may be used
|
|
15
15
|
locally at no charge; connected platform features — hosted agent runs, model
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @xeno/agents-client — the SHARED, portable client for the hosted agent-runs API
|
|
3
|
-
* (`xeno-agents-api`, live at https://api.
|
|
3
|
+
* (`xeno-agents-api`, live at https://api.xenosystem.ai/v1/agents).
|
|
4
4
|
*
|
|
5
5
|
* CANONICAL. Every XENO product (Hub, the desktop apps, the web console, agents,
|
|
6
6
|
* SDKs) vendors THIS single file to dispatch and stream cloud agent runs — nobody
|
|
@@ -221,7 +221,7 @@ export type RequestAuthorizer = (target: {
|
|
|
221
221
|
import { type RequestIdentity } from "./requestIdentity.js";
|
|
222
222
|
export { requestIdentityHeaders, type RequestIdentity } from "./requestIdentity.js";
|
|
223
223
|
export interface AgentsClientConfig {
|
|
224
|
-
/** Base of the agents API. Default `https://api.
|
|
224
|
+
/** Base of the agents API. Default `https://api.xenosystem.ai/v1/agents`. */
|
|
225
225
|
baseUrl?: string;
|
|
226
226
|
/** Platform bearer — an OIDC JWT or (once supported) a platform API key. */
|
|
227
227
|
token: TokenProvider;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @xeno/agents-client — the SHARED, portable client for the hosted agent-runs API
|
|
3
|
-
* (`xeno-agents-api`, live at https://api.
|
|
3
|
+
* (`xeno-agents-api`, live at https://api.xenosystem.ai/v1/agents).
|
|
4
4
|
*
|
|
5
5
|
* CANONICAL. Every XENO product (Hub, the desktop apps, the web console, agents,
|
|
6
6
|
* SDKs) vendors THIS single file to dispatch and stream cloud agent runs — nobody
|
|
@@ -99,7 +99,7 @@ export function isAgentsApiError(err) {
|
|
|
99
99
|
}
|
|
100
100
|
import { requestIdentityHeaders } from "./requestIdentity.js";
|
|
101
101
|
export { requestIdentityHeaders } from "./requestIdentity.js";
|
|
102
|
-
const DEFAULT_BASE_URL = "https://api.
|
|
102
|
+
const DEFAULT_BASE_URL = "https://api.xenosystem.ai/v1/agents";
|
|
103
103
|
export function createAgentsClient(config) {
|
|
104
104
|
const rawBase = (config.baseUrl || DEFAULT_BASE_URL).replace(/\/+$/, "");
|
|
105
105
|
// `new URL(path, base)` needs a trailing slash on base to treat it as a dir.
|
package/dist/modelCatalog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { requestIdentityHeaders } from './requestIdentity.js';
|
|
2
|
-
const DEFAULT_DIRECT_API_BASE = 'https://api.
|
|
3
|
-
const DEFAULT_PLATFORM_MODELS_URL = 'https://
|
|
2
|
+
const DEFAULT_DIRECT_API_BASE = 'https://api.xenosystem.ai';
|
|
3
|
+
const DEFAULT_PLATFORM_MODELS_URL = 'https://xenosystem.ai/api/models';
|
|
4
4
|
const DEFAULT_TIMEOUT_MS = 10_000;
|
|
5
5
|
/**
|
|
6
6
|
* Loads only live, server-advertised model identifiers. There is deliberately
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/agents-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.114",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Portable authenticated client for the hosted XENO Agents run API.",
|
|
6
6
|
"type": "module",
|
|
@@ -27,5 +27,6 @@
|
|
|
27
27
|
"url": "git+https://github.com/XENO-CORPORATION/xeno-agent-interface.git",
|
|
28
28
|
"directory": "packages/cloud-client"
|
|
29
29
|
},
|
|
30
|
-
"scripts": {}
|
|
30
|
+
"scripts": {},
|
|
31
|
+
"gitHead": "a6e1636db66e3b5fdb0cf125691c0c711669c15b"
|
|
31
32
|
}
|