codeden 0.4.0 → 0.4.2
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/dist/cli.js +1 -1
- package/dist/{main-B7VuaduN.js → main-B7rU7myk.js} +2 -2
- package/dist/{main-B7VuaduN.js.map → main-B7rU7myk.js.map} +1 -1
- package/dist/{main-sEg3GS7X.js → main-sdPbRDgf.js} +602 -461
- package/dist/main-sdPbRDgf.js.map +1 -0
- package/dist/{runner-QPAnitMx.js → runner-B20DGEAR.js} +27 -3
- package/dist/runner-B20DGEAR.js.map +1 -0
- package/dist/runner.js +1 -1
- package/dist/web/assets/{core-1ZGcgEnc.js → core-CZsR2WCQ.js} +1 -1
- package/dist/web/assets/engine-oniguruma-B6ZU4lV4.js +1 -0
- package/dist/web/assets/{highlighted-body-JLMTFACH-Gb9WrOV2.js → highlighted-body-JLMTFACH-Tgy2loNJ.js} +1 -1
- package/dist/web/assets/{highlights-BbG82Nvt.js → highlights-C-rSaP9T.js} +1 -1
- package/dist/web/assets/{index-Capj1YIA.js → index-5SrUkic_.js} +176 -176
- package/dist/web/assets/index-DcErU_f1.css +1 -0
- package/dist/web/assets/langs-DPvNNit8.js +1 -0
- package/dist/web/assets/mermaid-WFAXDIZX-df73_wYp.js +1 -0
- package/dist/web/assets/{shiki-DvdkI_wn.js → shiki-CBcuG-Nl.js} +2 -2
- package/dist/web/assets/{stream-tokenizer-hzLEdzf1.js → stream-tokenizer-CzcO6yIN.js} +1 -1
- package/dist/web/assets/{themes-o5fWh38V.js → themes-BL20ecgi.js} +2 -2
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/main-sEg3GS7X.js.map +0 -1
- package/dist/runner-QPAnitMx.js.map +0 -1
- package/dist/web/assets/engine-oniguruma-S10PniCp.js +0 -1
- package/dist/web/assets/index-CW3M7yYL.css +0 -1
- package/dist/web/assets/langs-92p-7kXy.js +0 -1
- package/dist/web/assets/mermaid-WFAXDIZX-D5w0oM_l.js +0 -1
|
@@ -8571,9 +8571,33 @@ const FactoryDigest = object({
|
|
|
8571
8571
|
inboxItemId: Id.nullable(),
|
|
8572
8572
|
itemId: Id.nullable()
|
|
8573
8573
|
})),
|
|
8574
|
+
/** Judgement calls factory agents made on their own during the day (dark factory). */
|
|
8575
|
+
decisions: array(object({
|
|
8576
|
+
title: string(),
|
|
8577
|
+
decision: string(),
|
|
8578
|
+
needsHuman: boolean(),
|
|
8579
|
+
inboxItemId: Id
|
|
8580
|
+
})).default([]),
|
|
8574
8581
|
text: string(),
|
|
8575
8582
|
createdAt: Timestamp
|
|
8576
8583
|
});
|
|
8584
|
+
/**
|
|
8585
|
+
* `factory_record_decision` (§10.1): in a dark factory nobody is watching, so a factory agent
|
|
8586
|
+
* that would have asked the user decides from the vision instead and records the call here.
|
|
8587
|
+
* It reaches the user's inbox and the daily digest so they can review or override it later;
|
|
8588
|
+
* nothing waits on it. `needsHuman` flags the few calls that are the user's to make
|
|
8589
|
+
* (protected areas, a missing or self-contradicting vision, anything irreversible outside the
|
|
8590
|
+
* code) without stopping the loop.
|
|
8591
|
+
*/
|
|
8592
|
+
const FactoryDecisionRequest = object({
|
|
8593
|
+
/** What the agent would have asked. */
|
|
8594
|
+
question: string().min(1).max(2e3),
|
|
8595
|
+
/** What it decided. */
|
|
8596
|
+
decision: string().min(1).max(2e3),
|
|
8597
|
+
/** Why, grounded in the vision. */
|
|
8598
|
+
reasoning: string().min(1).max(4e3),
|
|
8599
|
+
needsHuman: boolean().default(false)
|
|
8600
|
+
});
|
|
8577
8601
|
/** Protected areas parsed from the vision: path globs and topics that always need a human. */
|
|
8578
8602
|
const ProtectedAreas = object({
|
|
8579
8603
|
globs: array(string()),
|
|
@@ -11822,7 +11846,7 @@ object({
|
|
|
11822
11846
|
* rest of the bundle, so the package version is the single source of truth at runtime;
|
|
11823
11847
|
* everywhere else (workspace, tests) it is `SOURCE_VERSION`.
|
|
11824
11848
|
*/
|
|
11825
|
-
const CODEDEN_VERSION = packageVersion() ?? "0.4.
|
|
11849
|
+
const CODEDEN_VERSION = packageVersion() ?? "0.4.2";
|
|
11826
11850
|
function packageVersion() {
|
|
11827
11851
|
const value = globalThis.__CODEDEN_PACKAGE_VERSION__;
|
|
11828
11852
|
return typeof value === "string" && value.length > 0 ? value : void 0;
|
|
@@ -29558,6 +29582,6 @@ async function startRunner(opts) {
|
|
|
29558
29582
|
close
|
|
29559
29583
|
};
|
|
29560
29584
|
}
|
|
29561
|
-
export { BrowserNavigateRequest as $,
|
|
29585
|
+
export { BrowserNavigateRequest as $, AgentConfigListQuery as $n, NOTICE_BATCH_CODE as $t, SessionFileQuery as A, EditQueuedMessageRequest as An, prettifyError as Ar, RespondRequest as At, NetworkStatus as B, ProjectConfigFile as Bn, HealthResponse as Bt, isElectronRuntime as C, AutomationGuards as Cn, record as Cr, CreateProjectRequest as Ct, CODEDEN_VERSION as D, Session as Dn, ZodError as Dr, ListSessionsQuery as Dt, wrapper_default as E, TriagePolicy as En, unknown as Er, ListInboxQuery as Et, ListConflictsQuery as F, SpeechSummaryRequest as Fn, StartSessionRequest as Ft, SetNetworkPasswordResponse as G, sortProjects as Gn, SttQuery as Gt, RemoteAccessFile as H, StartedBy as Hn, Settings as Ht, ListNoticesQuery as I, TerminalClientMessage as In, SteerRequest as It, ImageTestRequest as J, InboxItem as Jn, UpdateInstallRequest as Jt, SignInRequest as K, DEFAULT_VISION_PATH as Kn, TtsRequest as Kt, ResolveConflictRequest as L, TerminalQuery as Ln, ThreadItemsQuery as Lt, RunnerToServerMessage as M, GitPushRequest as Mn, SendMessageRequest as Mt, ServerLock as N, RestoreFilesRequest as Nn, SessionStartMeta as Nt, UsageQuery as O, SessionStatus as On, toJSONSchema as Or, ReorderProjectsRequest as Ot, ArchiveSessionRequest as P, SessionResult as Pn, SetSecretRequest as Pt, BrowserHistoryRequest as Q, AgentConfigDiffRequest as Qn, ConflictRecord as Qt, RoleMessageRequest as R, RunnerCommandResults as Rn, UiClientMessage as Rt, acquireInstallLock as S, AutomationAction as Sn, preprocess as Sr, UpdateAutomationRequest as St, import_websocket_server as T, AutomationTrigger as Tn, union as Tr, FileWriteRequest as Tt, SetNetworkAccessRequest as U, WorkKey as Un, LOCAL_STT_SAMPLE_RATE as Ut, PASSWORD_RULE_TEXT as V, ConflictDecision as Vn, agentEventToNewEvent as Vt, SetNetworkPasswordRequest as W, Project as Wn, LocalSttModelParams as Wt, BrowserClientMessage as X, messageFrom as Xn, compareVersions$1 as Xt, summarizeActivity as Y, InboxItemKind as Yn, UpdateStatus as Yt, BrowserDevServerRequest as Z, AgentConfigDeleteQuery as Zn, isNewerVersion as Zt, importClaudeSdkFrom as _, ReviewVerdict as _n, literal as _r, StarterSetRequest as _t, Hono as a, GithubPr as an, AutonomyLevel as ar, AutomationImportSource as at, runNpm as b, Artifact as bn, object as br, UpcomingRunsQuery as bt, createAdaptorServer as c, githubPrId as cn, datetime as cr, ImportAutomationsRequest as ct, createImageEngineRegistry as d, FactoryCandidate as dn, array as dr, AutomationProjectRequest as dt, CreateGithubIssueRequest as en, AgentConfigLocator as er, BrowserNewTabRequest as et, IMAGE_ASPECT_RATIOS as f, FactoryDecisionRequest as fn, boolean as fr, CreateAutomationRequest as ft, CLAUDE_SDK_VERSION as g, PutVisionRequest as gn, intersection as gr, SetAutomationEnabledRequest as gt, claudeSdkSource as h, KillSwitchRequest as hn, int as hr, RunAutomationRequest as ht, killTree as i, GithubListQuery as in, McpServerUpsertRequest as ir, AUTOMATION_IMPORT_LIMITS as it, RunnerLock as j, GitCommitRequest as jn, SecretKey as jt, UsageSettings as k, DiffScope as kn, safeParse$1 as kr, ResolveInboxRequest as kt, upgradeWebSocket as l, parseGithubPrId as ln, _enum as lr, AutomationFileFrontmatter as lt, ImageGenerationError as m, FactoryTuning as mn, discriminatedUnion as mr, ListAutomationsQuery as mt, readLock as n, GithubIssue as nn, McpServerDiffRequest as nr, BrowserViewportRequest as nt, tryDecodeURIComponent as o, MergePrRequest as on, ProviderId as or, DuplicateAutomationRequest as ot, resolveImageOutput as p, FactoryTriageRequest as pn, custom as pr, ListAutomationRunsQuery as pt, passwordProblem as q, FactoryLimits as qn, AppPointer as qt, isAlive as r, GithubLabelRequest as rn, McpServerTarget as rr, BrowserWsQuery as rt, bufferToFormData as s, TriageIssueRequest as sn, ReasoningEffort as sr, ExportAutomationsQuery as st, startRunner as t, GithubCommentRequest as tn, AgentConfigWriteRequest as tr, BrowserOpenRequest as tt, ImageEngineRegistry as u, DiscoveryArea as un, _null as ur, AutomationGuardsPatch as ut, installClaudeSdk as v, SetAutonomyModeRequest as vn, looseObject as vr, TriageDecisionRequest as vt, ownNodeEnv as w, AutomationRun as wn, string as wr, FileReadQuery as wt, resolveNpm as x, Automation as xn, optional as xr, UpdateAutomationProjectSettingsRequest as xt, isClaudeSdkInstalled as y, isFactoryMode as yn, number$1 as yr, TriageReport as yt, UpdateSessionRequest as z, SessionOptions as zn, UpdateProjectRequest as zt };
|
|
29562
29586
|
|
|
29563
|
-
//# sourceMappingURL=runner-
|
|
29587
|
+
//# sourceMappingURL=runner-B20DGEAR.js.map
|