opencode-windows-scheduler 1.5.2 → 1.5.4
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/CHANGELOG.md +46 -1
- package/LICENSE +21 -21
- package/README.md +3 -2
- package/ROADMAP-STRATEGY.md +5 -4
- package/ROADMAP.md +251 -72
- package/dist/core/local-ai.d.ts +52 -0
- package/dist/core/local-ai.d.ts.map +1 -0
- package/dist/core/local-ai.js +119 -0
- package/dist/core/ps-wrapper.d.ts +2 -30
- package/dist/core/ps-wrapper.d.ts.map +1 -1
- package/dist/core/ps-wrapper.js +211 -39
- package/dist/core/triage-chain.d.ts +34 -0
- package/dist/core/triage-chain.d.ts.map +1 -0
- package/dist/core/triage-chain.js +70 -0
- package/dist/core/triage-rules.d.ts +23 -0
- package/dist/core/triage-rules.d.ts.map +1 -0
- package/dist/core/triage-rules.js +174 -0
- package/dist/core/triage-shadow.d.ts +47 -0
- package/dist/core/triage-shadow.d.ts.map +1 -0
- package/dist/core/triage-shadow.js +48 -0
- package/dist/core/triage.d.ts +76 -0
- package/dist/core/triage.d.ts.map +1 -0
- package/dist/core/triage.js +271 -0
- package/dist/gui-experimental.cjs +1 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +34 -7
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +187 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +9 -1
- package/dist/rpc.d.ts +259 -0
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +58 -0
- package/dist/settings.d.ts +80 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +199 -0
- package/docs/ARCHITECTURE.md +9 -7
- package/docs/FEATURES.md +22 -2
- package/docs/LOCAL-AI.md +202 -0
- package/docs/MIGRATION.md +17 -0
- package/docs/README.ru.md +5 -4
- package/docs/spikes/local-model-structured-output.md +81 -0
- package/docs/spikes/ollama-qwen3-4b-smoke.json +28 -0
- package/docs/spikes/ollama-qwen3-4b.json +163 -0
- package/gui-experimental.cjs +8 -8
- package/locales/en.json +32 -0
- package/locales/ru.json +32 -0
- package/package.json +9 -2
- package/scripts/bench-local.mjs +321 -0
- package/scripts/spike-local-structured.mjs +182 -0
- package/skills/scheduled-job-best-practices/references/recipes.md +40 -0
- package/src/core/local-ai.ts +173 -0
- package/src/core/ps-wrapper.ts +218 -38
- package/src/core/triage-chain.ts +116 -0
- package/src/core/triage-rules.ts +215 -0
- package/src/core/triage-shadow.ts +96 -0
- package/src/core/triage.ts +366 -0
- package/src/gui.tsx +4761 -4533
- package/src/i18n.ts +32 -9
- package/src/index.ts +222 -2
- package/src/notifications.ts +16 -0
- package/src/rpc.ts +58 -0
- package/src/settings.ts +318 -0
package/dist/index.js
CHANGED
|
@@ -18,13 +18,16 @@ import { simulatePipeline } from "./core/dry-run.js";
|
|
|
18
18
|
import { aggregateMatrixResults, cancelPendingMatrixClones, expandMatrixTask, findOrphanedMatrixTasks, getMatrixDeletionGuard, matrixCompleteName, planMatrixFamilyDelete, removeMatrixChildren, runMatrix, syncMatrixFamily, } from "./core/matrix.js";
|
|
19
19
|
import { SchedulerRpc } from "./rpc.js";
|
|
20
20
|
import { latestHistoryByTask, loadHistory, loadMetrics } from "./history.js";
|
|
21
|
-
import { loadSettings, saveSettings } from "./settings.js";
|
|
21
|
+
import { defaultNotifications, loadSettings, saveSettings } from "./settings.js";
|
|
22
22
|
import { setLocale, t } from "./i18n.js";
|
|
23
23
|
import { runHistoryRetention, maybeRunHistoryRetention } from "./core/retention.js";
|
|
24
24
|
import { buildAnalytics } from "./core/analytics.js";
|
|
25
25
|
import { getHistory, listRunningRecords } from "./db/history-repo.js";
|
|
26
26
|
import { getAllMetrics } from "./db/metrics-repo.js";
|
|
27
27
|
import { findStuckMatrixClones, maybeSendDigest, notifyStuckMatrix, sendDigestNow, sendTestNotification, } from "./notifications.js";
|
|
28
|
+
import { shadowReport, resetShadowDecisions, } from "./core/triage-shadow.js";
|
|
29
|
+
import { applyLocalAiPatch, summarizeLocalAi } from "./core/local-ai.js";
|
|
30
|
+
import { classifyNotification } from "./core/triage.js";
|
|
28
31
|
import { loadTaskDefinitions, saveTaskDefinition, removeTaskDefinition, buildExportJson, parseImportJson, normalizePriority, } from "./task-transfer.js";
|
|
29
32
|
import { FileWatchManager } from "./core/file-watcher.js";
|
|
30
33
|
import { GitTriggerManager } from "./core/git-trigger.js";
|
|
@@ -624,6 +627,55 @@ export const manageSettingsSchema = z.object({
|
|
|
624
627
|
.optional()
|
|
625
628
|
.describe("Audit log settings patch (enabled, retentionDays, maxRecords)."),
|
|
626
629
|
});
|
|
630
|
+
/** manage_local_ai — настройки локального ассистента и триажа (Спринт 30.7). */
|
|
631
|
+
export const manageLocalAiSchema = z.object({
|
|
632
|
+
action: z
|
|
633
|
+
.enum(["get", "update", "test"])
|
|
634
|
+
.describe("get — current triage settings and shadow state; update — merge fields and save; test — one classification request against the configured model."),
|
|
635
|
+
mode: z
|
|
636
|
+
.enum(["off", "rules", "llm", "auto"])
|
|
637
|
+
.optional()
|
|
638
|
+
.describe("off — no triage; rules — built-in rules only; llm — model only; auto — model, then rules (default)."),
|
|
639
|
+
baseUrl: z
|
|
640
|
+
.string()
|
|
641
|
+
.max(500)
|
|
642
|
+
.optional()
|
|
643
|
+
.describe("Ollama or OpenAI-compatible base URL, for example http://127.0.0.1:11434. A URL ending with /v1 switches to the OpenAI protocol."),
|
|
644
|
+
model: z
|
|
645
|
+
.string()
|
|
646
|
+
.max(200)
|
|
647
|
+
.optional()
|
|
648
|
+
.describe("Model id, for example qwen3:4b."),
|
|
649
|
+
timeoutMs: z
|
|
650
|
+
.number()
|
|
651
|
+
.int()
|
|
652
|
+
.min(1000)
|
|
653
|
+
.max(120000)
|
|
654
|
+
.optional()
|
|
655
|
+
.describe("Request timeout in milliseconds (1000..120000)."),
|
|
656
|
+
fallback: z
|
|
657
|
+
.enum(["rules", "skip"])
|
|
658
|
+
.optional()
|
|
659
|
+
.describe("When the model fails or is unsure: rules — apply rules (fail-open, default); skip — no rules, the notification is delivered."),
|
|
660
|
+
confidenceThreshold: z
|
|
661
|
+
.number()
|
|
662
|
+
.min(0)
|
|
663
|
+
.max(1)
|
|
664
|
+
.optional()
|
|
665
|
+
.describe("Minimum model confidence (0..1); below it the fallback applies."),
|
|
666
|
+
shadow: z
|
|
667
|
+
.object({
|
|
668
|
+
enabled: z.boolean().optional().describe("Log decisions without suppressing notifications."),
|
|
669
|
+
days: z.number().int().min(1).max(365).optional().describe("Shadow period length in days."),
|
|
670
|
+
startedAt: z
|
|
671
|
+
.string()
|
|
672
|
+
.nullable()
|
|
673
|
+
.optional()
|
|
674
|
+
.describe("ISO start of the shadow period; null restarts it on the next save."),
|
|
675
|
+
})
|
|
676
|
+
.optional()
|
|
677
|
+
.describe("Shadow mode patch."),
|
|
678
|
+
});
|
|
627
679
|
/** manage_templates — пользовательские шаблоны задач. */
|
|
628
680
|
export const manageTemplatesSchema = z.object({
|
|
629
681
|
action: z
|
|
@@ -1999,6 +2051,95 @@ const manageSettingsExecute = wrapExecute(async (args) => {
|
|
|
1999
2051
|
setLocale(settings.locale);
|
|
2000
2052
|
return { content: JSON.stringify({ success: true, settings }) };
|
|
2001
2053
|
});
|
|
2054
|
+
/** Настройки триажа: сохранённые или дефолт для незаполненного конфига. */
|
|
2055
|
+
function triageOrDefault(settings) {
|
|
2056
|
+
const saved = settings.notifications.triage;
|
|
2057
|
+
if (saved)
|
|
2058
|
+
return saved;
|
|
2059
|
+
const fallback = defaultNotifications().triage;
|
|
2060
|
+
return (fallback ?? {
|
|
2061
|
+
mode: "off",
|
|
2062
|
+
baseUrl: "http://127.0.0.1:11434",
|
|
2063
|
+
model: "",
|
|
2064
|
+
timeoutMs: 45000,
|
|
2065
|
+
fallback: "rules",
|
|
2066
|
+
confidenceThreshold: 0.6,
|
|
2067
|
+
});
|
|
2068
|
+
}
|
|
2069
|
+
/** Синтетическое уведомление для проверки связи с моделью. */
|
|
2070
|
+
const LOCAL_AI_SELF_TEST = {
|
|
2071
|
+
taskName: "scheduler-self-test",
|
|
2072
|
+
status: "error",
|
|
2073
|
+
error: "Quality Gate failed: 2 tests broke the build",
|
|
2074
|
+
durationMs: 12000,
|
|
2075
|
+
};
|
|
2076
|
+
/** Один классификационный запрос — общий путь для инструмента и GUI. */
|
|
2077
|
+
async function runLocalAiTest(patch = {}) {
|
|
2078
|
+
const settings = await loadSettings();
|
|
2079
|
+
const { settings: candidate } = applyLocalAiPatch(triageOrDefault(settings), patch);
|
|
2080
|
+
const result = await classifyNotification(LOCAL_AI_SELF_TEST, candidate, { retries: 0 });
|
|
2081
|
+
return {
|
|
2082
|
+
success: result.ok,
|
|
2083
|
+
localAi: summarizeLocalAi(candidate),
|
|
2084
|
+
result: {
|
|
2085
|
+
ok: result.ok,
|
|
2086
|
+
failure: result.failure ?? null,
|
|
2087
|
+
error: result.error ?? null,
|
|
2088
|
+
latencyMs: result.latencyMs,
|
|
2089
|
+
attempts: result.attempts,
|
|
2090
|
+
model: result.model,
|
|
2091
|
+
protocol: result.protocol,
|
|
2092
|
+
verdict: result.verdict ?? null,
|
|
2093
|
+
},
|
|
2094
|
+
};
|
|
2095
|
+
}
|
|
2096
|
+
/** manage_local_ai — настройки триажа и проверка связи с моделью. */
|
|
2097
|
+
const manageLocalAiExecute = wrapExecute(async (args) => {
|
|
2098
|
+
const settings = await loadSettings();
|
|
2099
|
+
const current = triageOrDefault(settings);
|
|
2100
|
+
if (args.action === "get") {
|
|
2101
|
+
return {
|
|
2102
|
+
content: JSON.stringify({ success: true, localAi: summarizeLocalAi(current) }),
|
|
2103
|
+
};
|
|
2104
|
+
}
|
|
2105
|
+
const patch = {
|
|
2106
|
+
mode: args.mode,
|
|
2107
|
+
baseUrl: args.baseUrl,
|
|
2108
|
+
model: args.model,
|
|
2109
|
+
timeoutMs: args.timeoutMs,
|
|
2110
|
+
fallback: args.fallback,
|
|
2111
|
+
confidenceThreshold: args.confidenceThreshold,
|
|
2112
|
+
shadow: args.shadow,
|
|
2113
|
+
};
|
|
2114
|
+
if (args.action === "test") {
|
|
2115
|
+
// Проверка не меняет конфиг: патч применяется только в памяти.
|
|
2116
|
+
return { content: JSON.stringify(await runLocalAiTest(patch)) };
|
|
2117
|
+
}
|
|
2118
|
+
if (!Object.values(patch).some((value) => value !== undefined)) {
|
|
2119
|
+
return {
|
|
2120
|
+
content: JSON.stringify({
|
|
2121
|
+
success: false,
|
|
2122
|
+
error: t("tool.localAi.updateFields"),
|
|
2123
|
+
localAi: summarizeLocalAi(current),
|
|
2124
|
+
}),
|
|
2125
|
+
};
|
|
2126
|
+
}
|
|
2127
|
+
const { settings: merged, changed } = applyLocalAiPatch(current, patch);
|
|
2128
|
+
const saved = await saveSettings({
|
|
2129
|
+
notifications: { ...settings.notifications, triage: merged },
|
|
2130
|
+
});
|
|
2131
|
+
const localAi = summarizeLocalAi(triageOrDefault(saved));
|
|
2132
|
+
return {
|
|
2133
|
+
content: JSON.stringify({
|
|
2134
|
+
success: true,
|
|
2135
|
+
changed,
|
|
2136
|
+
message: changed.length > 0
|
|
2137
|
+
? t("tool.localAi.updated", { fields: changed.join(", ") })
|
|
2138
|
+
: t("tool.localAi.unchanged"),
|
|
2139
|
+
localAi,
|
|
2140
|
+
}),
|
|
2141
|
+
};
|
|
2142
|
+
});
|
|
2002
2143
|
/** manage_templates — список, сохранение и удаление шаблонов задач. */
|
|
2003
2144
|
const manageTemplatesExecute = wrapExecute(async (args) => {
|
|
2004
2145
|
if (args.action === "list") {
|
|
@@ -2725,6 +2866,17 @@ export default Plugin.define({
|
|
|
2725
2866
|
? { action: "settings.update", targetType: "settings", target: "global" }
|
|
2726
2867
|
: null, manageSettingsExecute),
|
|
2727
2868
|
});
|
|
2869
|
+
editor.add({
|
|
2870
|
+
name: "manage_local_ai",
|
|
2871
|
+
input: manageLocalAiSchema,
|
|
2872
|
+
description: "Reads, updates or tests the local assistant for notification triage: mode (off, rules, llm, auto), Ollama/OpenAI baseUrl, model, timeout, fallback, confidence threshold and shadow mode. " +
|
|
2873
|
+
"action=test sends one synthetic notification to the model and reports latency, protocol and verdict without saving anything. " +
|
|
2874
|
+
"Without a model the scheduler keeps working through rules: notifications are never blocked by a missing model.",
|
|
2875
|
+
options: { codemode: true },
|
|
2876
|
+
execute: withAudit("manage_local_ai", (args) => args.action === "update"
|
|
2877
|
+
? { action: "localAi.update", targetType: "settings", target: "triage" }
|
|
2878
|
+
: null, manageLocalAiExecute),
|
|
2879
|
+
});
|
|
2728
2880
|
editor.add({
|
|
2729
2881
|
name: "manage_templates",
|
|
2730
2882
|
input: manageTemplatesSchema,
|
|
@@ -3408,6 +3560,37 @@ export default Plugin.define({
|
|
|
3408
3560
|
// Ручная отправка не сдвигает плановое расписание дайджеста.
|
|
3409
3561
|
return await sendDigestNow({ updateLastSentAt: false });
|
|
3410
3562
|
},
|
|
3563
|
+
// --- Спринт 30.6: shadow-режим триажа ---------------------------------
|
|
3564
|
+
get_shadow_report: async () => {
|
|
3565
|
+
const settings = await loadSettings();
|
|
3566
|
+
const shadow = shadowReport(settings.notifications.triage?.shadow);
|
|
3567
|
+
return {
|
|
3568
|
+
success: true,
|
|
3569
|
+
active: shadow.active,
|
|
3570
|
+
startedAt: shadow.startedAt,
|
|
3571
|
+
days: shadow.days,
|
|
3572
|
+
total: shadow.total,
|
|
3573
|
+
skips: shadow.skips,
|
|
3574
|
+
wouldSuppress: shadow.wouldSuppress,
|
|
3575
|
+
bySource: shadow.bySource,
|
|
3576
|
+
};
|
|
3577
|
+
},
|
|
3578
|
+
reset_shadow_report: async () => {
|
|
3579
|
+
resetShadowDecisions();
|
|
3580
|
+
return { success: true };
|
|
3581
|
+
},
|
|
3582
|
+
test_local_ai: async (input) => {
|
|
3583
|
+
// Проверка связи: патч применяется только в памяти, конфиг не меняется.
|
|
3584
|
+
const patch = (input ?? {});
|
|
3585
|
+
return await runLocalAiTest({
|
|
3586
|
+
mode: patch.mode,
|
|
3587
|
+
baseUrl: patch.baseUrl,
|
|
3588
|
+
model: patch.model,
|
|
3589
|
+
timeoutMs: patch.timeoutMs,
|
|
3590
|
+
fallback: patch.fallback,
|
|
3591
|
+
confidenceThreshold: patch.confidenceThreshold,
|
|
3592
|
+
});
|
|
3593
|
+
},
|
|
3411
3594
|
// --- Спринт 26: секреты и аудит -------------------------------------
|
|
3412
3595
|
list_secrets: async () => {
|
|
3413
3596
|
return { success: true, secrets: listSecrets() };
|
|
@@ -3952,7 +4135,7 @@ paused) {
|
|
|
3952
4135
|
try {
|
|
3953
4136
|
if (scheduler.platform === "win32") {
|
|
3954
4137
|
await ensureWrapper();
|
|
3955
|
-
wrapperPath = await writeWrapperCmd(sanitized, name, promptFile, timeoutSeconds ?? 3600, lockFile, effectiveWorkingDirectory, logFile, recorderPath, qualityGate, normalizedModel, normalizedBefore, normalizedAfter, workspace?.name, normalizedAllowedTools, normalizedDeniedTools, wrapperGate, taskEnvFile, effectiveSession, effectiveSessionId);
|
|
4138
|
+
wrapperPath = await writeWrapperCmd(sanitized, name, promptFile, timeoutSeconds ?? 3600, lockFile, effectiveWorkingDirectory, logFile, recorderPath, qualityGate, normalizedModel, normalizedBefore, normalizedAfter, workspace?.name, normalizedAllowedTools, normalizedDeniedTools, wrapperGate, taskEnvFile, effectiveSession, effectiveSessionId, retryCount, retryDelay);
|
|
3956
4139
|
}
|
|
3957
4140
|
else {
|
|
3958
4141
|
wrapperPath = await writeBashWrapper({
|
|
@@ -4443,6 +4626,8 @@ async function collectTasksView() {
|
|
|
4443
4626
|
return {
|
|
4444
4627
|
name,
|
|
4445
4628
|
schedule: def?.schedule ?? "",
|
|
4629
|
+
/** Hotfix 1.5.3.1: лимит времени задачи (раньше не был виден агенту). */
|
|
4630
|
+
timeoutSeconds: def?.timeoutSeconds ?? null,
|
|
4446
4631
|
status,
|
|
4447
4632
|
orphaned,
|
|
4448
4633
|
// Спринт 24 (фикс): явный признак паузы. Раньше GUI пытался вывести его
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EAExB,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EAExB,KAAK,qBAAqB,EAE3B,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAO7B,oEAAoE;AACpE,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1E,8BAA8B;AAC9B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAQD,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAGzD;AAOD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAQrE;AAED,gEAAgE;AAChE,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,mBAAmB,GAC5B,OAAO,CAST;AAED,8EAA8E;AAC9E,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,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CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC,CA6DD"}
|
package/dist/notifications.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { loadSettings, saveSettings, } from "./settings.js";
|
|
1
|
+
import { loadSettings, saveSettings, isShadowActive, } from "./settings.js";
|
|
2
2
|
import { buildAnalytics, } from "./core/analytics.js";
|
|
3
3
|
import { getHistory } from "./db/history-repo.js";
|
|
4
4
|
import { sendTelegramMessage } from "./core/telegram.js";
|
|
5
5
|
import { sendNativeNotification } from "./core/native-notify.js";
|
|
6
|
+
import { decideTriage, recordShadow } from "./core/triage-chain.js";
|
|
6
7
|
import { t } from "./i18n.js";
|
|
7
8
|
/** Таймаут HTTP-запроса по умолчанию: уведомление не должно подвешивать задачу. */
|
|
8
9
|
const REQUEST_TIMEOUT_MS = 10000;
|
|
@@ -358,6 +359,13 @@ export async function notifyTaskCompletion(taskName, status, durationMs, error,
|
|
|
358
359
|
status !== "timeout") {
|
|
359
360
|
return;
|
|
360
361
|
}
|
|
362
|
+
// Триаж может подавить уведомление (LLM → правила → fail-open).
|
|
363
|
+
// В shadow-режиме решение фиксируется, но уведомление не подавляется.
|
|
364
|
+
const shadow = config.triage?.shadow;
|
|
365
|
+
const triage = await decideTriage({ taskName, status, error, durationMs, tokens, costUsd }, config.triage);
|
|
366
|
+
recordShadow({ taskName, status, error, durationMs, tokens, costUsd }, triage, shadow);
|
|
367
|
+
if (!isShadowActive(shadow) && triage.action === "skip")
|
|
368
|
+
return;
|
|
361
369
|
const message = formatNotificationMessage({ taskName, status, durationMs, error, tokens, costUsd }, config.templates);
|
|
362
370
|
await deliver(config, message);
|
|
363
371
|
}
|
package/dist/rpc.d.ts
CHANGED
|
@@ -21,6 +21,10 @@ export declare const SchedulerRpc: {
|
|
|
21
21
|
readonly schedule: {
|
|
22
22
|
readonly type: "string";
|
|
23
23
|
};
|
|
24
|
+
/** Hotfix 1.5.3.1: лимит времени задачи в секундах (null - по умолчанию). */
|
|
25
|
+
readonly timeoutSeconds: {
|
|
26
|
+
readonly type: readonly ["number", "null"];
|
|
27
|
+
};
|
|
24
28
|
readonly status: {
|
|
25
29
|
readonly type: "string";
|
|
26
30
|
};
|
|
@@ -2262,6 +2266,91 @@ export declare const SchedulerRpc: {
|
|
|
2262
2266
|
};
|
|
2263
2267
|
readonly required: readonly ["enabled", "frequency", "time"];
|
|
2264
2268
|
};
|
|
2269
|
+
readonly triage: {
|
|
2270
|
+
readonly type: "object";
|
|
2271
|
+
readonly properties: {
|
|
2272
|
+
readonly mode: {
|
|
2273
|
+
readonly type: "string";
|
|
2274
|
+
readonly enum: readonly ["off", "rules", "llm", "auto"];
|
|
2275
|
+
};
|
|
2276
|
+
readonly baseUrl: {
|
|
2277
|
+
readonly type: "string";
|
|
2278
|
+
};
|
|
2279
|
+
readonly model: {
|
|
2280
|
+
readonly type: "string";
|
|
2281
|
+
};
|
|
2282
|
+
readonly timeoutMs: {
|
|
2283
|
+
readonly type: "number";
|
|
2284
|
+
};
|
|
2285
|
+
readonly fallback: {
|
|
2286
|
+
readonly type: "string";
|
|
2287
|
+
readonly enum: readonly ["rules", "skip"];
|
|
2288
|
+
};
|
|
2289
|
+
readonly confidenceThreshold: {
|
|
2290
|
+
readonly type: "number";
|
|
2291
|
+
};
|
|
2292
|
+
readonly rules: {
|
|
2293
|
+
readonly type: "array";
|
|
2294
|
+
readonly items: {
|
|
2295
|
+
readonly type: "object";
|
|
2296
|
+
readonly properties: {
|
|
2297
|
+
readonly id: {
|
|
2298
|
+
readonly type: "string";
|
|
2299
|
+
};
|
|
2300
|
+
readonly field: {
|
|
2301
|
+
readonly type: "string";
|
|
2302
|
+
readonly enum: readonly ["status", "task", "error", "cost"];
|
|
2303
|
+
};
|
|
2304
|
+
readonly operator: {
|
|
2305
|
+
readonly type: "string";
|
|
2306
|
+
readonly enum: readonly ["equals", "contains", "regex", "gt", "lt", "gte", "lte"];
|
|
2307
|
+
};
|
|
2308
|
+
readonly value: {
|
|
2309
|
+
readonly type: readonly ["string", "number"];
|
|
2310
|
+
};
|
|
2311
|
+
readonly category: {
|
|
2312
|
+
readonly type: "string";
|
|
2313
|
+
readonly enum: readonly ["quality", "timeout", "permission", "network", "unknown"];
|
|
2314
|
+
};
|
|
2315
|
+
readonly severity: {
|
|
2316
|
+
readonly type: "string";
|
|
2317
|
+
readonly enum: readonly ["low", "medium", "high"];
|
|
2318
|
+
};
|
|
2319
|
+
readonly confidence: {
|
|
2320
|
+
readonly type: "number";
|
|
2321
|
+
};
|
|
2322
|
+
readonly action: {
|
|
2323
|
+
readonly type: "string";
|
|
2324
|
+
readonly enum: readonly ["notify", "skip"];
|
|
2325
|
+
};
|
|
2326
|
+
readonly reason: {
|
|
2327
|
+
readonly type: "string";
|
|
2328
|
+
};
|
|
2329
|
+
readonly priority: {
|
|
2330
|
+
readonly type: "number";
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
readonly required: readonly ["field", "operator", "value"];
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
readonly shadow: {
|
|
2337
|
+
readonly type: "object";
|
|
2338
|
+
readonly properties: {
|
|
2339
|
+
readonly enabled: {
|
|
2340
|
+
readonly type: "boolean";
|
|
2341
|
+
};
|
|
2342
|
+
readonly days: {
|
|
2343
|
+
readonly type: "number";
|
|
2344
|
+
};
|
|
2345
|
+
readonly startedAt: {
|
|
2346
|
+
readonly type: readonly ["string", "null"];
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
readonly required: readonly ["enabled", "days", "startedAt"];
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2352
|
+
readonly required: readonly ["mode", "baseUrl", "model", "timeoutMs", "fallback", "confidenceThreshold"];
|
|
2353
|
+
};
|
|
2265
2354
|
};
|
|
2266
2355
|
readonly required: readonly ["enabled", "onlyOnError"];
|
|
2267
2356
|
};
|
|
@@ -2475,6 +2564,91 @@ export declare const SchedulerRpc: {
|
|
|
2475
2564
|
};
|
|
2476
2565
|
readonly required: readonly ["enabled", "frequency", "time"];
|
|
2477
2566
|
};
|
|
2567
|
+
readonly triage: {
|
|
2568
|
+
readonly type: "object";
|
|
2569
|
+
readonly properties: {
|
|
2570
|
+
readonly mode: {
|
|
2571
|
+
readonly type: "string";
|
|
2572
|
+
readonly enum: readonly ["off", "rules", "llm", "auto"];
|
|
2573
|
+
};
|
|
2574
|
+
readonly baseUrl: {
|
|
2575
|
+
readonly type: "string";
|
|
2576
|
+
};
|
|
2577
|
+
readonly model: {
|
|
2578
|
+
readonly type: "string";
|
|
2579
|
+
};
|
|
2580
|
+
readonly timeoutMs: {
|
|
2581
|
+
readonly type: "number";
|
|
2582
|
+
};
|
|
2583
|
+
readonly fallback: {
|
|
2584
|
+
readonly type: "string";
|
|
2585
|
+
readonly enum: readonly ["rules", "skip"];
|
|
2586
|
+
};
|
|
2587
|
+
readonly confidenceThreshold: {
|
|
2588
|
+
readonly type: "number";
|
|
2589
|
+
};
|
|
2590
|
+
readonly rules: {
|
|
2591
|
+
readonly type: "array";
|
|
2592
|
+
readonly items: {
|
|
2593
|
+
readonly type: "object";
|
|
2594
|
+
readonly properties: {
|
|
2595
|
+
readonly id: {
|
|
2596
|
+
readonly type: "string";
|
|
2597
|
+
};
|
|
2598
|
+
readonly field: {
|
|
2599
|
+
readonly type: "string";
|
|
2600
|
+
readonly enum: readonly ["status", "task", "error", "cost"];
|
|
2601
|
+
};
|
|
2602
|
+
readonly operator: {
|
|
2603
|
+
readonly type: "string";
|
|
2604
|
+
readonly enum: readonly ["equals", "contains", "regex", "gt", "lt", "gte", "lte"];
|
|
2605
|
+
};
|
|
2606
|
+
readonly value: {
|
|
2607
|
+
readonly type: readonly ["string", "number"];
|
|
2608
|
+
};
|
|
2609
|
+
readonly category: {
|
|
2610
|
+
readonly type: "string";
|
|
2611
|
+
readonly enum: readonly ["quality", "timeout", "permission", "network", "unknown"];
|
|
2612
|
+
};
|
|
2613
|
+
readonly severity: {
|
|
2614
|
+
readonly type: "string";
|
|
2615
|
+
readonly enum: readonly ["low", "medium", "high"];
|
|
2616
|
+
};
|
|
2617
|
+
readonly confidence: {
|
|
2618
|
+
readonly type: "number";
|
|
2619
|
+
};
|
|
2620
|
+
readonly action: {
|
|
2621
|
+
readonly type: "string";
|
|
2622
|
+
readonly enum: readonly ["notify", "skip"];
|
|
2623
|
+
};
|
|
2624
|
+
readonly reason: {
|
|
2625
|
+
readonly type: "string";
|
|
2626
|
+
};
|
|
2627
|
+
readonly priority: {
|
|
2628
|
+
readonly type: "number";
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
readonly required: readonly ["field", "operator", "value"];
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
readonly shadow: {
|
|
2635
|
+
readonly type: "object";
|
|
2636
|
+
readonly properties: {
|
|
2637
|
+
readonly enabled: {
|
|
2638
|
+
readonly type: "boolean";
|
|
2639
|
+
};
|
|
2640
|
+
readonly days: {
|
|
2641
|
+
readonly type: "number";
|
|
2642
|
+
};
|
|
2643
|
+
readonly startedAt: {
|
|
2644
|
+
readonly type: readonly ["string", "null"];
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
readonly required: readonly ["enabled", "days", "startedAt"];
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
readonly required: readonly ["mode", "baseUrl", "model", "timeoutMs", "fallback", "confidenceThreshold"];
|
|
2651
|
+
};
|
|
2478
2652
|
};
|
|
2479
2653
|
readonly required: readonly ["enabled", "onlyOnError"];
|
|
2480
2654
|
};
|
|
@@ -2688,6 +2862,91 @@ export declare const SchedulerRpc: {
|
|
|
2688
2862
|
};
|
|
2689
2863
|
readonly required: readonly ["enabled", "frequency", "time"];
|
|
2690
2864
|
};
|
|
2865
|
+
readonly triage: {
|
|
2866
|
+
readonly type: "object";
|
|
2867
|
+
readonly properties: {
|
|
2868
|
+
readonly mode: {
|
|
2869
|
+
readonly type: "string";
|
|
2870
|
+
readonly enum: readonly ["off", "rules", "llm", "auto"];
|
|
2871
|
+
};
|
|
2872
|
+
readonly baseUrl: {
|
|
2873
|
+
readonly type: "string";
|
|
2874
|
+
};
|
|
2875
|
+
readonly model: {
|
|
2876
|
+
readonly type: "string";
|
|
2877
|
+
};
|
|
2878
|
+
readonly timeoutMs: {
|
|
2879
|
+
readonly type: "number";
|
|
2880
|
+
};
|
|
2881
|
+
readonly fallback: {
|
|
2882
|
+
readonly type: "string";
|
|
2883
|
+
readonly enum: readonly ["rules", "skip"];
|
|
2884
|
+
};
|
|
2885
|
+
readonly confidenceThreshold: {
|
|
2886
|
+
readonly type: "number";
|
|
2887
|
+
};
|
|
2888
|
+
readonly rules: {
|
|
2889
|
+
readonly type: "array";
|
|
2890
|
+
readonly items: {
|
|
2891
|
+
readonly type: "object";
|
|
2892
|
+
readonly properties: {
|
|
2893
|
+
readonly id: {
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
};
|
|
2896
|
+
readonly field: {
|
|
2897
|
+
readonly type: "string";
|
|
2898
|
+
readonly enum: readonly ["status", "task", "error", "cost"];
|
|
2899
|
+
};
|
|
2900
|
+
readonly operator: {
|
|
2901
|
+
readonly type: "string";
|
|
2902
|
+
readonly enum: readonly ["equals", "contains", "regex", "gt", "lt", "gte", "lte"];
|
|
2903
|
+
};
|
|
2904
|
+
readonly value: {
|
|
2905
|
+
readonly type: readonly ["string", "number"];
|
|
2906
|
+
};
|
|
2907
|
+
readonly category: {
|
|
2908
|
+
readonly type: "string";
|
|
2909
|
+
readonly enum: readonly ["quality", "timeout", "permission", "network", "unknown"];
|
|
2910
|
+
};
|
|
2911
|
+
readonly severity: {
|
|
2912
|
+
readonly type: "string";
|
|
2913
|
+
readonly enum: readonly ["low", "medium", "high"];
|
|
2914
|
+
};
|
|
2915
|
+
readonly confidence: {
|
|
2916
|
+
readonly type: "number";
|
|
2917
|
+
};
|
|
2918
|
+
readonly action: {
|
|
2919
|
+
readonly type: "string";
|
|
2920
|
+
readonly enum: readonly ["notify", "skip"];
|
|
2921
|
+
};
|
|
2922
|
+
readonly reason: {
|
|
2923
|
+
readonly type: "string";
|
|
2924
|
+
};
|
|
2925
|
+
readonly priority: {
|
|
2926
|
+
readonly type: "number";
|
|
2927
|
+
};
|
|
2928
|
+
};
|
|
2929
|
+
readonly required: readonly ["field", "operator", "value"];
|
|
2930
|
+
};
|
|
2931
|
+
};
|
|
2932
|
+
readonly shadow: {
|
|
2933
|
+
readonly type: "object";
|
|
2934
|
+
readonly properties: {
|
|
2935
|
+
readonly enabled: {
|
|
2936
|
+
readonly type: "boolean";
|
|
2937
|
+
};
|
|
2938
|
+
readonly days: {
|
|
2939
|
+
readonly type: "number";
|
|
2940
|
+
};
|
|
2941
|
+
readonly startedAt: {
|
|
2942
|
+
readonly type: readonly ["string", "null"];
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
readonly required: readonly ["enabled", "days", "startedAt"];
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
readonly required: readonly ["mode", "baseUrl", "model", "timeoutMs", "fallback", "confidenceThreshold"];
|
|
2949
|
+
};
|
|
2691
2950
|
};
|
|
2692
2951
|
readonly required: readonly ["enabled", "onlyOnError"];
|
|
2693
2952
|
};
|
package/dist/rpc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAw7CA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;gCA73CrB,6EAA6E;;;;;;;;;;gCAI7E,+DAA+D;;;;gCAE/D,+CAA+C;;;;gCAE/C,oDAAoD;;;;gCAEpD,wDAAwD;;;;gCAExD,qDAAqD;;;;gCAErD,sCAAsC;;;;gCAEtC,qDAAqD;;;;gCAErD,+EAA+E;;;;;;;gCAE/E,2DAA2D;;;;gCAE3D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