@freesyntax/notch-cli 0.4.4 → 0.4.6
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 +37 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64,6 +64,33 @@ var MODEL_CATALOG = {
|
|
|
64
64
|
contextWindow: 131072,
|
|
65
65
|
maxOutputTokens: 16384,
|
|
66
66
|
baseUrl: "https://cutmob--notch-serve-ignis-notchignisserver-serve.modal.run/v1"
|
|
67
|
+
},
|
|
68
|
+
"notch-solace": {
|
|
69
|
+
id: "notch-solace",
|
|
70
|
+
label: "Solace",
|
|
71
|
+
size: "31B",
|
|
72
|
+
gpu: "A100-80GB",
|
|
73
|
+
contextWindow: 131072,
|
|
74
|
+
maxOutputTokens: 16384,
|
|
75
|
+
baseUrl: "https://cutmob--notch-serve-solace-notchsolaceserver-serve.modal.run/v1"
|
|
76
|
+
},
|
|
77
|
+
"notch-forge-lite": {
|
|
78
|
+
id: "notch-forge-lite",
|
|
79
|
+
label: "Forge Lite",
|
|
80
|
+
size: "9B",
|
|
81
|
+
gpu: "L4",
|
|
82
|
+
contextWindow: 131072,
|
|
83
|
+
maxOutputTokens: 16384,
|
|
84
|
+
baseUrl: "https://cutmob--notch-serve-forge-lite-notchforgeliteserver-serve.modal.run/v1"
|
|
85
|
+
},
|
|
86
|
+
"notch-solace-lite": {
|
|
87
|
+
id: "notch-solace-lite",
|
|
88
|
+
label: "Solace Lite",
|
|
89
|
+
size: "E4B",
|
|
90
|
+
gpu: "L4",
|
|
91
|
+
contextWindow: 65536,
|
|
92
|
+
maxOutputTokens: 8192,
|
|
93
|
+
baseUrl: "https://cutmob--notch-serve-solace-lite-notchsolaceliteserver-serve.modal.run/v1"
|
|
67
94
|
}
|
|
68
95
|
};
|
|
69
96
|
var MODEL_IDS = Object.keys(MODEL_CATALOG);
|
|
@@ -2064,8 +2091,14 @@ var MODEL_COSTS = {
|
|
|
2064
2091
|
// L40S
|
|
2065
2092
|
"notch-pyre": { input: 0.3, output: 0.9 },
|
|
2066
2093
|
// A100
|
|
2067
|
-
"notch-ignis": { input: 0.4, output: 1.2 }
|
|
2094
|
+
"notch-ignis": { input: 0.4, output: 1.2 },
|
|
2068
2095
|
// A100
|
|
2096
|
+
"notch-solace": { input: 0.35, output: 1 },
|
|
2097
|
+
// A100 — Gemma 4 31B
|
|
2098
|
+
"notch-forge-lite": { input: 0.08, output: 0.25 },
|
|
2099
|
+
// L4 — INT8
|
|
2100
|
+
"notch-solace-lite": { input: 0.04, output: 0.12 }
|
|
2101
|
+
// L4 — Gemma 4 E4B
|
|
2069
2102
|
};
|
|
2070
2103
|
var CostTracker = class {
|
|
2071
2104
|
entries = [];
|
|
@@ -3971,7 +4004,9 @@ function completeFilePath(partial, cwd) {
|
|
|
3971
4004
|
|
|
3972
4005
|
// src/index.ts
|
|
3973
4006
|
import fs18 from "fs/promises";
|
|
3974
|
-
|
|
4007
|
+
import { createRequire } from "module";
|
|
4008
|
+
var _require = createRequire(import.meta.url);
|
|
4009
|
+
var VERSION = _require("../package.json").version;
|
|
3975
4010
|
var modelChoices = MODEL_IDS.join(", ");
|
|
3976
4011
|
var program = new Command().name("notch").description("Notch CLI \u2014 AI-powered coding assistant by Driftrail").version(VERSION).argument("[prompt...]", "One-shot prompt (runs once and exits)").option(`-m, --model <model>`, `Notch model (${modelChoices})`).option("--base-url <url>", "Override Notch API base URL").option("--api-key <key>", "Notch API key (prefer NOTCH_API_KEY env var)").option("--no-repo-map", "Disable automatic repository mapping").option("--no-markdown", "Disable markdown rendering in output").option("--max-iterations <n>", "Max tool-call rounds per turn", "25").option("-y, --yes", "Auto-confirm destructive actions").option("--trust", "Trust mode \u2014 auto-allow all tool calls").option("--theme <theme>", `UI color theme (${THEME_IDS.join(", ")})`).option("--resume", "Resume the last session for this project").option("--session <id>", "Resume a specific session by ID").option("--cwd <dir>", "Set working directory").parse(process.argv);
|
|
3977
4012
|
var opts = program.opts();
|