openfox 2.0.140 → 2.0.142
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 +30 -0
- package/dist/CHANGELOG.md +30 -0
- package/dist/{chat-handler-JWRCPG72.js → chat-handler-OFB4426F.js} +26 -26
- package/dist/{chunk-CRJ5J7U5.js → chunk-2CEZQAGQ.js} +3 -3
- package/dist/{chunk-GZJRXVVJ.js → chunk-5CZAKVGZ.js} +12 -12
- package/dist/{chunk-SSHXYKW3.js → chunk-5HDPFHHJ.js} +2 -2
- package/dist/{chunk-K227HOLU.js → chunk-ACILWRPU.js} +7 -7
- package/dist/{chunk-TJOKDC34.js → chunk-CSUMZAYY.js} +399 -86
- package/dist/{chunk-EE6VFEE6.js → chunk-DNL2NUDB.js} +2 -2
- package/dist/{chunk-UA2ATO3B.js → chunk-DQEANXXF.js} +3 -3
- package/dist/{chunk-4F4ARGAM.js → chunk-DRIR2IZR.js} +3 -3
- package/dist/{chunk-AE2IBEUH.js → chunk-EFEHIJXF.js} +2 -2
- package/dist/chunk-EPZO3MGM.js +7 -0
- package/dist/{chunk-7OHSAZLF.js → chunk-F3R4YS3F.js} +16 -18
- package/dist/{chunk-WD354R3H.js → chunk-FFVIO6GL.js} +4 -4
- package/dist/{chunk-5EKBZXCU.js → chunk-HQDKHNWS.js} +7 -7
- package/dist/{chunk-H7YL7PH3.js → chunk-J556QIRD.js} +2 -2
- package/dist/{chunk-DPFET73G.js → chunk-JYYBSODN.js} +2 -2
- package/dist/{chunk-46Q2SHGJ.js → chunk-MEPTCUYN.js} +2 -2
- package/dist/{chunk-RG326HS4.js → chunk-N5AJHJG5.js} +45 -13
- package/dist/{chunk-JTR3PC5I.js → chunk-NJFXYSXP.js} +5 -5
- package/dist/{chunk-XE6UC5Z3.js → chunk-PHR64A6U.js} +2 -2
- package/dist/{chunk-5F7LNEEP.js → chunk-Q5JCBAQF.js} +3 -3
- package/dist/{chunk-5MGCTRKM.js → chunk-RM4ZBI2B.js} +20 -20
- package/dist/{chunk-EMXMTCSY.js → chunk-SKNPOZYP.js} +4 -2
- package/dist/{chunk-IFARTQOK.js → chunk-TEUVZCPS.js} +17 -17
- package/dist/{chunk-JLHYB445.js → chunk-TIIWXMGE.js} +2 -2
- package/dist/{chunk-66XJC5TA.js → chunk-TRZZCMJ3.js} +9 -9
- package/dist/{chunk-LW6MMSTD.js → chunk-VGE6UYND.js} +2 -2
- package/dist/{chunk-QIGVYXMH.js → chunk-VK2BSIJP.js} +141 -131
- package/dist/{chunk-JU757HVI.js → chunk-WOVWVB5J.js} +11 -1
- package/dist/{chunk-FIEFBRTQ.js → chunk-WSDR27YV.js} +4 -4
- package/dist/{chunk-MAUQ6AW4.js → chunk-XADIBENX.js} +6 -6
- package/dist/{chunk-GKRYQ56N.js → chunk-Z7IT3V22.js} +3 -3
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{client-KJS7QIIV.js → client-2A766XZK.js} +5 -5
- package/dist/{compactor-UREBHSZQ.js → compactor-3BVVHO4M.js} +11 -11
- package/dist/{describe-image-TQOD52IC.js → describe-image-F22VNBWY.js} +12 -12
- package/dist/{dynamic-context-KGSZ7TRQ.js → dynamic-context-5SFXTEAP.js} +12 -12
- package/dist/{events-ZLP5V2YU.js → events-UAUOGRSV.js} +8 -8
- package/dist/{export-import-CJT33IO6.js → export-import-PBEX3KWU.js} +9 -9
- package/dist/{folding-BXMVJIFF.js → folding-IHD244OU.js} +6 -6
- package/dist/http-client-RA7XFYPO.js +11 -0
- package/dist/{inspect-proxy-A3OROWPG.js → inspect-proxy-24Q2CNCZ.js} +4 -4
- package/dist/{launch-7NKOCT5A.js → launch-L5NL75KK.js} +26 -26
- package/dist/{manager-JZNNVDYR.js → manager-4SMHCFXY.js} +5 -5
- package/dist/{orchestrator-VSVDUGBT.js → orchestrator-53SS74LD.js} +25 -25
- package/dist/package.json +1 -1
- package/dist/{path-security-V3XALT5E.js → path-security-WOA6MTWQ.js} +10 -10
- package/dist/{platform-DBPLSLE4.js → platform-EAZNZDAE.js} +4 -4
- package/dist/{processor-ACZM62WO.js → processor-T4VWZMXT.js} +25 -25
- package/dist/{project-creator-T3A4H3YV.js → project-creator-K5EGKY2P.js} +3 -3
- package/dist/{projects-5U37RUTL.js → projects-VDWCFPVE.js} +3 -3
- package/dist/{protocol-D6DZzkSH.d.ts → protocol-Dpf4FBF2.d.ts} +1 -1
- package/dist/provider/index.d.ts +4 -4
- package/dist/{provider-7LNTLWRB.js → provider-5XNJEDKW.js} +6 -6
- package/dist/{provider-manager-TV5I5YJH.js → provider-manager-RHJYUU5W.js} +6 -6
- package/dist/{registry-PVJAAL2Y.js → registry-C7RKKHZB.js} +5 -5
- package/dist/scheduler-VLTPMGGJ.js +25 -0
- package/dist/{serve-36D5HXWE.js → serve-LP3ZX6CW.js} +31 -31
- package/dist/server/index.d.ts +6 -6
- package/dist/server/index.js +30 -30
- package/dist/server-IGZLCNZG.js +61 -0
- package/dist/{service-7QKWUNU4.js → service-AZU4YTS2.js} +9 -9
- package/dist/{session-overrides-7OPGV7CQ.js → session-overrides-CKS2AVE5.js} +7 -7
- package/dist/{sessions-VHS47DHO.js → sessions-DAHLRQE2.js} +6 -6
- package/dist/{settings-HCSHADP5.js → settings-TR4BF2C4.js} +3 -3
- package/dist/shared/index.d.ts +3 -3
- package/dist/{tasks-E7EG7344.js → tasks-T5KZXKMD.js} +18 -12
- package/dist/{tools-AY6XEVJK.js → tools-BL6XCTUV.js} +23 -23
- package/dist/{types-ofYNpiqi.d.ts → types-CZJf6Fnb.d.ts} +1 -1
- package/dist/{types-CLcL33hJ.d.ts → types-LO8296aY.d.ts} +34 -1
- package/dist/{update-JHFZMW3T.js → update-M5DMX3FC.js} +2 -2
- package/dist/web/assets/{index-BtkaULxJ.css → index-2WvLd7SC.css} +1 -1
- package/dist/web/assets/index-BPhet33M.js +313 -0
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/dist/{workspace-LM646OHC.js → workspace-ENN27P56.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-6RYTDRUR.js +0 -7
- package/dist/http-client-JVJ43TBY.js +0 -11
- package/dist/server-R3J26IP2.js +0 -61
- package/dist/web/assets/index-Bm0_ekvt.js +0 -313
package/dist/shared/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as Message, p as SessionStats } from '../types-
|
|
2
|
-
export { A as Attachment, q as CallStatsDataPoint, r as Config, C as ContextState, s as ContextWindow, f as Criterion, t as CriterionAttempt, u as CriterionStatus, v as CriterionValidation, w as DangerLevel, D as Diagnostic, E as EditContextEdit, x as EditContextLine, y as EditContextRegion, z as ElementData, B as ExecutionState, F as FileReadEntry, I as InjectedFile, L as LLMCallStats, G as LlmBackend, H as MessageRole, J as MessageSegment, d as MessageStats, g as MetadataEntry, M as ModelConfig, K as ModelSessionStats, j as PauseState, N as PreparingToolCall, P as Project, l as ProjectTask, n as ProjectTaskCounts, m as ProjectTaskSettings, O as Provider, Q as ProviderBackend, R as RecentUserPrompt, k as Session, U as SessionMetadata, S as SessionMode, h as SessionPhase, i as SessionSummary, V as StatsDataPoint, X as StatsIdentity, Y as TaskActor, Z as TaskAuditEntry, o as TaskGateConfig, _ as TaskGateValue, $ as TaskRunState, a0 as TaskStatus, e as Todo, T as ToolCall, a as ToolMode,
|
|
3
|
-
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatLLMRetryFailedPayload, m as ChatLLMRetryNowPayload, n as ChatLLMRetryPayload, o as ChatMessagePayload, p as ChatMessageUpdatedPayload, q as ChatPathConfirmationPayload, r as ChatProgressPayload, s as ChatRetryPayload, t as ChatStatsPayload, u as ChatThinkingPayload, v as ChatTodoPayload, w as ChatToolCallPayload, x as ChatToolOutputPayload, y as ChatToolPreparingPayload, z as ChatToolResultPayload, D as ChatVisionFallbackPayload, E as ChoiceOption, F as ClientMessage, G as ClientMessageType, H as ContextCompactionEvent, I as ContextPreviewPayload, J as ContextStatePayload, K as CriteriaUpdatedPayload, L as DevServerOutputPayload, M as DevServerStatePayload, N as DiffLine, O as ErrorPayload, P as GitDiffFile, Q as GitStatusPayload, R as LogLine, S as LspDiagnosticsPayload, T as MetadataUpdatedPayload, U as ModeChangedPayload, V as PathConfirmPayload, W as PathConfirmationReason, X as PendingPathConfirmationPayload, Y as PendingQuestionPayload, Z as PhaseChangedPayload, _ as ProjectDeletedPayload, $ as ProjectListPayload, a0 as ProjectStatePayload, a1 as ProviderChangedPayload, a2 as QueueAddedEvent, a3 as QueueCancelledEvent, a4 as QueueDrainedEvent, a5 as QueueEvent, a6 as QueueEventType, a7 as QueueStatePayload, a8 as QueuedMessage, a9 as ServerMessage, aa as ServerMessageType, ab as SessionCreatedPayload, ac as SessionListPayload, ad as SessionLoadPayload, ae as SessionNameGeneratedPayload, af as SessionPausePayload, ag as SessionRunningPayload, ah as SessionStatePayload, ai as TaskCompletedPayload, aj as TasksUpdatePayload, ak as WorkflowWaitingPayload, al as createClientMessage, am as createServerMessage, an as isClientMessage, ao as isServerMessage } from '../protocol-
|
|
1
|
+
import { c as Message, p as SessionStats } from '../types-LO8296aY.js';
|
|
2
|
+
export { A as Attachment, q as CallStatsDataPoint, r as Config, C as ContextState, s as ContextWindow, f as Criterion, t as CriterionAttempt, u as CriterionStatus, v as CriterionValidation, w as DangerLevel, D as Diagnostic, E as EditContextEdit, x as EditContextLine, y as EditContextRegion, z as ElementData, B as ExecutionState, F as FileReadEntry, I as InjectedFile, L as LLMCallStats, G as LlmBackend, H as MessageRole, J as MessageSegment, d as MessageStats, g as MetadataEntry, M as ModelConfig, K as ModelSessionStats, j as PauseState, N as PreparingToolCall, P as Project, l as ProjectTask, n as ProjectTaskCounts, m as ProjectTaskSettings, O as Provider, Q as ProviderBackend, R as RecentUserPrompt, k as Session, U as SessionMetadata, S as SessionMode, h as SessionPhase, i as SessionSummary, V as StatsDataPoint, X as StatsIdentity, Y as TaskActor, Z as TaskAuditEntry, o as TaskGateConfig, _ as TaskGateValue, $ as TaskRunState, a0 as TaskSchedule, a1 as TaskStatus, e as Todo, T as ToolCall, a as ToolMode, a2 as ToolName, b as ToolResult, a3 as UserStepChoice, a4 as ValidationResult, W as WorkflowExecution, a5 as WorkflowExecutionStatus, a6 as WorkflowLaunchScope, a7 as WorkflowParameter, a8 as WorkflowScope } from '../types-LO8296aY.js';
|
|
3
|
+
export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, B as BackgroundProcess, c as BackgroundProcessExitedPayload, d as BackgroundProcessOutputPayload, e as BackgroundProcessRemovedPayload, f as BackgroundProcessStartedPayload, g as BackgroundProcessStatus, C as ChatAskUserPayload, h as ChatDeltaPayload, i as ChatDonePayload, j as ChatErrorPayload, k as ChatFormatRetryPayload, l as ChatLLMRetryFailedPayload, m as ChatLLMRetryNowPayload, n as ChatLLMRetryPayload, o as ChatMessagePayload, p as ChatMessageUpdatedPayload, q as ChatPathConfirmationPayload, r as ChatProgressPayload, s as ChatRetryPayload, t as ChatStatsPayload, u as ChatThinkingPayload, v as ChatTodoPayload, w as ChatToolCallPayload, x as ChatToolOutputPayload, y as ChatToolPreparingPayload, z as ChatToolResultPayload, D as ChatVisionFallbackPayload, E as ChoiceOption, F as ClientMessage, G as ClientMessageType, H as ContextCompactionEvent, I as ContextPreviewPayload, J as ContextStatePayload, K as CriteriaUpdatedPayload, L as DevServerOutputPayload, M as DevServerStatePayload, N as DiffLine, O as ErrorPayload, P as GitDiffFile, Q as GitStatusPayload, R as LogLine, S as LspDiagnosticsPayload, T as MetadataUpdatedPayload, U as ModeChangedPayload, V as PathConfirmPayload, W as PathConfirmationReason, X as PendingPathConfirmationPayload, Y as PendingQuestionPayload, Z as PhaseChangedPayload, _ as ProjectDeletedPayload, $ as ProjectListPayload, a0 as ProjectStatePayload, a1 as ProviderChangedPayload, a2 as QueueAddedEvent, a3 as QueueCancelledEvent, a4 as QueueDrainedEvent, a5 as QueueEvent, a6 as QueueEventType, a7 as QueueStatePayload, a8 as QueuedMessage, a9 as ServerMessage, aa as ServerMessageType, ab as SessionCreatedPayload, ac as SessionListPayload, ad as SessionLoadPayload, ae as SessionNameGeneratedPayload, af as SessionPausePayload, ag as SessionRunningPayload, ah as SessionStatePayload, ai as TaskCompletedPayload, aj as TasksUpdatePayload, ak as WorkflowWaitingPayload, al as createClientMessage, am as createServerMessage, an as isClientMessage, ao as isServerMessage } from '../protocol-Dpf4FBF2.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Session stats computation - aggregates response-level MessageStats from
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
getTaskSettings,
|
|
4
4
|
isTaskConflictError,
|
|
5
5
|
isTaskGateError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CSUMZAYY.js";
|
|
7
7
|
import {
|
|
8
8
|
serverT
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TIIWXMGE.js";
|
|
10
10
|
import "./chunk-OSXPQSLW.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-J556QIRD.js";
|
|
12
12
|
import "./chunk-OA2FURC3.js";
|
|
13
13
|
import "./chunk-J2GP3J3X.js";
|
|
14
14
|
import {
|
|
15
15
|
getProject
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-JYYBSODN.js";
|
|
17
|
+
import "./chunk-5HDPFHHJ.js";
|
|
18
18
|
import "./chunk-TS5WKTFB.js";
|
|
19
19
|
import "./chunk-VLQ6BMU7.js";
|
|
20
20
|
import "./chunk-HNCM3D7Y.js";
|
|
21
21
|
import "./chunk-QMU3ZY2C.js";
|
|
22
22
|
import "./chunk-FSSUPWYO.js";
|
|
23
23
|
import "./chunk-XG3AUMPI.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-DNL2NUDB.js";
|
|
25
|
+
import "./chunk-SKNPOZYP.js";
|
|
26
|
+
import "./chunk-WOVWVB5J.js";
|
|
27
27
|
import "./chunk-VKMPR25F.js";
|
|
28
28
|
import "./chunk-K44MW7JJ.js";
|
|
29
29
|
import "./chunk-24YKXKCG.js";
|
|
@@ -31,6 +31,9 @@ import "./chunk-YLJ4XMA6.js";
|
|
|
31
31
|
|
|
32
32
|
// src/server/routes/tasks.ts
|
|
33
33
|
import "express";
|
|
34
|
+
function isSchedule(value) {
|
|
35
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "once" || value.type === "recurring");
|
|
36
|
+
}
|
|
34
37
|
function registerTaskRoutes(router, tasksService) {
|
|
35
38
|
const requireProject = (req, res) => {
|
|
36
39
|
const projectId = req.params["projectId"];
|
|
@@ -122,7 +125,7 @@ function registerTaskRoutes(router, tasksService) {
|
|
|
122
125
|
router.post("/projects/:projectId/tasks", (req, res) => {
|
|
123
126
|
const projectId = requireProject(req, res);
|
|
124
127
|
if (!projectId) return;
|
|
125
|
-
const { prompt, attachments, agentId, providerId, model } = req.body;
|
|
128
|
+
const { prompt, attachments, agentId, providerId, model, schedule } = req.body;
|
|
126
129
|
if (typeof prompt !== "string") {
|
|
127
130
|
return res.status(400).json({ error: serverT({ en: "prompt (string) is required", fr: "prompt (cha\xEEne) est requis" }) });
|
|
128
131
|
}
|
|
@@ -134,7 +137,8 @@ function registerTaskRoutes(router, tasksService) {
|
|
|
134
137
|
...Array.isArray(attachments) ? { attachments } : {},
|
|
135
138
|
...typeof agentId === "string" ? { agentId } : {},
|
|
136
139
|
...typeof providerId === "string" ? { providerId } : {},
|
|
137
|
-
...typeof model === "string" ? { model } : {}
|
|
140
|
+
...typeof model === "string" ? { model } : {},
|
|
141
|
+
...isSchedule(schedule) ? { schedule } : {}
|
|
138
142
|
},
|
|
139
143
|
{ actor: HUMAN }
|
|
140
144
|
);
|
|
@@ -153,7 +157,7 @@ function registerTaskRoutes(router, tasksService) {
|
|
|
153
157
|
router.put("/projects/:projectId/tasks/:taskId", (req, res) => {
|
|
154
158
|
const projectId = requireProject(req, res);
|
|
155
159
|
if (!projectId) return;
|
|
156
|
-
const { prompt, attachments, agentId, providerId, model, expectedVersion } = req.body;
|
|
160
|
+
const { prompt, attachments, agentId, providerId, model, schedule, expectedVersion } = req.body;
|
|
157
161
|
const patch = {};
|
|
158
162
|
if (typeof prompt === "string") patch.prompt = prompt;
|
|
159
163
|
if (Array.isArray(attachments)) {
|
|
@@ -162,6 +166,8 @@ function registerTaskRoutes(router, tasksService) {
|
|
|
162
166
|
if (typeof agentId === "string" || agentId === null) patch.agentId = agentId;
|
|
163
167
|
if (typeof providerId === "string" || providerId === null) patch.providerId = providerId;
|
|
164
168
|
if (typeof model === "string" || model === null) patch.model = model;
|
|
169
|
+
if (schedule === null || isSchedule(schedule))
|
|
170
|
+
patch.schedule = schedule;
|
|
165
171
|
if (Object.keys(patch).length === 0) {
|
|
166
172
|
return res.status(400).json({ error: serverT({ en: "No updatable fields provided", fr: "Aucun champ modifiable fourni" }) });
|
|
167
173
|
}
|
|
@@ -237,4 +243,4 @@ function registerTaskRoutes(router, tasksService) {
|
|
|
237
243
|
export {
|
|
238
244
|
registerTaskRoutes
|
|
239
245
|
};
|
|
240
|
-
//# sourceMappingURL=tasks-
|
|
246
|
+
//# sourceMappingURL=tasks-T5KZXKMD.js.map
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
setTasksService,
|
|
11
11
|
stepDoneTool,
|
|
12
12
|
validateToolAction
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-RM4ZBI2B.js";
|
|
14
|
+
import "./chunk-2CEZQAGQ.js";
|
|
15
|
+
import "./chunk-PHR64A6U.js";
|
|
16
16
|
import "./chunk-J7GAZGZT.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-CSUMZAYY.js";
|
|
18
|
+
import "./chunk-WSDR27YV.js";
|
|
19
|
+
import "./chunk-XADIBENX.js";
|
|
20
|
+
import "./chunk-TIIWXMGE.js";
|
|
21
21
|
import "./chunk-OA7KBQ2O.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-Z7IT3V22.js";
|
|
23
|
+
import "./chunk-VGE6UYND.js";
|
|
24
|
+
import "./chunk-DQEANXXF.js";
|
|
25
25
|
import "./chunk-I72ACQ6R.js";
|
|
26
26
|
import "./chunk-VIJVLLPT.js";
|
|
27
27
|
import "./chunk-OAN4BXEW.js";
|
|
@@ -38,29 +38,29 @@ import {
|
|
|
38
38
|
getConfirmationSessionId,
|
|
39
39
|
providePathConfirmation,
|
|
40
40
|
requestPathAccess
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-N5AJHJG5.js";
|
|
42
|
+
import "./chunk-NJFXYSXP.js";
|
|
43
|
+
import "./chunk-EFEHIJXF.js";
|
|
44
|
+
import "./chunk-F3R4YS3F.js";
|
|
45
|
+
import "./chunk-DRIR2IZR.js";
|
|
46
46
|
import "./chunk-OSXPQSLW.js";
|
|
47
47
|
import "./chunk-OVAHNEFG.js";
|
|
48
48
|
import "./chunk-LCLH6ZUL.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-MEPTCUYN.js";
|
|
50
|
+
import "./chunk-J556QIRD.js";
|
|
51
51
|
import "./chunk-OA2FURC3.js";
|
|
52
52
|
import "./chunk-J2GP3J3X.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-JYYBSODN.js";
|
|
54
|
+
import "./chunk-5HDPFHHJ.js";
|
|
55
55
|
import "./chunk-TS5WKTFB.js";
|
|
56
56
|
import "./chunk-VLQ6BMU7.js";
|
|
57
57
|
import "./chunk-HNCM3D7Y.js";
|
|
58
58
|
import "./chunk-QMU3ZY2C.js";
|
|
59
59
|
import "./chunk-FSSUPWYO.js";
|
|
60
60
|
import "./chunk-XG3AUMPI.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-DNL2NUDB.js";
|
|
62
|
+
import "./chunk-SKNPOZYP.js";
|
|
63
|
+
import "./chunk-WOVWVB5J.js";
|
|
64
64
|
import "./chunk-VKMPR25F.js";
|
|
65
65
|
import "./chunk-K44MW7JJ.js";
|
|
66
66
|
import "./chunk-PW5L4WBG.js";
|
|
@@ -91,4 +91,4 @@ export {
|
|
|
91
91
|
stepDoneTool,
|
|
92
92
|
validateToolAction
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=tools-
|
|
94
|
+
//# sourceMappingURL=tools-BL6XCTUV.js.map
|
|
@@ -378,6 +378,37 @@ type TaskStatus = 'todo' | 'in_progress' | 'done';
|
|
|
378
378
|
/** Active state of an in-progress task: launched (occupies a slot) or queued (waiting for a slot). */
|
|
379
379
|
type TaskRunState = 'running' | 'queued';
|
|
380
380
|
type TaskActor = 'human' | 'agent' | 'system';
|
|
381
|
+
/** Google-Calendar-style schedule for a task. Present ⇒ the task auto-triggers. */
|
|
382
|
+
type TaskSchedule = {
|
|
383
|
+
type: 'once';
|
|
384
|
+
runAt: string;
|
|
385
|
+
} | {
|
|
386
|
+
type: 'recurring';
|
|
387
|
+
freq: 'day' | 'week' | 'month' | 'year';
|
|
388
|
+
/** Repeat every X days/weeks/months/years. */
|
|
389
|
+
interval: number;
|
|
390
|
+
/** Week freq only: selected weekdays, 0 = Sunday … 6 = Saturday. */
|
|
391
|
+
weekdays?: number[];
|
|
392
|
+
/** Month/year freq: day of month (1..31). */
|
|
393
|
+
monthDay?: number;
|
|
394
|
+
/** Year freq only: month, 1..12. */
|
|
395
|
+
yearMonth?: number;
|
|
396
|
+
/** First occurrence (date + local time-of-day) — anchor and first trigger. */
|
|
397
|
+
startAt: string;
|
|
398
|
+
end: {
|
|
399
|
+
kind: 'never';
|
|
400
|
+
} | {
|
|
401
|
+
kind: 'until';
|
|
402
|
+
until: string;
|
|
403
|
+
} | {
|
|
404
|
+
kind: 'count';
|
|
405
|
+
count: number;
|
|
406
|
+
};
|
|
407
|
+
/** How many occurrences have already been triggered (drives `count`). */
|
|
408
|
+
occurrencesDone: number;
|
|
409
|
+
/** Next trigger time — kept in sync with the DB `next_run_at` column. */
|
|
410
|
+
nextRunAt: string;
|
|
411
|
+
};
|
|
381
412
|
/** Per-project gate (Definition of Done) configuration. */
|
|
382
413
|
interface TaskGateConfig {
|
|
383
414
|
id: string;
|
|
@@ -418,6 +449,8 @@ interface ProjectTask {
|
|
|
418
449
|
queuePosition?: number;
|
|
419
450
|
/** Ordering within the column (stable, used for drag-reorder). */
|
|
420
451
|
position: number;
|
|
452
|
+
/** Auto-trigger schedule (once or recurring). Present ⇒ planned task. */
|
|
453
|
+
schedule?: TaskSchedule;
|
|
421
454
|
/** Monotonic revision counter — bumped on every mutation. Optimistic concurrency guard. */
|
|
422
455
|
version: number;
|
|
423
456
|
agentId?: string;
|
|
@@ -712,4 +745,4 @@ interface ElementData {
|
|
|
712
745
|
attributes: Record<string, string>;
|
|
713
746
|
}
|
|
714
747
|
|
|
715
|
-
export type { TaskRunState as $, Attachment as A, ExecutionState as B, ContextState as C, Diagnostic as D, EditContextEdit as E, FileReadEntry as F, LlmBackend as G, MessageRole as H, InjectedFile as I, MessageSegment as J, ModelSessionStats as K, LLMCallStats as L, ModelConfig as M, PreparingToolCall as N, Provider as O, Project as P, ProviderBackend as Q, RecentUserPrompt as R, SessionMode as S, ToolCall as T, SessionMetadata as U, StatsDataPoint as V, WorkflowExecution as W, StatsIdentity as X, TaskActor as Y, TaskAuditEntry as Z, TaskGateValue as _, ToolMode as a,
|
|
748
|
+
export type { TaskRunState as $, Attachment as A, ExecutionState as B, ContextState as C, Diagnostic as D, EditContextEdit as E, FileReadEntry as F, LlmBackend as G, MessageRole as H, InjectedFile as I, MessageSegment as J, ModelSessionStats as K, LLMCallStats as L, ModelConfig as M, PreparingToolCall as N, Provider as O, Project as P, ProviderBackend as Q, RecentUserPrompt as R, SessionMode as S, ToolCall as T, SessionMetadata as U, StatsDataPoint as V, WorkflowExecution as W, StatsIdentity as X, TaskActor as Y, TaskAuditEntry as Z, TaskGateValue as _, ToolMode as a, TaskSchedule as a0, TaskStatus as a1, ToolName as a2, UserStepChoice as a3, ValidationResult as a4, WorkflowExecutionStatus as a5, WorkflowLaunchScope as a6, WorkflowParameter as a7, WorkflowScope as a8, ToolResult as b, Message as c, MessageStats as d, Todo as e, Criterion as f, MetadataEntry as g, SessionPhase as h, SessionSummary as i, PauseState as j, Session as k, ProjectTask as l, ProjectTaskSettings as m, ProjectTaskCounts as n, TaskGateConfig as o, SessionStats as p, CallStatsDataPoint as q, Config as r, ContextWindow as s, CriterionAttempt as t, CriterionStatus as u, CriterionValidation as v, DangerLevel as w, EditContextLine as x, EditContextRegion as y, ElementData as z };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2OMGR7LN.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EPZO3MGM.js";
|
|
7
7
|
import "./chunk-24YKXKCG.js";
|
|
8
8
|
import "./chunk-CQGTEGKL.js";
|
|
9
9
|
import "./chunk-YLJ4XMA6.js";
|
|
@@ -73,4 +73,4 @@ async function runUpdate(options = {}) {
|
|
|
73
73
|
export {
|
|
74
74
|
runUpdate
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=update-
|
|
76
|
+
//# sourceMappingURL=update-M5DMX3FC.js.map
|