opencode-windows-scheduler 1.4.0 → 1.5.1
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 +61 -1
- package/LICENSE +21 -21
- package/README.md +26 -4
- package/ROADMAP-STRATEGY.md +43 -24
- package/ROADMAP.md +549 -31
- package/dist/core/dry-run.d.ts +41 -0
- package/dist/core/dry-run.d.ts.map +1 -1
- package/dist/core/dry-run.js +165 -16
- package/dist/core/file-watcher.d.ts.map +1 -1
- package/dist/core/file-watcher.js +53 -10
- package/dist/core/git-trigger.d.ts +80 -0
- package/dist/core/git-trigger.d.ts.map +1 -0
- package/dist/core/git-trigger.js +294 -0
- package/dist/core/glob.d.ts +38 -0
- package/dist/core/glob.d.ts.map +1 -0
- package/dist/core/glob.js +233 -0
- package/dist/core/matrix.d.ts.map +1 -1
- package/dist/core/matrix.js +48 -22
- package/dist/core/ps-wrapper.d.ts.map +1 -1
- package/dist/core/ps-wrapper.js +7 -0
- package/dist/core/schedule-gate.js +55 -30
- package/dist/core/schedule-v2.d.ts +29 -1
- package/dist/core/schedule-v2.d.ts.map +1 -1
- package/dist/core/schedule-v2.js +107 -17
- package/dist/core/scheduler/types.d.ts +7 -1
- package/dist/core/scheduler/types.d.ts.map +1 -1
- package/dist/core/scheduler/windows.d.ts +6 -2
- package/dist/core/scheduler/windows.d.ts.map +1 -1
- package/dist/core/scheduler/windows.js +25 -10
- package/dist/core/telegram.d.ts.map +1 -1
- package/dist/core/telegram.js +13 -10
- package/dist/core/wrappers/bash.d.ts.map +1 -1
- package/dist/core/wrappers/bash.js +4 -0
- package/dist/db/git-state-repo.d.ts +16 -0
- package/dist/db/git-state-repo.d.ts.map +1 -0
- package/dist/db/git-state-repo.js +38 -0
- package/dist/db/schema.d.ts +1 -1
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +8 -0
- package/dist/i18n.d.ts +52 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +292 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1020 -197
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +74 -40
- package/dist/rpc.d.ts +238 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +79 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +89 -48
- package/dist/settings.d.ts +3 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +20 -8
- package/dist/task-transfer.d.ts +43 -3
- package/dist/task-transfer.d.ts.map +1 -1
- package/dist/task-transfer.js +94 -6
- package/dist/templates.d.ts +1 -1
- package/dist/templates.d.ts.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +32 -0
- package/docs/ARCHITECTURE.md +37 -1
- package/docs/FEATURES.md +70 -0
- package/docs/README.ru.md +19 -3
- package/gui-experimental.cjs +9 -4
- package/locales/en.json +695 -0
- package/locales/ru.json +695 -0
- package/package.json +9 -3
- package/scripts/test-locale.mjs +44 -0
- package/src/core/dry-run.ts +244 -19
- package/src/core/file-watcher.ts +65 -10
- package/src/core/git-trigger.ts +373 -0
- package/src/core/glob.ts +226 -0
- package/src/core/matrix.ts +52 -26
- package/src/core/ps-wrapper.ts +7 -0
- package/src/core/schedule-gate.ts +67 -33
- package/src/core/schedule-v2.ts +152 -17
- package/src/core/scheduler/types.ts +7 -1
- package/src/core/scheduler/windows.ts +25 -10
- package/src/core/telegram.ts +16 -10
- package/src/core/wrappers/bash.ts +4 -0
- package/src/db/git-state-repo.ts +62 -0
- package/src/db/schema.ts +8 -0
- package/src/gui.tsx +772 -456
- package/src/i18n.ts +339 -0
- package/src/index.ts +1274 -212
- package/src/notifications.ts +83 -42
- package/src/rpc.ts +79 -2
- package/src/server.ts +89 -48
- package/src/settings.ts +38 -10
- package/src/task-transfer.ts +148 -5
- package/src/templates.ts +1 -1
- package/src/types.ts +37 -0
|
@@ -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,EAC3B,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;
|
|
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,EAC3B,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAM7B,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,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AED;;;;GAIG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,GAAE,KAAK,GAAG,mBAA2B,GAC3C,OAAO,CAAC;IACT,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC,CA6DD"}
|
package/dist/notifications.js
CHANGED
|
@@ -3,6 +3,7 @@ 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 { t } from "./i18n.js";
|
|
6
7
|
/** Таймаут HTTP-запроса по умолчанию: уведомление не должно подвешивать задачу. */
|
|
7
8
|
const REQUEST_TIMEOUT_MS = 10000;
|
|
8
9
|
/** Максимальная задержка backoff между повторами. */
|
|
@@ -58,14 +59,16 @@ export function formatNotificationMessage(payload, templates) {
|
|
|
58
59
|
const { taskName, status, durationMs, error } = payload;
|
|
59
60
|
const duration = formatDuration(durationMs);
|
|
60
61
|
const isSuccess = status === "success";
|
|
61
|
-
const reason = typeof error === "string" && error.trim()
|
|
62
|
+
const reason = typeof error === "string" && error.trim()
|
|
63
|
+
? t("notify.reason", { error: error.trim() })
|
|
64
|
+
: "";
|
|
62
65
|
const tokens = typeof payload.tokens === "number" && payload.tokens > 0
|
|
63
|
-
? String(Math.round(payload.tokens))
|
|
66
|
+
? t("notify.usage.tokens", { tokens: String(Math.round(payload.tokens)) })
|
|
64
67
|
: "";
|
|
65
68
|
const cost = typeof payload.costUsd === "number" && payload.costUsd > 0
|
|
66
69
|
? `$${payload.costUsd.toFixed(4)}`
|
|
67
70
|
: "";
|
|
68
|
-
const usage = [tokens
|
|
71
|
+
const usage = [tokens, cost].filter(Boolean).join(" · ");
|
|
69
72
|
const usageSuffix = usage ? ` · ${usage}` : "";
|
|
70
73
|
const costVar = usageSuffix;
|
|
71
74
|
const tokensVar = tokens;
|
|
@@ -92,23 +95,33 @@ export function formatNotificationMessage(payload, templates) {
|
|
|
92
95
|
});
|
|
93
96
|
}
|
|
94
97
|
if (isSuccess) {
|
|
95
|
-
return
|
|
98
|
+
return t("notify.task.success", {
|
|
99
|
+
task: taskName,
|
|
100
|
+
duration,
|
|
101
|
+
cost: usageSuffix,
|
|
102
|
+
});
|
|
96
103
|
}
|
|
97
|
-
return
|
|
104
|
+
return t("notify.task.error", {
|
|
105
|
+
task: taskName,
|
|
106
|
+
duration,
|
|
107
|
+
error: reason,
|
|
108
|
+
cost: usageSuffix,
|
|
109
|
+
});
|
|
98
110
|
}
|
|
99
111
|
/** Текст уведомления о завершении матрицы. */
|
|
100
112
|
export function formatMatrixMessage(info) {
|
|
101
113
|
const { parentName, status, total, success, error } = info;
|
|
114
|
+
const params = { parent: parentName, total, success, error };
|
|
102
115
|
if (status === "success") {
|
|
103
|
-
return
|
|
116
|
+
return t("notify.matrix.success", params);
|
|
104
117
|
}
|
|
105
118
|
if (status === "partial") {
|
|
106
|
-
return
|
|
119
|
+
return t("notify.matrix.partial", params);
|
|
107
120
|
}
|
|
108
121
|
if (total > 0 && error >= total) {
|
|
109
|
-
return
|
|
122
|
+
return t("notify.matrix.failedAll", params);
|
|
110
123
|
}
|
|
111
|
-
return
|
|
124
|
+
return t("notify.matrix.failed", params);
|
|
112
125
|
}
|
|
113
126
|
/** Ошибка отправки webhook с признаком, имеет ли смысл повторять запрос. */
|
|
114
127
|
class WebhookError extends Error {
|
|
@@ -121,17 +134,17 @@ const defaultSleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
|
121
134
|
function validateWebhookUrl(url) {
|
|
122
135
|
const trimmed = (url ?? "").trim();
|
|
123
136
|
if (!trimmed) {
|
|
124
|
-
throw new Error("
|
|
137
|
+
throw new Error(t("notify.error.webhookUrlMissing"));
|
|
125
138
|
}
|
|
126
139
|
let parsed;
|
|
127
140
|
try {
|
|
128
141
|
parsed = new URL(trimmed);
|
|
129
142
|
}
|
|
130
143
|
catch {
|
|
131
|
-
throw new Error("
|
|
144
|
+
throw new Error(t("notify.error.webhookUrlInvalid"));
|
|
132
145
|
}
|
|
133
146
|
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
134
|
-
throw new Error("
|
|
147
|
+
throw new Error(t("notify.error.webhookScheme"));
|
|
135
148
|
}
|
|
136
149
|
return parsed;
|
|
137
150
|
}
|
|
@@ -154,7 +167,7 @@ async function postOnce(parsed, message, timeoutMs) {
|
|
|
154
167
|
}
|
|
155
168
|
catch (err) {
|
|
156
169
|
if (err?.name === "AbortError") {
|
|
157
|
-
throw new WebhookError(
|
|
170
|
+
throw new WebhookError(t("notify.error.webhookTimeout", { seconds: timeoutMs / 1000 }), true);
|
|
158
171
|
}
|
|
159
172
|
if (err instanceof WebhookError)
|
|
160
173
|
throw err;
|
|
@@ -276,7 +289,7 @@ async function deliverDetailed(config, message, only) {
|
|
|
276
289
|
if ((!only || only === "telegram") && config.enabled && telegram?.enabled) {
|
|
277
290
|
const { token, chatId } = telegramCredentials(config);
|
|
278
291
|
if (!token || !chatId) {
|
|
279
|
-
const text = "
|
|
292
|
+
const text = t("notify.error.telegramNoCreds");
|
|
280
293
|
console.error(`[windows-scheduler] ${text}`);
|
|
281
294
|
results.push({ channel: "telegram", ok: false, error: text });
|
|
282
295
|
}
|
|
@@ -302,13 +315,13 @@ async function deliverDetailed(config, message, only) {
|
|
|
302
315
|
}
|
|
303
316
|
const native = config.native;
|
|
304
317
|
if ((!only || only === "native") && config.enabled && native?.enabled) {
|
|
305
|
-
const result = await sendNativeNotification({ title: "
|
|
318
|
+
const result = await sendNativeNotification({ title: t("notify.native.title"), body: message, sound: native.sound }, {});
|
|
306
319
|
if (result.success) {
|
|
307
320
|
console.log("[windows-scheduler] Нативное уведомление показано.");
|
|
308
321
|
results.push({ channel: "native", ok: true });
|
|
309
322
|
}
|
|
310
323
|
else {
|
|
311
|
-
const text = result.error ?? "
|
|
324
|
+
const text = result.error ?? t("notify.error.nativeFailed");
|
|
312
325
|
console.error(`[windows-scheduler] Нативное уведомление: ${text}`);
|
|
313
326
|
results.push({ channel: "native", ok: false, error: text });
|
|
314
327
|
}
|
|
@@ -416,8 +429,12 @@ export function findStuckMatrixClones(running, parentByClone, now, thresholdMinu
|
|
|
416
429
|
}
|
|
417
430
|
/** Текст уведомления о зависшем клоне матрицы. */
|
|
418
431
|
export function formatStuckMatrixMessage(stuck) {
|
|
419
|
-
return (
|
|
420
|
-
|
|
432
|
+
return t("notify.stuck", {
|
|
433
|
+
parent: stuck.parentName,
|
|
434
|
+
clone: stuck.cloneName,
|
|
435
|
+
minutes: stuck.minutes,
|
|
436
|
+
startedAt: stuck.startedAt,
|
|
437
|
+
});
|
|
421
438
|
}
|
|
422
439
|
/** Отправляет уведомление о зависшем клоне, если матрицы включены. */
|
|
423
440
|
export async function notifyStuckMatrix(stuck) {
|
|
@@ -471,20 +488,31 @@ export function buildDigestSummary(records, options) {
|
|
|
471
488
|
}
|
|
472
489
|
/** Текст дайджеста. */
|
|
473
490
|
export function formatDigestMessage(summary, now = new Date()) {
|
|
474
|
-
const periodLabel = summary.period === "weekly"
|
|
491
|
+
const periodLabel = summary.period === "weekly"
|
|
492
|
+
? t("notify.digest.period.weekly")
|
|
493
|
+
: t("notify.digest.period.daily");
|
|
475
494
|
const lines = [
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
495
|
+
t("notify.digest.title", { period: periodLabel, date: formatLocalDate(now) }),
|
|
496
|
+
t("notify.digest.runs", {
|
|
497
|
+
total: summary.total,
|
|
498
|
+
success: summary.success,
|
|
499
|
+
error: summary.error,
|
|
500
|
+
partial: summary.partial,
|
|
501
|
+
rate: summary.successRate,
|
|
502
|
+
}),
|
|
503
|
+
t("notify.digest.cost", {
|
|
504
|
+
cost: formatMoney(summary.costUsd),
|
|
505
|
+
tokens: summary.tokens,
|
|
506
|
+
}),
|
|
479
507
|
];
|
|
480
508
|
if (summary.topErrors.length > 0) {
|
|
481
|
-
lines.push("
|
|
509
|
+
lines.push(t("notify.digest.topErrors"));
|
|
482
510
|
for (const row of summary.topErrors) {
|
|
483
|
-
lines.push(
|
|
511
|
+
lines.push(t("notify.digest.topErrorRow", { message: row.message, count: row.count }));
|
|
484
512
|
}
|
|
485
513
|
}
|
|
486
514
|
else if (summary.total > 0) {
|
|
487
|
-
lines.push("
|
|
515
|
+
lines.push(t("notify.digest.noErrors"));
|
|
488
516
|
}
|
|
489
517
|
return lines.join("\n");
|
|
490
518
|
}
|
|
@@ -528,7 +556,7 @@ export async function sendDigestNow(options = {}) {
|
|
|
528
556
|
const settings = await loadSettings();
|
|
529
557
|
const config = settings.notifications;
|
|
530
558
|
if (!config?.enabled) {
|
|
531
|
-
return { success: false, message: "
|
|
559
|
+
return { success: false, message: t("notify.error.digestDisabled") };
|
|
532
560
|
}
|
|
533
561
|
const channels = [];
|
|
534
562
|
if (config.webhook?.enabled && config.webhook.url.trim())
|
|
@@ -540,12 +568,12 @@ export async function sendDigestNow(options = {}) {
|
|
|
540
568
|
if (channels.length === 0) {
|
|
541
569
|
return {
|
|
542
570
|
success: false,
|
|
543
|
-
message: "
|
|
571
|
+
message: t("notify.error.digestNoChannels"),
|
|
544
572
|
};
|
|
545
573
|
}
|
|
546
574
|
const digest = config.digest;
|
|
547
575
|
if (!digest) {
|
|
548
|
-
return { success: false, message: "
|
|
576
|
+
return { success: false, message: t("notify.error.digestMissing") };
|
|
549
577
|
}
|
|
550
578
|
const records = getHistory(null, 5000);
|
|
551
579
|
const summary = buildDigestSummary(records, {
|
|
@@ -554,7 +582,7 @@ export async function sendDigestNow(options = {}) {
|
|
|
554
582
|
});
|
|
555
583
|
const text = formatDigestMessage(summary, now);
|
|
556
584
|
if (!(await deliver(config, text))) {
|
|
557
|
-
return { success: false, message: "
|
|
585
|
+
return { success: false, message: t("notify.error.digestFailed") };
|
|
558
586
|
}
|
|
559
587
|
if (options.updateLastSentAt) {
|
|
560
588
|
await saveSettings({
|
|
@@ -564,7 +592,7 @@ export async function sendDigestNow(options = {}) {
|
|
|
564
592
|
},
|
|
565
593
|
});
|
|
566
594
|
}
|
|
567
|
-
return { success: true, message: "
|
|
595
|
+
return { success: true, message: t("notify.ok.digestSent") };
|
|
568
596
|
}
|
|
569
597
|
catch (err) {
|
|
570
598
|
return {
|
|
@@ -610,7 +638,7 @@ export async function sendTestNotification(channel = "all") {
|
|
|
610
638
|
if (!config?.enabled) {
|
|
611
639
|
return {
|
|
612
640
|
success: false,
|
|
613
|
-
message: "
|
|
641
|
+
message: t("notify.error.testDisabled"),
|
|
614
642
|
};
|
|
615
643
|
}
|
|
616
644
|
const enabled = [];
|
|
@@ -623,26 +651,32 @@ export async function sendTestNotification(channel = "all") {
|
|
|
623
651
|
if (enabled.length === 0) {
|
|
624
652
|
return {
|
|
625
653
|
success: false,
|
|
626
|
-
message: "
|
|
654
|
+
message: t("notify.error.testNoChannels"),
|
|
627
655
|
};
|
|
628
656
|
}
|
|
629
657
|
if (channel !== "all" && !enabled.includes(channel)) {
|
|
630
|
-
return {
|
|
658
|
+
return {
|
|
659
|
+
success: false,
|
|
660
|
+
message: t("notify.error.testChannelOff", { channel }),
|
|
661
|
+
};
|
|
631
662
|
}
|
|
632
|
-
const results = await deliverDetailed(config, "
|
|
663
|
+
const results = await deliverDetailed(config, t("notify.test.body"), channel === "all" ? undefined : channel);
|
|
633
664
|
const sent = results.filter((item) => item.ok).map((item) => item.channel);
|
|
634
665
|
const failed = results.filter((item) => !item.ok);
|
|
635
666
|
const parts = [];
|
|
636
|
-
if (sent.length > 0)
|
|
637
|
-
parts.push(
|
|
667
|
+
if (sent.length > 0) {
|
|
668
|
+
parts.push(t("notify.test.sent", { channels: sent.join(", ") }));
|
|
669
|
+
}
|
|
638
670
|
if (failed.length > 0) {
|
|
639
|
-
parts.push(
|
|
640
|
-
|
|
641
|
-
|
|
671
|
+
parts.push(t("notify.test.errors", {
|
|
672
|
+
errors: failed
|
|
673
|
+
.map((item) => `${item.channel} — ${item.error ?? t("notify.error.testUnknown")}`)
|
|
674
|
+
.join("; "),
|
|
675
|
+
}));
|
|
642
676
|
}
|
|
643
677
|
return {
|
|
644
678
|
success: failed.length === 0 && sent.length > 0,
|
|
645
|
-
message: parts.join(" ") || "
|
|
679
|
+
message: parts.join(" ") || t("notify.error.testNotSent"),
|
|
646
680
|
};
|
|
647
681
|
}
|
|
648
682
|
catch (err) {
|
package/dist/rpc.d.ts
CHANGED
|
@@ -126,6 +126,53 @@ export declare const SchedulerRpc: {
|
|
|
126
126
|
readonly notAfter: {
|
|
127
127
|
readonly type: readonly ["string", "null"];
|
|
128
128
|
};
|
|
129
|
+
/** Спринт 27: разрешённые дни недели 0=Вс..6=Сб (null — все дни). */
|
|
130
|
+
readonly activeDays: {
|
|
131
|
+
readonly type: readonly ["array", "null"];
|
|
132
|
+
readonly items: {
|
|
133
|
+
readonly type: "number";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
/** Поведение вне окна: skip, postpone или run (null — postpone). */
|
|
137
|
+
readonly windowPolicy: {
|
|
138
|
+
readonly type: readonly ["string", "null"];
|
|
139
|
+
};
|
|
140
|
+
/** Glob-маски файлового триггера (null — без ограничения). */
|
|
141
|
+
readonly watchGlobs: {
|
|
142
|
+
readonly type: readonly ["array", "null"];
|
|
143
|
+
readonly items: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
/** Glob-маски исключений файлового триггера. */
|
|
148
|
+
readonly watchIgnore: {
|
|
149
|
+
readonly type: readonly ["array", "null"];
|
|
150
|
+
readonly items: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
/** Git-триггер: фильтр ветки (glob, через запятую). */
|
|
155
|
+
readonly gitBranch: {
|
|
156
|
+
readonly type: readonly ["string", "null"];
|
|
157
|
+
};
|
|
158
|
+
/** Git-триггер: маски путей, изменения в которых запускают задачу. */
|
|
159
|
+
readonly gitPaths: {
|
|
160
|
+
readonly type: readonly ["array", "null"];
|
|
161
|
+
readonly items: {
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
/** Git-триггер: маски игнорируемых путей. */
|
|
166
|
+
readonly gitIgnore: {
|
|
167
|
+
readonly type: readonly ["array", "null"];
|
|
168
|
+
readonly items: {
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
/** Git-триггер: период опроса в секундах (null — 60). */
|
|
173
|
+
readonly gitPollSeconds: {
|
|
174
|
+
readonly type: readonly ["number", "null"];
|
|
175
|
+
};
|
|
129
176
|
/** Пауза до даты в ISO (null — автопродолжение не запланировано). */
|
|
130
177
|
readonly pausedUntil: {
|
|
131
178
|
readonly type: readonly ["string", "null"];
|
|
@@ -460,6 +507,53 @@ export declare const SchedulerRpc: {
|
|
|
460
507
|
readonly notAfter: {
|
|
461
508
|
readonly type: "string";
|
|
462
509
|
};
|
|
510
|
+
/** Спринт 27: разрешённые дни недели 0=Вс..6=Сб. Пусто — все дни. */
|
|
511
|
+
readonly activeDays: {
|
|
512
|
+
readonly type: "array";
|
|
513
|
+
readonly items: {
|
|
514
|
+
readonly type: "number";
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
/** Поведение вне окна/дня: postpone (по умолчанию), skip или run. */
|
|
518
|
+
readonly windowPolicy: {
|
|
519
|
+
readonly type: "string";
|
|
520
|
+
};
|
|
521
|
+
/** Glob-маски файлового триггера (например, src/** и *.md). */
|
|
522
|
+
readonly watchGlobs: {
|
|
523
|
+
readonly type: "array";
|
|
524
|
+
readonly items: {
|
|
525
|
+
readonly type: "string";
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
/** Glob-маски исключений файлового триггера. */
|
|
529
|
+
readonly watchIgnore: {
|
|
530
|
+
readonly type: "array";
|
|
531
|
+
readonly items: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
/** Git-триггер: ветка или glob (main, release/*), через запятую. */
|
|
536
|
+
readonly gitBranch: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
};
|
|
539
|
+
/** Git-триггер: маски изменённых файлов, при которых задача запускается. */
|
|
540
|
+
readonly gitPaths: {
|
|
541
|
+
readonly type: "array";
|
|
542
|
+
readonly items: {
|
|
543
|
+
readonly type: "string";
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
/** Git-триггер: маски изменённых файлов, которые игнорируются. */
|
|
547
|
+
readonly gitIgnore: {
|
|
548
|
+
readonly type: "array";
|
|
549
|
+
readonly items: {
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
};
|
|
552
|
+
};
|
|
553
|
+
/** Git-триггер: период опроса в секундах (минимум 5, по умолчанию 60). */
|
|
554
|
+
readonly gitPollSeconds: {
|
|
555
|
+
readonly type: "number";
|
|
556
|
+
};
|
|
463
557
|
};
|
|
464
558
|
readonly required: readonly ["name", "prompt"];
|
|
465
559
|
};
|
|
@@ -760,6 +854,53 @@ export declare const SchedulerRpc: {
|
|
|
760
854
|
readonly notAfter: {
|
|
761
855
|
readonly type: "string";
|
|
762
856
|
};
|
|
857
|
+
/** Спринт 27: дни недели 0=Вс..6=Сб. Пустой массив — снять ограничение. */
|
|
858
|
+
readonly activeDays: {
|
|
859
|
+
readonly type: "array";
|
|
860
|
+
readonly items: {
|
|
861
|
+
readonly type: "number";
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
/** Поведение вне окна: postpone (по умолчанию), skip или run. */
|
|
865
|
+
readonly windowPolicy: {
|
|
866
|
+
readonly type: "string";
|
|
867
|
+
};
|
|
868
|
+
/** Glob-маски файлового триггера. Пустой массив — снять ограничение. */
|
|
869
|
+
readonly watchGlobs: {
|
|
870
|
+
readonly type: "array";
|
|
871
|
+
readonly items: {
|
|
872
|
+
readonly type: "string";
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
/** Glob-маски исключений файлового триггера. Пустой массив — очистить. */
|
|
876
|
+
readonly watchIgnore: {
|
|
877
|
+
readonly type: "array";
|
|
878
|
+
readonly items: {
|
|
879
|
+
readonly type: "string";
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
/** Git-триггер: фильтр ветки (glob, через запятую). Пустая строка — сбросить. */
|
|
883
|
+
readonly gitBranch: {
|
|
884
|
+
readonly type: "string";
|
|
885
|
+
};
|
|
886
|
+
/** Git-триггер: маски путей. Пустой массив — сбросить. */
|
|
887
|
+
readonly gitPaths: {
|
|
888
|
+
readonly type: "array";
|
|
889
|
+
readonly items: {
|
|
890
|
+
readonly type: "string";
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
/** Git-триггер: маски игнорируемых путей. Пустой массив — очистить. */
|
|
894
|
+
readonly gitIgnore: {
|
|
895
|
+
readonly type: "array";
|
|
896
|
+
readonly items: {
|
|
897
|
+
readonly type: "string";
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
/** Git-триггер: период опроса в секундах (минимум 5). */
|
|
901
|
+
readonly gitPollSeconds: {
|
|
902
|
+
readonly type: "number";
|
|
903
|
+
};
|
|
763
904
|
};
|
|
764
905
|
readonly required: readonly ["name"];
|
|
765
906
|
};
|
|
@@ -1956,6 +2097,10 @@ export declare const SchedulerRpc: {
|
|
|
1956
2097
|
readonly maxConcurrent: {
|
|
1957
2098
|
readonly type: "number";
|
|
1958
2099
|
};
|
|
2100
|
+
readonly locale: {
|
|
2101
|
+
readonly type: "string";
|
|
2102
|
+
readonly enum: readonly ["ru", "en"];
|
|
2103
|
+
};
|
|
1959
2104
|
readonly winterMode: {
|
|
1960
2105
|
readonly type: "boolean";
|
|
1961
2106
|
};
|
|
@@ -2154,7 +2299,7 @@ export declare const SchedulerRpc: {
|
|
|
2154
2299
|
readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
|
|
2155
2300
|
};
|
|
2156
2301
|
};
|
|
2157
|
-
readonly required: readonly ["maxConcurrent", "winterMode", "notifications"];
|
|
2302
|
+
readonly required: readonly ["maxConcurrent", "locale", "winterMode", "notifications"];
|
|
2158
2303
|
};
|
|
2159
2304
|
};
|
|
2160
2305
|
readonly save_settings: {
|
|
@@ -2164,6 +2309,11 @@ export declare const SchedulerRpc: {
|
|
|
2164
2309
|
readonly maxConcurrent: {
|
|
2165
2310
|
readonly type: "number";
|
|
2166
2311
|
};
|
|
2312
|
+
/** Язык интерфейса (Спринт 28): ru по умолчанию, en — опционально. */
|
|
2313
|
+
readonly locale: {
|
|
2314
|
+
readonly type: "string";
|
|
2315
|
+
readonly enum: readonly ["ru", "en"];
|
|
2316
|
+
};
|
|
2167
2317
|
readonly winterMode: {
|
|
2168
2318
|
readonly type: "boolean";
|
|
2169
2319
|
};
|
|
@@ -2373,6 +2523,10 @@ export declare const SchedulerRpc: {
|
|
|
2373
2523
|
readonly maxConcurrent: {
|
|
2374
2524
|
readonly type: "number";
|
|
2375
2525
|
};
|
|
2526
|
+
readonly locale: {
|
|
2527
|
+
readonly type: "string";
|
|
2528
|
+
readonly enum: readonly ["ru", "en"];
|
|
2529
|
+
};
|
|
2376
2530
|
readonly winterMode: {
|
|
2377
2531
|
readonly type: "boolean";
|
|
2378
2532
|
};
|
|
@@ -2571,7 +2725,7 @@ export declare const SchedulerRpc: {
|
|
|
2571
2725
|
readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
|
|
2572
2726
|
};
|
|
2573
2727
|
};
|
|
2574
|
-
readonly required: readonly ["success", "maxConcurrent", "winterMode", "notifications"];
|
|
2728
|
+
readonly required: readonly ["success", "maxConcurrent", "locale", "winterMode", "notifications"];
|
|
2575
2729
|
};
|
|
2576
2730
|
};
|
|
2577
2731
|
readonly get_templates: {
|
|
@@ -2660,6 +2814,47 @@ export declare const SchedulerRpc: {
|
|
|
2660
2814
|
readonly watchPath: {
|
|
2661
2815
|
readonly type: "string";
|
|
2662
2816
|
};
|
|
2817
|
+
/** Спринт 27: glob-маски и исключения файлового триггера. */
|
|
2818
|
+
readonly watchGlobs: {
|
|
2819
|
+
readonly type: "array";
|
|
2820
|
+
readonly items: {
|
|
2821
|
+
readonly type: "string";
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
2824
|
+
readonly watchIgnore: {
|
|
2825
|
+
readonly type: "array";
|
|
2826
|
+
readonly items: {
|
|
2827
|
+
readonly type: "string";
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
/** Спринт 27: git-триггер и дни/политика окна. */
|
|
2831
|
+
readonly gitBranch: {
|
|
2832
|
+
readonly type: "string";
|
|
2833
|
+
};
|
|
2834
|
+
readonly gitPaths: {
|
|
2835
|
+
readonly type: "array";
|
|
2836
|
+
readonly items: {
|
|
2837
|
+
readonly type: "string";
|
|
2838
|
+
};
|
|
2839
|
+
};
|
|
2840
|
+
readonly gitIgnore: {
|
|
2841
|
+
readonly type: "array";
|
|
2842
|
+
readonly items: {
|
|
2843
|
+
readonly type: "string";
|
|
2844
|
+
};
|
|
2845
|
+
};
|
|
2846
|
+
readonly gitPollSeconds: {
|
|
2847
|
+
readonly type: "number";
|
|
2848
|
+
};
|
|
2849
|
+
readonly activeDays: {
|
|
2850
|
+
readonly type: "array";
|
|
2851
|
+
readonly items: {
|
|
2852
|
+
readonly type: "number";
|
|
2853
|
+
};
|
|
2854
|
+
};
|
|
2855
|
+
readonly windowPolicy: {
|
|
2856
|
+
readonly type: "string";
|
|
2857
|
+
};
|
|
2663
2858
|
readonly workspaceId: {
|
|
2664
2859
|
readonly type: "string";
|
|
2665
2860
|
};
|
|
@@ -2869,6 +3064,47 @@ export declare const SchedulerRpc: {
|
|
|
2869
3064
|
readonly watchPath: {
|
|
2870
3065
|
readonly type: "string";
|
|
2871
3066
|
};
|
|
3067
|
+
/** Спринт 27: glob-маски и исключения файлового триггера. */
|
|
3068
|
+
readonly watchGlobs: {
|
|
3069
|
+
readonly type: "array";
|
|
3070
|
+
readonly items: {
|
|
3071
|
+
readonly type: "string";
|
|
3072
|
+
};
|
|
3073
|
+
};
|
|
3074
|
+
readonly watchIgnore: {
|
|
3075
|
+
readonly type: "array";
|
|
3076
|
+
readonly items: {
|
|
3077
|
+
readonly type: "string";
|
|
3078
|
+
};
|
|
3079
|
+
};
|
|
3080
|
+
/** Спринт 27: git-триггер и дни/политика окна. */
|
|
3081
|
+
readonly gitBranch: {
|
|
3082
|
+
readonly type: "string";
|
|
3083
|
+
};
|
|
3084
|
+
readonly gitPaths: {
|
|
3085
|
+
readonly type: "array";
|
|
3086
|
+
readonly items: {
|
|
3087
|
+
readonly type: "string";
|
|
3088
|
+
};
|
|
3089
|
+
};
|
|
3090
|
+
readonly gitIgnore: {
|
|
3091
|
+
readonly type: "array";
|
|
3092
|
+
readonly items: {
|
|
3093
|
+
readonly type: "string";
|
|
3094
|
+
};
|
|
3095
|
+
};
|
|
3096
|
+
readonly gitPollSeconds: {
|
|
3097
|
+
readonly type: "number";
|
|
3098
|
+
};
|
|
3099
|
+
readonly activeDays: {
|
|
3100
|
+
readonly type: "array";
|
|
3101
|
+
readonly items: {
|
|
3102
|
+
readonly type: "number";
|
|
3103
|
+
};
|
|
3104
|
+
};
|
|
3105
|
+
readonly windowPolicy: {
|
|
3106
|
+
readonly type: "string";
|
|
3107
|
+
};
|
|
2872
3108
|
readonly workspaceId: {
|
|
2873
3109
|
readonly type: "string";
|
|
2874
3110
|
};
|
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":"AA83CA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAj0CrB,+DAA+D;;;;gCAE/D,+CAA+C;;;;gCAE/C,oDAAoD;;;;gCAEpD,wDAAwD;;;;gCAExD,qDAAqD;;;;gCAErD,sCAAsC;;;;gCAEtC,qDAAqD;;;;gCAErD,+EAA+E;;;;;;;gCAE/E,2D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