@vionwilliams/agent-os 1.0.0-alpha.20 → 1.0.0-alpha.22
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 +160 -165
- 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.22` · 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.22 (Agent-OS)` 或更新版本。
|
|
68
68
|
|
|
69
69
|
然后打开 Agent-OS:
|
|
70
70
|
|
package/dist/cli.js
CHANGED
|
@@ -8275,37 +8275,44 @@ import {
|
|
|
8275
8275
|
function slowLoggingExternal() {
|
|
8276
8276
|
return NOOP_LOGGER;
|
|
8277
8277
|
}
|
|
8278
|
+
function withSlowOperationLogging(logger, operation) {
|
|
8279
|
+
try {
|
|
8280
|
+
return operation();
|
|
8281
|
+
} finally {
|
|
8282
|
+
logger[Symbol.dispose]();
|
|
8283
|
+
}
|
|
8284
|
+
}
|
|
8278
8285
|
function jsonStringify(value, replacer, space) {
|
|
8279
|
-
|
|
8280
|
-
return JSON.stringify(value, replacer, space);
|
|
8286
|
+
return withSlowOperationLogging(slowLogging`JSON.stringify(${value})`, () => JSON.stringify(value, replacer, space));
|
|
8281
8287
|
}
|
|
8282
8288
|
function clone(value, options) {
|
|
8283
|
-
|
|
8284
|
-
return structuredClone(value, options);
|
|
8289
|
+
return withSlowOperationLogging(slowLogging`structuredClone(${value})`, () => structuredClone(value, options));
|
|
8285
8290
|
}
|
|
8286
8291
|
function writeFileSync_DEPRECATED(filePath, data, options) {
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8292
|
+
return withSlowOperationLogging(slowLogging`fs.writeFileSync(${filePath}, ${data})`, () => {
|
|
8293
|
+
const needsFlush = options !== null && typeof options === "object" && "flush" in options && options.flush === true;
|
|
8294
|
+
if (needsFlush) {
|
|
8295
|
+
const encoding = typeof options === "object" && "encoding" in options ? options.encoding : undefined;
|
|
8296
|
+
const mode = typeof options === "object" && "mode" in options ? options.mode : undefined;
|
|
8297
|
+
let fd;
|
|
8298
|
+
try {
|
|
8299
|
+
fd = openSync(filePath, "w", mode);
|
|
8300
|
+
fsWriteFileSync(fd, data, { encoding: encoding ?? undefined });
|
|
8301
|
+
fsyncSync(fd);
|
|
8302
|
+
} finally {
|
|
8303
|
+
if (fd !== undefined) {
|
|
8304
|
+
closeSync(fd);
|
|
8305
|
+
}
|
|
8300
8306
|
}
|
|
8307
|
+
} else {
|
|
8308
|
+
fsWriteFileSync(filePath, data, options);
|
|
8301
8309
|
}
|
|
8302
|
-
}
|
|
8303
|
-
fsWriteFileSync(filePath, data, options);
|
|
8304
|
-
}
|
|
8310
|
+
});
|
|
8305
8311
|
}
|
|
8306
8312
|
var SLOW_OPERATION_THRESHOLD_MS, NOOP_LOGGER, slowLogging, jsonParse = (text, reviver) => {
|
|
8307
|
-
|
|
8308
|
-
|
|
8313
|
+
return withSlowOperationLogging(slowLogging`JSON.parse(${text})`, () => {
|
|
8314
|
+
return typeof reviver === "undefined" ? JSON.parse(text) : JSON.parse(text, reviver);
|
|
8315
|
+
});
|
|
8309
8316
|
};
|
|
8310
8317
|
var init_slowOperations = __esm(() => {
|
|
8311
8318
|
init_state();
|
|
@@ -8547,8 +8554,7 @@ var init_fsOperations = __esm(() => {
|
|
|
8547
8554
|
return process.cwd();
|
|
8548
8555
|
},
|
|
8549
8556
|
existsSync(fsPath) {
|
|
8550
|
-
|
|
8551
|
-
return fs.existsSync(fsPath);
|
|
8557
|
+
return withSlowOperationLogging(slowLogging`fs.existsSync(${fsPath})`, () => fs.existsSync(fsPath));
|
|
8552
8558
|
},
|
|
8553
8559
|
async stat(fsPath) {
|
|
8554
8560
|
return statPromise(fsPath);
|
|
@@ -8580,115 +8586,104 @@ var init_fsOperations = __esm(() => {
|
|
|
8580
8586
|
return renamePromise(oldPath, newPath);
|
|
8581
8587
|
},
|
|
8582
8588
|
statSync(fsPath) {
|
|
8583
|
-
|
|
8584
|
-
return fs.statSync(fsPath);
|
|
8589
|
+
return withSlowOperationLogging(slowLogging`fs.statSync(${fsPath})`, () => fs.statSync(fsPath));
|
|
8585
8590
|
},
|
|
8586
8591
|
lstatSync(fsPath) {
|
|
8587
|
-
|
|
8588
|
-
return fs.lstatSync(fsPath);
|
|
8592
|
+
return withSlowOperationLogging(slowLogging`fs.lstatSync(${fsPath})`, () => fs.lstatSync(fsPath));
|
|
8589
8593
|
},
|
|
8590
8594
|
readFileSync(fsPath, options) {
|
|
8591
|
-
|
|
8592
|
-
return fs.readFileSync(fsPath, { encoding: options.encoding });
|
|
8595
|
+
return withSlowOperationLogging(slowLogging`fs.readFileSync(${fsPath})`, () => fs.readFileSync(fsPath, { encoding: options.encoding }));
|
|
8593
8596
|
},
|
|
8594
8597
|
readFileBytesSync(fsPath) {
|
|
8595
|
-
|
|
8596
|
-
return fs.readFileSync(fsPath);
|
|
8598
|
+
return withSlowOperationLogging(slowLogging`fs.readFileBytesSync(${fsPath})`, () => fs.readFileSync(fsPath));
|
|
8597
8599
|
},
|
|
8598
8600
|
readSync(fsPath, options) {
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
8601
|
+
return withSlowOperationLogging(slowLogging`fs.readSync(${fsPath}, ${options.length} bytes)`, () => {
|
|
8602
|
+
let fd = undefined;
|
|
8603
|
+
try {
|
|
8604
|
+
fd = fs.openSync(fsPath, "r");
|
|
8605
|
+
const buffer = Buffer.alloc(options.length);
|
|
8606
|
+
const bytesRead = fs.readSync(fd, buffer, 0, options.length, 0);
|
|
8607
|
+
return { buffer, bytesRead };
|
|
8608
|
+
} finally {
|
|
8609
|
+
if (fd)
|
|
8610
|
+
fs.closeSync(fd);
|
|
8611
|
+
}
|
|
8612
|
+
});
|
|
8610
8613
|
},
|
|
8611
8614
|
appendFileSync(path2, data, options) {
|
|
8612
|
-
|
|
8613
|
-
|
|
8614
|
-
try {
|
|
8615
|
-
const fd = fs.openSync(path2, "ax", options.mode);
|
|
8615
|
+
return withSlowOperationLogging(slowLogging`fs.appendFileSync(${path2}, ${data.length} chars)`, () => {
|
|
8616
|
+
if (options?.mode !== undefined) {
|
|
8616
8617
|
try {
|
|
8617
|
-
fs.
|
|
8618
|
-
|
|
8619
|
-
|
|
8618
|
+
const fd = fs.openSync(path2, "ax", options.mode);
|
|
8619
|
+
try {
|
|
8620
|
+
fs.appendFileSync(fd, data);
|
|
8621
|
+
} finally {
|
|
8622
|
+
fs.closeSync(fd);
|
|
8623
|
+
}
|
|
8624
|
+
return;
|
|
8625
|
+
} catch (e) {
|
|
8626
|
+
if (getErrnoCode(e) !== "EEXIST")
|
|
8627
|
+
throw e;
|
|
8620
8628
|
}
|
|
8621
|
-
return;
|
|
8622
|
-
} catch (e) {
|
|
8623
|
-
if (getErrnoCode(e) !== "EEXIST")
|
|
8624
|
-
throw e;
|
|
8625
8629
|
}
|
|
8626
|
-
|
|
8627
|
-
|
|
8630
|
+
fs.appendFileSync(path2, data);
|
|
8631
|
+
});
|
|
8628
8632
|
},
|
|
8629
8633
|
copyFileSync(src, dest) {
|
|
8630
|
-
|
|
8631
|
-
fs.copyFileSync(src, dest);
|
|
8634
|
+
return withSlowOperationLogging(slowLogging`fs.copyFileSync(${src} \u2192 ${dest})`, () => fs.copyFileSync(src, dest));
|
|
8632
8635
|
},
|
|
8633
8636
|
unlinkSync(path2) {
|
|
8634
|
-
|
|
8635
|
-
fs.unlinkSync(path2);
|
|
8637
|
+
return withSlowOperationLogging(slowLogging`fs.unlinkSync(${path2})`, () => fs.unlinkSync(path2));
|
|
8636
8638
|
},
|
|
8637
8639
|
renameSync(oldPath, newPath) {
|
|
8638
|
-
|
|
8639
|
-
fs.renameSync(oldPath, newPath);
|
|
8640
|
+
return withSlowOperationLogging(slowLogging`fs.renameSync(${oldPath} \u2192 ${newPath})`, () => fs.renameSync(oldPath, newPath));
|
|
8640
8641
|
},
|
|
8641
8642
|
linkSync(target, path2) {
|
|
8642
|
-
|
|
8643
|
-
fs.linkSync(target, path2);
|
|
8643
|
+
return withSlowOperationLogging(slowLogging`fs.linkSync(${target} \u2192 ${path2})`, () => fs.linkSync(target, path2));
|
|
8644
8644
|
},
|
|
8645
8645
|
symlinkSync(target, path2, type) {
|
|
8646
|
-
|
|
8647
|
-
fs.symlinkSync(target, path2, type);
|
|
8646
|
+
return withSlowOperationLogging(slowLogging`fs.symlinkSync(${target} \u2192 ${path2})`, () => fs.symlinkSync(target, path2, type));
|
|
8648
8647
|
},
|
|
8649
8648
|
readlinkSync(path2) {
|
|
8650
|
-
|
|
8651
|
-
return fs.readlinkSync(path2);
|
|
8649
|
+
return withSlowOperationLogging(slowLogging`fs.readlinkSync(${path2})`, () => fs.readlinkSync(path2));
|
|
8652
8650
|
},
|
|
8653
8651
|
realpathSync(path2) {
|
|
8654
|
-
|
|
8655
|
-
return fs.realpathSync(path2).normalize("NFC");
|
|
8652
|
+
return withSlowOperationLogging(slowLogging`fs.realpathSync(${path2})`, () => fs.realpathSync(path2).normalize("NFC"));
|
|
8656
8653
|
},
|
|
8657
8654
|
mkdirSync(dirPath, options) {
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8655
|
+
return withSlowOperationLogging(slowLogging`fs.mkdirSync(${dirPath})`, () => {
|
|
8656
|
+
const mkdirOptions = {
|
|
8657
|
+
recursive: true
|
|
8658
|
+
};
|
|
8659
|
+
if (options?.mode !== undefined) {
|
|
8660
|
+
mkdirOptions.mode = options.mode;
|
|
8661
|
+
}
|
|
8662
|
+
try {
|
|
8663
|
+
fs.mkdirSync(dirPath, mkdirOptions);
|
|
8664
|
+
} catch (e) {
|
|
8665
|
+
if (getErrnoCode(e) !== "EEXIST")
|
|
8666
|
+
throw e;
|
|
8667
|
+
}
|
|
8668
|
+
});
|
|
8671
8669
|
},
|
|
8672
8670
|
readdirSync(dirPath) {
|
|
8673
|
-
|
|
8674
|
-
return fs.readdirSync(dirPath, { withFileTypes: true });
|
|
8671
|
+
return withSlowOperationLogging(slowLogging`fs.readdirSync(${dirPath})`, () => fs.readdirSync(dirPath, { withFileTypes: true }));
|
|
8675
8672
|
},
|
|
8676
8673
|
readdirStringSync(dirPath) {
|
|
8677
|
-
|
|
8678
|
-
return fs.readdirSync(dirPath);
|
|
8674
|
+
return withSlowOperationLogging(slowLogging`fs.readdirStringSync(${dirPath})`, () => fs.readdirSync(dirPath));
|
|
8679
8675
|
},
|
|
8680
8676
|
isDirEmptySync(dirPath) {
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8677
|
+
return withSlowOperationLogging(slowLogging`fs.isDirEmptySync(${dirPath})`, () => {
|
|
8678
|
+
const files = this.readdirSync(dirPath);
|
|
8679
|
+
return files.length === 0;
|
|
8680
|
+
});
|
|
8684
8681
|
},
|
|
8685
8682
|
rmdirSync(dirPath) {
|
|
8686
|
-
|
|
8687
|
-
fs.rmdirSync(dirPath);
|
|
8683
|
+
return withSlowOperationLogging(slowLogging`fs.rmdirSync(${dirPath})`, () => fs.rmdirSync(dirPath));
|
|
8688
8684
|
},
|
|
8689
8685
|
rmSync(path2, options) {
|
|
8690
|
-
|
|
8691
|
-
fs.rmSync(path2, options);
|
|
8686
|
+
return withSlowOperationLogging(slowLogging`fs.rmSync(${path2})`, () => fs.rmSync(path2, options));
|
|
8692
8687
|
},
|
|
8693
8688
|
createWriteStream(path2) {
|
|
8694
8689
|
return fs.createWriteStream(path2);
|
|
@@ -30703,8 +30698,7 @@ import {
|
|
|
30703
30698
|
execSync as nodeExecSync
|
|
30704
30699
|
} from "child_process";
|
|
30705
30700
|
function execSync_DEPRECATED(command, options) {
|
|
30706
|
-
|
|
30707
|
-
return nodeExecSync(command, options);
|
|
30701
|
+
return withSlowOperationLogging(slowLogging`execSync: ${command.slice(0, 100)}`, () => nodeExecSync(command, options));
|
|
30708
30702
|
}
|
|
30709
30703
|
var init_execSyncWrapper = __esm(() => {
|
|
30710
30704
|
init_slowOperations();
|
|
@@ -32282,25 +32276,26 @@ function execSyncWithDefaults_DEPRECATED(command, optionsOrAbortSignal, timeout
|
|
|
32282
32276
|
stdio = ["ignore", "pipe", "pipe"]
|
|
32283
32277
|
} = options;
|
|
32284
32278
|
abortSignal?.throwIfAborted();
|
|
32285
|
-
|
|
32286
|
-
|
|
32287
|
-
|
|
32288
|
-
|
|
32289
|
-
|
|
32290
|
-
|
|
32291
|
-
|
|
32292
|
-
|
|
32293
|
-
|
|
32294
|
-
|
|
32295
|
-
|
|
32296
|
-
|
|
32297
|
-
|
|
32279
|
+
return withSlowOperationLogging(slowLogging`exec: ${command.slice(0, 200)}`, () => {
|
|
32280
|
+
try {
|
|
32281
|
+
const result = execaSync(command, {
|
|
32282
|
+
env: process.env,
|
|
32283
|
+
maxBuffer: 1e6,
|
|
32284
|
+
timeout: finalTimeout,
|
|
32285
|
+
cwd: getCwd(),
|
|
32286
|
+
stdio,
|
|
32287
|
+
shell: true,
|
|
32288
|
+
reject: false,
|
|
32289
|
+
input
|
|
32290
|
+
});
|
|
32291
|
+
if (!result.stdout) {
|
|
32292
|
+
return null;
|
|
32293
|
+
}
|
|
32294
|
+
return result.stdout.trim() || null;
|
|
32295
|
+
} catch {
|
|
32298
32296
|
return null;
|
|
32299
32297
|
}
|
|
32300
|
-
|
|
32301
|
-
} catch {
|
|
32302
|
-
return null;
|
|
32303
|
-
}
|
|
32298
|
+
});
|
|
32304
32299
|
}
|
|
32305
32300
|
var MS_IN_SECOND = 1000, SECONDS_IN_MINUTE = 60;
|
|
32306
32301
|
var init_execFileNoThrowPortable = __esm(() => {
|
|
@@ -93307,7 +93302,7 @@ var init_system = __esm(() => {
|
|
|
93307
93302
|
AGENT_SDK_CLAUDE_CODE_PRESET_PREFIX,
|
|
93308
93303
|
AGENT_SDK_PREFIX
|
|
93309
93304
|
];
|
|
93310
|
-
AGENT_OS_VERSION = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93305
|
+
AGENT_OS_VERSION = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "dev";
|
|
93311
93306
|
CLI_SYSPROMPT_PREFIXES = new Set(CLI_SYSPROMPT_PREFIX_VALUES);
|
|
93312
93307
|
});
|
|
93313
93308
|
|
|
@@ -93751,7 +93746,7 @@ function getClaudeCodeUserAgent() {
|
|
|
93751
93746
|
}
|
|
93752
93747
|
var AGENT_OS_VERSION2;
|
|
93753
93748
|
var init_userAgent = __esm(() => {
|
|
93754
|
-
AGENT_OS_VERSION2 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93749
|
+
AGENT_OS_VERSION2 = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "dev";
|
|
93755
93750
|
});
|
|
93756
93751
|
|
|
93757
93752
|
// src/utils/http.ts
|
|
@@ -93832,7 +93827,7 @@ var init_http2 = __esm(() => {
|
|
|
93832
93827
|
init_auth();
|
|
93833
93828
|
init_userAgent();
|
|
93834
93829
|
init_workloadContext();
|
|
93835
|
-
AGENT_OS_VERSION3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
93830
|
+
AGENT_OS_VERSION3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "dev";
|
|
93836
93831
|
});
|
|
93837
93832
|
|
|
93838
93833
|
// src/services/api/router/userProviders.ts
|
|
@@ -207168,7 +207163,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
207168
207163
|
init_settings2();
|
|
207169
207164
|
init_slowOperations();
|
|
207170
207165
|
init_uuid();
|
|
207171
|
-
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
207166
|
+
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "unknown";
|
|
207172
207167
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
207173
207168
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
207174
207169
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -207298,7 +207293,7 @@ function Feedback({
|
|
|
207298
207293
|
platform: env3.platform,
|
|
207299
207294
|
gitRepo: envInfo.isGit,
|
|
207300
207295
|
terminal: env3.terminal,
|
|
207301
|
-
version: "1.0.0-alpha.
|
|
207296
|
+
version: "1.0.0-alpha.22",
|
|
207302
207297
|
transcript: normalizeMessagesForAPI(messages),
|
|
207303
207298
|
errors: sanitizedErrors,
|
|
207304
207299
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -207482,7 +207477,7 @@ function Feedback({
|
|
|
207482
207477
|
", ",
|
|
207483
207478
|
env3.terminal,
|
|
207484
207479
|
", v",
|
|
207485
|
-
"1.0.0-alpha.
|
|
207480
|
+
"1.0.0-alpha.22"
|
|
207486
207481
|
]
|
|
207487
207482
|
})
|
|
207488
207483
|
]
|
|
@@ -207588,7 +207583,7 @@ ${sanitizedDescription}
|
|
|
207588
207583
|
` + `**Environment Info**
|
|
207589
207584
|
` + `- Platform: ${env3.platform}
|
|
207590
207585
|
` + `- Terminal: ${env3.terminal}
|
|
207591
|
-
` + `- Version: ${"1.0.0-alpha.
|
|
207586
|
+
` + `- Version: ${"1.0.0-alpha.22"}
|
|
207592
207587
|
` + `- Feedback ID: ${feedbackId}
|
|
207593
207588
|
` + `
|
|
207594
207589
|
**Errors**
|
|
@@ -259973,8 +259968,8 @@ var init_toolAnalytics = __esm(() => {
|
|
|
259973
259968
|
init_agentContext();
|
|
259974
259969
|
init_slowOperations();
|
|
259975
259970
|
init_teammate();
|
|
259976
|
-
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
259977
|
-
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-
|
|
259971
|
+
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "dev";
|
|
259972
|
+
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-21T08:12:13Z" : undefined;
|
|
259978
259973
|
BUILTIN_MCP_SERVER_NAMES = new Set([]);
|
|
259979
259974
|
TOOL_INPUT_MAX_JSON_CHARS = 4 * 1024;
|
|
259980
259975
|
FILE_COMMANDS = new Set([
|
|
@@ -274620,7 +274615,7 @@ function getInstallationEnv() {
|
|
|
274620
274615
|
return;
|
|
274621
274616
|
}
|
|
274622
274617
|
function getClaudeCodeVersion() {
|
|
274623
|
-
return "1.0.0-alpha.
|
|
274618
|
+
return "1.0.0-alpha.22";
|
|
274624
274619
|
}
|
|
274625
274620
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
274626
274621
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -297338,7 +297333,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
297338
297333
|
const client = new Client({
|
|
297339
297334
|
name: "claude-code",
|
|
297340
297335
|
title: "Agent-OS",
|
|
297341
|
-
version: "1.0.0-alpha.
|
|
297336
|
+
version: "1.0.0-alpha.22",
|
|
297342
297337
|
description: "Anthropic's agentic coding tool",
|
|
297343
297338
|
websiteUrl: PRODUCT_URL
|
|
297344
297339
|
}, {
|
|
@@ -297691,7 +297686,7 @@ var init_client4 = __esm(() => {
|
|
|
297691
297686
|
const client = new Client({
|
|
297692
297687
|
name: "claude-code",
|
|
297693
297688
|
title: "Agent-OS",
|
|
297694
|
-
version: "1.0.0-alpha.
|
|
297689
|
+
version: "1.0.0-alpha.22",
|
|
297695
297690
|
description: "Anthropic's agentic coding tool",
|
|
297696
297691
|
websiteUrl: PRODUCT_URL
|
|
297697
297692
|
}, {
|
|
@@ -416336,7 +416331,7 @@ function getInvokedBinary() {
|
|
|
416336
416331
|
async function getDoctorDiagnostic() {
|
|
416337
416332
|
return {
|
|
416338
416333
|
installationType: "package-manager",
|
|
416339
|
-
version: "1.0.0-alpha.
|
|
416334
|
+
version: "1.0.0-alpha.22",
|
|
416340
416335
|
installationPath: process.argv[1] ?? "",
|
|
416341
416336
|
invokedBinary: getInvokedBinary(),
|
|
416342
416337
|
configInstallMethod: "not set",
|
|
@@ -416741,7 +416736,7 @@ function buildPrimarySection() {
|
|
|
416741
416736
|
});
|
|
416742
416737
|
return [{
|
|
416743
416738
|
label: "Version",
|
|
416744
|
-
value: "1.0.0-alpha.
|
|
416739
|
+
value: "1.0.0-alpha.22"
|
|
416745
416740
|
}, {
|
|
416746
416741
|
label: "Session name",
|
|
416747
416742
|
value: nameValue
|
|
@@ -420384,7 +420379,7 @@ function Config({
|
|
|
420384
420379
|
}
|
|
420385
420380
|
})
|
|
420386
420381
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime169.jsx(ChannelDowngradeDialog, {
|
|
420387
|
-
currentVersion: "1.0.0-alpha.
|
|
420382
|
+
currentVersion: "1.0.0-alpha.22",
|
|
420388
420383
|
onChoice: (choice) => {
|
|
420389
420384
|
setShowSubmenu(null);
|
|
420390
420385
|
setTabsHidden(false);
|
|
@@ -420396,7 +420391,7 @@ function Config({
|
|
|
420396
420391
|
autoUpdatesChannel: "stable"
|
|
420397
420392
|
};
|
|
420398
420393
|
if (choice === "stay") {
|
|
420399
|
-
newSettings.minimumVersion = "1.0.0-alpha.
|
|
420394
|
+
newSettings.minimumVersion = "1.0.0-alpha.22";
|
|
420400
420395
|
}
|
|
420401
420396
|
updateSettingsForSource("userSettings", newSettings);
|
|
420402
420397
|
setSettingsData((prev_27) => ({
|
|
@@ -428387,7 +428382,7 @@ function HelpV2(t0) {
|
|
|
428387
428382
|
let t6;
|
|
428388
428383
|
if ($3[31] !== tabs) {
|
|
428389
428384
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
428390
|
-
title: `Agent-OS v${"1.0.0-alpha.
|
|
428385
|
+
title: `Agent-OS v${"1.0.0-alpha.22"}`,
|
|
428391
428386
|
color: "professionalBlue",
|
|
428392
428387
|
defaultTab: "general",
|
|
428393
428388
|
children: tabs
|
|
@@ -431515,7 +431510,7 @@ var init_user = __esm(() => {
|
|
|
431515
431510
|
deviceId,
|
|
431516
431511
|
sessionId: getSessionId(),
|
|
431517
431512
|
email: getEmail(),
|
|
431518
|
-
appVersion: "1.0.0-alpha.
|
|
431513
|
+
appVersion: "1.0.0-alpha.22",
|
|
431519
431514
|
platform: getHostPlatformForAnalytics(),
|
|
431520
431515
|
organizationUuid,
|
|
431521
431516
|
accountUuid,
|
|
@@ -451766,7 +451761,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451766
451761
|
return [];
|
|
451767
451762
|
}
|
|
451768
451763
|
}
|
|
451769
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451764
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.22") {
|
|
451770
451765
|
if (process.env.USER_TYPE === "ant") {
|
|
451771
451766
|
const changelog = "";
|
|
451772
451767
|
if (changelog) {
|
|
@@ -451793,7 +451788,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alp
|
|
|
451793
451788
|
releaseNotes
|
|
451794
451789
|
};
|
|
451795
451790
|
}
|
|
451796
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451791
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.22") {
|
|
451797
451792
|
if (process.env.USER_TYPE === "ant") {
|
|
451798
451793
|
const changelog = "";
|
|
451799
451794
|
if (changelog) {
|
|
@@ -452920,7 +452915,7 @@ function getRecentActivitySync() {
|
|
|
452920
452915
|
return cachedActivity;
|
|
452921
452916
|
}
|
|
452922
452917
|
function getLogoDisplayData() {
|
|
452923
|
-
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.
|
|
452918
|
+
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.22";
|
|
452924
452919
|
const serverUrl = getDirectConnectServerUrl();
|
|
452925
452920
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
452926
452921
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454135,7 +454130,7 @@ function LogoV2() {
|
|
|
454135
454130
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454136
454131
|
t2 = () => {
|
|
454137
454132
|
const currentConfig = getGlobalConfig();
|
|
454138
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454133
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.22") {
|
|
454139
454134
|
return;
|
|
454140
454135
|
}
|
|
454141
454136
|
saveGlobalConfig(_temp328);
|
|
@@ -454801,12 +454796,12 @@ function AgentOsPoster() {
|
|
|
454801
454796
|
});
|
|
454802
454797
|
}
|
|
454803
454798
|
function _temp328(current) {
|
|
454804
|
-
if (current.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454799
|
+
if (current.lastReleaseNotesSeen === "1.0.0-alpha.22") {
|
|
454805
454800
|
return current;
|
|
454806
454801
|
}
|
|
454807
454802
|
return {
|
|
454808
454803
|
...current,
|
|
454809
|
-
lastReleaseNotesSeen: "1.0.0-alpha.
|
|
454804
|
+
lastReleaseNotesSeen: "1.0.0-alpha.22"
|
|
454810
454805
|
};
|
|
454811
454806
|
}
|
|
454812
454807
|
function _temp245(s_0) {
|
|
@@ -481383,7 +481378,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481383
481378
|
smapsRollup,
|
|
481384
481379
|
platform: process.platform,
|
|
481385
481380
|
nodeVersion: process.version,
|
|
481386
|
-
ccVersion: "1.0.0-alpha.
|
|
481381
|
+
ccVersion: "1.0.0-alpha.22"
|
|
481387
481382
|
};
|
|
481388
481383
|
}
|
|
481389
481384
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -481956,7 +481951,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
481956
481951
|
var call58 = async () => {
|
|
481957
481952
|
return {
|
|
481958
481953
|
type: "text",
|
|
481959
|
-
value: `${"1.0.0-alpha.
|
|
481954
|
+
value: `${"1.0.0-alpha.22"} (built ${"2026-05-21T08:12:13Z"})`
|
|
481960
481955
|
};
|
|
481961
481956
|
}, version2, version_default;
|
|
481962
481957
|
var init_version = __esm(() => {
|
|
@@ -491448,7 +491443,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491448
491443
|
</html>`;
|
|
491449
491444
|
}
|
|
491450
491445
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491451
|
-
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
491446
|
+
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "unknown";
|
|
491452
491447
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
491453
491448
|
const facets_summary = {
|
|
491454
491449
|
total: facets.size,
|
|
@@ -515666,7 +515661,7 @@ var init_filesystem = __esm(() => {
|
|
|
515666
515661
|
});
|
|
515667
515662
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
515668
515663
|
const nonce = randomBytes18(16).toString("hex");
|
|
515669
|
-
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.
|
|
515664
|
+
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.22", nonce);
|
|
515670
515665
|
});
|
|
515671
515666
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
515672
515667
|
});
|
|
@@ -521596,7 +521591,7 @@ function computeFingerprintFromMessages(messages) {
|
|
|
521596
521591
|
}
|
|
521597
521592
|
var AGENT_OS_VERSION5, FINGERPRINT_SALT = "59cf53e54c78";
|
|
521598
521593
|
var init_fingerprint = __esm(() => {
|
|
521599
|
-
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
521594
|
+
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.22" : "dev";
|
|
521600
521595
|
});
|
|
521601
521596
|
|
|
521602
521597
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -523350,7 +523345,7 @@ async function sideQuery(opts) {
|
|
|
523350
523345
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
523351
523346
|
}
|
|
523352
523347
|
const messageText = extractFirstUserMessageText(messages);
|
|
523353
|
-
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.
|
|
523348
|
+
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.22");
|
|
523354
523349
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
523355
523350
|
const systemBlocks = [
|
|
523356
523351
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -525269,7 +525264,7 @@ function appendToLog(path24, message) {
|
|
|
525269
525264
|
cwd: getFsImplementation().cwd(),
|
|
525270
525265
|
userType: process.env.USER_TYPE,
|
|
525271
525266
|
sessionId: getSessionId(),
|
|
525272
|
-
version: "1.0.0-alpha.
|
|
525267
|
+
version: "1.0.0-alpha.22"
|
|
525273
525268
|
};
|
|
525274
525269
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
525275
525270
|
}
|
|
@@ -528247,7 +528242,7 @@ function getTelemetryAttributes() {
|
|
|
528247
528242
|
attributes["session.id"] = sessionId;
|
|
528248
528243
|
}
|
|
528249
528244
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
528250
|
-
attributes["app.version"] = "1.0.0-alpha.
|
|
528245
|
+
attributes["app.version"] = "1.0.0-alpha.22";
|
|
528251
528246
|
}
|
|
528252
528247
|
if (envDynamic.terminal) {
|
|
528253
528248
|
attributes["terminal.type"] = envDynamic.terminal;
|
|
@@ -538391,7 +538386,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538391
538386
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
538392
538387
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538393
538388
|
betas: getSdkBetas(),
|
|
538394
|
-
claude_code_version: "1.0.0-alpha.
|
|
538389
|
+
claude_code_version: "1.0.0-alpha.22",
|
|
538395
538390
|
output_style: outputStyle2,
|
|
538396
538391
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538397
538392
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -560860,7 +560855,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
560860
560855
|
project_dir: getOriginalCwd(),
|
|
560861
560856
|
added_dirs: addedDirs
|
|
560862
560857
|
},
|
|
560863
|
-
version: "1.0.0-alpha.
|
|
560858
|
+
version: "1.0.0-alpha.22",
|
|
560864
560859
|
output_style: {
|
|
560865
560860
|
name: outputStyleName
|
|
560866
560861
|
},
|
|
@@ -584216,7 +584211,7 @@ function WelcomeV2() {
|
|
|
584216
584211
|
dimColor: true,
|
|
584217
584212
|
children: [
|
|
584218
584213
|
"v",
|
|
584219
|
-
"1.0.0-alpha.
|
|
584214
|
+
"1.0.0-alpha.22",
|
|
584220
584215
|
" "
|
|
584221
584216
|
]
|
|
584222
584217
|
})
|
|
@@ -584416,7 +584411,7 @@ function WelcomeV2() {
|
|
|
584416
584411
|
dimColor: true,
|
|
584417
584412
|
children: [
|
|
584418
584413
|
"v",
|
|
584419
|
-
"1.0.0-alpha.
|
|
584414
|
+
"1.0.0-alpha.22",
|
|
584420
584415
|
" "
|
|
584421
584416
|
]
|
|
584422
584417
|
})
|
|
@@ -584642,7 +584637,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584642
584637
|
dimColor: true,
|
|
584643
584638
|
children: [
|
|
584644
584639
|
"v",
|
|
584645
|
-
"1.0.0-alpha.
|
|
584640
|
+
"1.0.0-alpha.22",
|
|
584646
584641
|
" "
|
|
584647
584642
|
]
|
|
584648
584643
|
});
|
|
@@ -584896,7 +584891,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584896
584891
|
dimColor: true,
|
|
584897
584892
|
children: [
|
|
584898
584893
|
"v",
|
|
584899
|
-
"1.0.0-alpha.
|
|
584894
|
+
"1.0.0-alpha.22",
|
|
584900
584895
|
" "
|
|
584901
584896
|
]
|
|
584902
584897
|
});
|
|
@@ -585737,9 +585732,14 @@ var init_utils14 = __esm(() => {
|
|
|
585737
585732
|
// src/components/TrustDialog/TrustDialog.tsx
|
|
585738
585733
|
var exports_TrustDialog = {};
|
|
585739
585734
|
__export(exports_TrustDialog, {
|
|
585735
|
+
acceptCurrentWorkspaceTrust: () => acceptCurrentWorkspaceTrust,
|
|
585740
585736
|
TrustDialog: () => TrustDialog
|
|
585741
585737
|
});
|
|
585742
585738
|
import { homedir as homedir42 } from "os";
|
|
585739
|
+
function acceptCurrentWorkspaceTrust() {
|
|
585740
|
+
saveCurrentProjectConfig(_temp530);
|
|
585741
|
+
setSessionTrustAccepted(true);
|
|
585742
|
+
}
|
|
585743
585743
|
function TrustDialog(t0) {
|
|
585744
585744
|
const $3 = import_compiler_runtime354.c(33);
|
|
585745
585745
|
const {
|
|
@@ -585868,12 +585868,7 @@ function TrustDialog(t0) {
|
|
|
585868
585868
|
gracefulShutdownSync(1);
|
|
585869
585869
|
return;
|
|
585870
585870
|
}
|
|
585871
|
-
|
|
585872
|
-
if (isHomeDir_0) {
|
|
585873
|
-
setSessionTrustAccepted(true);
|
|
585874
|
-
} else {
|
|
585875
|
-
saveCurrentProjectConfig(_temp530);
|
|
585876
|
-
}
|
|
585871
|
+
acceptCurrentWorkspaceTrust();
|
|
585877
585872
|
onDone();
|
|
585878
585873
|
};
|
|
585879
585874
|
$3[16] = hasAnyBashExecution;
|
|
@@ -586362,7 +586357,7 @@ function completeOnboarding() {
|
|
|
586362
586357
|
saveGlobalConfig((current) => ({
|
|
586363
586358
|
...current,
|
|
586364
586359
|
hasCompletedOnboarding: true,
|
|
586365
|
-
lastOnboardingVersion: "1.0.0-alpha.
|
|
586360
|
+
lastOnboardingVersion: "1.0.0-alpha.22"
|
|
586366
586361
|
}));
|
|
586367
586362
|
}
|
|
586368
586363
|
function showDialog(root3, renderer) {
|
|
@@ -594825,8 +594820,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
594825
594820
|
}
|
|
594826
594821
|
async function checkEnvLessBridgeMinVersion() {
|
|
594827
594822
|
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.
|
|
594823
|
+
if (cfg.min_version && lt("1.0.0-alpha.22", cfg.min_version)) {
|
|
594824
|
+
return `Your version of Agent-OS (${"1.0.0-alpha.22"}) is too old for Remote Control.
|
|
594830
594825
|
Version ${cfg.min_version} or higher is required. Run \`agent-os update\` to update.`;
|
|
594831
594826
|
}
|
|
594832
594827
|
return null;
|
|
@@ -595299,7 +595294,7 @@ async function initBridgeCore(params) {
|
|
|
595299
595294
|
const rawApi = createBridgeApiClient({
|
|
595300
595295
|
baseUrl,
|
|
595301
595296
|
getAccessToken,
|
|
595302
|
-
runnerVersion: "1.0.0-alpha.
|
|
595297
|
+
runnerVersion: "1.0.0-alpha.22",
|
|
595303
595298
|
onDebug: logForDebugging,
|
|
595304
595299
|
onAuth401,
|
|
595305
595300
|
getTrustedDeviceToken
|
|
@@ -600978,7 +600973,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
600978
600973
|
setCwd(cwd3);
|
|
600979
600974
|
const server = new Server({
|
|
600980
600975
|
name: "claude/tengu",
|
|
600981
|
-
version: "1.0.0-alpha.
|
|
600976
|
+
version: "1.0.0-alpha.22"
|
|
600982
600977
|
}, {
|
|
600983
600978
|
capabilities: {
|
|
600984
600979
|
tools: {}
|
|
@@ -606489,7 +606484,7 @@ ${customInstructions}` : customInstructions;
|
|
|
606489
606484
|
}
|
|
606490
606485
|
}
|
|
606491
606486
|
logForDiagnosticsNoPII("info", "started", {
|
|
606492
|
-
version: "1.0.0-alpha.
|
|
606487
|
+
version: "1.0.0-alpha.22",
|
|
606493
606488
|
is_native_binary: isInBundledMode()
|
|
606494
606489
|
});
|
|
606495
606490
|
registerCleanup(async () => {
|
|
@@ -607281,7 +607276,7 @@ Usage: agent-os --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
607281
607276
|
pendingHookMessages
|
|
607282
607277
|
}, renderAndRun);
|
|
607283
607278
|
}
|
|
607284
|
-
}).version("1.0.0-alpha.
|
|
607279
|
+
}).version("1.0.0-alpha.22 (Agent-OS)", "-v, --version", "Output the version number");
|
|
607285
607280
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
607286
607281
|
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
607282
|
if (canUserConfigureAdvisor()) {
|
|
@@ -609119,7 +609114,7 @@ if (false) {}
|
|
|
609119
609114
|
async function main2() {
|
|
609120
609115
|
const args = process.argv.slice(2);
|
|
609121
609116
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
609122
|
-
console.log(`${"1.0.0-alpha.
|
|
609117
|
+
console.log(`${"1.0.0-alpha.22"} (Agent-OS)`);
|
|
609123
609118
|
return;
|
|
609124
609119
|
}
|
|
609125
609120
|
const {
|