bazis 0.97.6 → 0.97.7
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.
|
@@ -113,8 +113,9 @@ function selectionMessage(
|
|
|
113
113
|
const head = `Module "${record.name}": "${consumer}" depends on ${subject}`;
|
|
114
114
|
if (owners.length > 1) {
|
|
115
115
|
const modules = owners.map((item) => `"${item.name}"`).join(" and ");
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
// No colon after "token": the console redaction would read "token: the" as a secret.
|
|
117
|
+
return `${head}, but ${subject} is registered in ${modules}, and the application uses one implementation per token,`
|
|
118
|
+
+ ` the last registered one, from "${owner.name}", which "${record.name}" cannot see.`
|
|
118
119
|
+ ` Register ${subject} in one module, or give the implementations different keys (DI.keyedSingleton).`;
|
|
119
120
|
}
|
|
120
121
|
return `${head}, but the application uses the implementation from "${owner.name}", which "${record.name}" cannot see.`
|
|
@@ -232,7 +232,7 @@ export class CodexAppServerClient implements CodexClient {
|
|
|
232
232
|
if (method === "account/updated") this.modelCache = undefined;
|
|
233
233
|
}, () => { this.clearLogin(); this.modelCache = undefined; });
|
|
234
234
|
const initialized = await client.request("initialize", {
|
|
235
|
-
clientInfo: { name: "bazis", title: "Bazis", version: "0.97.
|
|
235
|
+
clientInfo: { name: "bazis", title: "Bazis", version: "0.97.7" }, capabilities: { experimentalApi: true },
|
|
236
236
|
}, 15_000, signal);
|
|
237
237
|
if (resolve(text(initialized.codexHome, 4096)) !== this.paths.home) throw new CodexError("PROTOCOL_ERROR");
|
|
238
238
|
client.notify("initialized");
|
package/package.json
CHANGED