@atlaswork/atlascode 0.1.136 → 0.1.138

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "product": "atlascode",
3
- "version": "0.1.136",
3
+ "version": "0.1.138",
4
4
  "runtimeSha256": "9bbb766ae76e5a73f1155a83bd6eda493644fb228b9308e0f45938fb49f43451",
5
5
  "executionSha256": "b14e2ea5946c9e086d65d2debe0de98b0afec83228d887958bcb16a6e867710d"
6
6
  }
package/dist/cli.js CHANGED
@@ -135299,11 +135299,11 @@ var _spSectionCache, _agentColorMap, _invokedSkillsByAgent, _invokedSkillAgentKe
135299
135299
  return;
135300
135300
  _lastInteractionTime = Date.now();
135301
135301
  _interactionTimeDirty = false;
135302
- }, _activeTimeCounter, getActiveTimeCounter = () => _activeTimeCounter, getAdditionalDirectoriesForClaudeMd = () => [], getAgentColorMap = () => _agentColorMap, getAllowedSettingSources = () => ["userSettings"], getBudgetContinuationCount = () => ({}), getCodeEditToolDecisionCounter = () => ({}), getCommitCounter = () => ({}), getCurrentTurnTokenBudget = () => ({}), getDirectConnectServerUrl = () => null, getInitialMainLoopModel = () => {
135302
+ }, _activeTimeCounter, getActiveTimeCounter = () => _activeTimeCounter, getAdditionalDirectoriesForClaudeMd = () => [], getAgentColorMap = () => _agentColorMap, getAllowedSettingSources = () => ["userSettings"], getBudgetContinuationCount = () => ({}), getCodeEditToolDecisionCounter = () => null, getCommitCounter = () => null, getCurrentTurnTokenBudget = () => ({}), getDirectConnectServerUrl = () => null, getInitialMainLoopModel = () => {
135303
135303
  const settings = getSettings_DEPRECATED() || {};
135304
135304
  const defaultRole = settings.defaultRole || "small";
135305
135305
  return getRoleModel(defaultRole) ?? null;
135306
- }, getInlinePlugins = () => ({}), _isRemoteMode = false, getIsRemoteMode = () => _isRemoteMode, getIsScrollDraining = () => ({}), getLastAPIRequest = () => ({}), getLastInteractionTime = () => _lastInteractionTime, _locCounter, getLocCounter = () => _locCounter, _mainLoopModelOverride = undefined, getMainLoopModelOverride = () => _mainLoopModelOverride, getPlanSlugCache = () => new Map, getPrCounter = () => ({}), getPromptId = () => ({}), getRegisteredHooks = () => [], getSdkAgentProgressSummariesEnabled = () => ({}), getSdkBetas = () => [], getSlowOperations = () => [], getTurnClassifierCount = () => _turnClassifierCount, getTurnClassifierDurationMs = () => _turnClassifierDurationMs, getTurnHookCount = () => _turnHookCount, getTurnHookDurationMs = () => _turnHookDurationMs, _turnOutputTokens = 0, getTurnOutputTokens = () => _turnOutputTokens, setTurnOutputTokens = (total) => {
135306
+ }, getInlinePlugins = () => [], _isRemoteMode = false, getIsRemoteMode = () => _isRemoteMode, getIsScrollDraining = () => false, getLastAPIRequest = () => null, getLastInteractionTime = () => _lastInteractionTime, _locCounter, getLocCounter = () => _locCounter, _mainLoopModelOverride = undefined, getMainLoopModelOverride = () => _mainLoopModelOverride, getPlanSlugCache = () => new Map, getPrCounter = () => null, getPromptId = () => null, getRegisteredHooks = () => [], getSdkAgentProgressSummariesEnabled = () => ({}), getSdkBetas = () => [], getSlowOperations = () => [], getTurnClassifierCount = () => _turnClassifierCount, getTurnClassifierDurationMs = () => _turnClassifierDurationMs, getTurnHookCount = () => _turnHookCount, getTurnHookDurationMs = () => _turnHookDurationMs, _turnOutputTokens = 0, getTurnOutputTokens = () => _turnOutputTokens, setTurnOutputTokens = (total) => {
135307
135307
  _turnOutputTokens = total;
135308
135308
  }, getTurnToolCount = () => _turnToolCount, getTurnToolDurationMs = () => _turnToolDurationMs, getUseCoworkPlugins = () => false, handlePlanModeTransition = () => ({}), hasShownLspRecommendationThisSession = () => ({}), markPostCompaction = () => ({}), markScrollActivity = () => ({}), registerHookCallbacks = () => ({}), resetTurnClassifierDuration = () => {
135309
135309
  _turnClassifierDurationMs = 0;
@@ -135332,7 +135332,7 @@ var _spSectionCache, _agentColorMap, _invokedSkillsByAgent, _invokedSkillAgentKe
135332
135332
  _spSectionCache.clear();
135333
135333
  }, getSystemPromptSectionCache = () => _spSectionCache, setSystemPromptSectionCacheEntry = (name, value) => {
135334
135334
  _spSectionCache.set(name, value);
135335
- }, setCachedClaudeMdContent = () => ({}), getLastApiCompletionTimestamp = () => ({}), getPromptCache1hAllowlist = () => null, getPromptCache1hEligible = () => null, setPromptCache1hAllowlist = () => ({}), setPromptCache1hEligible = () => ({}), setLastApiCompletionTimestamp = () => ({}), hasExitedPlanModeInSession = () => ({}), getLastEmittedDate = () => ({}), preferThirdPartyAuthentication = () => ({}), getApiKeyFromFd = () => ({}), getOauthTokenFromFd = () => ({}), setApiKeyFromFd = () => ({}), setOauthTokenFromFd = () => ({}), onSessionSwitch = () => ({}), getSessionCronTasks = () => ({}), removeSessionCronTasks = () => ({}), addSessionCronTask = () => ({}), getCachedClaudeMdContent = () => ({}), setLastClassifierRequests = () => ({}), clearRegisteredPluginHooks = () => ({}), getSessionProjectDir = () => null, getLastMainRequestId = () => ({}), getStatsStore = () => null, getFlagSettingsPath = () => "/tmp/.claude-flags.json", needsPlanModeExitAttachment = () => ({}), needsAutoModeExitAttachment = () => ({}), getScheduledTasksEnabled = () => ({}), _turnHookDurationMs = 0, _turnHookCount = 0, _turnToolDurationMs = 0, _turnToolCount = 0, _turnClassifierDurationMs = 0, _turnClassifierCount = 0, addToTurnHookDuration = (durationMs) => {
135335
+ }, setCachedClaudeMdContent = () => ({}), getLastApiCompletionTimestamp = () => ({}), getPromptCache1hAllowlist = () => null, getPromptCache1hEligible = () => null, setPromptCache1hAllowlist = () => ({}), setPromptCache1hEligible = () => ({}), setLastApiCompletionTimestamp = () => ({}), hasExitedPlanModeInSession = () => ({}), getLastEmittedDate = () => ({}), preferThirdPartyAuthentication = () => ({}), getApiKeyFromFd = () => null, getOauthTokenFromFd = () => null, setApiKeyFromFd = () => ({}), setOauthTokenFromFd = () => ({}), onSessionSwitch = () => ({}), getSessionCronTasks = () => [], removeSessionCronTasks = () => ({}), addSessionCronTask = () => ({}), getCachedClaudeMdContent = () => ({}), setLastClassifierRequests = () => ({}), clearRegisteredPluginHooks = () => ({}), getSessionProjectDir = () => null, getLastMainRequestId = () => ({}), getStatsStore = () => null, getFlagSettingsPath = () => "/tmp/.claude-flags.json", needsPlanModeExitAttachment = () => ({}), needsAutoModeExitAttachment = () => ({}), getScheduledTasksEnabled = () => false, _turnHookDurationMs = 0, _turnHookCount = 0, _turnToolDurationMs = 0, _turnToolCount = 0, _turnClassifierDurationMs = 0, _turnClassifierCount = 0, addToTurnHookDuration = (durationMs) => {
135336
135336
  _turnHookDurationMs += durationMs;
135337
135337
  _turnHookCount++;
135338
135338
  }, setLastAPIRequest = () => ({}), setLastAPIRequestMessages = () => ({}), handleAutoModeTransition = () => ({}), addToTurnClassifierDuration = (durationMs) => {
@@ -135357,57 +135357,6 @@ var init_bootstrapState = __esm(() => {
135357
135357
  };
135358
135358
  });
