@atlasharness/atlascode 0.1.41 → 0.1.42

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -47
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -214697,21 +214697,6 @@ var init_vscodeSdkMcp = __esm(() => {
214697
214697
  function isAdvisorBlock(param) {
214698
214698
  return false;
214699
214699
  }
214700
- function isAdvisorEnabled() {
214701
- return false;
214702
- }
214703
- function canUserConfigureAdvisor() {
214704
- return false;
214705
- }
214706
- function modelSupportsAdvisor(_model) {
214707
- return false;
214708
- }
214709
- function isValidAdvisorModel(_model) {
214710
- return false;
214711
- }
214712
- function getInitialAdvisorSetting() {
214713
- return;
214714
- }
214715
214700
 
214716
214701
  // src/tui/utils/context.ts
214717
214702
  function getContextWindowForModel(model, betas) {
@@ -490375,28 +490360,6 @@ ${inputPrompt}` : mainThreadAgentDefinition.initialPrompt;
490375
490360
  setInitialMainLoopModel(getUserSpecifiedModelSetting() || null);
490376
490361
  const initialMainLoopModel = getInitialMainLoopModel();
490377
490362
  const resolvedInitialModel = parseUserSpecifiedModel2(initialMainLoopModel ?? getDefaultMainLoopModel());
490378
- let advisorModel;
490379
- if (isAdvisorEnabled()) {
490380
- const advisorOption = canUserConfigureAdvisor() ? options.advisor : undefined;
490381
- if (advisorOption) {
490382
- logForDebugging3(`[AdvisorTool] --advisor ${advisorOption}`);
490383
- if (!modelSupportsAdvisor(resolvedInitialModel)) {
490384
- process.stderr.write(source_default.red(`Error: The model "${resolvedInitialModel}" does not support the advisor tool.
490385
- `));
490386
- process.exit(1);
490387
- }
490388
- const normalizedAdvisorModel = normalizeModelStringForAPI(parseUserSpecifiedModel2(advisorOption));
490389
- if (!isValidAdvisorModel(normalizedAdvisorModel)) {
490390
- process.stderr.write(source_default.red(`Error: The model "${advisorOption}" cannot be used as an advisor.
490391
- `));
490392
- process.exit(1);
490393
- }
490394
- }
490395
- advisorModel = canUserConfigureAdvisor() ? advisorOption ?? getInitialAdvisorSetting() : advisorOption;
490396
- if (advisorModel) {
490397
- logForDebugging3(`[AdvisorTool] Advisor model: ${advisorModel}`);
490398
- }
490399
- }
490400
490363
  if (isAgentSwarmsEnabled2() && storedTeammateOpts?.agentId && storedTeammateOpts?.agentName && storedTeammateOpts?.teamName && storedTeammateOpts?.agentType) {
490401
490364
  const customAgent = agentDefinitions.activeAgents.find((a) => a.agentType === storedTeammateOpts.agentType);
490402
490365
  if (customAgent) {
@@ -490654,10 +490617,7 @@ ${inputPrompt}` : mergePrompt;
490654
490617
  },
490655
490618
  toolPermissionContext,
490656
490619
  effortValue: parseEffortValue2(options.effort) ?? getStartupEffortValue(effectiveModel),
490657
- effortExplicit: parseEffortValue2(options.effort) !== undefined,
490658
- ...isAdvisorEnabled() && advisorModel && {
490659
- advisorModel
490660
- }
490620
+ effortExplicit: parseEffortValue2(options.effort) !== undefined
490661
490621
  };
490662
490622
  const headlessStore = createStore(headlessInitialState, onChangeAppState);
490663
490623
  if (toolPermissionContext.mode === "bypassPermissions" || allowDangerouslySkipPermissions) {
@@ -490945,9 +490905,6 @@ ${inputPrompt}` : mergePrompt;
490945
490905
  effortValue: parseEffortValue2(options.effort) ?? getStartupEffortValue(resolvedInitialModel),
490946
490906
  effortExplicit: parseEffortValue2(options.effort) !== undefined,
490947
490907
  activeOverlays: new Set,
490948
- ...isAdvisorEnabled() && advisorModel && {
490949
- advisorModel
490950
- },
490951
490908
  teamContext: computeInitialTeamContext2?.()
490952
490909
  };
490953
490910
  if (inputPrompt) {
@@ -491147,9 +491104,6 @@ ${inputPrompt}` : mergePrompt;
491147
491104
  }).version(`${MACRO.VERSION} (AtlasCode)`, "-v, --version", "Output the version number");
491148
491105
  program.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
491149
491106
  program.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
491150
- if (canUserConfigureAdvisor()) {
491151
- program.addOption(new Option("--advisor <model>", "Enable the server-side advisor tool with the specified model (alias or full ID).").hideHelp());
491152
- }
491153
491107
  if (feature("TRANSCRIPT_CLASSIFIER")) {
491154
491108
  program.addOption(new Option("--enable-auto-mode", "Opt in to auto mode").hideHelp());
491155
491109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlasharness/atlascode",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "AtlasCode — Coding Agent for the domestic computing ecosystem (Ascend NPU + domestic LLM backends)",
5
5
  "bin": {
6
6
  "atlas": "dist/cli.js",