@vionwilliams/agent-os 1.0.0-alpha.17 → 1.0.0-alpha.19
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 +191 -92
- package/package.json +1 -2
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.19` · 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.19 (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.19" : "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.19" : "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.19" : "dev";
|
|
93836
93836
|
});
|
|
93837
93837
|
|
|
93838
93838
|
// src/services/api/router/userProviders.ts
|
|
@@ -94112,8 +94112,8 @@ var init_keyDetector = __esm(() => {
|
|
|
94112
94112
|
name: "deepseek",
|
|
94113
94113
|
displayName: "DeepSeek",
|
|
94114
94114
|
baseUrl: "https://api.deepseek.com",
|
|
94115
|
-
models: ["deepseek-v4-
|
|
94116
|
-
defaultModel: "deepseek-v4-
|
|
94115
|
+
models: ["deepseek-v4-pro", "deepseek-v4-flash", "deepseek-chat", "deepseek-reasoner"],
|
|
94116
|
+
defaultModel: "deepseek-v4-pro",
|
|
94117
94117
|
envKey: "DEEPSEEK_API_KEY",
|
|
94118
94118
|
type: "deepseek"
|
|
94119
94119
|
},
|
|
@@ -94359,7 +94359,7 @@ function buildDefaultDeepSeekConfig() {
|
|
|
94359
94359
|
if (!deepseek)
|
|
94360
94360
|
return null;
|
|
94361
94361
|
const baseUrl = process.env.MODEL_BASE_URL?.trim() || deepseek.baseUrl;
|
|
94362
|
-
const model = normalizeModelNameForProvider("deepseek", process.env.MODEL_NAME) || getDeepSeekProfileDefaultModel(isDeepSeekProviderConfig("deepseek", { type: deepseek.type, baseUrl }) ? process.env.DEEPSEEK_PROFILE : undefined) || deepseek.defaultModel || deepseek.models[0] || "deepseek-v4-
|
|
94362
|
+
const model = normalizeModelNameForProvider("deepseek", process.env.MODEL_NAME) || getDeepSeekProfileDefaultModel(isDeepSeekProviderConfig("deepseek", { type: deepseek.type, baseUrl }) ? process.env.DEEPSEEK_PROFILE : undefined) || deepseek.defaultModel || deepseek.models[0] || "deepseek-v4-pro";
|
|
94363
94363
|
return normalizeConfig({
|
|
94364
94364
|
default: `deepseek/${model}`,
|
|
94365
94365
|
providers: {
|
|
@@ -108830,8 +108830,10 @@ function convertToSandboxRuntimeConfig(settings) {
|
|
|
108830
108830
|
denyWrite.push(resolve12(cwd2, ".claude", "settings.json"));
|
|
108831
108831
|
denyWrite.push(resolve12(cwd2, ".claude", "settings.local.json"));
|
|
108832
108832
|
}
|
|
108833
|
+
denyWrite.push(resolve12(originalCwd, ".agent-os", "skills"));
|
|
108833
108834
|
denyWrite.push(resolve12(originalCwd, ".claude", "skills"));
|
|
108834
108835
|
if (cwd2 !== originalCwd) {
|
|
108836
|
+
denyWrite.push(resolve12(cwd2, ".agent-os", "skills"));
|
|
108835
108837
|
denyWrite.push(resolve12(cwd2, ".claude", "skills"));
|
|
108836
108838
|
}
|
|
108837
108839
|
bareGitRepoScrubPaths.length = 0;
|
|
@@ -207166,7 +207168,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
207166
207168
|
init_settings2();
|
|
207167
207169
|
init_slowOperations();
|
|
207168
207170
|
init_uuid();
|
|
207169
|
-
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
207171
|
+
VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.19" : "unknown";
|
|
207170
207172
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
207171
207173
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
207172
207174
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -207296,7 +207298,7 @@ function Feedback({
|
|
|
207296
207298
|
platform: env3.platform,
|
|
207297
207299
|
gitRepo: envInfo.isGit,
|
|
207298
207300
|
terminal: env3.terminal,
|
|
207299
|
-
version: "1.0.0-alpha.
|
|
207301
|
+
version: "1.0.0-alpha.19",
|
|
207300
207302
|
transcript: normalizeMessagesForAPI(messages),
|
|
207301
207303
|
errors: sanitizedErrors,
|
|
207302
207304
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -207480,7 +207482,7 @@ function Feedback({
|
|
|
207480
207482
|
", ",
|
|
207481
207483
|
env3.terminal,
|
|
207482
207484
|
", v",
|
|
207483
|
-
"1.0.0-alpha.
|
|
207485
|
+
"1.0.0-alpha.19"
|
|
207484
207486
|
]
|
|
207485
207487
|
})
|
|
207486
207488
|
]
|
|
@@ -207586,7 +207588,7 @@ ${sanitizedDescription}
|
|
|
207586
207588
|
` + `**Environment Info**
|
|
207587
207589
|
` + `- Platform: ${env3.platform}
|
|
207588
207590
|
` + `- Terminal: ${env3.terminal}
|
|
207589
|
-
` + `- Version: ${"1.0.0-alpha.
|
|
207591
|
+
` + `- Version: ${"1.0.0-alpha.19"}
|
|
207590
207592
|
` + `- Feedback ID: ${feedbackId}
|
|
207591
207593
|
` + `
|
|
207592
207594
|
**Errors**
|
|
@@ -259971,8 +259973,8 @@ var init_toolAnalytics = __esm(() => {
|
|
|
259971
259973
|
init_agentContext();
|
|
259972
259974
|
init_slowOperations();
|
|
259973
259975
|
init_teammate();
|
|
259974
|
-
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
259975
|
-
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-
|
|
259976
|
+
AGENT_OS_VERSION4 = typeof MACRO !== "undefined" ? "1.0.0-alpha.19" : "dev";
|
|
259977
|
+
AGENT_OS_BUILD_TIME = typeof MACRO !== "undefined" ? "2026-05-20T18:19:54Z" : undefined;
|
|
259976
259978
|
BUILTIN_MCP_SERVER_NAMES = new Set([]);
|
|
259977
259979
|
TOOL_INPUT_MAX_JSON_CHARS = 4 * 1024;
|
|
259978
259980
|
FILE_COMMANDS = new Set([
|
|
@@ -270151,6 +270153,21 @@ import {
|
|
|
270151
270153
|
sep as pathSep,
|
|
270152
270154
|
relative as relative8
|
|
270153
270155
|
} from "path";
|
|
270156
|
+
function getProjectSkillsPath() {
|
|
270157
|
+
return join64(".agent-os", "skills");
|
|
270158
|
+
}
|
|
270159
|
+
function getProjectSkillsPathForRoot(root2) {
|
|
270160
|
+
return join64(root2, ".agent-os", "skills");
|
|
270161
|
+
}
|
|
270162
|
+
function getLegacyProjectSkillsPathForRoot(root2) {
|
|
270163
|
+
return join64(root2, ".claude", "skills");
|
|
270164
|
+
}
|
|
270165
|
+
function getAdditionalSkillsPaths(root2) {
|
|
270166
|
+
return [
|
|
270167
|
+
getProjectSkillsPathForRoot(root2),
|
|
270168
|
+
getLegacyProjectSkillsPathForRoot(root2)
|
|
270169
|
+
];
|
|
270170
|
+
}
|
|
270154
270171
|
function getSkillsPath(source, dir) {
|
|
270155
270172
|
switch (source) {
|
|
270156
270173
|
case "policySettings":
|
|
@@ -270158,7 +270175,7 @@ function getSkillsPath(source, dir) {
|
|
|
270158
270175
|
case "userSettings":
|
|
270159
270176
|
return join64(getClaudeConfigHomeDir(), dir);
|
|
270160
270177
|
case "projectSettings":
|
|
270161
|
-
return `.claude/${dir}`;
|
|
270178
|
+
return dir === "skills" ? getProjectSkillsPath() : `.claude/${dir}`;
|
|
270162
270179
|
case "plugin":
|
|
270163
270180
|
return "plugin";
|
|
270164
270181
|
default:
|
|
@@ -270482,8 +270499,14 @@ async function discoverSkillDirsForPaths(filePaths, cwd2) {
|
|
|
270482
270499
|
for (const filePath of filePaths) {
|
|
270483
270500
|
let currentDir = dirname27(filePath);
|
|
270484
270501
|
while (currentDir.startsWith(resolvedCwd + pathSep)) {
|
|
270485
|
-
const
|
|
270486
|
-
|
|
270502
|
+
const skillDirs = [
|
|
270503
|
+
getProjectSkillsPathForRoot(currentDir),
|
|
270504
|
+
getLegacyProjectSkillsPathForRoot(currentDir)
|
|
270505
|
+
];
|
|
270506
|
+
for (const skillDir of skillDirs) {
|
|
270507
|
+
if (dynamicSkillDirs.has(skillDir)) {
|
|
270508
|
+
continue;
|
|
270509
|
+
}
|
|
270487
270510
|
dynamicSkillDirs.add(skillDir);
|
|
270488
270511
|
try {
|
|
270489
270512
|
await fs6.stat(skillDir);
|
|
@@ -270601,7 +270624,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
270601
270624
|
logForDebugging(`[bare] Skipping skill dir discovery (${additionalDirs.length === 0 ? "no --add-dir" : "projectSettings disabled or skillsLocked"})`);
|
|
270602
270625
|
return [];
|
|
270603
270626
|
}
|
|
270604
|
-
const additionalSkillsNested2 = await Promise.all(additionalDirs.
|
|
270627
|
+
const additionalSkillsNested2 = await Promise.all(additionalDirs.flatMap((dir) => getAdditionalSkillsPaths(dir)).map((dir) => loadSkillsFromSkillsDir(dir, "projectSettings")));
|
|
270605
270628
|
return additionalSkillsNested2.flat().map((s2) => s2.skill);
|
|
270606
270629
|
}
|
|
270607
270630
|
const [
|
|
@@ -270614,7 +270637,7 @@ var init_loadSkillsDir = __esm(() => {
|
|
|
270614
270637
|
isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_POLICY_SKILLS) ? Promise.resolve([]) : loadSkillsFromSkillsDir(managedSkillsDir, "policySettings"),
|
|
270615
270638
|
isSettingSourceEnabled("userSettings") && !skillsLocked ? loadSkillsFromSkillsDir(userSkillsDir, "userSettings") : Promise.resolve([]),
|
|
270616
270639
|
projectSettingsEnabled ? Promise.all(projectSkillsDirs.map((dir) => loadSkillsFromSkillsDir(dir, "projectSettings"))) : Promise.resolve([]),
|
|
270617
|
-
projectSettingsEnabled ? Promise.all(additionalDirs.
|
|
270640
|
+
projectSettingsEnabled ? Promise.all(additionalDirs.flatMap((dir) => getAdditionalSkillsPaths(dir)).map((dir) => loadSkillsFromSkillsDir(dir, "projectSettings"))) : Promise.resolve([]),
|
|
270618
270641
|
skillsLocked ? Promise.resolve([]) : loadSkillsFromCommandsDir(cwd2)
|
|
270619
270642
|
]);
|
|
270620
270643
|
const allSkillsWithPaths = [
|
|
@@ -274576,7 +274599,7 @@ function getInstallationEnv() {
|
|
|
274576
274599
|
return;
|
|
274577
274600
|
}
|
|
274578
274601
|
function getClaudeCodeVersion() {
|
|
274579
|
-
return "1.0.0-alpha.
|
|
274602
|
+
return "1.0.0-alpha.19";
|
|
274580
274603
|
}
|
|
274581
274604
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
274582
274605
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -297294,7 +297317,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
297294
297317
|
const client = new Client({
|
|
297295
297318
|
name: "claude-code",
|
|
297296
297319
|
title: "Agent-OS",
|
|
297297
|
-
version: "1.0.0-alpha.
|
|
297320
|
+
version: "1.0.0-alpha.19",
|
|
297298
297321
|
description: "Anthropic's agentic coding tool",
|
|
297299
297322
|
websiteUrl: PRODUCT_URL
|
|
297300
297323
|
}, {
|
|
@@ -297647,7 +297670,7 @@ var init_client4 = __esm(() => {
|
|
|
297647
297670
|
const client = new Client({
|
|
297648
297671
|
name: "claude-code",
|
|
297649
297672
|
title: "Agent-OS",
|
|
297650
|
-
version: "1.0.0-alpha.
|
|
297673
|
+
version: "1.0.0-alpha.19",
|
|
297651
297674
|
description: "Anthropic's agentic coding tool",
|
|
297652
297675
|
websiteUrl: PRODUCT_URL
|
|
297653
297676
|
}, {
|
|
@@ -352067,8 +352090,8 @@ var init_resolver2 = __esm(() => {
|
|
|
352067
352090
|
flash: "gemini/gemini-2.5-flash",
|
|
352068
352091
|
gemini: "gemini/gemini-2.5-flash",
|
|
352069
352092
|
"gemini-pro": "gemini/gemini-2.5-pro-preview-05-06",
|
|
352070
|
-
deepseek: "deepseek/deepseek-v4-
|
|
352071
|
-
ds: "deepseek/deepseek-v4-
|
|
352093
|
+
deepseek: "deepseek/deepseek-v4-pro",
|
|
352094
|
+
ds: "deepseek/deepseek-v4-pro",
|
|
352072
352095
|
"deepseek-pro": "deepseek/deepseek-v4-pro",
|
|
352073
352096
|
"ds-pro": "deepseek/deepseek-v4-pro",
|
|
352074
352097
|
"deepseek-flash": "deepseek/deepseek-v4-flash",
|
|
@@ -396508,6 +396531,7 @@ function buildContextBuffMessage(decision) {
|
|
|
396508
396531
|
role: "system",
|
|
396509
396532
|
content: [
|
|
396510
396533
|
"Agent-OS DeepSeek Buff Runtime context package.",
|
|
396534
|
+
`Selected model: ${decision.model}. Requested model: ${decision.requestedModel}.`,
|
|
396511
396535
|
`Profile: ${decision.profile}.`,
|
|
396512
396536
|
`Task type: ${decision.taskType}. Context budget: ${decision.contextBudget}.`,
|
|
396513
396537
|
`Tool budget: ${decision.toolBudget}; selected tools: ${decision.selectedToolNames.join(", ") || "none"}.`,
|
|
@@ -396893,7 +396917,7 @@ function buildDeepSeekBuffStatus() {
|
|
|
396893
396917
|
const policy = getDeepSeekBuffPolicyStatus(dataset);
|
|
396894
396918
|
const checks4 = [];
|
|
396895
396919
|
const defaultModel = provider3?.defaultModel || "";
|
|
396896
|
-
addStatusCheck(checks4, "
|
|
396920
|
+
addStatusCheck(checks4, "pro_default", defaultModel === DEEPSEEK_V4_PRO_MODEL ? "ok" : "fail", defaultModel === DEEPSEEK_V4_PRO_MODEL ? "Built-in DeepSeek provider defaults to deepseek-v4-pro." : `Built-in DeepSeek provider default is ${defaultModel || "missing"}; expected ${DEEPSEEK_V4_PRO_MODEL}.`);
|
|
396897
396921
|
addStatusCheck(checks4, "flash_profile", DEEPSEEK_PROFILE_CONFIGS["v4-flash-tools"]?.model === DEEPSEEK_V4_FLASH_MODEL ? "ok" : "fail", "v4-flash-tools is the Flash mainline profile.");
|
|
396898
396922
|
addStatusCheck(checks4, "dataset", datasetMode === "off" ? "skip" : dataset.writable ? "ok" : "fail", datasetMode === "off" ? "Local dataset collection is disabled." : dataset.writable ? `Local dataset is writable at ${dataset.dataDir}.` : `Local dataset is not writable at ${dataset.dataDir}.`);
|
|
396899
396923
|
addStatusCheck(checks4, "policy", mode === "policy-net" && !policy.trained ? "warn" : "ok", mode === "policy-net" && !policy.trained ? "policy-net mode requested, but no trained local policy net is active; rules mode remains the safe fallback." : "Rules policy is available; policy-net training is gated by offline eval.");
|
|
@@ -396904,7 +396928,7 @@ function buildDeepSeekBuffStatus() {
|
|
|
396904
396928
|
datasetMode,
|
|
396905
396929
|
escalationMode,
|
|
396906
396930
|
defaultModel,
|
|
396907
|
-
recommendedModel:
|
|
396931
|
+
recommendedModel: DEEPSEEK_V4_PRO_MODEL,
|
|
396908
396932
|
defaultProfile: "v4-flash-tools",
|
|
396909
396933
|
dataset,
|
|
396910
396934
|
policy,
|
|
@@ -416283,7 +416307,7 @@ function getInvokedBinary() {
|
|
|
416283
416307
|
async function getDoctorDiagnostic() {
|
|
416284
416308
|
return {
|
|
416285
416309
|
installationType: "package-manager",
|
|
416286
|
-
version: "1.0.0-alpha.
|
|
416310
|
+
version: "1.0.0-alpha.19",
|
|
416287
416311
|
installationPath: process.argv[1] ?? "",
|
|
416288
416312
|
invokedBinary: getInvokedBinary(),
|
|
416289
416313
|
configInstallMethod: "not set",
|
|
@@ -416688,7 +416712,7 @@ function buildPrimarySection() {
|
|
|
416688
416712
|
});
|
|
416689
416713
|
return [{
|
|
416690
416714
|
label: "Version",
|
|
416691
|
-
value: "1.0.0-alpha.
|
|
416715
|
+
value: "1.0.0-alpha.19"
|
|
416692
416716
|
}, {
|
|
416693
416717
|
label: "Session name",
|
|
416694
416718
|
value: nameValue
|
|
@@ -420331,7 +420355,7 @@ function Config({
|
|
|
420331
420355
|
}
|
|
420332
420356
|
})
|
|
420333
420357
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime169.jsx(ChannelDowngradeDialog, {
|
|
420334
|
-
currentVersion: "1.0.0-alpha.
|
|
420358
|
+
currentVersion: "1.0.0-alpha.19",
|
|
420335
420359
|
onChoice: (choice) => {
|
|
420336
420360
|
setShowSubmenu(null);
|
|
420337
420361
|
setTabsHidden(false);
|
|
@@ -420343,7 +420367,7 @@ function Config({
|
|
|
420343
420367
|
autoUpdatesChannel: "stable"
|
|
420344
420368
|
};
|
|
420345
420369
|
if (choice === "stay") {
|
|
420346
|
-
newSettings.minimumVersion = "1.0.0-alpha.
|
|
420370
|
+
newSettings.minimumVersion = "1.0.0-alpha.19";
|
|
420347
420371
|
}
|
|
420348
420372
|
updateSettingsForSource("userSettings", newSettings);
|
|
420349
420373
|
setSettingsData((prev_27) => ({
|
|
@@ -428334,7 +428358,7 @@ function HelpV2(t0) {
|
|
|
428334
428358
|
let t6;
|
|
428335
428359
|
if ($3[31] !== tabs) {
|
|
428336
428360
|
t6 = /* @__PURE__ */ jsx_runtime195.jsx(Tabs, {
|
|
428337
|
-
title: `Agent-OS v${"1.0.0-alpha.
|
|
428361
|
+
title: `Agent-OS v${"1.0.0-alpha.19"}`,
|
|
428338
428362
|
color: "professionalBlue",
|
|
428339
428363
|
defaultTab: "general",
|
|
428340
428364
|
children: tabs
|
|
@@ -429663,9 +429687,9 @@ Based on the areas detected in Phase 1, you may need to create multiple verifier
|
|
|
429663
429687
|
|
|
429664
429688
|
## Phase 4: Generate Verifier Skill
|
|
429665
429689
|
|
|
429666
|
-
**All verifier skills are created in the project root's \`.
|
|
429690
|
+
**All verifier skills are created in the project root's \`.agent-os/skills/\` directory.** This ensures they are automatically loaded when Agent-OS runs in the project.
|
|
429667
429691
|
|
|
429668
|
-
Write the skill file to \`.
|
|
429692
|
+
Write the skill file to \`.agent-os/skills/<verifier-name>/SKILL.md\`.
|
|
429669
429693
|
|
|
429670
429694
|
### Skill Template Structure
|
|
429671
429695
|
|
|
@@ -429749,7 +429773,7 @@ allowed-tools:
|
|
|
429749
429773
|
## Phase 5: Confirm Creation
|
|
429750
429774
|
|
|
429751
429775
|
After writing the skill file(s), inform the user:
|
|
429752
|
-
1. Where each skill was created (always in \`.
|
|
429776
|
+
1. Where each skill was created (always in \`.agent-os/skills/\`)
|
|
429753
429777
|
2. How the Verify agent will discover them \u2014 the folder name must contain "verifier" (case-insensitive) for automatic discovery
|
|
429754
429778
|
3. That they can edit the skills to customize them
|
|
429755
429779
|
4. That they can run /init-verifiers again to add more verifiers for other areas
|
|
@@ -431462,7 +431486,7 @@ var init_user = __esm(() => {
|
|
|
431462
431486
|
deviceId,
|
|
431463
431487
|
sessionId: getSessionId(),
|
|
431464
431488
|
email: getEmail(),
|
|
431465
|
-
appVersion: "1.0.0-alpha.
|
|
431489
|
+
appVersion: "1.0.0-alpha.19",
|
|
431466
431490
|
platform: getHostPlatformForAnalytics(),
|
|
431467
431491
|
organizationUuid,
|
|
431468
431492
|
accountUuid,
|
|
@@ -451713,7 +451737,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
451713
451737
|
return [];
|
|
451714
451738
|
}
|
|
451715
451739
|
}
|
|
451716
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451740
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alpha.19") {
|
|
451717
451741
|
if (process.env.USER_TYPE === "ant") {
|
|
451718
451742
|
const changelog = "";
|
|
451719
451743
|
if (changelog) {
|
|
@@ -451740,7 +451764,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "1.0.0-alp
|
|
|
451740
451764
|
releaseNotes
|
|
451741
451765
|
};
|
|
451742
451766
|
}
|
|
451743
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.
|
|
451767
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "1.0.0-alpha.19") {
|
|
451744
451768
|
if (process.env.USER_TYPE === "ant") {
|
|
451745
451769
|
const changelog = "";
|
|
451746
451770
|
if (changelog) {
|
|
@@ -452867,7 +452891,7 @@ function getRecentActivitySync() {
|
|
|
452867
452891
|
return cachedActivity;
|
|
452868
452892
|
}
|
|
452869
452893
|
function getLogoDisplayData() {
|
|
452870
|
-
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.
|
|
452894
|
+
const version2 = process.env.DEMO_VERSION ?? "1.0.0-alpha.19";
|
|
452871
452895
|
const serverUrl = getDirectConnectServerUrl();
|
|
452872
452896
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
452873
452897
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -454082,7 +454106,7 @@ function LogoV2() {
|
|
|
454082
454106
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
454083
454107
|
t2 = () => {
|
|
454084
454108
|
const currentConfig = getGlobalConfig();
|
|
454085
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454109
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.0-alpha.19") {
|
|
454086
454110
|
return;
|
|
454087
454111
|
}
|
|
454088
454112
|
saveGlobalConfig(_temp328);
|
|
@@ -454748,12 +454772,12 @@ function AgentOsPoster() {
|
|
|
454748
454772
|
});
|
|
454749
454773
|
}
|
|
454750
454774
|
function _temp328(current) {
|
|
454751
|
-
if (current.lastReleaseNotesSeen === "1.0.0-alpha.
|
|
454775
|
+
if (current.lastReleaseNotesSeen === "1.0.0-alpha.19") {
|
|
454752
454776
|
return current;
|
|
454753
454777
|
}
|
|
454754
454778
|
return {
|
|
454755
454779
|
...current,
|
|
454756
|
-
lastReleaseNotesSeen: "1.0.0-alpha.
|
|
454780
|
+
lastReleaseNotesSeen: "1.0.0-alpha.19"
|
|
454757
454781
|
};
|
|
454758
454782
|
}
|
|
454759
454783
|
function _temp245(s_0) {
|
|
@@ -481330,7 +481354,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
481330
481354
|
smapsRollup,
|
|
481331
481355
|
platform: process.platform,
|
|
481332
481356
|
nodeVersion: process.version,
|
|
481333
|
-
ccVersion: "1.0.0-alpha.
|
|
481357
|
+
ccVersion: "1.0.0-alpha.19"
|
|
481334
481358
|
};
|
|
481335
481359
|
}
|
|
481336
481360
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -481903,7 +481927,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
481903
481927
|
var call58 = async () => {
|
|
481904
481928
|
return {
|
|
481905
481929
|
type: "text",
|
|
481906
|
-
value: `${"1.0.0-alpha.
|
|
481930
|
+
value: `${"1.0.0-alpha.19"} (built ${"2026-05-20T18:19:54Z"})`
|
|
481907
481931
|
};
|
|
481908
481932
|
}, version2, version_default;
|
|
481909
481933
|
var init_version = __esm(() => {
|
|
@@ -484810,7 +484834,8 @@ function addProvider(name, providerConfig, setAsDefault) {
|
|
|
484810
484834
|
addedAt: providerConfig.addedAt ?? config4.providers[name]?.addedAt ?? new Date().toISOString()
|
|
484811
484835
|
};
|
|
484812
484836
|
if (setAsDefault || !config4.default || Object.keys(config4.providers).length === 1) {
|
|
484813
|
-
const
|
|
484837
|
+
const configuredDefault = typeof providerConfig.defaultModel === "string" ? providerConfig.defaultModel.trim() : "";
|
|
484838
|
+
const model = configuredDefault || providerConfig.models?.[0] || name;
|
|
484814
484839
|
config4.default = `${name}/${model}`;
|
|
484815
484840
|
}
|
|
484816
484841
|
saveConfig2(config4);
|
|
@@ -484824,7 +484849,9 @@ function removeProvider(name) {
|
|
|
484824
484849
|
const remaining = Object.keys(config4.providers);
|
|
484825
484850
|
if (remaining.length > 0) {
|
|
484826
484851
|
const nextProvider = remaining[0];
|
|
484827
|
-
const
|
|
484852
|
+
const nextProviderConfig = config4.providers[nextProvider];
|
|
484853
|
+
const configuredDefault = typeof nextProviderConfig?.defaultModel === "string" ? nextProviderConfig.defaultModel.trim() : "";
|
|
484854
|
+
const nextModel = configuredDefault || nextProviderConfig?.models?.[0] || nextProvider;
|
|
484828
484855
|
config4.default = `${nextProvider}/${nextModel}`;
|
|
484829
484856
|
} else {
|
|
484830
484857
|
config4.default = "";
|
|
@@ -485004,6 +485031,7 @@ function ModelSetup({ onComplete, isFirstLaunch }) {
|
|
|
485004
485031
|
type: p2.type || (p2.name === "anthropic" ? "anthropic" : "openai-compatible"),
|
|
485005
485032
|
baseUrl: p2.baseUrl,
|
|
485006
485033
|
apiKey,
|
|
485034
|
+
defaultModel: p2.defaultModel,
|
|
485007
485035
|
models: p2.models
|
|
485008
485036
|
}, Boolean(isFirstLaunch));
|
|
485009
485037
|
}, [isFirstLaunch]);
|
|
@@ -485750,8 +485778,30 @@ function buildRouterModelOptions(router) {
|
|
|
485750
485778
|
}
|
|
485751
485779
|
];
|
|
485752
485780
|
}
|
|
485753
|
-
function
|
|
485754
|
-
|
|
485781
|
+
function resolveConfiguredRouterModel(router, spec) {
|
|
485782
|
+
const requested = spec.trim();
|
|
485783
|
+
const allSpecs = router.listAll().map((entry) => `${entry.provider}/${entry.model}`);
|
|
485784
|
+
if (allSpecs.includes(requested))
|
|
485785
|
+
return requested;
|
|
485786
|
+
const aliasByInput = {
|
|
485787
|
+
pro: "deepseek/deepseek-v4-pro",
|
|
485788
|
+
"v4-pro": "deepseek/deepseek-v4-pro",
|
|
485789
|
+
"deepseek-pro": "deepseek/deepseek-v4-pro",
|
|
485790
|
+
"ds-pro": "deepseek/deepseek-v4-pro",
|
|
485791
|
+
flash: "deepseek/deepseek-v4-flash",
|
|
485792
|
+
"v4-flash": "deepseek/deepseek-v4-flash",
|
|
485793
|
+
"deepseek-flash": "deepseek/deepseek-v4-flash",
|
|
485794
|
+
"ds-flash": "deepseek/deepseek-v4-flash"
|
|
485795
|
+
};
|
|
485796
|
+
const alias = aliasByInput[requested.toLowerCase()];
|
|
485797
|
+
if (alias && allSpecs.includes(alias))
|
|
485798
|
+
return alias;
|
|
485799
|
+
const suffixMatches = allSpecs.filter((candidate) => {
|
|
485800
|
+
const candidateLower = candidate.toLowerCase();
|
|
485801
|
+
const lower = requested.toLowerCase();
|
|
485802
|
+
return candidateLower.endsWith(`/${lower}`) || candidateLower.endsWith(`-${lower}`);
|
|
485803
|
+
});
|
|
485804
|
+
return suffixMatches.length === 1 ? suffixMatches[0] : null;
|
|
485755
485805
|
}
|
|
485756
485806
|
function renderModelLabel(model) {
|
|
485757
485807
|
const rendered = renderDefaultModelSetting(model ?? getDefaultMainLoopModelSetting());
|
|
@@ -485792,15 +485842,16 @@ var import_compiler_runtime253, React108, jsx_runtime329, ROUTER_ADD_MODEL_OPTIO
|
|
|
485792
485842
|
return;
|
|
485793
485843
|
}
|
|
485794
485844
|
if (args && args !== "?" && args !== "help") {
|
|
485795
|
-
|
|
485796
|
-
|
|
485845
|
+
const resolvedSpec = resolveConfiguredRouterModel(router, args);
|
|
485846
|
+
if (!resolvedSpec) {
|
|
485847
|
+
onDone(`Model '${args}' is not configured in model-router.json. Try /model, /model pro, or /model flash.`, { display: "system" });
|
|
485797
485848
|
return;
|
|
485798
485849
|
}
|
|
485799
|
-
router.setModelOverride(
|
|
485800
|
-
updateSettingsForSource("userSettings", { model:
|
|
485850
|
+
router.setModelOverride(resolvedSpec);
|
|
485851
|
+
updateSettingsForSource("userSettings", { model: resolvedSpec });
|
|
485801
485852
|
const current2 = router.getCurrentModel();
|
|
485802
485853
|
syncRuntimeModel(current2);
|
|
485803
|
-
onDone(`Set model to ${current2}`, { display: "system" });
|
|
485854
|
+
onDone(`Set model to ${current2} (manual override)`, { display: "system" });
|
|
485804
485855
|
return;
|
|
485805
485856
|
}
|
|
485806
485857
|
if (COMMON_INFO_ARGS.includes(args)) {
|
|
@@ -491368,7 +491419,7 @@ function generateHtmlReport(data, insights) {
|
|
|
491368
491419
|
</html>`;
|
|
491369
491420
|
}
|
|
491370
491421
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
491371
|
-
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
491422
|
+
const version3 = typeof MACRO !== "undefined" ? "1.0.0-alpha.19" : "unknown";
|
|
491372
491423
|
const remote_hosts_collected = remoteStats?.hosts.filter((h3) => h3.sessionCount > 0).map((h3) => h3.name);
|
|
491373
491424
|
const facets_summary = {
|
|
491374
491425
|
total: facets.size,
|
|
@@ -508528,6 +508579,15 @@ import { statSync as statSync12 } from "fs";
|
|
|
508528
508579
|
import { lstat as lstat4, readdir as readdir27, readFile as readFile49, realpath as realpath9, stat as stat38 } from "fs/promises";
|
|
508529
508580
|
import { homedir as homedir33 } from "os";
|
|
508530
508581
|
import { dirname as dirname59, join as join143, resolve as resolve46, sep as sep33 } from "path";
|
|
508582
|
+
function getProjectConfigSubdirCandidates(root3, subdir) {
|
|
508583
|
+
if (subdir === "skills") {
|
|
508584
|
+
return [
|
|
508585
|
+
join143(root3, ".agent-os", subdir),
|
|
508586
|
+
join143(root3, ".claude", subdir)
|
|
508587
|
+
];
|
|
508588
|
+
}
|
|
508589
|
+
return [join143(root3, ".claude", subdir)];
|
|
508590
|
+
}
|
|
508531
508591
|
function extractDescriptionFromMarkdown(content, defaultDescription = "Custom item") {
|
|
508532
508592
|
const lines2 = content.split(`
|
|
508533
508593
|
`);
|
|
@@ -508617,13 +508677,15 @@ function getProjectDirsUpToHome(subdir, cwd2) {
|
|
|
508617
508677
|
if (normalizePathForComparison(current) === normalizePathForComparison(home)) {
|
|
508618
508678
|
break;
|
|
508619
508679
|
}
|
|
508620
|
-
const
|
|
508621
|
-
|
|
508622
|
-
|
|
508623
|
-
|
|
508624
|
-
|
|
508625
|
-
|
|
508626
|
-
|
|
508680
|
+
const candidateSubdirs = getProjectConfigSubdirCandidates(current, subdir);
|
|
508681
|
+
for (const candidateSubdir of candidateSubdirs) {
|
|
508682
|
+
try {
|
|
508683
|
+
statSync12(candidateSubdir);
|
|
508684
|
+
dirs.push(candidateSubdir);
|
|
508685
|
+
} catch (e2) {
|
|
508686
|
+
if (!isFsInaccessible(e2))
|
|
508687
|
+
throw e2;
|
|
508688
|
+
}
|
|
508627
508689
|
}
|
|
508628
508690
|
if (gitRoot && normalizePathForComparison(current) === normalizePathForComparison(gitRoot)) {
|
|
508629
508691
|
break;
|
|
@@ -508767,12 +508829,13 @@ var init_markdownConfigLoader = __esm(() => {
|
|
|
508767
508829
|
const gitRoot = findGitRoot(cwd2);
|
|
508768
508830
|
const canonicalRoot = findCanonicalGitRoot(cwd2);
|
|
508769
508831
|
if (gitRoot && canonicalRoot && canonicalRoot !== gitRoot) {
|
|
508770
|
-
const
|
|
508771
|
-
const worktreeHasSubdir = projectDirs.some((dir) => normalizePathForComparison(dir)
|
|
508832
|
+
const worktreeSubdirs = getProjectConfigSubdirCandidates(gitRoot, subdir).map((dir) => normalizePathForComparison(dir));
|
|
508833
|
+
const worktreeHasSubdir = projectDirs.some((dir) => worktreeSubdirs.includes(normalizePathForComparison(dir)));
|
|
508772
508834
|
if (!worktreeHasSubdir) {
|
|
508773
|
-
const
|
|
508774
|
-
|
|
508775
|
-
|
|
508835
|
+
for (const mainSubdir of getProjectConfigSubdirCandidates(canonicalRoot, subdir)) {
|
|
508836
|
+
if (!projectDirs.includes(mainSubdir)) {
|
|
508837
|
+
projectDirs.push(mainSubdir);
|
|
508838
|
+
}
|
|
508776
508839
|
}
|
|
508777
508840
|
}
|
|
508778
508841
|
}
|
|
@@ -512561,7 +512624,8 @@ class ModelRouter {
|
|
|
512561
512624
|
});
|
|
512562
512625
|
const startedAt = Date.now();
|
|
512563
512626
|
try {
|
|
512564
|
-
const
|
|
512627
|
+
const runtimeRequest = this.attachRuntimeSelectedModelContext(buff.request, providerName, buff.model);
|
|
512628
|
+
const result = await provider3.complete({ ...runtimeRequest, model: buff.model, stream: false });
|
|
512565
512629
|
recordDeepSeekBuffSample({
|
|
512566
512630
|
decision: buff.decision,
|
|
512567
512631
|
outcome: "success",
|
|
@@ -512601,7 +512665,8 @@ class ModelRouter {
|
|
|
512601
512665
|
const startedAt = Date.now();
|
|
512602
512666
|
let finalResult;
|
|
512603
512667
|
try {
|
|
512604
|
-
|
|
512668
|
+
const runtimeRequest = this.attachRuntimeSelectedModelContext(buff.request, providerName, buff.model);
|
|
512669
|
+
for await (const event of provider3.stream({ ...runtimeRequest, model: buff.model, stream: true })) {
|
|
512605
512670
|
if (event.type === "error") {
|
|
512606
512671
|
throw new Error(event.error || "unknown provider error");
|
|
512607
512672
|
}
|
|
@@ -512691,6 +512756,27 @@ class ModelRouter {
|
|
|
512691
512756
|
})
|
|
512692
512757
|
};
|
|
512693
512758
|
}
|
|
512759
|
+
attachRuntimeSelectedModelContext(request2, providerName, model) {
|
|
512760
|
+
const providerConfig = this.config.providers[providerName];
|
|
512761
|
+
if (!providerConfig || !isDeepSeekProviderConfig(providerName, providerConfig)) {
|
|
512762
|
+
return request2;
|
|
512763
|
+
}
|
|
512764
|
+
const selectedModel = `${providerName}/${model}`;
|
|
512765
|
+
return {
|
|
512766
|
+
...request2,
|
|
512767
|
+
messages: [
|
|
512768
|
+
{
|
|
512769
|
+
role: "system",
|
|
512770
|
+
content: `Agent-OS runtime selected model: ${selectedModel}. ` + "If the user asks which model is currently in use, answer with this selected model."
|
|
512771
|
+
},
|
|
512772
|
+
...request2.messages
|
|
512773
|
+
],
|
|
512774
|
+
providerExtras: {
|
|
512775
|
+
...request2.providerExtras,
|
|
512776
|
+
agentOsSelectedModel: selectedModel
|
|
512777
|
+
}
|
|
512778
|
+
};
|
|
512779
|
+
}
|
|
512694
512780
|
}
|
|
512695
512781
|
function normalizeModelSpec(value) {
|
|
512696
512782
|
if (typeof value !== "string") {
|
|
@@ -514669,6 +514755,14 @@ function getClaudeSkillScope(filePath) {
|
|
|
514669
514755
|
const absolutePath = expandPath(filePath);
|
|
514670
514756
|
const absolutePathLower = normalizeCaseForComparison(absolutePath);
|
|
514671
514757
|
const bases = [
|
|
514758
|
+
{
|
|
514759
|
+
dir: expandPath(join146(getOriginalCwd(), ".agent-os", "skills")),
|
|
514760
|
+
prefix: "/.agent-os/skills/"
|
|
514761
|
+
},
|
|
514762
|
+
{
|
|
514763
|
+
dir: expandPath(join146(getClaudeConfigHomeDir(), "skills")),
|
|
514764
|
+
prefix: "~/.agent-os/skills/"
|
|
514765
|
+
},
|
|
514672
514766
|
{
|
|
514673
514767
|
dir: expandPath(join146(getOriginalCwd(), ".claude", "skills")),
|
|
514674
514768
|
prefix: "/.claude/skills/"
|
|
@@ -515543,7 +515637,7 @@ var init_filesystem = __esm(() => {
|
|
|
515543
515637
|
});
|
|
515544
515638
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
515545
515639
|
const nonce = randomBytes18(16).toString("hex");
|
|
515546
|
-
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.
|
|
515640
|
+
return join146(getClaudeTempDir(), "bundled-skills", "1.0.0-alpha.19", nonce);
|
|
515547
515641
|
});
|
|
515548
515642
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
515549
515643
|
});
|
|
@@ -520774,6 +520868,7 @@ function getSessionSpecificGuidanceSection(enabledTools, skillToolCommands) {
|
|
|
520774
520868
|
`For broader codebase exploration and deep research, use the ${AGENT_TOOL_NAME} tool with subagent_type=${EXPLORE_AGENT.agentType}. This is slower than using ${searchTools} directly, so use this only when a simple, directed search proves to be insufficient or when your task will clearly require more than ${EXPLORE_AGENT_MIN_QUERIES} queries.`
|
|
520775
520869
|
] : [],
|
|
520776
520870
|
hasSkills ? `/<skill-name> (e.g., /commit) is shorthand for users to invoke a user-invocable skill. When executed, the skill gets expanded to a full prompt. Use the ${SKILL_TOOL_NAME} tool to execute them. IMPORTANT: Only use ${SKILL_TOOL_NAME} for skills listed in its user-invocable skills section - do not guess or use built-in CLI commands.` : null,
|
|
520871
|
+
`Agent-OS project skills must be created under \`.agent-os/skills/<skill-name>/SKILL.md\`; global user skills must be created under \`~/.agent-os/skills/<skill-name>/SKILL.md\`. Do not create new skills under \`.claude/skills\` unless the user explicitly asks for legacy Claude Code compatibility.`,
|
|
520777
520872
|
DISCOVER_SKILLS_TOOL_NAME !== null && hasSkills && enabledTools.has(DISCOVER_SKILLS_TOOL_NAME) ? getDiscoverSkillsGuidance() : null,
|
|
520778
520873
|
null
|
|
520779
520874
|
].filter((item) => item !== null);
|
|
@@ -521472,7 +521567,7 @@ function computeFingerprintFromMessages(messages) {
|
|
|
521472
521567
|
}
|
|
521473
521568
|
var AGENT_OS_VERSION5, FINGERPRINT_SALT = "59cf53e54c78";
|
|
521474
521569
|
var init_fingerprint = __esm(() => {
|
|
521475
|
-
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.
|
|
521570
|
+
AGENT_OS_VERSION5 = typeof MACRO !== "undefined" ? "1.0.0-alpha.19" : "dev";
|
|
521476
521571
|
});
|
|
521477
521572
|
|
|
521478
521573
|
// src/services/compact/apiMicrocompact.ts
|
|
@@ -523226,7 +523321,7 @@ async function sideQuery(opts) {
|
|
|
523226
523321
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
523227
523322
|
}
|
|
523228
523323
|
const messageText = extractFirstUserMessageText(messages);
|
|
523229
|
-
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.
|
|
523324
|
+
const fingerprint = computeFingerprint(messageText, "1.0.0-alpha.19");
|
|
523230
523325
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
523231
523326
|
const systemBlocks = [
|
|
523232
523327
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -525145,7 +525240,7 @@ function appendToLog(path24, message) {
|
|
|
525145
525240
|
cwd: getFsImplementation().cwd(),
|
|
525146
525241
|
userType: process.env.USER_TYPE,
|
|
525147
525242
|
sessionId: getSessionId(),
|
|
525148
|
-
version: "1.0.0-alpha.
|
|
525243
|
+
version: "1.0.0-alpha.19"
|
|
525149
525244
|
};
|
|
525150
525245
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
525151
525246
|
}
|
|
@@ -528123,7 +528218,7 @@ function getTelemetryAttributes() {
|
|
|
528123
528218
|
attributes["session.id"] = sessionId;
|
|
528124
528219
|
}
|
|
528125
528220
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
528126
|
-
attributes["app.version"] = "1.0.0-alpha.
|
|
528221
|
+
attributes["app.version"] = "1.0.0-alpha.19";
|
|
528127
528222
|
}
|
|
528128
528223
|
if (envDynamic.terminal) {
|
|
528129
528224
|
attributes["terminal.type"] = envDynamic.terminal;
|
|
@@ -538267,7 +538362,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538267
538362
|
slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
|
|
538268
538363
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538269
538364
|
betas: getSdkBetas(),
|
|
538270
|
-
claude_code_version: "1.0.0-alpha.
|
|
538365
|
+
claude_code_version: "1.0.0-alpha.19",
|
|
538271
538366
|
output_style: outputStyle2,
|
|
538272
538367
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538273
538368
|
skills: inputs.skills.filter((s2) => s2.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -560736,7 +560831,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
560736
560831
|
project_dir: getOriginalCwd(),
|
|
560737
560832
|
added_dirs: addedDirs
|
|
560738
560833
|
},
|
|
560739
|
-
version: "1.0.0-alpha.
|
|
560834
|
+
version: "1.0.0-alpha.19",
|
|
560740
560835
|
output_style: {
|
|
560741
560836
|
name: outputStyleName
|
|
560742
560837
|
},
|
|
@@ -567176,7 +567271,7 @@ async function applySkillImprovement(skillName, updates) {
|
|
|
567176
567271
|
return;
|
|
567177
567272
|
const { join: join159 } = await import("path");
|
|
567178
567273
|
const fs10 = await import("fs/promises");
|
|
567179
|
-
const filePath = join159(getCwd(), ".
|
|
567274
|
+
const filePath = join159(getCwd(), ".agent-os", "skills", skillName, "SKILL.md");
|
|
567180
567275
|
let currentContent;
|
|
567181
567276
|
try {
|
|
567182
567277
|
currentContent = await fs10.readFile(filePath, "utf-8");
|
|
@@ -570266,11 +570361,15 @@ async function getWatchablePaths() {
|
|
|
570266
570361
|
} catch {}
|
|
570267
570362
|
}
|
|
570268
570363
|
for (const dir of getAdditionalDirectoriesForClaudeMd()) {
|
|
570269
|
-
const additionalSkillsPath
|
|
570270
|
-
|
|
570271
|
-
|
|
570272
|
-
|
|
570273
|
-
|
|
570364
|
+
for (const additionalSkillsPath of [
|
|
570365
|
+
platformPath2.join(dir, ".agent-os", "skills"),
|
|
570366
|
+
platformPath2.join(dir, ".claude", "skills")
|
|
570367
|
+
]) {
|
|
570368
|
+
try {
|
|
570369
|
+
await fs11.stat(additionalSkillsPath);
|
|
570370
|
+
paths2.push(additionalSkillsPath);
|
|
570371
|
+
} catch {}
|
|
570372
|
+
}
|
|
570274
570373
|
}
|
|
570275
570374
|
return paths2;
|
|
570276
570375
|
}
|
|
@@ -574299,7 +574398,7 @@ var init_tipRegistry = __esm(() => {
|
|
|
574299
574398
|
},
|
|
574300
574399
|
{
|
|
574301
574400
|
id: "custom-commands",
|
|
574302
|
-
content: async () => "Create skills by adding .md files to .
|
|
574401
|
+
content: async () => "Create skills by adding SKILL.md files to .agent-os/skills/ in your project or ~/.agent-os/skills/ for skills that work in any project",
|
|
574303
574402
|
cooldownSessions: 15,
|
|
574304
574403
|
async isRelevant() {
|
|
574305
574404
|
const config4 = getGlobalConfig();
|
|
@@ -584088,7 +584187,7 @@ function WelcomeV2() {
|
|
|
584088
584187
|
dimColor: true,
|
|
584089
584188
|
children: [
|
|
584090
584189
|
"v",
|
|
584091
|
-
"1.0.0-alpha.
|
|
584190
|
+
"1.0.0-alpha.19",
|
|
584092
584191
|
" "
|
|
584093
584192
|
]
|
|
584094
584193
|
})
|
|
@@ -584288,7 +584387,7 @@ function WelcomeV2() {
|
|
|
584288
584387
|
dimColor: true,
|
|
584289
584388
|
children: [
|
|
584290
584389
|
"v",
|
|
584291
|
-
"1.0.0-alpha.
|
|
584390
|
+
"1.0.0-alpha.19",
|
|
584292
584391
|
" "
|
|
584293
584392
|
]
|
|
584294
584393
|
})
|
|
@@ -584514,7 +584613,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584514
584613
|
dimColor: true,
|
|
584515
584614
|
children: [
|
|
584516
584615
|
"v",
|
|
584517
|
-
"1.0.0-alpha.
|
|
584616
|
+
"1.0.0-alpha.19",
|
|
584518
584617
|
" "
|
|
584519
584618
|
]
|
|
584520
584619
|
});
|
|
@@ -584768,7 +584867,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
584768
584867
|
dimColor: true,
|
|
584769
584868
|
children: [
|
|
584770
584869
|
"v",
|
|
584771
|
-
"1.0.0-alpha.
|
|
584870
|
+
"1.0.0-alpha.19",
|
|
584772
584871
|
" "
|
|
584773
584872
|
]
|
|
584774
584873
|
});
|
|
@@ -586234,7 +586333,7 @@ function completeOnboarding() {
|
|
|
586234
586333
|
saveGlobalConfig((current) => ({
|
|
586235
586334
|
...current,
|
|
586236
586335
|
hasCompletedOnboarding: true,
|
|
586237
|
-
lastOnboardingVersion: "1.0.0-alpha.
|
|
586336
|
+
lastOnboardingVersion: "1.0.0-alpha.19"
|
|
586238
586337
|
}));
|
|
586239
586338
|
}
|
|
586240
586339
|
function showDialog(root3, renderer) {
|
|
@@ -589135,7 +589234,7 @@ You will use the AskUserQuestion to understand what the user wants to automate.
|
|
|
589135
589234
|
- If you think the skill will require arguments, suggest arguments based on what you observed. Make sure you understand what someone would need to provide.
|
|
589136
589235
|
- If it's not clear, ask if this skill should run inline (in the current conversation) or forked (as a sub-agent with its own context). Forked is better for self-contained tasks that don't need mid-process user input; inline is better when the user wants to steer mid-process.
|
|
589137
589236
|
- Ask where the skill should be saved. Suggest a default based on context (repo-specific workflows \u2192 repo, cross-repo personal workflows \u2192 user). Options:
|
|
589138
|
-
- **This repo** (\`.
|
|
589237
|
+
- **This repo** (\`.agent-os/skills/<name>/SKILL.md\`) \u2014 for workflows specific to this project
|
|
589139
589238
|
- **Personal** (\`~/.agent-os/skills/<name>/SKILL.md\`) \u2014 follows you across all repos
|
|
589140
589239
|
|
|
589141
589240
|
**Round 3: Breaking down each step**
|
|
@@ -594697,8 +594796,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
594697
594796
|
}
|
|
594698
594797
|
async function checkEnvLessBridgeMinVersion() {
|
|
594699
594798
|
const cfg = await getEnvLessBridgeConfig();
|
|
594700
|
-
if (cfg.min_version && lt("1.0.0-alpha.
|
|
594701
|
-
return `Your version of Agent-OS (${"1.0.0-alpha.
|
|
594799
|
+
if (cfg.min_version && lt("1.0.0-alpha.19", cfg.min_version)) {
|
|
594800
|
+
return `Your version of Agent-OS (${"1.0.0-alpha.19"}) is too old for Remote Control.
|
|
594702
594801
|
Version ${cfg.min_version} or higher is required. Run \`agent-os update\` to update.`;
|
|
594703
594802
|
}
|
|
594704
594803
|
return null;
|
|
@@ -595171,7 +595270,7 @@ async function initBridgeCore(params) {
|
|
|
595171
595270
|
const rawApi = createBridgeApiClient({
|
|
595172
595271
|
baseUrl,
|
|
595173
595272
|
getAccessToken,
|
|
595174
|
-
runnerVersion: "1.0.0-alpha.
|
|
595273
|
+
runnerVersion: "1.0.0-alpha.19",
|
|
595175
595274
|
onDebug: logForDebugging,
|
|
595176
595275
|
onAuth401,
|
|
595177
595276
|
getTrustedDeviceToken
|
|
@@ -600850,7 +600949,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
600850
600949
|
setCwd(cwd3);
|
|
600851
600950
|
const server = new Server({
|
|
600852
600951
|
name: "claude/tengu",
|
|
600853
|
-
version: "1.0.0-alpha.
|
|
600952
|
+
version: "1.0.0-alpha.19"
|
|
600854
600953
|
}, {
|
|
600855
600954
|
capabilities: {
|
|
600856
600955
|
tools: {}
|
|
@@ -606361,7 +606460,7 @@ ${customInstructions}` : customInstructions;
|
|
|
606361
606460
|
}
|
|
606362
606461
|
}
|
|
606363
606462
|
logForDiagnosticsNoPII("info", "started", {
|
|
606364
|
-
version: "1.0.0-alpha.
|
|
606463
|
+
version: "1.0.0-alpha.19",
|
|
606365
606464
|
is_native_binary: isInBundledMode()
|
|
606366
606465
|
});
|
|
606367
606466
|
registerCleanup(async () => {
|
|
@@ -607153,7 +607252,7 @@ Usage: agent-os --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
607153
607252
|
pendingHookMessages
|
|
607154
607253
|
}, renderAndRun);
|
|
607155
607254
|
}
|
|
607156
|
-
}).version("1.0.0-alpha.
|
|
607255
|
+
}).version("1.0.0-alpha.19 (Agent-OS)", "-v, --version", "Output the version number");
|
|
607157
607256
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
607158
607257
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
607159
607258
|
if (canUserConfigureAdvisor()) {
|
|
@@ -608991,7 +609090,7 @@ if (false) {}
|
|
|
608991
609090
|
async function main2() {
|
|
608992
609091
|
const args = process.argv.slice(2);
|
|
608993
609092
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
608994
|
-
console.log(`${"1.0.0-alpha.
|
|
609093
|
+
console.log(`${"1.0.0-alpha.19"} (Agent-OS)`);
|
|
608995
609094
|
return;
|
|
608996
609095
|
}
|
|
608997
609096
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vionwilliams/agent-os",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.19",
|
|
4
4
|
"description": "Agent-OS — 智能任务通用工作系统:多模型路由、意图编排、多智能体协调、DataHub 与可编程面板。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@alcalzone/ansi-tokenize": "^0.1.0",
|
|
74
74
|
"@ant/claude-for-chrome-mcp": "file:./stubs/ant-claude-for-chrome-mcp",
|
|
75
|
-
"@anthropic-ai/claude-agent-sdk": "^0.2.87",
|
|
76
75
|
"@anthropic-ai/mcpb": "^2.1.2",
|
|
77
76
|
"@anthropic-ai/sdk": "^0.81.0",
|
|
78
77
|
"@aws-sdk/client-bedrock-runtime": "^3.700.0",
|