@vionwilliams/agent-os 1.0.0-alpha.26 → 1.0.0-alpha.28
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.js +100 -90
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3297,8 +3297,18 @@ var init_debugFilter = __esm(() => {
|
|
|
3297
3297
|
// src/utils/envUtils.ts
|
|
3298
3298
|
import { homedir } from "os";
|
|
3299
3299
|
import { join } from "path";
|
|
3300
|
+
function applyAgentOSEnvAliases() {
|
|
3301
|
+
for (const [agentOSKey, legacyKey] of Object.entries(AGENT_OS_ENV_ALIASES)) {
|
|
3302
|
+
if (process.env[agentOSKey] !== undefined) {
|
|
3303
|
+
process.env[legacyKey] = process.env[agentOSKey];
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
function getEnvWithLegacyFallback(agentOSKey, legacyKey) {
|
|
3308
|
+
return process.env[agentOSKey] ?? process.env[legacyKey];
|
|
3309
|
+
}
|
|
3300
3310
|
function getTeamsDir() {
|
|
3301
|
-
return join(
|
|
3311
|
+
return join(getAgentOSConfigHomeDir(), "teams");
|
|
3302
3312
|
}
|
|
3303
3313
|
function hasNodeOption(flag) {
|
|
3304
3314
|
const nodeOptions = process.env.NODE_OPTIONS;
|
|
@@ -3326,7 +3336,7 @@ function isEnvDefinedFalsy(envVar) {
|
|
|
3326
3336
|
return ["0", "false", "no", "off"].includes(normalizedValue);
|
|
3327
3337
|
}
|
|
3328
3338
|
function isBareMode() {
|
|
3329
|
-
return isEnvTruthy(
|
|
3339
|
+
return isEnvTruthy(getEnvWithLegacyFallback("AGENT_OS_SIMPLE", "CLAUDE_CODE_SIMPLE")) || process.argv.includes("--bare");
|
|
3330
3340
|
}
|
|
3331
3341
|
function parseEnvVars(rawEnvArgs) {
|
|
3332
3342
|
const parsedEnv = {};
|
|
@@ -3348,7 +3358,7 @@ function getDefaultVertexRegion() {
|
|
|
3348
3358
|
return process.env.CLOUD_ML_REGION || "us-east5";
|
|
3349
3359
|
}
|
|
3350
3360
|
function shouldMaintainProjectWorkingDir() {
|
|
3351
|
-
return isEnvTruthy(
|
|
3361
|
+
return isEnvTruthy(getEnvWithLegacyFallback("AGENT_OS_BASH_MAINTAIN_PROJECT_WORKING_DIR", "CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR"));
|
|
3352
3362
|
}
|
|
3353
3363
|
function isRunningOnHomespace() {
|
|
3354
3364
|
return process.env.USER_TYPE === "ant" && isEnvTruthy(process.env.COO_RUNNING_ON_HOMESPACE);
|
|
@@ -3362,12 +3372,26 @@ function getVertexRegionForModel(model) {
|
|
|
3362
3372
|
}
|
|
3363
3373
|
return getDefaultVertexRegion();
|
|
3364
3374
|
}
|
|
3365
|
-
var getClaudeConfigHomeDir, VERTEX_REGION_OVERRIDES;
|
|
3375
|
+
var AGENT_OS_ENV_ALIASES, getAgentOSConfigHomeDir, getClaudeConfigHomeDir, VERTEX_REGION_OVERRIDES;
|
|
3366
3376
|
var init_envUtils = __esm(() => {
|
|
3367
3377
|
init_memoize();
|
|
3368
|
-
|
|
3378
|
+
AGENT_OS_ENV_ALIASES = {
|
|
3379
|
+
AGENT_OS_USE_BEDROCK: "CLAUDE_CODE_USE_BEDROCK",
|
|
3380
|
+
AGENT_OS_SKIP_BEDROCK_AUTH: "CLAUDE_CODE_SKIP_BEDROCK_AUTH",
|
|
3381
|
+
AGENT_OS_USE_VERTEX: "CLAUDE_CODE_USE_VERTEX",
|
|
3382
|
+
AGENT_OS_SKIP_VERTEX_AUTH: "CLAUDE_CODE_SKIP_VERTEX_AUTH",
|
|
3383
|
+
AGENT_OS_USE_FOUNDRY: "CLAUDE_CODE_USE_FOUNDRY",
|
|
3384
|
+
AGENT_OS_SKIP_FOUNDRY_AUTH: "CLAUDE_CODE_SKIP_FOUNDRY_AUTH",
|
|
3385
|
+
AGENT_OS_SIMPLE: "CLAUDE_CODE_SIMPLE",
|
|
3386
|
+
AGENT_OS_MAX_OUTPUT_TOKENS: "CLAUDE_CODE_MAX_OUTPUT_TOKENS",
|
|
3387
|
+
AGENT_OS_EFFORT_LEVEL: "CLAUDE_CODE_EFFORT_LEVEL",
|
|
3388
|
+
AGENT_OS_BASH_MAINTAIN_PROJECT_WORKING_DIR: "CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR"
|
|
3389
|
+
};
|
|
3390
|
+
applyAgentOSEnvAliases();
|
|
3391
|
+
getAgentOSConfigHomeDir = memoize_default(() => {
|
|
3369
3392
|
return (process.env.AGENT_OS_CONFIG_DIR ?? process.env.CLAUDE_CONFIG_DIR ?? join(homedir(), ".agent-os")).normalize("NFC");
|
|
3370
3393
|
}, () => `${process.env.AGENT_OS_CONFIG_DIR ?? ""}::${process.env.CLAUDE_CONFIG_DIR ?? ""}`);
|
|
3394
|
+
getClaudeConfigHomeDir = getAgentOSConfigHomeDir;
|
|
3371
3395
|
VERTEX_REGION_OVERRIDES = [
|
|
3372
3396
|
["claude-haiku-4-5", "VERTEX_REGION_CLAUDE_HAIKU_4_5"],
|
|
3373
3397
|
["claude-3-5-haiku", "VERTEX_REGION_CLAUDE_3_5_HAIKU"],
|
|
@@ -93314,7 +93338,7 @@ var init_system = __esm(() => {
|
|
|
93314
93338
|
AGENT_SDK_CLAUDE_CODE_PRESET_PREFIX,
|
|
93315
93339
|
AGENT_SDK_PREFIX
|
|
93316
93340
|
];
|
|
93317
|
-
AGENT_OS_VERSION = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93341
|
+
AGENT_OS_VERSION = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "dev";
|
|
93318
93342
|
CLI_SYSPROMPT_PREFIXES = new Set(CLI_SYSPROMPT_PREFIX_VALUES);
|
|
93319
93343
|
});
|
|
93320
93344
|
|
|
@@ -93758,7 +93782,7 @@ function getClaudeCodeUserAgent() {
|
|
|
93758
93782
|
}
|
|
93759
93783
|
var AGENT_OS_VERSION2;
|
|
93760
93784
|
var init_userAgent = __esm(() => {
|
|
93761
|
-
AGENT_OS_VERSION2 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93785
|
+
AGENT_OS_VERSION2 = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "dev";
|
|
93762
93786
|
});
|
|
93763
93787
|
|
|
93764
93788
|
// src/utils/http.ts
|
|
@@ -93839,7 +93863,7 @@ var init_http2 = __esm(() => {
|
|
|
93839
93863
|
init_auth();
|
|
93840
93864
|
init_userAgent();
|
|
93841
93865
|
init_workloadContext();
|
|
93842
|
-
AGENT_OS_VERSION3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93866
|
+
AGENT_OS_VERSION3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "dev";
|
|
93843
93867
|
});
|
|
93844
93868
|
|
|
93845
93869
|
// src/services/api/router/userProviders.ts
|
|
@@ -207177,7 +207201,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
207177
207201
|
init_settings2();
|
|
207178
207202
|
init_slowOperations();
|
|
207179
207203
|
init_uuid();
|
|
207180
|
-
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
207204
|
+
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "unknown";
|
|
207181
207205
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
207182
207206
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
207183
207207
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -207307,7 +207331,7 @@ function Feedback({
|
|
|
207307
207331
|
platform: env3.platform,
|
|
207308
207332
|
gitRepo: envInfo.isGit,
|
|
207309
207333
|
terminal: env3.terminal,
|
|
207310
|
-
version: "1.0.0-alpha.
|
|
207334
|
+
version: "1.0.0-alpha.28",
|
|
207311
207335
|
transcript: normalizeMessagesForAPI(messages),
|
|
207312
207336
|
errors: sanitizedErrors,
|
|
207313
207337
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -207491,7 +207515,7 @@ function Feedback({
|
|
|
207491
207515
|
", ",
|
|
207492
207516
|
env3.terminal,
|
|
207493
207517
|
", v",
|
|
207494
|
-
"1.0.0-alpha.
|
|
207518
|
+
"1.0.0-alpha.28"
|
|
207495
207519
|
]
|
|
207496
207520
|
})
|
|
207497
207521
|
]
|
|
@@ -207597,7 +207621,7 @@ ${sanitizedDescription}
|
|
|
207597
207621
|
` + `**Environment Info**
|
|
207598
207622
|
` + `- Platform: ${env3.platform}
|
|
207599
207623
|
` + `- Terminal: ${env3.terminal}
|
|
207600
|
-
` + `- Version: ${"1.0.0-alpha.
|
|
207624
|
+
` + `- Version: ${"1.0.0-alpha.28"}
|
|
207601
207625
|
` + `- Feedback ID: ${feedbackId}
|
|
207602
207626
|
` + `
|
|
207603
207627
|
**Errors**
|
|
@@ -259439,7 +259463,7 @@ var init_loadAgentsDir = __esm(() => {
|
|
|
259439
259463
|
}));
|
|
259440
259464
|
AgentsJsonSchema = lazySchema(() => exports_external.record(exports_external.string(), AgentJsonSchema()));
|
|
259441
259465
|
getAgentDefinitionsWithOverrides = memoize_default(async (cwd2) => {
|
|
259442
|
-
if (
|
|
259466
|
+
if (isBareMode()) {
|
|
259443
259467
|
const builtInAgents = getBuiltInAgents();
|
|
259444
259468
|
return {
|
|
259445
259469
|
activeAgents: builtInAgents,
|
|
@@ -259982,8 +260006,8 @@ var init_toolAnalytics = __esm(() => {
|
|
|
259982
260006
|
init_agentContext();
|
|
259983
260007
|
init_slowOperations();
|
|
259984
260008
|
init_teammate();
|
|
259985
|
-
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
259986
|
-
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-
|
|
260009
|
+
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "dev";
|
|
260010
|
+
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-25T15:42:31Z" : undefined;
|
|
259987
260011
|
BUILTIN_MCP_SERVER_NAMES = new Set([]);
|
|
259988
260012
|
TOOL_INPUT_MAX_JSON_CHARS = 4 * 1024;
|
|
259989
260013
|
FILE_COMMANDS = new Set([
|
|
@@ -270169,14 +270193,8 @@ function getProjectSkillsPath() {
|
|
|
270169
270193
|
function getProjectSkillsPathForRoot(root2) {
|
|
270170
270194
|
return join64(root2, ".agent-os", "skills");
|
|
270171
270195
|
}
|
|
270172
|
-
function getLegacyProjectSkillsPathForRoot(root2) {
|
|
270173
|
-
return join64(root2, ".claude", "skills");
|
|
270174
|
-
}
|
|
270175
270196
|
function getAdditionalSkillsPaths(root2) {
|
|
270176
|
-
return [
|
|
270177
|
-
getProjectSkillsPathForRoot(root2),
|
|
270178
|
-
getLegacyProjectSkillsPathForRoot(root2)
|
|
270179
|
-
];
|
|
270197
|
+
return [getProjectSkillsPathForRoot(root2)];
|
|
270180
270198
|
}
|
|
270181
270199
|
function getContainingProjectSkillsRoot(filePath, cwd2) {
|
|
270182
270200
|
const relativePath = relative8(cwd2, filePath);
|
|
@@ -270188,7 +270206,7 @@ function getContainingProjectSkillsRoot(filePath, cwd2) {
|
|
|
270188
270206
|
const configDir = parts[i4];
|
|
270189
270207
|
const skillsDir = parts[i4 + 1];
|
|
270190
270208
|
const skillName = parts[i4 + 2];
|
|
270191
|
-
if (
|
|
270209
|
+
if (configDir === ".agent-os" && skillsDir === "skills" && skillName) {
|
|
270192
270210
|
return join64(cwd2, ...parts.slice(0, i4 + 2));
|
|
270193
270211
|
}
|
|
270194
270212
|
}
|
|
@@ -270197,11 +270215,11 @@ function getContainingProjectSkillsRoot(filePath, cwd2) {
|
|
|
270197
270215
|
function getSkillsPath(source, dir) {
|
|
270198
270216
|
switch (source) {
|
|
270199
270217
|
case "policySettings":
|
|
270200
|
-
return join64(getManagedFilePath(),
|
|
270218
|
+
return join64(getManagedFilePath(), dir);
|
|
270201
270219
|
case "userSettings":
|
|
270202
|
-
return join64(
|
|
270220
|
+
return join64(getAgentOSConfigHomeDir(), dir);
|
|
270203
270221
|
case "projectSettings":
|
|
270204
|
-
return dir === "skills" ? getProjectSkillsPath() :
|
|
270222
|
+
return dir === "skills" ? getProjectSkillsPath() : join64(".agent-os", dir);
|
|
270205
270223
|
case "plugin":
|
|
270206
270224
|
return "plugin";
|
|
270207
270225
|
default:
|
|
@@ -270530,10 +270548,7 @@ async function discoverSkillDirsForPaths(filePaths, cwd2) {
|
|
|
270530
270548
|
}
|
|
270531
270549
|
let currentDir = dirname27(filePath);
|
|
270532
270550
|
while (currentDir.startsWith(resolvedCwd + pathSep)) {
|
|
270533
|
-
const skillDirs = [
|
|
270534
|
-
getProjectSkillsPathForRoot(currentDir),
|
|
270535
|
-
getLegacyProjectSkillsPathForRoot(currentDir)
|
|
270536
|
-
];
|
|
270551
|
+
const skillDirs = [getProjectSkillsPathForRoot(currentDir)];
|
|
270537
270552
|
for (const skillDir of skillDirs) {
|
|
270538
270553
|
if (dynamicSkillDirs.has(skillDir)) {
|
|
270539
270554
|
continue;
|
|
@@ -270643,8 +270658,8 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
270643
270658
|
init_types3();
|
|
270644
270659
|
import_ignore3 = __toESM(require_ignore(), 1);
|
|
270645
270660
|
getSkillDirCommands = memoize_default(async (cwd2) => {
|
|
270646
|
-
const userSkillsDir = join64(
|
|
270647
|
-
const managedSkillsDir =
|
|
270661
|
+
const userSkillsDir = join64(getAgentOSConfigHomeDir(), "skills");
|
|
270662
|
+
const managedSkillsDir = getSkillsPath("policySettings", "skills");
|
|
270648
270663
|
const projectSkillsDirs = getProjectDirsUpToHome("skills", cwd2);
|
|
270649
270664
|
logForDebugging(`Loading skills from: managed=${managedSkillsDir}, user=${userSkillsDir}, project=[${projectSkillsDirs.join(", ")}]`);
|
|
270650
270665
|
const additionalDirs = getAdditionalDirectoriesForClaudeMd();
|
|
@@ -270663,7 +270678,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
270663
270678
|
userSkills,
|
|
270664
270679
|
projectSkillsNested,
|
|
270665
270680
|
additionalSkillsNested,
|
|
270666
|
-
|
|
270681
|
+
commandSkills
|
|
270667
270682
|
] = await Promise.all([
|
|
270668
270683
|
isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_POLICY_SKILLS) ? Promise.resolve([]) : loadSkillsFromSkillsDir(managedSkillsDir, "policySettings"),
|
|
270669
270684
|
isSettingSourceEnabled("userSettings") && !skillsLocked ? loadSkillsFromSkillsDir(userSkillsDir, "userSettings") : Promise.resolve([]),
|
|
@@ -270676,7 +270691,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
270676
270691
|
...userSkills,
|
|
270677
270692
|
...projectSkillsNested.flat(),
|
|
270678
270693
|
...additionalSkillsNested.flat(),
|
|
270679
|
-
...
|
|
270694
|
+
...commandSkills
|
|
270680
270695
|
];
|
|
270681
270696
|
const fileIds = await Promise.all(allSkillsWithPaths.map(({ skill, filePath }) => skill.type === "prompt" ? getFileIdentity(filePath) : Promise.resolve(null)));
|
|
270682
270697
|
const seenFileIds = new Map;
|
|
@@ -270718,7 +270733,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
270718
270733
|
if (newConditionalSkills.length > 0) {
|
|
270719
270734
|
logForDebugging(`[skills] ${newConditionalSkills.length} conditional skills stored (activated when matching files are touched)`);
|
|
270720
270735
|
}
|
|
270721
|
-
logForDebugging(`Loaded ${deduplicatedSkills.length} unique skills (${unconditionalSkills.length} unconditional, ${newConditionalSkills.length} conditional, managed: ${managedSkills.length}, user: ${userSkills.length}, project: ${projectSkillsNested.flat().length}, additional: ${additionalSkillsNested.flat().length},
|
|
270736
|
+
logForDebugging(`Loaded ${deduplicatedSkills.length} unique skills (${unconditionalSkills.length} unconditional, ${newConditionalSkills.length} conditional, managed: ${managedSkills.length}, user: ${userSkills.length}, project: ${projectSkillsNested.flat().length}, additional: ${additionalSkillsNested.flat().length}, commands: ${commandSkills.length})`);
|
|
270722
270737
|
return unconditionalSkills;
|
|
270723
270738
|
});
|
|
270724
270739
|
dynamicSkillDirs = new Set;
|
|
@@ -274630,7 +274645,7 @@ function getInstallationEnv() {
|
|
|
274630
274645
|
return;
|
|
274631
274646
|
}
|
|
274632
274647
|
function getClaudeCodeVersion() {
|
|
274633
|
-
return "1.0.0-alpha.
|
|
274648
|
+
return "1.0.0-alpha.28";
|
|
274634
274649
|
}
|
|
274635
274650
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
274636
274651
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -297348,7 +297363,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
297348
297363
|
const client = new Client({
|
|
297349
297364
|
name: "claude-code",
|
|
297350
297365
|
title: "Agent-OS",
|
|
297351
|
-
version: "1.0.0-alpha.
|
|
297366
|
+
version: "1.0.0-alpha.28",
|
|
297352
297367
|
description: "Anthropic's agentic coding tool",
|
|
297353
297368
|
websiteUrl: PRODUCT_URL
|
|
297354
297369
|
}, {
|
|
@@ -297701,7 +297716,7 @@ var init_client4 = __esm(() => {
|
|
|
297701
297716
|
const client = new Client({
|
|
297702
297717
|
name: "claude-code",
|
|
297703
297718
|
title: "Agent-OS",
|
|
297704
|
-
version: "1.0.0-alpha.
|
|
297719
|
+
version: "1.0.0-alpha.28",
|
|
297705
297720
|
description: "Anthropic's agentic coding tool",
|
|
297706
297721
|
websiteUrl: PRODUCT_URL
|
|
297707
297722
|
}, {
|
|
@@ -385153,7 +385168,7 @@ function resolveProjectRoot(cwd2) {
|
|
|
385153
385168
|
return findGitRoot(base2) ?? base2;
|
|
385154
385169
|
}
|
|
385155
385170
|
function projectAgentsDir(cwd2) {
|
|
385156
|
-
return path18.join(resolveProjectRoot(cwd2), ".
|
|
385171
|
+
return path18.join(resolveProjectRoot(cwd2), ".agent-os", "agents");
|
|
385157
385172
|
}
|
|
385158
385173
|
function projectAgentPath(agentType, cwd2) {
|
|
385159
385174
|
return path18.join(projectAgentsDir(cwd2), `${agentType}.md`);
|
|
@@ -385310,7 +385325,7 @@ async function syncStudioAgent(agentType, cwd2, eventType) {
|
|
|
385310
385325
|
const activeAgents = getActiveAgentsFromList(allAgents);
|
|
385311
385326
|
const synced = syncAgentProfilesFromDefinitions(activeAgents, {
|
|
385312
385327
|
markMissingAsDeprecated: true,
|
|
385313
|
-
deprecationSourcePathPrefix: path18.join(projectRoot, ".
|
|
385328
|
+
deprecationSourcePathPrefix: path18.join(projectRoot, ".agent-os", "agents")
|
|
385314
385329
|
});
|
|
385315
385330
|
const profile = getAgentProfileByType(agentType);
|
|
385316
385331
|
if (!profile) {
|
|
@@ -416583,7 +416598,7 @@ function getInvokedBinary() {
|
|
|
416583
416598
|
async function getDoctorDiagnostic() {
|
|
416584
416599
|
return {
|
|
416585
416600
|
installationType: "package-manager",
|
|
416586
|
-
version: "1.0.0-alpha.
|
|
416601
|
+
version: "1.0.0-alpha.28",
|
|
416587
416602
|
installationPath: process.argv[1] ?? "",
|
|
416588
416603
|
invokedBinary: getInvokedBinary(),
|
|
416589
416604
|
configInstallMethod: "not set",
|
|
@@ -416988,7 +417003,7 @@ function buildPrimarySection() {
|
|
|
416988
417003
|
});
|
|
416989
417004
|
return [{
|
|
416990
417005
|
label: "Version",
|
|
416991
|
-
value: "1.0.0-alpha.
|
|
417006
|
+
value: "1.0.0-alpha.28"
|
|
416992
417007
|
}, {
|
|
416993
417008
|
label: "Session name",
|
|
416994
417009
|
value: nameValue
|
|
@@ -420631,7 +420646,7 @@ function Config({
|
|
|
420631
420646
|
}
|
|
420632
420647
|
})
|
|
420633
420648
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime170.jsx(ChannelDowngradeDialog, {
|
|
420634
|
-
currentVersion: "1.0.0-alpha.
|
|
420649
|
+
currentVersion: "1.0.0-alpha.28",
|
|
420635
420650
|
onChoice: (choice) => {
|
|
420636
420651
|
setShowSubmenu(null);
|
|
420637
420652
|
setTabsHidden(false);
|
|
@@ -420643,7 +420658,7 @@ function Config({
|
|
|
420643
420658
|
autoUpdatesChannel: "stable"
|
|
420644
420659
|
};
|
|
420645
420660
|
if (choice === "stay") {
|
|
420646
|
-
newSettings.minimumVersion = "1.0.0-alpha.
|
|
420661
|
+
newSettings.minimumVersion = "1.0.0-alpha.28";
|
|
420647
420662
|
}
|
|
420648
420663
|
updateSettingsForSource("userSettings", newSettings);
|
|
420649
420664
|
setSettingsData((prev_27) => ({
|
|
@@ -428634,7 +428649,7 @@ function HelpV2(t0) {
|
|
|
428634
428649
|
let t6;
|
|
428635
428650
|
if ($3[31] !== tabs) {
|
|
428636
428651
|
t6 = /* @__PURE__ */ jsx_runtime196.jsx(Tabs, {
|
|
428637
|
-
title: `Agent-OS v${"1.0.0-alpha.
|
|
428652
|
+
title: `Agent-OS v${"1.0.0-alpha.28"}`,
|
|
428638
428653
|
color: "professionalBlue",
|
|
428639
428654
|
defaultTab: "general",
|
|
428640
428655
|
children: tabs
|
|
@@ -431762,7 +431777,7 @@ var init_user = __esm(() => {
|
|
|
431762
431777
|
deviceId,
|
|
431763
431778
|
sessionId: getSessionId(),
|
|
431764
431779
|
email: getEmail(),
|
|
431765
|
-
appVersion: "1.0.0-alpha.
|
|
431780
|
+
appVersion: "1.0.0-alpha.28",
|
|
431766
431781
|
platform: getHostPlatformForAnalytics(),
|
|
431767
431782
|
organizationUuid,
|
|
431768
431783
|
accountUuid,
|
|
@@ -452013,7 +452028,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
452013
452028
|
return [];
|
|
452014
452029
|
}
|
|
452015
452030
|
}
|
|
452016
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
452031
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.28") {
|
|
452017
452032
|
if (process.env.USER_TYPE === "ant") {
|
|
452018
452033
|
const changelog = "";
|
|
452019
452034
|
if (changelog) {
|
|
@@ -452040,7 +452055,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alp
|
|
|
452040
452055
|
releaseNotes
|
|
452041
452056
|
};
|
|
452042
452057
|
}
|
|
452043
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
452058
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.28") {
|
|
452044
452059
|
if (process.env.USER_TYPE === "ant") {
|
|
452045
452060
|
const changelog = "";
|
|
452046
452061
|
if (changelog) {
|
|
@@ -453167,7 +453182,7 @@ function getRecentActivitySync() {
|
|
|
453167
453182
|
return cachedActivity;
|
|
453168
453183
|
}
|
|
453169
453184
|
function getLogoDisplayData() {
|
|
453170
|
-
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.
|
|
453185
|
+
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.28";
|
|
453171
453186
|
const serverUrl = getDirectConnectServerUrl();
|
|
453172
453187
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
453173
453188
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454382,7 +454397,7 @@ function LogoV2() {
|
|
|
454382
454397
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454383
454398
|
t2 = () => {
|
|
454384
454399
|
const currentConfig = getGlobalConfig();
|
|
454385
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454400
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.28") {
|
|
454386
454401
|
return;
|
|
454387
454402
|
}
|
|
454388
454403
|
saveGlobalConfig(_temp328);
|
|
@@ -455048,12 +455063,12 @@ function AgentOsPoster() {
|
|
|
455048
455063
|
});
|
|
455049
455064
|
}
|
|
455050
455065
|
function _temp328(current) {
|
|
455051
|
-
if (current.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
455066
|
+
if (current.lastReleaseNotesSeen === "1.0.0-alpha.28") {
|
|
455052
455067
|
return current;
|
|
455053
455068
|
}
|
|
455054
455069
|
return {
|
|
455055
455070
|
...current,
|
|
455056
|
-
lastReleaseNotesSeen: "1.0.0-alpha.
|
|
455071
|
+
lastReleaseNotesSeen: "1.0.0-alpha.28"
|
|
455057
455072
|
};
|
|
455058
455073
|
}
|
|
455059
455074
|
function _temp245(s_0) {
|
|
@@ -475457,7 +475472,7 @@ var init_agentDisplay = __esm(() => {
|
|
|
475457
475472
|
var AGENT_PATHS;
|
|
475458
475473
|
var init_types20 = __esm(() => {
|
|
475459
475474
|
AGENT_PATHS = {
|
|
475460
|
-
FOLDER_NAME: ".
|
|
475475
|
+
FOLDER_NAME: ".agent-os",
|
|
475461
475476
|
AGENTS_DIR: "agents"
|
|
475462
475477
|
};
|
|
475463
475478
|
});
|
|
@@ -475491,7 +475506,7 @@ function getAgentDirectoryPath(location) {
|
|
|
475491
475506
|
case "flagSettings":
|
|
475492
475507
|
throw new Error(`Cannot get directory path for ${location} agents`);
|
|
475493
475508
|
case "userSettings":
|
|
475494
|
-
return join129(
|
|
475509
|
+
return join129(getAgentOSConfigHomeDir(), AGENT_PATHS.AGENTS_DIR);
|
|
475495
475510
|
case "projectSettings":
|
|
475496
475511
|
return join129(getCwd(), AGENT_PATHS.FOLDER_NAME, AGENT_PATHS.AGENTS_DIR);
|
|
475497
475512
|
case "policySettings":
|
|
@@ -481630,7 +481645,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481630
481645
|
smapsRollup,
|
|
481631
481646
|
platform: process.platform,
|
|
481632
481647
|
nodeVersion: process.version,
|
|
481633
|
-
ccVersion: "1.0.0-alpha.
|
|
481648
|
+
ccVersion: "1.0.0-alpha.28"
|
|
481634
481649
|
};
|
|
481635
481650
|
}
|
|
481636
481651
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -482203,7 +482218,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
482203
482218
|
var call58 = async () => {
|
|
482204
482219
|
return {
|
|
482205
482220
|
type: "text",
|
|
482206
|
-
value: `${"1.0.0-alpha.
|
|
482221
|
+
value: `${"1.0.0-alpha.28"} (built ${"2026-05-25T15:42:31Z"})`
|
|
482207
482222
|
};
|
|
482208
482223
|
}, version2, version_default;
|
|
482209
482224
|
var init_version = __esm(() => {
|
|
@@ -491695,7 +491710,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491695
491710
|
</html>`;
|
|
491696
491711
|
}
|
|
491697
491712
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491698
|
-
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
491713
|
+
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "unknown";
|
|
491699
491714
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
491700
491715
|
const facets_summary = {
|
|
491701
491716
|
total: facets.size,
|
|
@@ -508970,13 +508985,10 @@ import { lstat as lstat4, readdir as readdir27, readFile as readFile49, realpath
|
|
|
508970
508985
|
import { homedir as homedir33 } from "os";
|
|
508971
508986
|
import { dirname as dirname59, join as join143, resolve as resolve46, sep as sep33 } from "path";
|
|
508972
508987
|
function getProjectConfigSubdirCandidates(root3, subdir) {
|
|
508973
|
-
if (subdir === "skills") {
|
|
508974
|
-
return [
|
|
508975
|
-
join143(root3, ".agent-os", subdir),
|
|
508976
|
-
join143(root3, ".claude", subdir)
|
|
508977
|
-
];
|
|
508988
|
+
if (subdir === "agents" || subdir === "skills" || subdir === "commands") {
|
|
508989
|
+
return [join143(root3, ".agent-os", subdir)];
|
|
508978
508990
|
}
|
|
508979
|
-
return [join143(root3, ".claude", subdir)];
|
|
508991
|
+
return [join143(root3, ".agent-os", subdir), join143(root3, ".claude", subdir)];
|
|
508980
508992
|
}
|
|
508981
508993
|
function extractDescriptionFromMarkdown(content, defaultDescription = "Custom item") {
|
|
508982
508994
|
const lines2 = content.split(`
|
|
@@ -509188,7 +509200,7 @@ async function loadMarkdownFiles(dir) {
|
|
|
509188
509200
|
}));
|
|
509189
509201
|
return results.filter((_) => _ !== null);
|
|
509190
509202
|
}
|
|
509191
|
-
var CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir;
|
|
509203
|
+
var AGENT_OS_CONFIG_DIRECTORIES, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir;
|
|
509192
509204
|
var init_markdownConfigLoader = __esm(() => {
|
|
509193
509205
|
init_memoize();
|
|
509194
509206
|
init_state();
|
|
@@ -509203,7 +509215,7 @@ var init_markdownConfigLoader = __esm(() => {
|
|
|
509203
509215
|
init_constants2();
|
|
509204
509216
|
init_managedPath();
|
|
509205
509217
|
init_pluginOnlyPolicy();
|
|
509206
|
-
|
|
509218
|
+
AGENT_OS_CONFIG_DIRECTORIES = [
|
|
509207
509219
|
"commands",
|
|
509208
509220
|
"agents",
|
|
509209
509221
|
"output-styles",
|
|
@@ -509211,10 +509223,11 @@ var init_markdownConfigLoader = __esm(() => {
|
|
|
509211
509223
|
"workflows",
|
|
509212
509224
|
...[]
|
|
509213
509225
|
];
|
|
509226
|
+
CLAUDE_CONFIG_DIRECTORIES = AGENT_OS_CONFIG_DIRECTORIES;
|
|
509214
509227
|
loadMarkdownFilesForSubdir = memoize_default(async function(subdir, cwd2) {
|
|
509215
509228
|
const searchStartTime = Date.now();
|
|
509216
|
-
const userDir = join143(
|
|
509217
|
-
const managedDir = join143(getManagedFilePath(), ".claude", subdir);
|
|
509229
|
+
const userDir = join143(getAgentOSConfigHomeDir(), subdir);
|
|
509230
|
+
const managedDir = subdir === "agents" || subdir === "skills" || subdir === "commands" ? join143(getManagedFilePath(), subdir) : join143(getManagedFilePath(), ".claude", subdir);
|
|
509218
509231
|
const projectDirs = getProjectDirsUpToHome(subdir, cwd2);
|
|
509219
509232
|
const gitRoot = findGitRoot(cwd2);
|
|
509220
509233
|
const canonicalRoot = findCanonicalGitRoot(cwd2);
|
|
@@ -516027,7 +516040,7 @@ var init_filesystem = __esm(() => {
|
|
|
516027
516040
|
});
|
|
516028
516041
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
516029
516042
|
const nonce = randomBytes18(16).toString("hex");
|
|
516030
|
-
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.
|
|
516043
|
+
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.28", nonce);
|
|
516031
516044
|
});
|
|
516032
516045
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
516033
516046
|
});
|
|
@@ -521957,7 +521970,7 @@ function computeFingerprintFromMessages(messages) {
|
|
|
521957
521970
|
}
|
|
521958
521971
|
var AGENT_OS_VERSION5, FINGERPRINT_SALT = "59cf53e54c78";
|
|
521959
521972
|
var init_fingerprint = __esm(() => {
|
|
521960
|
-
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
521973
|
+
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.28" : "dev";
|
|
521961
521974
|
});
|
|
521962
521975
|
|
|
521963
521976
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -523711,7 +523724,7 @@ async function sideQuery(opts) {
|
|
|
523711
523724
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
523712
523725
|
}
|
|
523713
523726
|
const messageText = extractFirstUserMessageText(messages);
|
|
523714
|
-
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.
|
|
523727
|
+
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.28");
|
|
523715
523728
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
523716
523729
|
const systemBlocks = [
|
|
523717
523730
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -525630,7 +525643,7 @@ function appendToLog(path24, message) {
|
|
|
525630
525643
|
cwd: getFsImplementation().cwd(),
|
|
525631
525644
|
userType: process.env.USER_TYPE,
|
|
525632
525645
|
sessionId: getSessionId(),
|
|
525633
|
-
version: "1.0.0-alpha.
|
|
525646
|
+
version: "1.0.0-alpha.28"
|
|
525634
525647
|
};
|
|
525635
525648
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
525636
525649
|
}
|
|
@@ -528608,7 +528621,7 @@ function getTelemetryAttributes() {
|
|
|
528608
528621
|
attributes["session.id"] = sessionId;
|
|
528609
528622
|
}
|
|
528610
528623
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
528611
|
-
attributes["app.version"] = "1.0.0-alpha.
|
|
528624
|
+
attributes["app.version"] = "1.0.0-alpha.28";
|
|
528612
528625
|
}
|
|
528613
528626
|
if (envDynamic.terminal) {
|
|
528614
528627
|
attributes["terminal.type"] = envDynamic.terminal;
|
|
@@ -538752,7 +538765,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538752
538765
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
538753
538766
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538754
538767
|
betas: getSdkBetas(),
|
|
538755
|
-
claude_code_version: "1.0.0-alpha.
|
|
538768
|
+
claude_code_version: "1.0.0-alpha.28",
|
|
538756
538769
|
output_style: outputStyle2,
|
|
538757
538770
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538758
538771
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -561221,7 +561234,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
561221
561234
|
project_dir: getOriginalCwd(),
|
|
561222
561235
|
added_dirs: addedDirs
|
|
561223
561236
|
},
|
|
561224
|
-
version: "1.0.0-alpha.
|
|
561237
|
+
version: "1.0.0-alpha.28",
|
|
561225
561238
|
output_style: {
|
|
561226
561239
|
name: outputStyleName
|
|
561227
561240
|
},
|
|
@@ -570751,10 +570764,7 @@ async function getWatchablePaths() {
|
|
|
570751
570764
|
} catch {}
|
|
570752
570765
|
}
|
|
570753
570766
|
for (const dir of getAdditionalDirectoriesForClaudeMd()) {
|
|
570754
|
-
for (const additionalSkillsPath of [
|
|
570755
|
-
platformPath2.join(dir, ".agent-os", "skills"),
|
|
570756
|
-
platformPath2.join(dir, ".claude", "skills")
|
|
570757
|
-
]) {
|
|
570767
|
+
for (const additionalSkillsPath of [platformPath2.join(dir, ".agent-os", "skills")]) {
|
|
570758
570768
|
try {
|
|
570759
570769
|
await fs11.stat(additionalSkillsPath);
|
|
570760
570770
|
paths2.push(additionalSkillsPath);
|
|
@@ -584577,7 +584587,7 @@ function WelcomeV2() {
|
|
|
584577
584587
|
dimColor: true,
|
|
584578
584588
|
children: [
|
|
584579
584589
|
"v",
|
|
584580
|
-
"1.0.0-alpha.
|
|
584590
|
+
"1.0.0-alpha.28",
|
|
584581
584591
|
" "
|
|
584582
584592
|
]
|
|
584583
584593
|
})
|
|
@@ -584777,7 +584787,7 @@ function WelcomeV2() {
|
|
|
584777
584787
|
dimColor: true,
|
|
584778
584788
|
children: [
|
|
584779
584789
|
"v",
|
|
584780
|
-
"1.0.0-alpha.
|
|
584790
|
+
"1.0.0-alpha.28",
|
|
584781
584791
|
" "
|
|
584782
584792
|
]
|
|
584783
584793
|
})
|
|
@@ -585003,7 +585013,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585003
585013
|
dimColor: true,
|
|
585004
585014
|
children: [
|
|
585005
585015
|
"v",
|
|
585006
|
-
"1.0.0-alpha.
|
|
585016
|
+
"1.0.0-alpha.28",
|
|
585007
585017
|
" "
|
|
585008
585018
|
]
|
|
585009
585019
|
});
|
|
@@ -585257,7 +585267,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585257
585267
|
dimColor: true,
|
|
585258
585268
|
children: [
|
|
585259
585269
|
"v",
|
|
585260
|
-
"1.0.0-alpha.
|
|
585270
|
+
"1.0.0-alpha.28",
|
|
585261
585271
|
" "
|
|
585262
585272
|
]
|
|
585263
585273
|
});
|
|
@@ -586723,7 +586733,7 @@ function completeOnboarding() {
|
|
|
586723
586733
|
saveGlobalConfig((current) => ({
|
|
586724
586734
|
...current,
|
|
586725
586735
|
hasCompletedOnboarding: true,
|
|
586726
|
-
lastOnboardingVersion: "1.0.0-alpha.
|
|
586736
|
+
lastOnboardingVersion: "1.0.0-alpha.28"
|
|
586727
586737
|
}));
|
|
586728
586738
|
}
|
|
586729
586739
|
function showDialog(root3, renderer) {
|
|
@@ -595186,8 +595196,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
595186
595196
|
}
|
|
595187
595197
|
async function checkEnvLessBridgeMinVersion() {
|
|
595188
595198
|
const cfg = await getEnvLessBridgeConfig();
|
|
595189
|
-
if (cfg.min_version && lt("1.0.0-alpha.
|
|
595190
|
-
return `Your version of Agent-OS (${"1.0.0-alpha.
|
|
595199
|
+
if (cfg.min_version && lt("1.0.0-alpha.28", cfg.min_version)) {
|
|
595200
|
+
return `Your version of Agent-OS (${"1.0.0-alpha.28"}) is too old for Remote Control.
|
|
595191
595201
|
Version ${cfg.min_version} or higher is required. Run \`agent-os update\` to update.`;
|
|
595192
595202
|
}
|
|
595193
595203
|
return null;
|
|
@@ -595660,7 +595670,7 @@ async function initBridgeCore(params) {
|
|
|
595660
595670
|
const rawApi = createBridgeApiClient({
|
|
595661
595671
|
baseUrl,
|
|
595662
595672
|
getAccessToken,
|
|
595663
|
-
runnerVersion: "1.0.0-alpha.
|
|
595673
|
+
runnerVersion: "1.0.0-alpha.28",
|
|
595664
595674
|
onDebug: logForDebugging,
|
|
595665
595675
|
onAuth401,
|
|
595666
595676
|
getTrustedDeviceToken
|
|
@@ -601339,7 +601349,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
601339
601349
|
setCwd(cwd3);
|
|
601340
601350
|
const server = new Server({
|
|
601341
601351
|
name: "claude/tengu",
|
|
601342
|
-
version: "1.0.0-alpha.
|
|
601352
|
+
version: "1.0.0-alpha.28"
|
|
601343
601353
|
}, {
|
|
601344
601354
|
capabilities: {
|
|
601345
601355
|
tools: {}
|
|
@@ -606850,7 +606860,7 @@ ${customInstructions}` : customInstructions;
|
|
|
606850
606860
|
}
|
|
606851
606861
|
}
|
|
606852
606862
|
logForDiagnosticsNoPII("info", "started", {
|
|
606853
|
-
version: "1.0.0-alpha.
|
|
606863
|
+
version: "1.0.0-alpha.28",
|
|
606854
606864
|
is_native_binary: isInBundledMode()
|
|
606855
606865
|
});
|
|
606856
606866
|
registerCleanup(async () => {
|
|
@@ -607642,7 +607652,7 @@ Usage: agent-os --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
607642
607652
|
pendingHookMessages
|
|
607643
607653
|
}, renderAndRun);
|
|
607644
607654
|
}
|
|
607645
|
-
}).version("1.0.0-alpha.
|
|
607655
|
+
}).version("1.0.0-alpha.28 (Agent-OS)", "-v, --version", "Output the version number");
|
|
607646
607656
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
607647
607657
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
607648
607658
|
if (canUserConfigureAdvisor()) {
|
|
@@ -609480,7 +609490,7 @@ if (false) {}
|
|
|
609480
609490
|
async function main2() {
|
|
609481
609491
|
const args = process.argv.slice(2);
|
|
609482
609492
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
609483
|
-
console.log(`${"1.0.0-alpha.
|
|
609493
|
+
console.log(`${"1.0.0-alpha.28"} (Agent-OS)`);
|
|
609484
609494
|
return;
|
|
609485
609495
|
}
|
|
609486
609496
|
const {
|