snowcode 0.9.52 → 0.9.53
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/README.md +1 -0
- package/dist/cli.mjs +20 -20
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -125648,7 +125648,7 @@ var init_metadata = __esm(() => {
|
|
|
125648
125648
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
125649
125649
|
version: "99.0.0",
|
|
125650
125650
|
versionBase: getVersionBase(),
|
|
125651
|
-
buildTime: "2026-04-
|
|
125651
|
+
buildTime: "2026-04-05T18:00:18.016Z",
|
|
125652
125652
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
125653
125653
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
125654
125654
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -130712,7 +130712,7 @@ function compareVersions(a2, b) {
|
|
|
130712
130712
|
return 0;
|
|
130713
130713
|
}
|
|
130714
130714
|
function getCurrentVersion() {
|
|
130715
|
-
const displayVersion = (typeof MACRO !== "undefined" ? "0.9.
|
|
130715
|
+
const displayVersion = (typeof MACRO !== "undefined" ? "0.9.53" : undefined) ?? (() => {
|
|
130716
130716
|
for (const candidate of ["../../package.json", "../package.json"]) {
|
|
130717
130717
|
try {
|
|
130718
130718
|
const pkg = require2(candidate);
|
|
@@ -130932,7 +130932,7 @@ async function printStartupScreen() {
|
|
|
130932
130932
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
130933
130933
|
out.push(boxRow(sRow, W2, sLen));
|
|
130934
130934
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
130935
|
-
const _ver = "0.9.
|
|
130935
|
+
const _ver = "0.9.53";
|
|
130936
130936
|
const _currentVersion = getCurrentVersion();
|
|
130937
130937
|
const _update = await getAvailableUpdateWithRefresh({ timeoutMs: 1200 });
|
|
130938
130938
|
out.push(` ${DIM}${rgb(...DIMCOL)}snowcode v${_ver}${RESET}`);
|
|
@@ -305584,10 +305584,10 @@ function renderGroupedAgentToolUse(toolUses, options2) {
|
|
|
305584
305584
|
let taskDescription;
|
|
305585
305585
|
if (isTeammateSpawn && parsedInput.success && parsedInput.data.name) {
|
|
305586
305586
|
agentType = `@${parsedInput.data.name}`;
|
|
305587
|
-
const
|
|
305588
|
-
description = isCustomSubagentType(
|
|
305587
|
+
const subagentType = parsedInput.data.subagent_type;
|
|
305588
|
+
description = isCustomSubagentType(subagentType) ? subagentType : undefined;
|
|
305589
305589
|
taskDescription = parsedInput.data.description;
|
|
305590
|
-
descriptionColor = isCustomSubagentType(
|
|
305590
|
+
descriptionColor = isCustomSubagentType(subagentType) ? getAgentColor(subagentType) : undefined;
|
|
305591
305591
|
} else {
|
|
305592
305592
|
agentType = parsedInput.success ? userFacingName2(parsedInput.data) : "Agent";
|
|
305593
305593
|
description = parsedInput.success ? parsedInput.data.description : undefined;
|
|
@@ -305783,8 +305783,8 @@ function extractLastToolInfo(progressMessages, tools) {
|
|
|
305783
305783
|
}
|
|
305784
305784
|
return null;
|
|
305785
305785
|
}
|
|
305786
|
-
function isCustomSubagentType(
|
|
305787
|
-
return !!
|
|
305786
|
+
function isCustomSubagentType(subagentType) {
|
|
305787
|
+
return !!subagentType && subagentType !== GENERAL_PURPOSE_AGENT.agentType && subagentType !== "worker";
|
|
305788
305788
|
}
|
|
305789
305789
|
var import_react_compiler_runtime103, jsx_dev_runtime115, MAX_PROGRESS_MESSAGES_TO_SHOW = 3, ESTIMATED_LINES_PER_TOOL = 9, TERMINAL_BUFFER_LINES = 7, INITIALIZING_TEXT = "Initializing…";
|
|
305790
305790
|
var init_UI4 = __esm(() => {
|
|
@@ -307166,7 +307166,7 @@ var init_agentSummary = __esm(() => {
|
|
|
307166
307166
|
function normalize9(key) {
|
|
307167
307167
|
return key.toLowerCase().replace(/[-_]/g, "");
|
|
307168
307168
|
}
|
|
307169
|
-
function resolveAgentProvider(name,
|
|
307169
|
+
function resolveAgentProvider(name, subagentType, settings) {
|
|
307170
307170
|
if (!settings)
|
|
307171
307171
|
return null;
|
|
307172
307172
|
const routing = settings.agentRouting;
|
|
@@ -307183,7 +307183,7 @@ function resolveAgentProvider(name, subagentType2, settings) {
|
|
|
307183
307183
|
normalizedRouting.set(nk, value);
|
|
307184
307184
|
}
|
|
307185
307185
|
}
|
|
307186
|
-
const candidates = [name,
|
|
307186
|
+
const candidates = [name, subagentType, "default"].filter(Boolean);
|
|
307187
307187
|
let modelName;
|
|
307188
307188
|
for (const candidate of candidates) {
|
|
307189
307189
|
const match = normalizedRouting.get(normalize9(candidate));
|
|
@@ -362122,7 +362122,7 @@ var init_AgentTool = __esm(() => {
|
|
|
362122
362122
|
worktreePath: worktreeInfo?.worktreePath,
|
|
362123
362123
|
description,
|
|
362124
362124
|
agentName: name,
|
|
362125
|
-
providerOverride: resolveAgentProvider(name,
|
|
362125
|
+
providerOverride: resolveAgentProvider(name, selectedAgent.agentType, getInitialSettings()) ?? undefined
|
|
362126
362126
|
};
|
|
362127
362127
|
const cwdOverridePath = cwd2 ?? worktreeInfo?.worktreePath;
|
|
362128
362128
|
const wrapWithCwd = (fn) => cwdOverridePath ? runWithCwdOverride(cwdOverridePath, fn) : fn();
|
|
@@ -371120,7 +371120,7 @@ function getAnthropicEnvMetadata() {
|
|
|
371120
371120
|
function getBuildAgeMinutes() {
|
|
371121
371121
|
if (false)
|
|
371122
371122
|
;
|
|
371123
|
-
const buildTime = new Date("2026-04-
|
|
371123
|
+
const buildTime = new Date("2026-04-05T18:00:18.016Z").getTime();
|
|
371124
371124
|
if (isNaN(buildTime))
|
|
371125
371125
|
return;
|
|
371126
371126
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -465195,7 +465195,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
465195
465195
|
var call58 = async () => {
|
|
465196
465196
|
return {
|
|
465197
465197
|
type: "text",
|
|
465198
|
-
value: `${"99.0.0"} (built ${"2026-04-
|
|
465198
|
+
value: `${"99.0.0"} (built ${"2026-04-05T18:00:18.016Z"})`
|
|
465199
465199
|
};
|
|
465200
465200
|
}, version2, version_default;
|
|
465201
465201
|
var init_version = __esm(() => {
|
|
@@ -538687,7 +538687,7 @@ function WelcomeV2() {
|
|
|
538687
538687
|
dimColor: true,
|
|
538688
538688
|
children: [
|
|
538689
538689
|
"v",
|
|
538690
|
-
"0.9.
|
|
538690
|
+
"0.9.53",
|
|
538691
538691
|
" "
|
|
538692
538692
|
]
|
|
538693
538693
|
}, undefined, true, undefined, this)
|
|
@@ -538887,7 +538887,7 @@ function WelcomeV2() {
|
|
|
538887
538887
|
dimColor: true,
|
|
538888
538888
|
children: [
|
|
538889
538889
|
"v",
|
|
538890
|
-
"0.9.
|
|
538890
|
+
"0.9.53",
|
|
538891
538891
|
" "
|
|
538892
538892
|
]
|
|
538893
538893
|
}, undefined, true, undefined, this)
|
|
@@ -539113,7 +539113,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
539113
539113
|
dimColor: true,
|
|
539114
539114
|
children: [
|
|
539115
539115
|
"v",
|
|
539116
|
-
"0.9.
|
|
539116
|
+
"0.9.53",
|
|
539117
539117
|
" "
|
|
539118
539118
|
]
|
|
539119
539119
|
}, undefined, true, undefined, this);
|
|
@@ -539367,7 +539367,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
539367
539367
|
dimColor: true,
|
|
539368
539368
|
children: [
|
|
539369
539369
|
"v",
|
|
539370
|
-
"0.9.
|
|
539370
|
+
"0.9.53",
|
|
539371
539371
|
" "
|
|
539372
539372
|
]
|
|
539373
539373
|
}, undefined, true, undefined, this);
|
|
@@ -559488,7 +559488,7 @@ Usage: claude --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
559488
559488
|
pendingHookMessages
|
|
559489
559489
|
}, renderAndRun);
|
|
559490
559490
|
}
|
|
559491
|
-
}).version("0.9.
|
|
559491
|
+
}).version("0.9.53 (Snowcode)", "-v, --version", "Output the version number");
|
|
559492
559492
|
program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
559493
559493
|
program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
559494
559494
|
if (canUserConfigureAdvisor()) {
|
|
@@ -560049,7 +560049,7 @@ function validateProviderEnvOrExit() {
|
|
|
560049
560049
|
async function main2() {
|
|
560050
560050
|
const args = process.argv.slice(2);
|
|
560051
560051
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
560052
|
-
console.log(`${"0.9.
|
|
560052
|
+
console.log(`${"0.9.53"} (Snowcode)`);
|
|
560053
560053
|
return;
|
|
560054
560054
|
}
|
|
560055
560055
|
validateProviderEnvOrExit();
|
|
@@ -560138,4 +560138,4 @@ async function main2() {
|
|
|
560138
560138
|
}
|
|
560139
560139
|
main2();
|
|
560140
560140
|
|
|
560141
|
-
//# debugId=
|
|
560141
|
+
//# debugId=E81EE130DF1FE05B64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snowcode",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.53",
|
|
4
4
|
"description": "It's cold outside, isn't it?",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
],
|
|
147
147
|
"repository": {
|
|
148
148
|
"type": "git",
|
|
149
|
-
"url": "https://github.com/snowcode-cli/snowcode-cli.git"
|
|
149
|
+
"url": "git+https://github.com/snowcode-cli/snowcode-cli.git"
|
|
150
150
|
},
|
|
151
151
|
"bugs": {
|
|
152
152
|
"url": "https://github.com/snowcode-cli/snowcode-cli/issues"
|