@vionwilliams/agent-os 1.0.0-alpha.19 → 1.0.0-alpha.20
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 +2 -2
- package/dist/cli.js +93 -64
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> 智能任务通用工作系统 · 多模型路由 + 意图编排 + 多智能体协调 + DataHub + 可编程面板 + LLM 知识编译器
|
|
4
4
|
|
|
5
|
-
**Status**: `1.0.0-alpha.
|
|
5
|
+
**Status**: `1.0.0-alpha.20` · Beta 测试版 · npm 公共包可用
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -64,7 +64,7 @@ bash install-agent-os-mac.sh
|
|
|
64
64
|
agent-os --version
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
成功时会显示 `1.0.0-alpha.
|
|
67
|
+
成功时会显示 `1.0.0-alpha.20 (Agent-OS)` 或更新版本。
|
|
68
68
|
|
|
69
69
|
然后打开 Agent-OS:
|
|
70
70
|
|
package/dist/cli.js
CHANGED
|
@@ -93307,7 +93307,7 @@ var init_system = __esm(() => {
|
|
|
93307
93307
|
AGENT_SDK_CLAUDE_CODE_PRESET_PREFIX,
|
|
93308
93308
|
AGENT_SDK_PREFIX
|
|
93309
93309
|
];
|
|
93310
|
-
AGENT_OS_VERSION = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93310
|
+
AGENT_OS_VERSION = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "dev";
|
|
93311
93311
|
CLI_SYSPROMPT_PREFIXES = new Set(CLI_SYSPROMPT_PREFIX_VALUES);
|
|
93312
93312
|
});
|
|
93313
93313
|
|
|
@@ -93751,7 +93751,7 @@ function getClaudeCodeUserAgent() {
|
|
|
93751
93751
|
}
|
|
93752
93752
|
var AGENT_OS_VERSION2;
|
|
93753
93753
|
var init_userAgent = __esm(() => {
|
|
93754
|
-
AGENT_OS_VERSION2 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93754
|
+
AGENT_OS_VERSION2 = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "dev";
|
|
93755
93755
|
});
|
|
93756
93756
|
|
|
93757
93757
|
// src/utils/http.ts
|
|
@@ -93832,7 +93832,7 @@ var init_http2 = __esm(() => {
|
|
|
93832
93832
|
init_auth();
|
|
93833
93833
|
init_userAgent();
|
|
93834
93834
|
init_workloadContext();
|
|
93835
|
-
AGENT_OS_VERSION3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93835
|
+
AGENT_OS_VERSION3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "dev";
|
|
93836
93836
|
});
|
|
93837
93837
|
|
|
93838
93838
|
// src/services/api/router/userProviders.ts
|
|
@@ -207168,7 +207168,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
207168
207168
|
init_settings2();
|
|
207169
207169
|
init_slowOperations();
|
|
207170
207170
|
init_uuid();
|
|
207171
|
-
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
207171
|
+
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "unknown";
|
|
207172
207172
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
207173
207173
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
207174
207174
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -207298,7 +207298,7 @@ function Feedback({
|
|
|
207298
207298
|
platform: env3.platform,
|
|
207299
207299
|
gitRepo: envInfo.isGit,
|
|
207300
207300
|
terminal: env3.terminal,
|
|
207301
|
-
version: "1.0.0-alpha.
|
|
207301
|
+
version: "1.0.0-alpha.20",
|
|
207302
207302
|
transcript: normalizeMessagesForAPI(messages),
|
|
207303
207303
|
errors: sanitizedErrors,
|
|
207304
207304
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -207482,7 +207482,7 @@ function Feedback({
|
|
|
207482
207482
|
", ",
|
|
207483
207483
|
env3.terminal,
|
|
207484
207484
|
", v",
|
|
207485
|
-
"1.0.0-alpha.
|
|
207485
|
+
"1.0.0-alpha.20"
|
|
207486
207486
|
]
|
|
207487
207487
|
})
|
|
207488
207488
|
]
|
|
@@ -207588,7 +207588,7 @@ ${sanitizedDescription}
|
|
|
207588
207588
|
` + `**Environment Info**
|
|
207589
207589
|
` + `- Platform: ${env3.platform}
|
|
207590
207590
|
` + `- Terminal: ${env3.terminal}
|
|
207591
|
-
` + `- Version: ${"1.0.0-alpha.
|
|
207591
|
+
` + `- Version: ${"1.0.0-alpha.20"}
|
|
207592
207592
|
` + `- Feedback ID: ${feedbackId}
|
|
207593
207593
|
` + `
|
|
207594
207594
|
**Errors**
|
|
@@ -259973,8 +259973,8 @@ var init_toolAnalytics = __esm(() => {
|
|
|
259973
259973
|
init_agentContext();
|
|
259974
259974
|
init_slowOperations();
|
|
259975
259975
|
init_teammate();
|
|
259976
|
-
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
259977
|
-
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-
|
|
259976
|
+
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "dev";
|
|
259977
|
+
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-20T19:41:00Z" : undefined;
|
|
259978
259978
|
BUILTIN_MCP_SERVER_NAMES = new Set([]);
|
|
259979
259979
|
TOOL_INPUT_MAX_JSON_CHARS = 4 * 1024;
|
|
259980
259980
|
FILE_COMMANDS = new Set([
|
|
@@ -270168,6 +270168,22 @@ function getAdditionalSkillsPaths(root2) {
|
|
|
270168
270168
|
getLegacyProjectSkillsPathForRoot(root2)
|
|
270169
270169
|
];
|
|
270170
270170
|
}
|
|
270171
|
+
function getContainingProjectSkillsRoot(filePath, cwd2) {
|
|
270172
|
+
const relativePath = relative8(cwd2, filePath);
|
|
270173
|
+
if (!relativePath || relativePath.startsWith("..") || isAbsolute14(relativePath)) {
|
|
270174
|
+
return null;
|
|
270175
|
+
}
|
|
270176
|
+
const parts = relativePath.split(pathSep).filter(Boolean);
|
|
270177
|
+
for (let i4 = 0;i4 < parts.length - 2; i4++) {
|
|
270178
|
+
const configDir = parts[i4];
|
|
270179
|
+
const skillsDir = parts[i4 + 1];
|
|
270180
|
+
const skillName = parts[i4 + 2];
|
|
270181
|
+
if ((configDir === ".agent-os" || configDir === ".claude") && skillsDir === "skills" && skillName) {
|
|
270182
|
+
return join64(cwd2, ...parts.slice(0, i4 + 2));
|
|
270183
|
+
}
|
|
270184
|
+
}
|
|
270185
|
+
return null;
|
|
270186
|
+
}
|
|
270171
270187
|
function getSkillsPath(source, dir) {
|
|
270172
270188
|
switch (source) {
|
|
270173
270189
|
case "policySettings":
|
|
@@ -270497,6 +270513,11 @@ async function discoverSkillDirsForPaths(filePaths, cwd2) {
|
|
|
270497
270513
|
const resolvedCwd = cwd2.endsWith(pathSep) ? cwd2.slice(0, -1) : cwd2;
|
|
270498
270514
|
const newDirs = [];
|
|
270499
270515
|
for (const filePath of filePaths) {
|
|
270516
|
+
const containingSkillsRoot = getContainingProjectSkillsRoot(filePath, resolvedCwd);
|
|
270517
|
+
if (containingSkillsRoot !== null && !dynamicSkillDirs.has(containingSkillsRoot)) {
|
|
270518
|
+
dynamicSkillDirs.add(containingSkillsRoot);
|
|
270519
|
+
newDirs.push(containingSkillsRoot);
|
|
270520
|
+
}
|
|
270500
270521
|
let currentDir = dirname27(filePath);
|
|
270501
270522
|
while (currentDir.startsWith(resolvedCwd + pathSep)) {
|
|
270502
270523
|
const skillDirs = [
|
|
@@ -274599,7 +274620,7 @@ function getInstallationEnv() {
|
|
|
274599
274620
|
return;
|
|
274600
274621
|
}
|
|
274601
274622
|
function getClaudeCodeVersion() {
|
|
274602
|
-
return "1.0.0-alpha.
|
|
274623
|
+
return "1.0.0-alpha.20";
|
|
274603
274624
|
}
|
|
274604
274625
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
274605
274626
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -297317,7 +297338,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
297317
297338
|
const client = new Client({
|
|
297318
297339
|
name: "claude-code",
|
|
297319
297340
|
title: "Agent-OS",
|
|
297320
|
-
version: "1.0.0-alpha.
|
|
297341
|
+
version: "1.0.0-alpha.20",
|
|
297321
297342
|
description: "Anthropic's agentic coding tool",
|
|
297322
297343
|
websiteUrl: PRODUCT_URL
|
|
297323
297344
|
}, {
|
|
@@ -297670,7 +297691,7 @@ var init_client4 = __esm(() => {
|
|
|
297670
297691
|
const client = new Client({
|
|
297671
297692
|
name: "claude-code",
|
|
297672
297693
|
title: "Agent-OS",
|
|
297673
|
-
version: "1.0.0-alpha.
|
|
297694
|
+
version: "1.0.0-alpha.20",
|
|
297674
297695
|
description: "Anthropic's agentic coding tool",
|
|
297675
297696
|
websiteUrl: PRODUCT_URL
|
|
297676
297697
|
}, {
|
|
@@ -325310,16 +325331,6 @@ String: ${old_string}`,
|
|
|
325310
325331
|
const fs7 = getFsImplementation();
|
|
325311
325332
|
const absoluteFilePath = expandPath(file_path);
|
|
325312
325333
|
const cwd2 = getCwd();
|
|
325313
|
-
if (!isEnvTruthy(process.env.CLAUDE_CODE_SIMPLE)) {
|
|
325314
|
-
const newSkillDirs = await discoverSkillDirsForPaths([absoluteFilePath], cwd2);
|
|
325315
|
-
if (newSkillDirs.length > 0) {
|
|
325316
|
-
for (const dir of newSkillDirs) {
|
|
325317
|
-
dynamicSkillDirTriggers?.add(dir);
|
|
325318
|
-
}
|
|
325319
|
-
addSkillDirectories(newSkillDirs).catch(() => {});
|
|
325320
|
-
}
|
|
325321
|
-
activateConditionalSkillsForPaths([absoluteFilePath], cwd2);
|
|
325322
|
-
}
|
|
325323
325334
|
await diagnosticTracker.beforeFileEdited(absoluteFilePath);
|
|
325324
325335
|
await fs7.mkdir(dirname41(absoluteFilePath));
|
|
325325
325336
|
if (fileHistoryEnabled()) {
|
|
@@ -325352,6 +325363,20 @@ String: ${old_string}`,
|
|
|
325352
325363
|
replaceAll: replace_all
|
|
325353
325364
|
});
|
|
325354
325365
|
writeTextContent(absoluteFilePath, updatedFile, encoding, endings);
|
|
325366
|
+
if (!isEnvTruthy(process.env.CLAUDE_CODE_SIMPLE)) {
|
|
325367
|
+
const newSkillDirs = await discoverSkillDirsForPaths([absoluteFilePath], cwd2);
|
|
325368
|
+
if (newSkillDirs.length > 0) {
|
|
325369
|
+
for (const dir of newSkillDirs) {
|
|
325370
|
+
dynamicSkillDirTriggers?.add(dir);
|
|
325371
|
+
}
|
|
325372
|
+
try {
|
|
325373
|
+
await addSkillDirectories(newSkillDirs);
|
|
325374
|
+
} catch (error41) {
|
|
325375
|
+
logError2(error41);
|
|
325376
|
+
}
|
|
325377
|
+
}
|
|
325378
|
+
activateConditionalSkillsForPaths([absoluteFilePath], cwd2);
|
|
325379
|
+
}
|
|
325355
325380
|
const lspManager = getLspServerManager();
|
|
325356
325381
|
if (lspManager) {
|
|
325357
325382
|
clearDeliveredDiagnosticsForFile(`file://${absoluteFilePath}`);
|
|
@@ -326017,14 +326042,6 @@ var init_FileWriteTool = __esm(() => {
|
|
|
326017
326042
|
const fullFilePath = expandPath(file_path);
|
|
326018
326043
|
const dir = dirname42(fullFilePath);
|
|
326019
326044
|
const cwd2 = getCwd();
|
|
326020
|
-
const newSkillDirs = await discoverSkillDirsForPaths([fullFilePath], cwd2);
|
|
326021
|
-
if (newSkillDirs.length > 0) {
|
|
326022
|
-
for (const dir2 of newSkillDirs) {
|
|
326023
|
-
dynamicSkillDirTriggers?.add(dir2);
|
|
326024
|
-
}
|
|
326025
|
-
addSkillDirectories(newSkillDirs).catch(() => {});
|
|
326026
|
-
}
|
|
326027
|
-
activateConditionalSkillsForPaths([fullFilePath], cwd2);
|
|
326028
326045
|
await diagnosticTracker.beforeFileEdited(fullFilePath);
|
|
326029
326046
|
await getFsImplementation().mkdir(dir);
|
|
326030
326047
|
if (fileHistoryEnabled()) {
|
|
@@ -326053,6 +326070,18 @@ var init_FileWriteTool = __esm(() => {
|
|
|
326053
326070
|
const enc = meta?.encoding ?? "utf8";
|
|
326054
326071
|
const oldContent = meta?.content ?? null;
|
|
326055
326072
|
writeTextContent(fullFilePath, content, enc, "LF");
|
|
326073
|
+
const newSkillDirs = await discoverSkillDirsForPaths([fullFilePath], cwd2);
|
|
326074
|
+
if (newSkillDirs.length > 0) {
|
|
326075
|
+
for (const dir2 of newSkillDirs) {
|
|
326076
|
+
dynamicSkillDirTriggers?.add(dir2);
|
|
326077
|
+
}
|
|
326078
|
+
try {
|
|
326079
|
+
await addSkillDirectories(newSkillDirs);
|
|
326080
|
+
} catch (error41) {
|
|
326081
|
+
logError2(error41);
|
|
326082
|
+
}
|
|
326083
|
+
}
|
|
326084
|
+
activateConditionalSkillsForPaths([fullFilePath], cwd2);
|
|
326056
326085
|
const lspManager = getLspServerManager();
|
|
326057
326086
|
if (lspManager) {
|
|
326058
326087
|
clearDeliveredDiagnosticsForFile(`file://${fullFilePath}`);
|
|
@@ -416307,7 +416336,7 @@ function getInvokedBinary() {
|
|
|
416307
416336
|
async function getDoctorDiagnostic() {
|
|
416308
416337
|
return {
|
|
416309
416338
|
installationType: "package-manager",
|
|
416310
|
-
version: "1.0.0-alpha.
|
|
416339
|
+
version: "1.0.0-alpha.20",
|
|
416311
416340
|
installationPath: process.argv[1] ?? "",
|
|
416312
416341
|
invokedBinary: getInvokedBinary(),
|
|
416313
416342
|
configInstallMethod: "not set",
|
|
@@ -416712,7 +416741,7 @@ function buildPrimarySection() {
|
|
|
416712
416741
|
});
|
|
416713
416742
|
return [{
|
|
416714
416743
|
label: "Version",
|
|
416715
|
-
value: "1.0.0-alpha.
|
|
416744
|
+
value: "1.0.0-alpha.20"
|
|
416716
416745
|
}, {
|
|
416717
416746
|
label: "Session name",
|
|
416718
416747
|
value: nameValue
|
|
@@ -420355,7 +420384,7 @@ function Config({
|
|
|
420355
420384
|
}
|
|
420356
420385
|
})
|
|
420357
420386
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime169.jsx(ChannelDowngradeDialog, {
|
|
420358
|
-
currentVersion: "1.0.0-alpha.
|
|
420387
|
+
currentVersion: "1.0.0-alpha.20",
|
|
420359
420388
|
onChoice: (choice) => {
|
|
420360
420389
|
setShowSubmenu(null);
|
|
420361
420390
|
setTabsHidden(false);
|
|
@@ -420367,7 +420396,7 @@ function Config({
|
|
|
420367
420396
|
autoUpdatesChannel: "stable"
|
|
420368
420397
|
};
|
|
420369
420398
|
if (choice === "stay") {
|
|
420370
|
-
newSettings.minimumVersion = "1.0.0-alpha.
|
|
420399
|
+
newSettings.minimumVersion = "1.0.0-alpha.20";
|
|
420371
420400
|
}
|
|
420372
420401
|
updateSettingsForSource("userSettings", newSettings);
|
|
420373
420402
|
setSettingsData((prev_27) => ({
|
|
@@ -428358,7 +428387,7 @@ function HelpV2(t0) {
|
|
|
428358
428387
|
let t6;
|
|
428359
428388
|
if ($3[31] !== tabs) {
|
|
428360
428389
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
428361
|
-
title: `Agent-OS v${"1.0.0-alpha.
|
|
428390
|
+
title: `Agent-OS v${"1.0.0-alpha.20"}`,
|
|
428362
428391
|
color: "professionalBlue",
|
|
428363
428392
|
defaultTab: "general",
|
|
428364
428393
|
children: tabs
|
|
@@ -431486,7 +431515,7 @@ var init_user = __esm(() => {
|
|
|
431486
431515
|
deviceId,
|
|
431487
431516
|
sessionId: getSessionId(),
|
|
431488
431517
|
email: getEmail(),
|
|
431489
|
-
appVersion: "1.0.0-alpha.
|
|
431518
|
+
appVersion: "1.0.0-alpha.20",
|
|
431490
431519
|
platform: getHostPlatformForAnalytics(),
|
|
431491
431520
|
organizationUuid,
|
|
431492
431521
|
accountUuid,
|
|
@@ -451737,7 +451766,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451737
451766
|
return [];
|
|
451738
451767
|
}
|
|
451739
451768
|
}
|
|
451740
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451769
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.20") {
|
|
451741
451770
|
if (process.env.USER_TYPE === "ant") {
|
|
451742
451771
|
const changelog = "";
|
|
451743
451772
|
if (changelog) {
|
|
@@ -451764,7 +451793,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alp
|
|
|
451764
451793
|
releaseNotes
|
|
451765
451794
|
};
|
|
451766
451795
|
}
|
|
451767
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451796
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.20") {
|
|
451768
451797
|
if (process.env.USER_TYPE === "ant") {
|
|
451769
451798
|
const changelog = "";
|
|
451770
451799
|
if (changelog) {
|
|
@@ -452891,7 +452920,7 @@ function getRecentActivitySync() {
|
|
|
452891
452920
|
return cachedActivity;
|
|
452892
452921
|
}
|
|
452893
452922
|
function getLogoDisplayData() {
|
|
452894
|
-
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.
|
|
452923
|
+
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.20";
|
|
452895
452924
|
const serverUrl = getDirectConnectServerUrl();
|
|
452896
452925
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
452897
452926
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454106,7 +454135,7 @@ function LogoV2() {
|
|
|
454106
454135
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454107
454136
|
t2 = () => {
|
|
454108
454137
|
const currentConfig = getGlobalConfig();
|
|
454109
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454138
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.20") {
|
|
454110
454139
|
return;
|
|
454111
454140
|
}
|
|
454112
454141
|
saveGlobalConfig(_temp328);
|
|
@@ -454772,12 +454801,12 @@ function AgentOsPoster() {
|
|
|
454772
454801
|
});
|
|
454773
454802
|
}
|
|
454774
454803
|
function _temp328(current) {
|
|
454775
|
-
if (current.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454804
|
+
if (current.lastReleaseNotesSeen === "1.0.0-alpha.20") {
|
|
454776
454805
|
return current;
|
|
454777
454806
|
}
|
|
454778
454807
|
return {
|
|
454779
454808
|
...current,
|
|
454780
|
-
lastReleaseNotesSeen: "1.0.0-alpha.
|
|
454809
|
+
lastReleaseNotesSeen: "1.0.0-alpha.20"
|
|
454781
454810
|
};
|
|
454782
454811
|
}
|
|
454783
454812
|
function _temp245(s_0) {
|
|
@@ -481354,7 +481383,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481354
481383
|
smapsRollup,
|
|
481355
481384
|
platform: process.platform,
|
|
481356
481385
|
nodeVersion: process.version,
|
|
481357
|
-
ccVersion: "1.0.0-alpha.
|
|
481386
|
+
ccVersion: "1.0.0-alpha.20"
|
|
481358
481387
|
};
|
|
481359
481388
|
}
|
|
481360
481389
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -481927,7 +481956,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
481927
481956
|
var call58 = async () => {
|
|
481928
481957
|
return {
|
|
481929
481958
|
type: "text",
|
|
481930
|
-
value: `${"1.0.0-alpha.
|
|
481959
|
+
value: `${"1.0.0-alpha.20"} (built ${"2026-05-20T19:41:00Z"})`
|
|
481931
481960
|
};
|
|
481932
481961
|
}, version2, version_default;
|
|
481933
481962
|
var init_version = __esm(() => {
|
|
@@ -491419,7 +491448,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491419
491448
|
</html>`;
|
|
491420
491449
|
}
|
|
491421
491450
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491422
|
-
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
491451
|
+
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "unknown";
|
|
491423
491452
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
491424
491453
|
const facets_summary = {
|
|
491425
491454
|
total: facets.size,
|
|
@@ -515637,7 +515666,7 @@ var init_filesystem = __esm(() => {
|
|
|
515637
515666
|
});
|
|
515638
515667
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
515639
515668
|
const nonce = randomBytes18(16).toString("hex");
|
|
515640
|
-
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.
|
|
515669
|
+
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.20", nonce);
|
|
515641
515670
|
});
|
|
515642
515671
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
515643
515672
|
});
|
|
@@ -521567,7 +521596,7 @@ function computeFingerprintFromMessages(messages) {
|
|
|
521567
521596
|
}
|
|
521568
521597
|
var AGENT_OS_VERSION5, FINGERPRINT_SALT = "59cf53e54c78";
|
|
521569
521598
|
var init_fingerprint = __esm(() => {
|
|
521570
|
-
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
521599
|
+
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.20" : "dev";
|
|
521571
521600
|
});
|
|
521572
521601
|
|
|
521573
521602
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -523321,7 +523350,7 @@ async function sideQuery(opts) {
|
|
|
523321
523350
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
523322
523351
|
}
|
|
523323
523352
|
const messageText = extractFirstUserMessageText(messages);
|
|
523324
|
-
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.
|
|
523353
|
+
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.20");
|
|
523325
523354
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
523326
523355
|
const systemBlocks = [
|
|
523327
523356
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -525240,7 +525269,7 @@ function appendToLog(path24, message) {
|
|
|
525240
525269
|
cwd: getFsImplementation().cwd(),
|
|
525241
525270
|
userType: process.env.USER_TYPE,
|
|
525242
525271
|
sessionId: getSessionId(),
|
|
525243
|
-
version: "1.0.0-alpha.
|
|
525272
|
+
version: "1.0.0-alpha.20"
|
|
525244
525273
|
};
|
|
525245
525274
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
525246
525275
|
}
|
|
@@ -528218,7 +528247,7 @@ function getTelemetryAttributes() {
|
|
|
528218
528247
|
attributes["session.id"] = sessionId;
|
|
528219
528248
|
}
|
|
528220
528249
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
528221
|
-
attributes["app.version"] = "1.0.0-alpha.
|
|
528250
|
+
attributes["app.version"] = "1.0.0-alpha.20";
|
|
528222
528251
|
}
|
|
528223
528252
|
if (envDynamic.terminal) {
|
|
528224
528253
|
attributes["terminal.type"] = envDynamic.terminal;
|
|
@@ -538362,7 +538391,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538362
538391
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
538363
538392
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538364
538393
|
betas: getSdkBetas(),
|
|
538365
|
-
claude_code_version: "1.0.0-alpha.
|
|
538394
|
+
claude_code_version: "1.0.0-alpha.20",
|
|
538366
538395
|
output_style: outputStyle2,
|
|
538367
538396
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538368
538397
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -560831,7 +560860,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
560831
560860
|
project_dir: getOriginalCwd(),
|
|
560832
560861
|
added_dirs: addedDirs
|
|
560833
560862
|
},
|
|
560834
|
-
version: "1.0.0-alpha.
|
|
560863
|
+
version: "1.0.0-alpha.20",
|
|
560835
560864
|
output_style: {
|
|
560836
560865
|
name: outputStyleName
|
|
560837
560866
|
},
|
|
@@ -584187,7 +584216,7 @@ function WelcomeV2() {
|
|
|
584187
584216
|
dimColor: true,
|
|
584188
584217
|
children: [
|
|
584189
584218
|
"v",
|
|
584190
|
-
"1.0.0-alpha.
|
|
584219
|
+
"1.0.0-alpha.20",
|
|
584191
584220
|
" "
|
|
584192
584221
|
]
|
|
584193
584222
|
})
|
|
@@ -584387,7 +584416,7 @@ function WelcomeV2() {
|
|
|
584387
584416
|
dimColor: true,
|
|
584388
584417
|
children: [
|
|
584389
584418
|
"v",
|
|
584390
|
-
"1.0.0-alpha.
|
|
584419
|
+
"1.0.0-alpha.20",
|
|
584391
584420
|
" "
|
|
584392
584421
|
]
|
|
584393
584422
|
})
|
|
@@ -584613,7 +584642,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584613
584642
|
dimColor: true,
|
|
584614
584643
|
children: [
|
|
584615
584644
|
"v",
|
|
584616
|
-
"1.0.0-alpha.
|
|
584645
|
+
"1.0.0-alpha.20",
|
|
584617
584646
|
" "
|
|
584618
584647
|
]
|
|
584619
584648
|
});
|
|
@@ -584867,7 +584896,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584867
584896
|
dimColor: true,
|
|
584868
584897
|
children: [
|
|
584869
584898
|
"v",
|
|
584870
|
-
"1.0.0-alpha.
|
|
584899
|
+
"1.0.0-alpha.20",
|
|
584871
584900
|
" "
|
|
584872
584901
|
]
|
|
584873
584902
|
});
|
|
@@ -586333,7 +586362,7 @@ function completeOnboarding() {
|
|
|
586333
586362
|
saveGlobalConfig((current) => ({
|
|
586334
586363
|
...current,
|
|
586335
586364
|
hasCompletedOnboarding: true,
|
|
586336
|
-
lastOnboardingVersion: "1.0.0-alpha.
|
|
586365
|
+
lastOnboardingVersion: "1.0.0-alpha.20"
|
|
586337
586366
|
}));
|
|
586338
586367
|
}
|
|
586339
586368
|
function showDialog(root3, renderer) {
|
|
@@ -594796,8 +594825,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
594796
594825
|
}
|
|
594797
594826
|
async function checkEnvLessBridgeMinVersion() {
|
|
594798
594827
|
const cfg = await getEnvLessBridgeConfig();
|
|
594799
|
-
if (cfg.min_version && lt("1.0.0-alpha.
|
|
594800
|
-
return `Your version of Agent-OS (${"1.0.0-alpha.
|
|
594828
|
+
if (cfg.min_version && lt("1.0.0-alpha.20", cfg.min_version)) {
|
|
594829
|
+
return `Your version of Agent-OS (${"1.0.0-alpha.20"}) is too old for Remote Control.
|
|
594801
594830
|
Version ${cfg.min_version} or higher is required. Run \`agent-os update\` to update.`;
|
|
594802
594831
|
}
|
|
594803
594832
|
return null;
|
|
@@ -595270,7 +595299,7 @@ async function initBridgeCore(params) {
|
|
|
595270
595299
|
const rawApi = createBridgeApiClient({
|
|
595271
595300
|
baseUrl,
|
|
595272
595301
|
getAccessToken,
|
|
595273
|
-
runnerVersion: "1.0.0-alpha.
|
|
595302
|
+
runnerVersion: "1.0.0-alpha.20",
|
|
595274
595303
|
onDebug: logForDebugging,
|
|
595275
595304
|
onAuth401,
|
|
595276
595305
|
getTrustedDeviceToken
|
|
@@ -600949,7 +600978,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
600949
600978
|
setCwd(cwd3);
|
|
600950
600979
|
const server = new Server({
|
|
600951
600980
|
name: "claude/tengu",
|
|
600952
|
-
version: "1.0.0-alpha.
|
|
600981
|
+
version: "1.0.0-alpha.20"
|
|
600953
600982
|
}, {
|
|
600954
600983
|
capabilities: {
|
|
600955
600984
|
tools: {}
|
|
@@ -606460,7 +606489,7 @@ ${customInstructions}` : customInstructions;
|
|
|
606460
606489
|
}
|
|
606461
606490
|
}
|
|
606462
606491
|
logForDiagnosticsNoPII("info", "started", {
|
|
606463
|
-
version: "1.0.0-alpha.
|
|
606492
|
+
version: "1.0.0-alpha.20",
|
|
606464
606493
|
is_native_binary: isInBundledMode()
|
|
606465
606494
|
});
|
|
606466
606495
|
registerCleanup(async () => {
|
|
@@ -607252,7 +607281,7 @@ Usage: agent-os --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
607252
607281
|
pendingHookMessages
|
|
607253
607282
|
}, renderAndRun);
|
|
607254
607283
|
}
|
|
607255
|
-
}).version("1.0.0-alpha.
|
|
607284
|
+
}).version("1.0.0-alpha.20 (Agent-OS)", "-v, --version", "Output the version number");
|
|
607256
607285
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
607257
607286
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
607258
607287
|
if (canUserConfigureAdvisor()) {
|
|
@@ -609090,7 +609119,7 @@ if (false) {}
|
|
|
609090
609119
|
async function main2() {
|
|
609091
609120
|
const args = process.argv.slice(2);
|
|
609092
609121
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
609093
|
-
console.log(`${"1.0.0-alpha.
|
|
609122
|
+
console.log(`${"1.0.0-alpha.20"} (Agent-OS)`);
|
|
609094
609123
|
return;
|
|
609095
609124
|
}
|
|
609096
609125
|
const {
|