@hasna/coders 0.0.4 → 0.0.5
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/cli.mjs +7 -4
- package/dist/cli.mjs.map +2 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -58429,7 +58429,7 @@ var init_client = __esm({
|
|
|
58429
58429
|
"Content-Type": "application/json",
|
|
58430
58430
|
"anthropic-version": "2023-06-01",
|
|
58431
58431
|
"anthropic-beta": BETA_HEADERS.join(","),
|
|
58432
|
-
"User-Agent": `coders/${"0.0.
|
|
58432
|
+
"User-Agent": `coders/${"0.0.5"}`
|
|
58433
58433
|
};
|
|
58434
58434
|
if (key.isOAuth) {
|
|
58435
58435
|
headers["Authorization"] = `Bearer ${key.apiKey}`;
|
|
@@ -67680,6 +67680,7 @@ function App2({ model, mode, initialPrompt }) {
|
|
|
67680
67680
|
if (initialPrompt) submit(initialPrompt);
|
|
67681
67681
|
}, []);
|
|
67682
67682
|
use_input_default((ch, key) => {
|
|
67683
|
+
if (permissionPending) return;
|
|
67683
67684
|
if (busy) {
|
|
67684
67685
|
if (key.ctrl && ch === "c") {
|
|
67685
67686
|
setBusy(false);
|
|
@@ -67737,14 +67738,16 @@ function App2({ model, mode, initialPrompt }) {
|
|
|
67737
67738
|
] })
|
|
67738
67739
|
] })
|
|
67739
67740
|
] }),
|
|
67741
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { dimColor: true, children: "\u2500".repeat(Math.min(stdout?.columns ?? 80, 120)) }) }),
|
|
67740
67742
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box_default, { children: [
|
|
67741
67743
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, { color: "cyan", bold: true, children: [
|
|
67742
67744
|
PROMPT,
|
|
67743
67745
|
" "
|
|
67744
67746
|
] }),
|
|
67745
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { children: input }),
|
|
67747
|
+
input.startsWith("/") ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: "magenta", children: input }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { children: input }),
|
|
67746
67748
|
!busy && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: "gray", children: "\u258E" })
|
|
67747
67749
|
] }),
|
|
67750
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { dimColor: true, children: "\u2500".repeat(Math.min(stdout?.columns ?? 80, 120)) }) }),
|
|
67748
67751
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatusBar, { model, mode, cost, tokens })
|
|
67749
67752
|
] });
|
|
67750
67753
|
}
|
|
@@ -68033,8 +68036,8 @@ async function bootstrap() {
|
|
|
68033
68036
|
var VERSION, BUILD_TIME, PACKAGE_NAME2, ISSUES_URL2, startupTimestamps, originalCwd, RESET_TERMINAL, cleanupHandlers, earlyInput, earlyInputCapturing;
|
|
68034
68037
|
var init_index = __esm({
|
|
68035
68038
|
"src/cli/index.ts"() {
|
|
68036
|
-
VERSION = "0.0.
|
|
68037
|
-
BUILD_TIME = "2026-03-20T07:
|
|
68039
|
+
VERSION = "0.0.5";
|
|
68040
|
+
BUILD_TIME = "2026-03-20T07:42:41.423Z";
|
|
68038
68041
|
PACKAGE_NAME2 = "@hasna/coders";
|
|
68039
68042
|
ISSUES_URL2 = "https://github.com/hasnaxyz/open-coders/issues";
|
|
68040
68043
|
startupTimestamps = {};
|