@xenosystem/agent-interface-electron-host 0.1.111 → 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/sdkAgent.js +3 -3
- package/package.json +4 -3
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/sdkAgent.js
CHANGED
|
@@ -28,7 +28,7 @@ import { WebContextClient } from '@xenosystem/web-context-client';
|
|
|
28
28
|
import { answerChooseDirectoryRequest, answerWorkspacePlacementRequest, buildRuntimeAuthorityInstructions, clearChooseDirectoryRequestsForRequest, clearWorkspacePlacementRequestsForRequest, createChooseDirectoryRequester, createWorkspacePlacementRequester, evaluateIpcPolicy, getEngineeringWorkbenchService, getPluginMcpManagerService, getRuntimeEventStore, isRuntimeActionCapable, pendingChooseDirectoryRequestCount, pendingWorkspacePlacementRequestCount, resolveAgentPermissionProfile, sanitizeRuntimeModeClaims, sanitizeRuntimeModeEvent, } from '@xenosystem/agent-interface-host/node';
|
|
29
29
|
import { clickBrowserSurface, gotoBrowserSurface, keyBrowserSurface, listBrowserSurfacesForAgent, listPtySurfaceSessions, readPtySurfaceOutput, snapshotBrowserSurface, typeBrowserSurface, writePtySurfaceInput, } from './surfaceRuntimeBridge.js';
|
|
30
30
|
import { loadWorkspaceTreeFromDisk, saveWorkspaceTreeToDisk } from './workspaceStateBridge.js';
|
|
31
|
-
const DEFAULT_CLOUD_API_BASE = 'https://api.
|
|
31
|
+
const DEFAULT_CLOUD_API_BASE = 'https://api.xenosystem.ai';
|
|
32
32
|
/**
|
|
33
33
|
* 🔴 `https`, and it was `http` — the one scheme this endpoint refuses.
|
|
34
34
|
*
|
|
@@ -49,7 +49,7 @@ const CLOUD_API_BASE = normalizeApiBase(process.env.XENO_AGENT_API_BASE
|
|
|
49
49
|
|| process.env.XENO_DIRECT_API_BASE
|
|
50
50
|
|| DEFAULT_CLOUD_API_BASE);
|
|
51
51
|
const DIRECT_API_BASE = normalizeApiBase(process.env.XENO_DIRECT_API_BASE || DEFAULT_DIRECT_API_BASE);
|
|
52
|
-
const CLOUD_CHAT_FALLBACK_URL = 'https://
|
|
52
|
+
const CLOUD_CHAT_FALLBACK_URL = 'https://xenosystem.ai/api/chat/generate';
|
|
53
53
|
const PLATFORM_CHAT_FALLBACK_TIMEOUT_MS = 20_000;
|
|
54
54
|
const DEFAULT_WEB_CONTEXT_API_BASE = 'http://127.0.0.1:8080';
|
|
55
55
|
let cloudChatFallbackCache = null;
|
|
@@ -2640,7 +2640,7 @@ export function sanitizeAgentRunErrorMessage(error) {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
if (status === 524) {
|
|
2642
2642
|
return [
|
|
2643
|
-
'Cloud API timed out (HTTP 524). The request reached api.
|
|
2643
|
+
'Cloud API timed out (HTTP 524). The request reached api.xenosystem.ai, but the origin server did not respond before Cloudflare timed out.',
|
|
2644
2644
|
retryAfterMs ? `Retry after about ${Math.ceil(retryAfterMs / 1000)} seconds.` : 'Try again in a moment, or use a shorter prompt / faster model.',
|
|
2645
2645
|
cfRay ? `Cloudflare Ray: ${cfRay}.` : null,
|
|
2646
2646
|
].filter(Boolean).join(' ');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/agent-interface-electron-host",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.114",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@xenosystem/agent-sdk": "0.10.49",
|
|
31
31
|
"@xenosystem/web-context-client": "0.1.5",
|
|
32
|
-
"@xenosystem/agent-interface-host": "0.1.
|
|
32
|
+
"@xenosystem/agent-interface-host": "0.1.114"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@xenosystem/capability-host": "0.1.0"
|
|
@@ -38,5 +38,6 @@
|
|
|
38
38
|
"electron": ">=35"
|
|
39
39
|
},
|
|
40
40
|
"//electron-peer": "MEASURED, not reasoned. `@xenosystem/agent-sdk` imports `node:sqlite`, a Node 22.5+ builtin, at module load. Electron 34.5.8 is Node 20.19.1 and does NOT have it — verified by launching xeno-canvas against it, which died with ERR_UNKNOWN_BUILTIN_MODULE at load. Electron 35 is the first line on Node 22, so that is the floor. Only Electron 44 (apps/desktop) is actually exercised; 35-43 satisfy the builtin requirement but are untested here. History worth keeping: this was \">=44\" (over-declared, mirroring apps/desktop), briefly \">=28\" (reasoned from ESM-in-main support and WRONG in the dangerous direction — an under-declared peer installs cleanly and dies at launch, while an over-declared one refuses at install with a clear message).",
|
|
41
|
-
"scripts": {}
|
|
41
|
+
"scripts": {},
|
|
42
|
+
"gitHead": "a6e1636db66e3b5fdb0cf125691c0c711669c15b"
|
|
42
43
|
}
|