@vionwilliams/agent-os 1.0.0-alpha.20 → 1.0.0-alpha.21
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 +52 -52
- 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.21` · 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.21 (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.21" : "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.21" : "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.21" : "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.21" : "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.21",
|
|
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.21"
|
|
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.21"}
|
|
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.21" : "dev";
|
|
259977
|
+
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-21T07:31:42Z" : undefined;
|
|
259978
259978
|
BUILTIN_MCP_SERVER_NAMES = new Set([]);
|
|
259979
259979
|
TOOL_INPUT_MAX_JSON_CHARS = 4 * 1024;
|
|
259980
259980
|
FILE_COMMANDS = new Set([
|
|
@@ -274620,7 +274620,7 @@ function getInstallationEnv() {
|
|
|
274620
274620
|
return;
|
|
274621
274621
|
}
|
|
274622
274622
|
function getClaudeCodeVersion() {
|
|
274623
|
-
return "1.0.0-alpha.
|
|
274623
|
+
return "1.0.0-alpha.21";
|
|
274624
274624
|
}
|
|
274625
274625
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
274626
274626
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -297338,7 +297338,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
297338
297338
|
const client = new Client({
|
|
297339
297339
|
name: "claude-code",
|
|
297340
297340
|
title: "Agent-OS",
|
|
297341
|
-
version: "1.0.0-alpha.
|
|
297341
|
+
version: "1.0.0-alpha.21",
|
|
297342
297342
|
description: "Anthropic's agentic coding tool",
|
|
297343
297343
|
websiteUrl: PRODUCT_URL
|
|
297344
297344
|
}, {
|
|
@@ -297691,7 +297691,7 @@ var init_client4 = __esm(() => {
|
|
|
297691
297691
|
const client = new Client({
|
|
297692
297692
|
name: "claude-code",
|
|
297693
297693
|
title: "Agent-OS",
|
|
297694
|
-
version: "1.0.0-alpha.
|
|
297694
|
+
version: "1.0.0-alpha.21",
|
|
297695
297695
|
description: "Anthropic's agentic coding tool",
|
|
297696
297696
|
websiteUrl: PRODUCT_URL
|
|
297697
297697
|
}, {
|
|
@@ -416336,7 +416336,7 @@ function getInvokedBinary() {
|
|
|
416336
416336
|
async function getDoctorDiagnostic() {
|
|
416337
416337
|
return {
|
|
416338
416338
|
installationType: "package-manager",
|
|
416339
|
-
version: "1.0.0-alpha.
|
|
416339
|
+
version: "1.0.0-alpha.21",
|
|
416340
416340
|
installationPath: process.argv[1] ?? "",
|
|
416341
416341
|
invokedBinary: getInvokedBinary(),
|
|
416342
416342
|
configInstallMethod: "not set",
|
|
@@ -416741,7 +416741,7 @@ function buildPrimarySection() {
|
|
|
416741
416741
|
});
|
|
416742
416742
|
return [{
|
|
416743
416743
|
label: "Version",
|
|
416744
|
-
value: "1.0.0-alpha.
|
|
416744
|
+
value: "1.0.0-alpha.21"
|
|
416745
416745
|
}, {
|
|
416746
416746
|
label: "Session name",
|
|
416747
416747
|
value: nameValue
|
|
@@ -420384,7 +420384,7 @@ function Config({
|
|
|
420384
420384
|
}
|
|
420385
420385
|
})
|
|
420386
420386
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime169.jsx(ChannelDowngradeDialog, {
|
|
420387
|
-
currentVersion: "1.0.0-alpha.
|
|
420387
|
+
currentVersion: "1.0.0-alpha.21",
|
|
420388
420388
|
onChoice: (choice) => {
|
|
420389
420389
|
setShowSubmenu(null);
|
|
420390
420390
|
setTabsHidden(false);
|
|
@@ -420396,7 +420396,7 @@ function Config({
|
|
|
420396
420396
|
autoUpdatesChannel: "stable"
|
|
420397
420397
|
};
|
|
420398
420398
|
if (choice === "stay") {
|
|
420399
|
-
newSettings.minimumVersion = "1.0.0-alpha.
|
|
420399
|
+
newSettings.minimumVersion = "1.0.0-alpha.21";
|
|
420400
420400
|
}
|
|
420401
420401
|
updateSettingsForSource("userSettings", newSettings);
|
|
420402
420402
|
setSettingsData((prev_27) => ({
|
|
@@ -428387,7 +428387,7 @@ function HelpV2(t0) {
|
|
|
428387
428387
|
let t6;
|
|
428388
428388
|
if ($3[31] !== tabs) {
|
|
428389
428389
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
428390
|
-
title: `Agent-OS v${"1.0.0-alpha.
|
|
428390
|
+
title: `Agent-OS v${"1.0.0-alpha.21"}`,
|
|
428391
428391
|
color: "professionalBlue",
|
|
428392
428392
|
defaultTab: "general",
|
|
428393
428393
|
children: tabs
|
|
@@ -431515,7 +431515,7 @@ var init_user = __esm(() => {
|
|
|
431515
431515
|
deviceId,
|
|
431516
431516
|
sessionId: getSessionId(),
|
|
431517
431517
|
email: getEmail(),
|
|
431518
|
-
appVersion: "1.0.0-alpha.
|
|
431518
|
+
appVersion: "1.0.0-alpha.21",
|
|
431519
431519
|
platform: getHostPlatformForAnalytics(),
|
|
431520
431520
|
organizationUuid,
|
|
431521
431521
|
accountUuid,
|
|
@@ -451766,7 +451766,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451766
451766
|
return [];
|
|
451767
451767
|
}
|
|
451768
451768
|
}
|
|
451769
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451769
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.21") {
|
|
451770
451770
|
if (process.env.USER_TYPE === "ant") {
|
|
451771
451771
|
const changelog = "";
|
|
451772
451772
|
if (changelog) {
|
|
@@ -451793,7 +451793,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alp
|
|
|
451793
451793
|
releaseNotes
|
|
451794
451794
|
};
|
|
451795
451795
|
}
|
|
451796
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451796
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.21") {
|
|
451797
451797
|
if (process.env.USER_TYPE === "ant") {
|
|
451798
451798
|
const changelog = "";
|
|
451799
451799
|
if (changelog) {
|
|
@@ -452920,7 +452920,7 @@ function getRecentActivitySync() {
|
|
|
452920
452920
|
return cachedActivity;
|
|
452921
452921
|
}
|
|
452922
452922
|
function getLogoDisplayData() {
|
|
452923
|
-
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.
|
|
452923
|
+
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.21";
|
|
452924
452924
|
const serverUrl = getDirectConnectServerUrl();
|
|
452925
452925
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
452926
452926
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454135,7 +454135,7 @@ function LogoV2() {
|
|
|
454135
454135
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454136
454136
|
t2 = () => {
|
|
454137
454137
|
const currentConfig = getGlobalConfig();
|
|
454138
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454138
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.21") {
|
|
454139
454139
|
return;
|
|
454140
454140
|
}
|
|
454141
454141
|
saveGlobalConfig(_temp328);
|
|
@@ -454801,12 +454801,12 @@ function AgentOsPoster() {
|
|
|
454801
454801
|
});
|
|
454802
454802
|
}
|
|
454803
454803
|
function _temp328(current) {
|
|
454804
|
-
if (current.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454804
|
+
if (current.lastReleaseNotesSeen === "1.0.0-alpha.21") {
|
|
454805
454805
|
return current;
|
|
454806
454806
|
}
|
|
454807
454807
|
return {
|
|
454808
454808
|
...current,
|
|
454809
|
-
lastReleaseNotesSeen: "1.0.0-alpha.
|
|
454809
|
+
lastReleaseNotesSeen: "1.0.0-alpha.21"
|
|
454810
454810
|
};
|
|
454811
454811
|
}
|
|
454812
454812
|
function _temp245(s_0) {
|
|
@@ -481383,7 +481383,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481383
481383
|
smapsRollup,
|
|
481384
481384
|
platform: process.platform,
|
|
481385
481385
|
nodeVersion: process.version,
|
|
481386
|
-
ccVersion: "1.0.0-alpha.
|
|
481386
|
+
ccVersion: "1.0.0-alpha.21"
|
|
481387
481387
|
};
|
|
481388
481388
|
}
|
|
481389
481389
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -481956,7 +481956,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
481956
481956
|
var call58 = async () => {
|
|
481957
481957
|
return {
|
|
481958
481958
|
type: "text",
|
|
481959
|
-
value: `${"1.0.0-alpha.
|
|
481959
|
+
value: `${"1.0.0-alpha.21"} (built ${"2026-05-21T07:31:42Z"})`
|
|
481960
481960
|
};
|
|
481961
481961
|
}, version2, version_default;
|
|
481962
481962
|
var init_version = __esm(() => {
|
|
@@ -491448,7 +491448,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491448
491448
|
</html>`;
|
|
491449
491449
|
}
|
|
491450
491450
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491451
|
-
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
491451
|
+
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.21" : "unknown";
|
|
491452
491452
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
491453
491453
|
const facets_summary = {
|
|
491454
491454
|
total: facets.size,
|
|
@@ -515666,7 +515666,7 @@ var init_filesystem = __esm(() => {
|
|
|
515666
515666
|
});
|
|
515667
515667
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
515668
515668
|
const nonce = randomBytes18(16).toString("hex");
|
|
515669
|
-
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.
|
|
515669
|
+
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.21", nonce);
|
|
515670
515670
|
});
|
|
515671
515671
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
515672
515672
|
});
|
|
@@ -521596,7 +521596,7 @@ function computeFingerprintFromMessages(messages) {
|
|
|
521596
521596
|
}
|
|
521597
521597
|
var AGENT_OS_VERSION5, FINGERPRINT_SALT = "59cf53e54c78";
|
|
521598
521598
|
var init_fingerprint = __esm(() => {
|
|
521599
|
-
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
521599
|
+
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.21" : "dev";
|
|
521600
521600
|
});
|
|
521601
521601
|
|
|
521602
521602
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -523350,7 +523350,7 @@ async function sideQuery(opts) {
|
|
|
523350
523350
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
523351
523351
|
}
|
|
523352
523352
|
const messageText = extractFirstUserMessageText(messages);
|
|
523353
|
-
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.
|
|
523353
|
+
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.21");
|
|
523354
523354
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
523355
523355
|
const systemBlocks = [
|
|
523356
523356
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -525269,7 +525269,7 @@ function appendToLog(path24, message) {
|
|
|
525269
525269
|
cwd: getFsImplementation().cwd(),
|
|
525270
525270
|
userType: process.env.USER_TYPE,
|
|
525271
525271
|
sessionId: getSessionId(),
|
|
525272
|
-
version: "1.0.0-alpha.
|
|
525272
|
+
version: "1.0.0-alpha.21"
|
|
525273
525273
|
};
|
|
525274
525274
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
525275
525275
|
}
|
|
@@ -528247,7 +528247,7 @@ function getTelemetryAttributes() {
|
|
|
528247
528247
|
attributes["session.id"] = sessionId;
|
|
528248
528248
|
}
|
|
528249
528249
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
528250
|
-
attributes["app.version"] = "1.0.0-alpha.
|
|
528250
|
+
attributes["app.version"] = "1.0.0-alpha.21";
|
|
528251
528251
|
}
|
|
528252
528252
|
if (envDynamic.terminal) {
|
|
528253
528253
|
attributes["terminal.type"] = envDynamic.terminal;
|
|
@@ -538391,7 +538391,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538391
538391
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
538392
538392
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538393
538393
|
betas: getSdkBetas(),
|
|
538394
|
-
claude_code_version: "1.0.0-alpha.
|
|
538394
|
+
claude_code_version: "1.0.0-alpha.21",
|
|
538395
538395
|
output_style: outputStyle2,
|
|
538396
538396
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538397
538397
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -560860,7 +560860,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
560860
560860
|
project_dir: getOriginalCwd(),
|
|
560861
560861
|
added_dirs: addedDirs
|
|
560862
560862
|
},
|
|
560863
|
-
version: "1.0.0-alpha.
|
|
560863
|
+
version: "1.0.0-alpha.21",
|
|
560864
560864
|
output_style: {
|
|
560865
560865
|
name: outputStyleName
|
|
560866
560866
|
},
|
|
@@ -584216,7 +584216,7 @@ function WelcomeV2() {
|
|
|
584216
584216
|
dimColor: true,
|
|
584217
584217
|
children: [
|
|
584218
584218
|
"v",
|
|
584219
|
-
"1.0.0-alpha.
|
|
584219
|
+
"1.0.0-alpha.21",
|
|
584220
584220
|
" "
|
|
584221
584221
|
]
|
|
584222
584222
|
})
|
|
@@ -584416,7 +584416,7 @@ function WelcomeV2() {
|
|
|
584416
584416
|
dimColor: true,
|
|
584417
584417
|
children: [
|
|
584418
584418
|
"v",
|
|
584419
|
-
"1.0.0-alpha.
|
|
584419
|
+
"1.0.0-alpha.21",
|
|
584420
584420
|
" "
|
|
584421
584421
|
]
|
|
584422
584422
|
})
|
|
@@ -584642,7 +584642,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584642
584642
|
dimColor: true,
|
|
584643
584643
|
children: [
|
|
584644
584644
|
"v",
|
|
584645
|
-
"1.0.0-alpha.
|
|
584645
|
+
"1.0.0-alpha.21",
|
|
584646
584646
|
" "
|
|
584647
584647
|
]
|
|
584648
584648
|
});
|
|
@@ -584896,7 +584896,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584896
584896
|
dimColor: true,
|
|
584897
584897
|
children: [
|
|
584898
584898
|
"v",
|
|
584899
|
-
"1.0.0-alpha.
|
|
584899
|
+
"1.0.0-alpha.21",
|
|
584900
584900
|
" "
|
|
584901
584901
|
]
|
|
584902
584902
|
});
|
|
@@ -585737,9 +585737,14 @@ var init_utils14 = __esm(() => {
|
|
|
585737
585737
|
// src/components/TrustDialog/TrustDialog.tsx
|
|
585738
585738
|
var exports_TrustDialog = {};
|
|
585739
585739
|
__export(exports_TrustDialog, {
|
|
585740
|
+
acceptCurrentWorkspaceTrust: () => acceptCurrentWorkspaceTrust,
|
|
585740
585741
|
TrustDialog: () => TrustDialog
|
|
585741
585742
|
});
|
|
585742
585743
|
import { homedir as homedir42 } from "os";
|
|
585744
|
+
function acceptCurrentWorkspaceTrust() {
|
|
585745
|
+
saveCurrentProjectConfig(_temp530);
|
|
585746
|
+
setSessionTrustAccepted(true);
|
|
585747
|
+
}
|
|
585743
585748
|
function TrustDialog(t0) {
|
|
585744
585749
|
const $3 = import_compiler_runtime354.c(33);
|
|
585745
585750
|
const {
|
|
@@ -585868,12 +585873,7 @@ function TrustDialog(t0) {
|
|
|
585868
585873
|
gracefulShutdownSync(1);
|
|
585869
585874
|
return;
|
|
585870
585875
|
}
|
|
585871
|
-
|
|
585872
|
-
if (isHomeDir_0) {
|
|
585873
|
-
setSessionTrustAccepted(true);
|
|
585874
|
-
} else {
|
|
585875
|
-
saveCurrentProjectConfig(_temp530);
|
|
585876
|
-
}
|
|
585876
|
+
acceptCurrentWorkspaceTrust();
|
|
585877
585877
|
onDone();
|
|
585878
585878
|
};
|
|
585879
585879
|
$3[16] = hasAnyBashExecution;
|
|
@@ -586362,7 +586362,7 @@ function completeOnboarding() {
|
|
|
586362
586362
|
saveGlobalConfig((current) => ({
|
|
586363
586363
|
...current,
|
|
586364
586364
|
hasCompletedOnboarding: true,
|
|
586365
|
-
lastOnboardingVersion: "1.0.0-alpha.
|
|
586365
|
+
lastOnboardingVersion: "1.0.0-alpha.21"
|
|
586366
586366
|
}));
|
|
586367
586367
|
}
|
|
586368
586368
|
function showDialog(root3, renderer) {
|
|
@@ -594825,8 +594825,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
594825
594825
|
}
|
|
594826
594826
|
async function checkEnvLessBridgeMinVersion() {
|
|
594827
594827
|
const cfg = await getEnvLessBridgeConfig();
|
|
594828
|
-
if (cfg.min_version && lt("1.0.0-alpha.
|
|
594829
|
-
return `Your version of Agent-OS (${"1.0.0-alpha.
|
|
594828
|
+
if (cfg.min_version && lt("1.0.0-alpha.21", cfg.min_version)) {
|
|
594829
|
+
return `Your version of Agent-OS (${"1.0.0-alpha.21"}) is too old for Remote Control.
|
|
594830
594830
|
Version ${cfg.min_version} or higher is required. Run \`agent-os update\` to update.`;
|
|
594831
594831
|
}
|
|
594832
594832
|
return null;
|
|
@@ -595299,7 +595299,7 @@ async function initBridgeCore(params) {
|
|
|
595299
595299
|
const rawApi = createBridgeApiClient({
|
|
595300
595300
|
baseUrl,
|
|
595301
595301
|
getAccessToken,
|
|
595302
|
-
runnerVersion: "1.0.0-alpha.
|
|
595302
|
+
runnerVersion: "1.0.0-alpha.21",
|
|
595303
595303
|
onDebug: logForDebugging,
|
|
595304
595304
|
onAuth401,
|
|
595305
595305
|
getTrustedDeviceToken
|
|
@@ -600978,7 +600978,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
600978
600978
|
setCwd(cwd3);
|
|
600979
600979
|
const server = new Server({
|
|
600980
600980
|
name: "claude/tengu",
|
|
600981
|
-
version: "1.0.0-alpha.
|
|
600981
|
+
version: "1.0.0-alpha.21"
|
|
600982
600982
|
}, {
|
|
600983
600983
|
capabilities: {
|
|
600984
600984
|
tools: {}
|
|
@@ -606489,7 +606489,7 @@ ${customInstructions}` : customInstructions;
|
|
|
606489
606489
|
}
|
|
606490
606490
|
}
|
|
606491
606491
|
logForDiagnosticsNoPII("info", "started", {
|
|
606492
|
-
version: "1.0.0-alpha.
|
|
606492
|
+
version: "1.0.0-alpha.21",
|
|
606493
606493
|
is_native_binary: isInBundledMode()
|
|
606494
606494
|
});
|
|
606495
606495
|
registerCleanup(async () => {
|
|
@@ -607281,7 +607281,7 @@ Usage: agent-os --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
607281
607281
|
pendingHookMessages
|
|
607282
607282
|
}, renderAndRun);
|
|
607283
607283
|
}
|
|
607284
|
-
}).version("1.0.0-alpha.
|
|
607284
|
+
}).version("1.0.0-alpha.21 (Agent-OS)", "-v, --version", "Output the version number");
|
|
607285
607285
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
607286
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.");
|
|
607287
607287
|
if (canUserConfigureAdvisor()) {
|
|
@@ -609119,7 +609119,7 @@ if (false) {}
|
|
|
609119
609119
|
async function main2() {
|
|
609120
609120
|
const args = process.argv.slice(2);
|
|
609121
609121
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
609122
|
-
console.log(`${"1.0.0-alpha.
|
|
609122
|
+
console.log(`${"1.0.0-alpha.21"} (Agent-OS)`);
|
|
609123
609123
|
return;
|
|
609124
609124
|
}
|
|
609125
609125
|
const {
|