@hasna/coders 0.1.1 → 0.1.2
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 +4 -4
- package/dist/cli.mjs.map +2 -2
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -58441,7 +58441,7 @@ var init_client = __esm({
|
|
|
58441
58441
|
"Content-Type": "application/json",
|
|
58442
58442
|
"anthropic-version": "2023-06-01",
|
|
58443
58443
|
"anthropic-beta": BETA_HEADERS.join(","),
|
|
58444
|
-
"User-Agent": `coders/${"0.1.
|
|
58444
|
+
"User-Agent": `coders/${"0.1.2"}`
|
|
58445
58445
|
};
|
|
58446
58446
|
if (key.isOAuth) {
|
|
58447
58447
|
headers["Authorization"] = `Bearer ${key.apiKey}`;
|
|
@@ -61880,7 +61880,7 @@ async function runAgentLoop(initialMessages, options2) {
|
|
|
61880
61880
|
const toolUseBlocks = contentBlocks.filter(
|
|
61881
61881
|
(b) => b.type === "tool_use"
|
|
61882
61882
|
);
|
|
61883
|
-
if (toolUseBlocks.length === 0
|
|
61883
|
+
if (toolUseBlocks.length === 0) {
|
|
61884
61884
|
options2.onTurnComplete?.(turnIndex, assistantMessage);
|
|
61885
61885
|
options2.onProgress?.({ type: "turn_end", turnIndex, stopReason });
|
|
61886
61886
|
turnIndex++;
|
|
@@ -70878,8 +70878,8 @@ async function bootstrap() {
|
|
|
70878
70878
|
var VERSION, BUILD_TIME, PACKAGE_NAME2, ISSUES_URL2, startupTimestamps, originalCwd, RESET_TERMINAL, cleanupHandlers, earlyInput, earlyInputCapturing;
|
|
70879
70879
|
var init_index = __esm({
|
|
70880
70880
|
"src/cli/index.ts"() {
|
|
70881
|
-
VERSION = "0.1.
|
|
70882
|
-
BUILD_TIME = "2026-03-
|
|
70881
|
+
VERSION = "0.1.2";
|
|
70882
|
+
BUILD_TIME = "2026-03-20T13:23:30.894Z";
|
|
70883
70883
|
PACKAGE_NAME2 = "@hasna/coders";
|
|
70884
70884
|
ISSUES_URL2 = "https://github.com/hasnaxyz/open-coders/issues";
|
|
70885
70885
|
startupTimestamps = {};
|