@surething/cockpit 1.0.285 → 1.0.286
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/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +5 -5
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +2 -2
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/running/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/m/page.js +1 -1
- package/.next-prod/server/app/m/page.js.nft.json +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +5 -5
- package/.next-prod/server/chunks/2493.js +1 -1
- package/.next-prod/server/chunks/7438.js +9 -9
- package/.next-prod/server/chunks/{5591.js → 8647.js} +7 -7
- package/.next-prod/server/chunks/9830.js +1 -1
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/chunks/{2550-8c7decb785b92fbf.js → 2550-d42d8fc88c0cec98.js} +21 -21
- package/.next-prod/static/chunks/{3919-aceb512341847e1c.js → 4731-3b3290b5ec84f6bd.js} +11 -11
- package/.next-prod/static/chunks/{5313-8a3e790e11b63d64.js → 5313-d734a6541498a6db.js} +7 -7
- package/.next-prod/static/chunks/app/{layout-64ed9873820de627.js → layout-26d284da8922060a.js} +1 -1
- package/.next-prod/static/chunks/app/m/{page-a60ec971bab91969.js → page-6a86aa4f5ebeebfd.js} +1 -1
- package/.next-prod/static/chunks/app/{page-acbb0b783e63d133.js → page-88b01c311b11942a.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-acbb0b783e63d133.js → page-88b01c311b11942a.js} +1 -1
- package/.next-prod/trace +14 -14
- package/.next-prod/trace-build +1 -1
- package/dist/{chunk-EMTH733G.mjs → chunk-2UCBL4S6.mjs} +1 -1
- package/dist/{chunk-7YQK3TY5.mjs → chunk-G6BCSLZX.mjs} +9 -5
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +63 -12
- package/dist/wsServer.mjs +4 -4
- package/package.json +5 -3
- package/public/html-lib/markdown.js +85 -85
- /package/.next-prod/static/{SHzF6HEOUD5ikVkZI6v3E → cwGvPiCgQI4epB2d3stR2}/_buildManifest.js +0 -0
- /package/.next-prod/static/{SHzF6HEOUD5ikVkZI6v3E → cwGvPiCgQI4epB2d3stR2}/_ssgManifest.js +0 -0
package/.next-prod/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":12826826,"timestamp":129624917,"id":14,"parentId":1,"tags":{},"startTime":1792381429183,"traceId":"baab9b936b003462"},{"name":"run-typescript","duration":3541939,"timestamp":142454875,"id":1445,"parentId":1,"tags":{},"startTime":1792381442012,"traceId":"baab9b936b003462"},{"name":"static-check","duration":868165,"timestamp":146027696,"id":1448,"parentId":1,"tags":{},"startTime":1792381445585,"traceId":"baab9b936b003462"},{"name":"static-generation","duration":3802649,"timestamp":146956980,"id":1760,"parentId":1,"tags":{},"startTime":1792381446515,"traceId":"baab9b936b003462"},{"name":"collect-build-traces","duration":15934871,"timestamp":146896484,"id":1757,"parentId":1,"tags":{},"startTime":1792381446454,"traceId":"baab9b936b003462"},{"name":"telemetry-flush","duration":36,"timestamp":162833956,"id":1769,"parentId":1,"tags":{},"startTime":1792381462392,"traceId":"baab9b936b003462"},{"name":"next-build","duration":33609242,"timestamp":129224770,"id":1,"tags":{"buildMode":"default","version":"16.3.0","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1792381428782,"traceId":"baab9b936b003462"}]
|
|
@@ -29067,7 +29067,7 @@ function getUsageUpdateOutputTokens(message) {
|
|
|
29067
29067
|
const outputTokens = message.output_tokens;
|
|
29068
29068
|
return typeof outputTokens === "number" && Number.isFinite(outputTokens) ? Math.max(0, Math.round(outputTokens)) : null;
|
|
29069
29069
|
}
|
|
29070
|
-
function startRun(key, cwd, promptText, runId, engine) {
|
|
29070
|
+
function startRun(key, cwd, promptText, runId, engine, images) {
|
|
29071
29071
|
const prev = registry.get(key);
|
|
29072
29072
|
if (prev?.status === "running" || prev?.writer || edits.has(key)) return false;
|
|
29073
29073
|
const prevSeq = prev?.seq ?? seqByKey.get(key) ?? 0;
|
|
@@ -29094,13 +29094,14 @@ function startRun(key, cwd, promptText, runId, engine) {
|
|
|
29094
29094
|
...engine ? { engine } : {},
|
|
29095
29095
|
updatedAt: startedAt
|
|
29096
29096
|
});
|
|
29097
|
-
if (promptText) {
|
|
29097
|
+
if (promptText || images?.length) {
|
|
29098
29098
|
appendRun(key, {
|
|
29099
29099
|
type: "user",
|
|
29100
29100
|
_human: true,
|
|
29101
29101
|
...runId ? { _turnId: runId } : {},
|
|
29102
29102
|
_ts: startedAt,
|
|
29103
|
-
message: { role: "user", content: promptText }
|
|
29103
|
+
message: { role: "user", content: promptText ?? "" },
|
|
29104
|
+
...images?.length ? { _images: images } : {}
|
|
29104
29105
|
});
|
|
29105
29106
|
}
|
|
29106
29107
|
return true;
|
|
@@ -29209,7 +29210,10 @@ function injectRun(key, input, runId) {
|
|
|
29209
29210
|
_human: true,
|
|
29210
29211
|
_turnId: runId,
|
|
29211
29212
|
_ts: Date.now(),
|
|
29212
|
-
message: { role: "user", content: input.text ?? "" }
|
|
29213
|
+
message: { role: "user", content: input.text ?? "" },
|
|
29214
|
+
// Side-band rather than content blocks, so every reader that takes `content` as the
|
|
29215
|
+
// prompt text keeps working; the bubble shows them next to the text.
|
|
29216
|
+
...input.images?.length ? { _images: input.images } : {}
|
|
29213
29217
|
});
|
|
29214
29218
|
return "ok";
|
|
29215
29219
|
}
|
|
@@ -51361,7 +51365,7 @@ async function dispatchChat2(spec, body, request2) {
|
|
|
51361
51365
|
error: joinsWindingDownRun ? "the current run no longer takes messages; send again once it finishes" : "previous run is still stopping"
|
|
51362
51366
|
};
|
|
51363
51367
|
}
|
|
51364
|
-
if (!startRun(currentKey, cwd || "", promptText, runId, spec.name)) {
|
|
51368
|
+
if (!startRun(currentKey, cwd || "", promptText, runId, spec.name, images)) {
|
|
51365
51369
|
return { ok: false, status: 409, error: "run already active" };
|
|
51366
51370
|
}
|
|
51367
51371
|
setRunAbort(currentKey, () => {
|
package/dist/httpApi.mjs
CHANGED
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
unregisterBrowser,
|
|
30
30
|
unregisterTerminal,
|
|
31
31
|
writeStdinToCommand
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2UCBL4S6.mjs";
|
|
33
33
|
import {
|
|
34
34
|
getTerminalHistoryPath,
|
|
35
35
|
tightenSecretFiles
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-G6BCSLZX.mjs";
|
|
37
37
|
import "./chunk-7P6ASYW6.mjs";
|
|
38
38
|
|
|
39
39
|
// src/lib/httpApi.ts
|
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateGlobalState,
|
|
23
23
|
withFileLock,
|
|
24
24
|
writeJsonFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G6BCSLZX.mjs";
|
|
26
26
|
import "./chunk-7P6ASYW6.mjs";
|
|
27
27
|
|
|
28
28
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
@@ -300,8 +300,8 @@ var en_default = {
|
|
|
300
300
|
minutesLater: "in {{count}}m",
|
|
301
301
|
hoursMinutesLater: "in {{h}}h {{m}}m",
|
|
302
302
|
hoursLater: "in {{h}}h",
|
|
303
|
-
onceType: "Once ({{
|
|
304
|
-
|
|
303
|
+
onceType: "Once (in {{duration}})",
|
|
304
|
+
everyDuration: "Every {{duration}}",
|
|
305
305
|
completed: "Completed",
|
|
306
306
|
paused: "Paused",
|
|
307
307
|
activeCount: "{{running}} active",
|
|
@@ -335,11 +335,15 @@ var en_default = {
|
|
|
335
335
|
interval: "Interval",
|
|
336
336
|
quickSelect: "Quick Select",
|
|
337
337
|
customCron: "Custom Cron Expression",
|
|
338
|
-
|
|
338
|
+
customDuration: "Custom duration",
|
|
339
339
|
cronPlaceholder: "e.g. 0 9 * * 1-5 (weekdays at 9am)",
|
|
340
340
|
cronFormat: "Format: min hour day month weekday (e.g. 0 9 * * 1-5)",
|
|
341
|
-
|
|
341
|
+
amountPlaceholder: "Amount",
|
|
342
342
|
limitTimeRange: "Limit execution time range",
|
|
343
|
+
startAt: "Start at (optional)",
|
|
344
|
+
startAtHint: "Empty = start now. When set, runs stay on start + N \xD7 interval and never drift with run time",
|
|
345
|
+
clear: "Clear",
|
|
346
|
+
fromTime: "from {{time}}",
|
|
343
347
|
to: "to",
|
|
344
348
|
saveBtn: "Save ({{modKey}}\u21A9)",
|
|
345
349
|
createBtn: "Create ({{modKey}}\u21A9)",
|
|
@@ -347,14 +351,34 @@ var en_default = {
|
|
|
347
351
|
"15minLater": "In 15 minutes",
|
|
348
352
|
"30minLater": "In 30 minutes",
|
|
349
353
|
"1hourLater": "In 1 hour",
|
|
354
|
+
"3hoursLater": "In 3 hours",
|
|
355
|
+
"6hoursLater": "In 6 hours",
|
|
356
|
+
"1dayLater": "In 1 day",
|
|
357
|
+
"3daysLater": "In 3 days",
|
|
350
358
|
every15min: "Every 15 min",
|
|
351
359
|
every30min: "Every 30 min",
|
|
352
360
|
every1hour: "Every 1 hour",
|
|
353
361
|
every2hours: "Every 2 hours",
|
|
362
|
+
every6hours: "Every 6 hours",
|
|
363
|
+
every12hours: "Every 12 hours",
|
|
364
|
+
everyDay: "Every day",
|
|
354
365
|
daily9am: "Daily 09:00",
|
|
355
366
|
daily6pm: "Daily 18:00",
|
|
356
367
|
weeklyMon9am: "Mon 09:00",
|
|
357
|
-
monthly1st9am: "1st of month 09:00"
|
|
368
|
+
monthly1st9am: "1st of month 09:00",
|
|
369
|
+
unit: {
|
|
370
|
+
minute: "min",
|
|
371
|
+
hour: "hours",
|
|
372
|
+
day: "days"
|
|
373
|
+
},
|
|
374
|
+
duration: {
|
|
375
|
+
minute_one: "{{count}} min",
|
|
376
|
+
minute_other: "{{count}} min",
|
|
377
|
+
hour_one: "{{count}} hour",
|
|
378
|
+
hour_other: "{{count}} hours",
|
|
379
|
+
day_one: "{{count}} day",
|
|
380
|
+
day_other: "{{count}} days"
|
|
381
|
+
}
|
|
358
382
|
},
|
|
359
383
|
runningTerminals: {
|
|
360
384
|
title: "Terminals",
|
|
@@ -1618,8 +1642,8 @@ var zh_default = {
|
|
|
1618
1642
|
minutesLater: "{{count}}\u5206\u949F\u540E",
|
|
1619
1643
|
hoursMinutesLater: "{{h}}\u5C0F\u65F6{{m}}\u5206\u540E",
|
|
1620
1644
|
hoursLater: "{{h}}\u5C0F\u65F6\u540E",
|
|
1621
|
-
onceType: "\u4E00\u6B21\u6027
|
|
1622
|
-
|
|
1645
|
+
onceType: "\u4E00\u6B21\u6027\uFF08{{duration}}\u540E\uFF09",
|
|
1646
|
+
everyDuration: "\u6BCF{{duration}}",
|
|
1623
1647
|
completed: "\u5DF2\u5B8C\u6210",
|
|
1624
1648
|
paused: "\u5DF2\u6682\u505C",
|
|
1625
1649
|
activeCount: "{{running}} \u4E2A\u6D3B\u8DC3",
|
|
@@ -1653,11 +1677,15 @@ var zh_default = {
|
|
|
1653
1677
|
interval: "\u5468\u671F",
|
|
1654
1678
|
quickSelect: "\u5FEB\u6377\u9009\u62E9",
|
|
1655
1679
|
customCron: "\u81EA\u5B9A\u4E49 Cron \u8868\u8FBE\u5F0F",
|
|
1656
|
-
|
|
1680
|
+
customDuration: "\u81EA\u5B9A\u4E49\u65F6\u957F",
|
|
1657
1681
|
cronPlaceholder: "\u4F8B: 0 9 * * 1-5 (\u5DE5\u4F5C\u65E59\u70B9)",
|
|
1658
1682
|
cronFormat: "\u683C\u5F0F\uFF1A\u5206 \u65F6 \u65E5 \u6708 \u661F\u671F\uFF08\u5982 0 9 * * 1-5\uFF09",
|
|
1659
|
-
|
|
1683
|
+
amountPlaceholder: "\u6570\u503C",
|
|
1660
1684
|
limitTimeRange: "\u9650\u5236\u6267\u884C\u65F6\u6BB5",
|
|
1685
|
+
startAt: "\u8D77\u59CB\u65F6\u95F4\uFF08\u53EF\u9009\uFF09",
|
|
1686
|
+
startAtHint: "\u7559\u7A7A\u5219\u4ECE\u73B0\u5728\u5F00\u59CB\uFF1B\u8BBE\u7F6E\u540E\u56FA\u5B9A\u5728\u300C\u8D77\u59CB\u65F6\u95F4 + N \xD7 \u95F4\u9694\u300D\u6267\u884C\uFF0C\u4E0D\u968F\u8FD0\u884C\u65F6\u957F\u6F02\u79FB",
|
|
1687
|
+
clear: "\u6E05\u9664",
|
|
1688
|
+
fromTime: "\u81EA {{time}} \u8D77",
|
|
1661
1689
|
to: "\u81F3",
|
|
1662
1690
|
saveBtn: "\u4FDD\u5B58 ({{modKey}}\u21A9)",
|
|
1663
1691
|
createBtn: "\u521B\u5EFA ({{modKey}}\u21A9)",
|
|
@@ -1665,14 +1693,31 @@ var zh_default = {
|
|
|
1665
1693
|
"15minLater": "15 \u5206\u949F\u540E",
|
|
1666
1694
|
"30minLater": "30 \u5206\u949F\u540E",
|
|
1667
1695
|
"1hourLater": "1 \u5C0F\u65F6\u540E",
|
|
1696
|
+
"3hoursLater": "3 \u5C0F\u65F6\u540E",
|
|
1697
|
+
"6hoursLater": "6 \u5C0F\u65F6\u540E",
|
|
1698
|
+
"1dayLater": "1 \u5929\u540E",
|
|
1699
|
+
"3daysLater": "3 \u5929\u540E",
|
|
1668
1700
|
every15min: "\u6BCF 15 \u5206\u949F",
|
|
1669
1701
|
every30min: "\u6BCF 30 \u5206\u949F",
|
|
1670
1702
|
every1hour: "\u6BCF 1 \u5C0F\u65F6",
|
|
1671
1703
|
every2hours: "\u6BCF 2 \u5C0F\u65F6",
|
|
1704
|
+
every6hours: "\u6BCF 6 \u5C0F\u65F6",
|
|
1705
|
+
every12hours: "\u6BCF 12 \u5C0F\u65F6",
|
|
1706
|
+
everyDay: "\u6BCF 1 \u5929",
|
|
1672
1707
|
daily9am: "\u6BCF\u5929 09:00",
|
|
1673
1708
|
daily6pm: "\u6BCF\u5929 18:00",
|
|
1674
1709
|
weeklyMon9am: "\u6BCF\u5468\u4E00 09:00",
|
|
1675
|
-
monthly1st9am: "\u6BCF\u6708 1 \u53F7 09:00"
|
|
1710
|
+
monthly1st9am: "\u6BCF\u6708 1 \u53F7 09:00",
|
|
1711
|
+
unit: {
|
|
1712
|
+
minute: "\u5206\u949F",
|
|
1713
|
+
hour: "\u5C0F\u65F6",
|
|
1714
|
+
day: "\u5929"
|
|
1715
|
+
},
|
|
1716
|
+
duration: {
|
|
1717
|
+
minute: "{{count}}\u5206\u949F",
|
|
1718
|
+
hour: "{{count}}\u5C0F\u65F6",
|
|
1719
|
+
day: "{{count}}\u5929"
|
|
1720
|
+
}
|
|
1676
1721
|
},
|
|
1677
1722
|
runningTerminals: {
|
|
1678
1723
|
title: "\u7EC8\u7AEF",
|
|
@@ -2894,8 +2939,13 @@ function withoutServerOwned(fields) {
|
|
|
2894
2939
|
for (const k of SERVER_OWNED) delete copy[k];
|
|
2895
2940
|
return copy;
|
|
2896
2941
|
}
|
|
2942
|
+
function nextIntervalFire(anchor, intervalMinutes, now) {
|
|
2943
|
+
if (anchor > now) return anchor;
|
|
2944
|
+
const step = intervalMinutes * 6e4;
|
|
2945
|
+
return anchor + (Math.floor((now - anchor) / step) + 1) * step;
|
|
2946
|
+
}
|
|
2897
2947
|
function nextOccurrence(t, now) {
|
|
2898
|
-
if (t.type === "interval" && t.intervalMinutes) return
|
|
2948
|
+
if (t.type === "interval" && t.intervalMinutes) return nextIntervalFire(t.nextFireTime, t.intervalMinutes, now);
|
|
2899
2949
|
if (t.type === "cron" && t.cron) return getNextCronTime(t.cron, new Date(now));
|
|
2900
2950
|
return t.nextFireTime;
|
|
2901
2951
|
}
|
|
@@ -3263,6 +3313,7 @@ export {
|
|
|
3263
3313
|
buildTaskPrompt,
|
|
3264
3314
|
canTransition,
|
|
3265
3315
|
getNextCronTime,
|
|
3316
|
+
nextIntervalFire,
|
|
3266
3317
|
readSessionNoHistory,
|
|
3267
3318
|
readSessionOutputStyleId,
|
|
3268
3319
|
scheduledTaskManager,
|
package/dist/wsServer.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
spawnPtyInHost,
|
|
22
22
|
unregisterBrowser,
|
|
23
23
|
writeStdinToCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2UCBL4S6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
Effect_exports,
|
|
27
27
|
FSError,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
recoverStashedCodexRollouts,
|
|
40
40
|
recoverStashedTranscripts,
|
|
41
41
|
sanitizedSpawnEnv
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-G6BCSLZX.mjs";
|
|
43
43
|
import {
|
|
44
44
|
registerWatcherSubscriber,
|
|
45
45
|
subscribeBuildProgress
|
|
@@ -1265,8 +1265,8 @@ var handleSessionStream = (conn, sessionId) => Effect_exports.gen(function* () {
|
|
|
1265
1265
|
// message timestamp instead of by prompt text (see useLiveStream).
|
|
1266
1266
|
startedAt: snap.startedAt,
|
|
1267
1267
|
// Turn identity: the viewer scopes this turn's tool-call snapshots by it.
|
|
1268
|
-
//
|
|
1269
|
-
//
|
|
1268
|
+
// Sent explicitly rather than read off the seeded `_human` event, which a
|
|
1269
|
+
// turn launched with neither text nor images does not have.
|
|
1270
1270
|
runId: snap.runId,
|
|
1271
1271
|
outputTokens: snap.outputTokens,
|
|
1272
1272
|
events: snap.events
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.286",
|
|
4
4
|
"description": "OpenCockpit — the open Claude Code GUI for any LLM (Claude, Codex, DeepSeek, GLM, Kimi, Ollama). Cockpit IDE: parallel projects, terminal, browser & DB bubbles, code review. Self-host, local-first, MIT.",
|
|
5
5
|
"author": "Robert",
|
|
6
6
|
"license": "MIT",
|
|
@@ -113,9 +113,9 @@
|
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@ai-sdk/openai": "^3.0.52",
|
|
116
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
116
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.303",
|
|
117
117
|
"@dagrejs/dagre": "^3.0.0",
|
|
118
|
-
"@openai/codex": "0.
|
|
118
|
+
"@openai/codex": "0.163.0",
|
|
119
119
|
"@tanstack/react-virtual": "^3.13.18",
|
|
120
120
|
"@tiptap/extension-link": "^3.19.0",
|
|
121
121
|
"@tiptap/extension-placeholder": "^3.19.0",
|
|
@@ -157,6 +157,8 @@
|
|
|
157
157
|
"react-syntax-highlighter": "^16.1.0",
|
|
158
158
|
"rehype-katex": "^7.0.1",
|
|
159
159
|
"rehype-raw": "^7.0.0",
|
|
160
|
+
"remark-cjk-friendly": "^2.3.2",
|
|
161
|
+
"remark-cjk-friendly-gfm-strikethrough": "^2.3.1",
|
|
160
162
|
"remark-frontmatter": "^5.0.0",
|
|
161
163
|
"remark-gfm": "^4.0.1",
|
|
162
164
|
"remark-github-blockquote-alert": "^2.1.0",
|