@xenosystem/agent-interface-runtime 0.1.195 → 0.1.197

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.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Whether the cloud model catalog must wait for the account service before it is loaded.
3
+ *
4
+ * A host with an account waits when that account cannot answer, so a signed-in person is never told to sign in
5
+ * because of a slow start. But a person's own saved key (`~/.xeno/credentials.json`) does not depend on the account:
6
+ * with one present the catalog loads on the key. Without this, a host on a machine where the account service cannot
7
+ * run at all (a headless Linux machine with no key store: measured in the XENO Compute image on 2026-11-14) reported
8
+ * every XENO model as "Cannot load models. Retrying automatically." forever, valid key or not.
9
+ */
10
+ export declare function catalogWaitsForAccount(input: {
11
+ accountConfigured: boolean;
12
+ accountAnswered: boolean;
13
+ hasSavedKey: boolean;
14
+ }): boolean;
15
+ //# sourceMappingURL=catalogAccountGate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogAccountGate.d.ts","sourceRoot":"","sources":["../src/catalogAccountGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAAE,iBAAiB,EAAE,OAAO,CAAC;IAAC,eAAe,EAAE,OAAO,CAAC;IAAC,WAAW,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAErI"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Whether the cloud model catalog must wait for the account service before it is loaded.
3
+ *
4
+ * A host with an account waits when that account cannot answer, so a signed-in person is never told to sign in
5
+ * because of a slow start. But a person's own saved key (`~/.xeno/credentials.json`) does not depend on the account:
6
+ * with one present the catalog loads on the key. Without this, a host on a machine where the account service cannot
7
+ * run at all (a headless Linux machine with no key store: measured in the XENO Compute image on 2026-11-14) reported
8
+ * every XENO model as "Cannot load models. Retrying automatically." forever, valid key or not.
9
+ */
10
+ export function catalogWaitsForAccount(input) {
11
+ return input.accountConfigured && !input.accountAnswered && !input.hasSavedKey;
12
+ }
13
+ //# sourceMappingURL=catalogAccountGate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalogAccountGate.js","sourceRoot":"","sources":["../src/catalogAccountGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,UAAU,sBAAsB,CAAC,KAAqF;IAC1H,OAAO,KAAK,CAAC,iBAAiB,IAAI,CAAC,KAAK,CAAC,eAAe,IAAI,CAAC,KAAK,CAAC,WAAW,CAAA;AAChF,CAAC"}
@@ -6,7 +6,7 @@
6
6
  * one (ADE spec §2.7). Kept equal to `package.json` by `runtimeVersion.test.ts`; the lockstep bump
7
7
  * edits both.
8
8
  */
9
- export declare const AGENT_INTERFACE_RUNTIME_VERSION = "0.1.195";
9
+ export declare const AGENT_INTERFACE_RUNTIME_VERSION = "0.1.197";
10
10
  /** Compare two `x.y.z` versions. A missing or malformed version orders before any valid one. */
11
11
  export declare function compareRuntimeVersions(a: string | undefined, b: string | undefined): number;
12
12
  //# sourceMappingURL=runtimeVersion.d.ts.map
@@ -6,7 +6,7 @@
6
6
  * one (ADE spec §2.7). Kept equal to `package.json` by `runtimeVersion.test.ts`; the lockstep bump
7
7
  * edits both.
8
8
  */
9
- export const AGENT_INTERFACE_RUNTIME_VERSION = '0.1.195';
9
+ export const AGENT_INTERFACE_RUNTIME_VERSION = '0.1.197';
10
10
  /** Compare two `x.y.z` versions. A missing or malformed version orders before any valid one. */
11
11
  export function compareRuntimeVersions(a, b) {
12
12
  const parse = (value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/agent-interface-runtime",
3
- "version": "0.1.195",
3
+ "version": "0.1.197",
4
4
  "license": "UNLICENSED",
5
5
  "description": "Canonical XENO Agent host composition and launchable detached runtime.",
6
6
  "type": "module",
@@ -46,11 +46,11 @@
46
46
  "@xenosystem/acp-agent": "0.2.25",
47
47
  "@xenosystem/agent-sdk": "0.10.118",
48
48
  "zod": "4.6.7",
49
- "@xenosystem/agent-interface-client": "0.1.195",
50
- "@xenosystem/agent-interface-host": "0.1.195",
51
- "@xenosystem/agent-interface-contract": "0.1.195",
52
- "@xenosystem/agent-interface-electron-host": "0.1.195",
53
- "@xenosystem/agents-client": "0.1.195"
49
+ "@xenosystem/agent-interface-client": "0.1.197",
50
+ "@xenosystem/agent-interface-electron-host": "0.1.197",
51
+ "@xenosystem/agent-interface-contract": "0.1.197",
52
+ "@xenosystem/agents-client": "0.1.197",
53
+ "@xenosystem/agent-interface-host": "0.1.197"
54
54
  },
55
55
  "scripts": {}
56
56
  }