@xenosystem/agent-interface-runtime 0.1.101 → 0.1.103
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.
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
* the same package entry as a second main-process artifact. The shared adapter
|
|
26
26
|
* starts it only when attachment proves no compatible owner is already live.
|
|
27
27
|
*
|
|
28
|
+
* Whose account this host holds is chosen by `XENO_AGENT_HOST_ACCOUNT` (see
|
|
29
|
+
* `readHostAccountMode`). `standalone`, the default, holds the desktop account.
|
|
30
|
+
* `surface` holds none: the surface connected to the host authorizes each request
|
|
31
|
+
* with the signed-in person's own credential. A hosted host runs `surface`.
|
|
32
|
+
*
|
|
28
33
|
* @unwired-by-design This is a process entry point, not an imported library
|
|
29
34
|
* module. Electron Vite resolves the package's `detached-entry` export and
|
|
30
35
|
* emits it as a second main-process artifact in the standalone app, Hub, and
|
|
@@ -37,6 +42,7 @@
|
|
|
37
42
|
* precisely so this process may log freely; only the `…-ready` line is
|
|
38
43
|
* significant, and only the first one.
|
|
39
44
|
*/
|
|
45
|
+
import { canonicalStandaloneAccountWorkerConfiguration } from './accountWorkerConfiguration.js';
|
|
40
46
|
interface EntryConfig {
|
|
41
47
|
homeDirectory: string;
|
|
42
48
|
hostVersion: string;
|
|
@@ -46,6 +52,37 @@ interface EntryConfig {
|
|
|
46
52
|
export declare function readEntryConfig(env: NodeJS.ProcessEnv): EntryConfig | {
|
|
47
53
|
error: string;
|
|
48
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Whose account this host holds, named by the holder so the same word reads the same wherever it is set.
|
|
57
|
+
*
|
|
58
|
+
* - `standalone`: the host holds the DESKTOP account itself, through a child process that needs the canonical account
|
|
59
|
+
* SDK and an OS protected store. The standalone app, Hub and Shell run this way. It is the default, so nothing that
|
|
60
|
+
* starts this entry today changes.
|
|
61
|
+
* - `surface`: the host holds NO account. Each connected surface answers the host's `account.authorize` requests with
|
|
62
|
+
* the signed-in person's own credential (surface-account spec §4). A hosted host runs this way: a server has no
|
|
63
|
+
* desktop keychain, and the desktop account it would otherwise start can never come up there.
|
|
64
|
+
*/
|
|
65
|
+
export declare const HOST_ACCOUNT_MODES: readonly ["standalone", "surface"];
|
|
66
|
+
export type HostAccountMode = (typeof HOST_ACCOUNT_MODES)[number];
|
|
67
|
+
/**
|
|
68
|
+
* `XENO_AGENT_HOST_ACCOUNT`. Unset or empty means `standalone`. Any other value is refused and never guessed at, so a
|
|
69
|
+
* typo cannot quietly start the desktop account on a server.
|
|
70
|
+
*/
|
|
71
|
+
export declare function readHostAccountMode(env: NodeJS.ProcessEnv): {
|
|
72
|
+
mode: HostAccountMode;
|
|
73
|
+
} | {
|
|
74
|
+
error: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The composition options that give this host its account, and nothing more. In `surface` mode no standalone worker is
|
|
78
|
+
* configured, so no host-level account starts, and nothing waits on a credential that a server does not have.
|
|
79
|
+
*/
|
|
80
|
+
export declare function hostAccountOptions(mode: HostAccountMode, paths: {
|
|
81
|
+
homeDirectory: string;
|
|
82
|
+
hostRootDirectory?: string;
|
|
83
|
+
}): {
|
|
84
|
+
accountWorkerConfiguration?: ReturnType<typeof canonicalStandaloneAccountWorkerConfiguration>;
|
|
85
|
+
};
|
|
49
86
|
export declare function runDetachedHostEntry(env: NodeJS.ProcessEnv, write: (line: string) => void): Promise<number>;
|
|
50
87
|
/**
|
|
51
88
|
* Where protocol lines go. With pipes (POSIX, and any injected spawn) that is stdout. With a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detachedHostEntry.d.ts","sourceRoot":"","sources":["../src/detachedHostEntry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"detachedHostEntry.d.ts","sourceRoot":"","sources":["../src/detachedHostEntry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAOH,OAAO,EAAE,6CAA6C,EAAE,MAAM,iCAAiC,CAAA;AAU/F,UAAU,WAAW;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;CAC7B;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAwBvF;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,oCAAqC,CAAA;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEjE;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAKzG;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3D;IAAE,0BAA0B,CAAC,EAAE,UAAU,CAAC,OAAO,6CAA6C,CAAC,CAAA;CAAE,CAEnG;AAED,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,MAAM,CAAC,UAAU,EACtB,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAC5B,OAAO,CAAC,MAAM,CAAC,CAwFjB;AA6BD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAYrF"}
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
* the same package entry as a second main-process artifact. The shared adapter
|
|
26
26
|
* starts it only when attachment proves no compatible owner is already live.
|
|
27
27
|
*
|
|
28
|
+
* Whose account this host holds is chosen by `XENO_AGENT_HOST_ACCOUNT` (see
|
|
29
|
+
* `readHostAccountMode`). `standalone`, the default, holds the desktop account.
|
|
30
|
+
* `surface` holds none: the surface connected to the host authorizes each request
|
|
31
|
+
* with the signed-in person's own credential. A hosted host runs `surface`.
|
|
32
|
+
*
|
|
28
33
|
* @unwired-by-design This is a process entry point, not an imported library
|
|
29
34
|
* module. Electron Vite resolves the package's `detached-entry` export and
|
|
30
35
|
* emits it as a second main-process artifact in the standalone app, Hub, and
|
|
@@ -68,12 +73,48 @@ export function readEntryConfig(env) {
|
|
|
68
73
|
fixtureBaseDirectory: env.XENO_AGENT_DETACHED_FIXTURE_BASE || homeDirectory,
|
|
69
74
|
};
|
|
70
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Whose account this host holds, named by the holder so the same word reads the same wherever it is set.
|
|
78
|
+
*
|
|
79
|
+
* - `standalone`: the host holds the DESKTOP account itself, through a child process that needs the canonical account
|
|
80
|
+
* SDK and an OS protected store. The standalone app, Hub and Shell run this way. It is the default, so nothing that
|
|
81
|
+
* starts this entry today changes.
|
|
82
|
+
* - `surface`: the host holds NO account. Each connected surface answers the host's `account.authorize` requests with
|
|
83
|
+
* the signed-in person's own credential (surface-account spec §4). A hosted host runs this way: a server has no
|
|
84
|
+
* desktop keychain, and the desktop account it would otherwise start can never come up there.
|
|
85
|
+
*/
|
|
86
|
+
export const HOST_ACCOUNT_MODES = ['standalone', 'surface'];
|
|
87
|
+
/**
|
|
88
|
+
* `XENO_AGENT_HOST_ACCOUNT`. Unset or empty means `standalone`. Any other value is refused and never guessed at, so a
|
|
89
|
+
* typo cannot quietly start the desktop account on a server.
|
|
90
|
+
*/
|
|
91
|
+
export function readHostAccountMode(env) {
|
|
92
|
+
const raw = env.XENO_AGENT_HOST_ACCOUNT;
|
|
93
|
+
if (raw === undefined || raw === '')
|
|
94
|
+
return { mode: 'standalone' };
|
|
95
|
+
if (HOST_ACCOUNT_MODES.includes(raw))
|
|
96
|
+
return { mode: raw };
|
|
97
|
+
return { error: `XENO_AGENT_HOST_ACCOUNT must be one of ${HOST_ACCOUNT_MODES.join(', ')}; it is "${raw}".` };
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The composition options that give this host its account, and nothing more. In `surface` mode no standalone worker is
|
|
101
|
+
* configured, so no host-level account starts, and nothing waits on a credential that a server does not have.
|
|
102
|
+
*/
|
|
103
|
+
export function hostAccountOptions(mode, paths) {
|
|
104
|
+
return mode === 'standalone' ? { accountWorkerConfiguration: canonicalStandaloneAccountWorkerConfiguration(paths) } : {};
|
|
105
|
+
}
|
|
71
106
|
export async function runDetachedHostEntry(env, write) {
|
|
72
107
|
const config = readEntryConfig(env);
|
|
73
108
|
if ('error' in config) {
|
|
74
109
|
write(JSON.stringify({ type: 'xeno-agent-detached-host-failed', reason: config.error }));
|
|
75
110
|
return 1;
|
|
76
111
|
}
|
|
112
|
+
// Refused before anything is created: an unknown account mode must never reach composition.
|
|
113
|
+
const account = readHostAccountMode(env);
|
|
114
|
+
if ('error' in account) {
|
|
115
|
+
write(JSON.stringify({ type: 'xeno-agent-detached-host-failed', reason: account.error }));
|
|
116
|
+
return 1;
|
|
117
|
+
}
|
|
77
118
|
let composition;
|
|
78
119
|
let stopHost;
|
|
79
120
|
try {
|
|
@@ -94,7 +135,7 @@ export async function runDetachedHostEntry(env, write) {
|
|
|
94
135
|
// process that is about to refuse to run.
|
|
95
136
|
createHostTransport: async () => {
|
|
96
137
|
composition = await composeAgentHost({ ...config, ...(isDirectInvocation() ? { hostBuildIdentity: hostBuildIdentity(fileURLToPath(import.meta.url)) } : {}), surface: {}, env, maintenanceStop: async () => { if (!stopHost)
|
|
97
|
-
throw new Error('Host shutdown is not ready'); await composition?.dispose(); await stopHost(); },
|
|
138
|
+
throw new Error('Host shutdown is not ready'); await composition?.dispose(); await stopHost(); }, ...hostAccountOptions(account.mode, {
|
|
98
139
|
homeDirectory: config.homeDirectory,
|
|
99
140
|
...(env.XENO_AGENT_HOST_ROOT ? { hostRootDirectory: env.XENO_AGENT_HOST_ROOT } : {}),
|
|
100
141
|
}) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detachedHostEntry.js","sourceRoot":"","sources":["../src/detachedHostEntry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"detachedHostEntry.js","sourceRoot":"","sources":["../src/detachedHostEntry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,6CAA6C,EAAE,MAAM,iCAAiC,CAAA;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,OAAO,EAAE,gBAAgB,EAA6B,MAAM,kBAAkB,CAAA;AAE9E,8EAA8E;AAC9E,MAAM,KAAK,GAAG,gCAAgC,CAAA;AAS9C,MAAM,UAAU,eAAe,CAAC,GAAsB;IACpD,MAAM,aAAa,GAAG,GAAG,CAAC,wBAAwB,CAAA;IAClD,MAAM,WAAW,GAAG,GAAG,CAAC,2BAA2B,CAAA;IACnD,MAAM,cAAc,GAAG,GAAG,CAAC,4BAA4B,CAAA;IAEvD,6EAA6E;IAC7E,uEAAuE;IACvE,MAAM,OAAO,GAAG;QACd,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,0BAA0B;QACjD,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,6BAA6B;QAClD,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,8BAA8B;KACvD,CAAC,MAAM,CAAC,CAAC,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": "UNLICENSED",
|
|
5
5
|
"description": "Canonical XENO Agent host composition and launchable detached runtime.",
|
|
6
6
|
"type": "module",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"directory": "packages/runtime"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@xenosystem/acp-agent": "0.2.
|
|
36
|
+
"@xenosystem/acp-agent": "0.2.18",
|
|
37
37
|
"@xenosystem/agent-sdk": "0.10.36",
|
|
38
38
|
"zod": "4.4.3",
|
|
39
|
-
"@xenosystem/agent-interface-
|
|
40
|
-
"@xenosystem/agent-interface-
|
|
41
|
-
"@xenosystem/
|
|
42
|
-
"@xenosystem/agent-interface-
|
|
43
|
-
"@xenosystem/
|
|
39
|
+
"@xenosystem/agent-interface-electron-host": "0.1.103",
|
|
40
|
+
"@xenosystem/agent-interface-client": "0.1.103",
|
|
41
|
+
"@xenosystem/agents-client": "0.1.103",
|
|
42
|
+
"@xenosystem/agent-interface-host": "0.1.103",
|
|
43
|
+
"@xenosystem/agent-interface-contract": "0.1.103"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "321cb7ca9a066c7d87f0add143b4c5ea001ba2b2"
|
|
47
47
|
}
|