tensor-cli 0.1.1-beta-lite → 0.1.2-beta-lite
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/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -329966,7 +329966,7 @@ var CONTEXT_WINDOW_SIZE = 24;
|
|
|
329966
329966
|
var DECISION_MAX_TOKENS = 2500;
|
|
329967
329967
|
var CONTENT_MAX_TOKENS = 1e4;
|
|
329968
329968
|
var SHELL_TIMEOUT_MS = 60000;
|
|
329969
|
-
var MODEL_PROVIDERS = ["GOOGLE", "CENCORI"];
|
|
329969
|
+
var MODEL_PROVIDERS = ["GOOGLE", "CENCORI", "VENICE"];
|
|
329970
329970
|
var MUTATING_TOOLS = new Set([
|
|
329971
329971
|
"write",
|
|
329972
329972
|
"edit",
|
|
@@ -344439,7 +344439,7 @@ var Header = () => {
|
|
|
344439
344439
|
}, undefined, false, undefined, this),
|
|
344440
344440
|
/* @__PURE__ */ import_jsx_dev_runtime2.jsxDEV("text", {
|
|
344441
344441
|
fg: t2.inkFaint,
|
|
344442
|
-
children: "v0.1.
|
|
344442
|
+
children: "v0.1.2@beta-lite"
|
|
344443
344443
|
}, undefined, false, undefined, this)
|
|
344444
344444
|
]
|
|
344445
344445
|
}, undefined, true, undefined, this),
|
|
@@ -352305,7 +352305,7 @@ var ScrollablePicker = ({
|
|
|
352305
352305
|
toast?.show(`Switched to ${selectedModel.name || selectedModel.id}`);
|
|
352306
352306
|
try {
|
|
352307
352307
|
const fileName = "ACTIVE_AGENT.json";
|
|
352308
|
-
const storagePath = path17.join(os6.homedir(), ".
|
|
352308
|
+
const storagePath = path17.join(os6.homedir(), ".tensor", fileName);
|
|
352309
352309
|
await writeToFile(storagePath, JSON.stringify(selectedModel));
|
|
352310
352310
|
} catch (_e) {
|
|
352311
352311
|
toast?.show(`Failed to persist storage`, "error");
|
|
@@ -352326,7 +352326,7 @@ var ScrollablePicker = ({
|
|
|
352326
352326
|
if (apiKey2) {
|
|
352327
352327
|
toast?.show(`Saving API Key for ${selectedProvider}...`);
|
|
352328
352328
|
try {
|
|
352329
|
-
const storagePath = path17.join(os6.homedir(), ".
|
|
352329
|
+
const storagePath = path17.join(os6.homedir(), ".tensor", PROVIDER_KEY_STORE2);
|
|
352330
352330
|
let currentKeys = {};
|
|
352331
352331
|
if (fs12.existsSync(storagePath)) {
|
|
352332
352332
|
const fileContent = fs12.readFileSync(storagePath, "utf-8");
|