135359
135359
 
135360
- // src/tui/bootstrapStatePort.ts
135361
- function createKernelBootstrapStatePort() {
135362
- return {
135363
- addInvokedSkill,
135364
- clearInvokedSkillsForAgent,
135365
- getInvokedSkillsForAgent,
135366
- flushInteractionTime,
135367
- getLastInteractionTime,
135368
- updateLastInteractionTime,
135369
- getActiveTimeCounter,
135370
- getAgentColorMap,
135371
- getLocCounter,
135372
- getInitialMainLoopModel,
135373
- getMainLoopModelOverride,
135374
- setMainLoopModelOverride,
135375
- getIsRemoteMode,
135376
- setIsRemoteMode,
135377
- getTurnClassifierCount,
135378
- getTurnClassifierDurationMs,
135379
- getTurnHookCount,
135380
- getTurnHookDurationMs,
135381
- getTurnToolCount,
135382
- getTurnToolDurationMs,
135383
- resetTurnClassifierDuration,
135384
- resetTurnHookDuration,
135385
- resetTurnToolDuration,
135386
- addToTurnHookDuration,
135387
- addToTurnClassifierDuration,
135388
- clearSystemPromptSectionState,
135389
- getSystemPromptSectionCache,
135390
- setSystemPromptSectionCacheEntry
135391
- };
135392
- }
135393
- function createKernelBootstrapNoopSeam() {
135394
- return {
135395
- addSlowOperation: (description, durationMs) => {
135396
- addSlowOperation(description, durationMs);
135397
- },
135398
- waitForScrollIdle: () => waitForScrollIdle(),
135399
- setLastAPIRequest: (params) => {
135400
- setLastAPIRequest(params);
135401
- },
135402
- setLastAPIRequestMessages: (messages) => {
135403
- setLastAPIRequestMessages(messages);
135404
- }
135405
- };
135406
- }
135407
- var init_bootstrapStatePort = __esm(() => {
135408
- init_bootstrapState();
135409
- });
135410
-
135411
135360
  // node_modules/semver/internal/constants.js
