limixbot 0.3.67 → 0.3.69
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/dist/assets/{ActivityPanel-Cd8nRkjh.js → ActivityPanel-C6lDA_Dl.js} +1 -1
- package/dist/assets/{App-BApPfi8T.js → App-CGvp9reK.js} +118 -118
- package/dist/assets/{AppEventEditor-C2Rw3tjK.js → AppEventEditor-C_T100Zm.js} +1 -1
- package/dist/assets/{BotSettingsDialog-BKGlWh6z.js → BotSettingsDialog-CHv5z0Yf.js} +1 -1
- package/dist/assets/{BrowserPanel-Ie5KR1DS.js → BrowserPanel-DnZVas7s.js} +1 -1
- package/dist/assets/{BrowserProfilesManager-JlgkLWuG.js → BrowserProfilesManager-C4GD0i4J.js} +1 -1
- package/dist/assets/{CloudAddDialog-DVnP8Nvx.js → CloudAddDialog-By44WV-W.js} +1 -1
- package/dist/assets/{ComputerFilesPane-B6qR_dOC.js → ComputerFilesPane-Bz8W7Rj6.js} +1 -1
- package/dist/assets/{ComputerPanel-DK5uip8B.js → ComputerPanel-BWS-JDhe.js} +2 -2
- package/dist/assets/{DataPanel-Cc_vZJX7.js → DataPanel-DEZIC7ZK.js} +1 -1
- package/dist/assets/{FilesView-CwLuU99q.js → FilesView-7ODxJxuL.js} +1 -1
- package/dist/assets/{GrokMoveDialog--0ll4Eq6.js → GrokMoveDialog-BITBrJm1.js} +1 -1
- package/dist/assets/{InspectorPanel-DYi9QUev.js → InspectorPanel-Bq5d0EE8.js} +1 -1
- package/dist/assets/{KeyboardShortcutsModal-D4cHfw7J.js → KeyboardShortcutsModal--xVoTLoi.js} +1 -1
- package/dist/assets/{LimixChannelReview-CrV8aypL.js → LimixChannelReview-CFrHYdu3.js} +1 -1
- package/dist/assets/{LiveDesktop-BYUIos8D.js → LiveDesktop-CN2P9Akr.js} +1 -1
- package/dist/assets/{LocalVmWorkspace-Cocl8Qeg.js → LocalVmWorkspace-DOBPGAwd.js} +1 -1
- package/dist/assets/{MacLocalControl-Boi5Z7E5.js → MacLocalControl-D-ufYF4o.js} +1 -1
- package/dist/assets/{MarkdownFilePreview-AzVHHTGY.js → MarkdownFilePreview-C9_jOBKl.js} +1 -1
- package/dist/assets/{NewBotDialog-CWIJj0tg.js → NewBotDialog-BL2jGXxz.js} +1 -1
- package/dist/assets/{PhoneAppDialog-CvlcoRmR.js → PhoneAppDialog-BtnWTO80.js} +1 -1
- package/dist/assets/{PluginsPanel-Oe5efsP8.js → PluginsPanel-fTVjuMQT.js} +1 -1
- package/dist/assets/{ProIntroduction-B7cJuPcr.js → ProIntroduction-fJT6tExP.js} +1 -1
- package/dist/assets/{RemoteAgentSettingsPanel-k1MoxpHt.js → RemoteAgentSettingsPanel-BKcLdyqH.js} +1 -1
- package/dist/assets/{RoomPanel-BKfuIy2H.js → RoomPanel-B9LDtx9w.js} +1 -1
- package/dist/assets/{RoutinesPage-7im9rg2z.js → RoutinesPage-DMyndf9d.js} +1 -1
- package/dist/assets/{SettingsModal-Gb9CKSm7.js → SettingsModal-BxhDkJw6.js} +1 -1
- package/dist/assets/{ShareTeamDialog-CHJAz2Wt.js → ShareTeamDialog-qnAAK8-F.js} +1 -1
- package/dist/assets/{SignedInSites-bZKwnJo6.js → SignedInSites-BwVKchJQ.js} +1 -1
- package/dist/assets/{TeamLibraryPanel-Bxbz57a-.js → TeamLibraryPanel-CV8zeB-1.js} +1 -1
- package/dist/assets/{TeamMapPage-BoUE9pfL.js → TeamMapPage-B6HEdeeF.js} +1 -1
- package/dist/assets/{TriggersPage-B7wN6jGZ.js → TriggersPage-Co1-CVZf.js} +1 -1
- package/dist/assets/{VisibilitySection-DbD441py.js → VisibilitySection-BuwMbSF6.js} +1 -1
- package/dist/assets/{WebhookTrigger-BOeE6OQ7.js → WebhookTrigger-SooK-x7I.js} +1 -1
- package/dist/assets/{WorksOnGrid-CYgOe899.js → WorksOnGrid-BV8Jf6E_.js} +1 -1
- package/dist/assets/{core-BlzZL0d2.js → core-BWHM1o2x.js} +1 -1
- package/dist/assets/{import-name-CeiR6kt3.js → import-name-FeCYKAx8.js} +1 -1
- package/dist/assets/{index-BmF-IwP4.js → index-BxwJjj_s.js} +1 -1
- package/dist/assets/{index-DOQvR6hz.js → index-Cgv7Wxgd.js} +2 -2
- package/dist/assets/{mcp-servers-CaLK3IkM.js → mcp-servers-ljPsR3ST.js} +1 -1
- package/dist/assets/{new-bot-BBRSPu-U.js → new-bot-BtaTIdRc.js} +1 -1
- package/dist/assets/{org-library-D7zhdr0O.js → org-library-BbB8MpS3.js} +1 -1
- package/dist/assets/{package-format-BlztO5Hz.js → package-format-C79DciHL.js} +1 -1
- package/dist/assets/{remote-desktop-panel-sVxXptRY.js → remote-desktop-panel-CfB1Ew7Y.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-server/index.js +92 -90
- package/dist-server/openmausbot.js +126 -125
- package/dist-server/package.json +1 -1
- package/dist-server/pair-cli.js +126 -125
- package/dist-server/server/drivers/acp/core.js +20 -1
- package/dist-server/server/drivers/antigravity.js +6 -2
- package/package.json +1 -1
|
@@ -25,6 +25,8 @@ import { acpTurnSteering, advertisedCommands } from "./steer.js";
|
|
|
25
25
|
import { pickSessionModel, SessionModelControls } from "./session-model-controls.js";
|
|
26
26
|
import { notThisCli, versionFromProbe } from "./version-probe.js";
|
|
27
27
|
import { engineHomes } from "../../engine-homes/engine-homes.js";
|
|
28
|
+
/** How old a discovered model list may get before a snapshot reads it again. */
|
|
29
|
+
const MODEL_LIST_MAX_AGE_MS = 15 * 60_000;
|
|
28
30
|
export function skipSubscriptionAuthForLocalInject(model) {
|
|
29
31
|
return Boolean(decodeInjectId(model));
|
|
30
32
|
}
|
|
@@ -1337,7 +1339,24 @@ export function createAcpDriver(support) {
|
|
|
1337
1339
|
})();
|
|
1338
1340
|
return startupAck ?? { turnId };
|
|
1339
1341
|
};
|
|
1340
|
-
|
|
1342
|
+
// Limix: a model list follows the account. When the signed-in account changes (a Pro login swapped for Ultra, in
|
|
1343
|
+
// the app or in the engine's own CLI), or the list is older than MODEL_LIST_MAX_AGE_MS, a snapshot reads it again.
|
|
1344
|
+
let modelsReadAt = Date.now(), modelsAccount;
|
|
1345
|
+
const followAccount = (taken) => {
|
|
1346
|
+
if (!support.resolveModels || taken.state !== "available" || taken.authenticated === false)
|
|
1347
|
+
return taken;
|
|
1348
|
+
const account = taken.account ? [taken.account.email ?? "", taken.account.organization ?? "", taken.account.method ?? ""].join("\0") : undefined;
|
|
1349
|
+
const switched = account !== undefined && modelsAccount !== undefined && account !== modelsAccount;
|
|
1350
|
+
if (account !== undefined)
|
|
1351
|
+
modelsAccount = account;
|
|
1352
|
+
if (switched || Date.now() - modelsReadAt > MODEL_LIST_MAX_AGE_MS) {
|
|
1353
|
+
modelsReadAt = Date.now();
|
|
1354
|
+
void refreshModels(true).catch(() => { });
|
|
1355
|
+
}
|
|
1356
|
+
return taken;
|
|
1357
|
+
};
|
|
1358
|
+
const snapshot = async () => followAccount(await takeSnapshot());
|
|
1359
|
+
const takeSnapshot = async () => {
|
|
1341
1360
|
const env = childEnv();
|
|
1342
1361
|
if (support.snapshot)
|
|
1343
1362
|
return support.snapshot(env, config, instanceId);
|
|
@@ -10,6 +10,7 @@ import { augmentedPath } from "../env-path.js";
|
|
|
10
10
|
import { agyCliFor, releaseAgyCli } from "../limix-agy-cli.js";
|
|
11
11
|
import { bundledEngineCatalog } from "../model-manifest/bundled.js";
|
|
12
12
|
import { currentEngineCatalog } from "../model-manifest/manifest.js";
|
|
13
|
+
import { discoverAcpModels } from "./acp/custom-model-catalog.js";
|
|
13
14
|
export const STATIC_ANTIGRAVITY_MODELS = bundledEngineCatalog("antigravity");
|
|
14
15
|
/** Bots saved before the thinking-level option hold ids like `gemini-3.8-flash-medium` or `gemini-4-argon-high`;
|
|
15
16
|
* the official runtime offers only the base model with that option, so run the base at the saved level. A runtime
|
|
@@ -96,8 +97,11 @@ const support = {
|
|
|
96
97
|
};
|
|
97
98
|
},
|
|
98
99
|
resolveModels: async (env, config, instanceId) => {
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
// Limix: the person's own `agy` CLI is signed in to their Google account (Pro, Ultra…), whose models differ; read
|
|
101
|
+
// them from the CLI itself instead of the fixed list, which only ever showed one plan's models.
|
|
102
|
+
const agyCli = agyCliFor(instanceId, env);
|
|
103
|
+
if (agyCli)
|
|
104
|
+
return discoverAcpModels(env, agyCli, ["acp"], { default: currentEngineCatalog("antigravity").default, exitGraceMs: 2_000 });
|
|
101
105
|
const runtime = await resolveAntigravityRuntime(config.cli, env);
|
|
102
106
|
const profile = await prepareAntigravityProfile({ instanceId, runtime, baseEnv: env });
|
|
103
107
|
if (!(await antigravityProfileAuthenticated(profile)))
|