135412
135361
  var require_constants = __commonJS(function(exports, module) {
135413
135362
  var SEMVER_SPEC_VERSION = "2.0.0";
@@ -442928,8 +442877,6 @@ function createCoreDependencies2(backendConfig) {
442928
442877
  getOriginalCwd: () => getOriginalCwd(),
442929
442878
  setCwdState: (cwd) => setCwdState(cwd)
442930
442879
  });
442931
- setKernelBootstrapState(createKernelBootstrapStatePort());
442932
- setKernelBootstrapNoopSeam(createKernelBootstrapNoopSeam());
442933
442880
  return {
442934
442881
  modelProvider,
442935
442882
  sandbox,
@@ -442971,7 +442918,6 @@ var init_factory = __esm(() => {
442971
442918
  init_bootstrap();
442972
442919
  init_bootstrapState();
442973
442920
  init_injection();
442974
- init_bootstrapStatePort();
442975
442921
  init_platform3();
442976
442922
  init_configDir();
442977
442923
  init_filesystem2();
@@ -483472,11 +483418,13 @@ async function _temp189() {
483472
483418
  priority: "high"
483473
483419
  };
483474
483420
  }
483475
- var NPM_DEPRECATION_MESSAGE = "AtlasCode is installed via npm (npm install -g @atlasharness/atlascode; run `atlascode` or alias `atlas`). See https://github.com/vincentlau2046/AtlasCode/blob/master/docs/reference/overview.md for install and update options.";
483421
+ var NPM_DEPRECATION_MESSAGE;
483476
483422
  var init_useNpmDeprecationNotification = __esm(() => {
483477
483423
  init_doctorDiagnostic();
483478
483424
  init_envUtils2();
483425
+ init_updateCheck();
483479
483426
  init_useStartupNotification();
483427
+ NPM_DEPRECATION_MESSAGE = `AtlasCode is installed via npm (npm install -g ${UPDATE_PKG_SPEC}; run \`atlascode\` or alias \`atlas\`). See https://github.com/vincentlau2046/AtlasCode/blob/master/docs/reference/overview.md for install and update options.`;
483480
483428
  });
483481
483429
 
483482
483430
  // src/tui/hooks/notifs/useIDEStatusIndicator.tsx
@@ -503151,7 +503099,57 @@ init_shared();
503151
503099
  init_memory();
503152
503100
  init_injection();
503153
503101
  init_executionComposition();
503154
- init_bootstrapStatePort();
503102
+
503103
+ // src/tui/bootstrapStatePort.ts
503104
+ init_bootstrapState();
503105
+ function createKernelBootstrapStatePort() {
503106
+ return {
503107
+ addInvokedSkill,
503108
+ clearInvokedSkillsForAgent,
503109
+ getInvokedSkillsForAgent,
503110
+ flushInteractionTime,
503111
+ getLastInteractionTime,
503112
+ updateLastInteractionTime,
503113
+ getActiveTimeCounter,
503114
+ getAgentColorMap,
503115
+ getLocCounter,
503116
+ getInitialMainLoopModel,
503117
+ getMainLoopModelOverride,
503118
+ setMainLoopModelOverride,
503119
+ getIsRemoteMode,
503120
+ setIsRemoteMode,
503121
+ getTurnClassifierCount,
503122
+ getTurnClassifierDurationMs,
503123
+ getTurnHookCount,
503124
+ getTurnHookDurationMs,
503125
+ getTurnToolCount,
503126
+ getTurnToolDurationMs,
503127
+ resetTurnClassifierDuration,
503128
+ resetTurnHookDuration,
503129
+ resetTurnToolDuration,
503130
+ addToTurnHookDuration,
503131
+ addToTurnClassifierDuration,
503132
+ clearSystemPromptSectionState,
503133
+ getSystemPromptSectionCache,
503134
+ setSystemPromptSectionCacheEntry
503135
+ };
503136
+ }
503137
+ function createKernelBootstrapNoopSeam() {
503138
+ return {
503139
+ addSlowOperation: (description, durationMs) => {
503140
+ addSlowOperation(description, durationMs);
503141
+ },
503142
+ waitForScrollIdle: () => waitForScrollIdle(),
503143
+ setLastAPIRequest: (params) => {
503144
+ setLastAPIRequest(params);
503145
+ },
503146
+ setLastAPIRequestMessages: (messages) => {
503147
+ setLastAPIRequestMessages(messages);
503148
+ }
503149
+ };
503150
+ }
503151
+
503152
+ // src/atlascode/compose.ts
503155
503153
  init_executor();
503156
503154
  init_permissions3();
503157
503155
  init_task2();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaswork/atlascode",
3
- "version": "0.1.136",
3
+ "version": "0.1.138",
4
4
  "description": "AtlasCode — Coding Agent for the domestic computing ecosystem (Ascend NPU + domestic LLM backends)",
5
5
  "homepage": "https://www.atlaswork.cn/",
6
6
  "bin": {