codeden 0.4.2 → 0.4.3
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/README.md +1 -0
- package/dist/cli.js +1 -1
- package/dist/{main-B7rU7myk.js → main-BsCZetsu.js} +2 -2
- package/dist/{main-B7rU7myk.js.map → main-BsCZetsu.js.map} +1 -1
- package/dist/{main-sdPbRDgf.js → main-CtuRKdHE.js} +2 -2
- package/dist/{main-sdPbRDgf.js.map → main-CtuRKdHE.js.map} +1 -1
- package/dist/{runner-B20DGEAR.js → runner-BPkTmgxq.js} +2 -2
- package/dist/{runner-B20DGEAR.js.map → runner-BPkTmgxq.js.map} +1 -1
- package/dist/runner.js +1 -1
- package/dist/web/assets/{core-CZsR2WCQ.js → core-BSglb5T2.js} +1 -1
- package/dist/web/assets/engine-oniguruma-DShJzqyt.js +1 -0
- package/dist/web/assets/{highlighted-body-JLMTFACH-Tgy2loNJ.js → highlighted-body-JLMTFACH-C4JIAaW0.js} +1 -1
- package/dist/web/assets/{highlights-C-rSaP9T.js → highlights-BiFbzXfR.js} +1 -1
- package/dist/web/assets/index-B175wXOK.css +1 -0
- package/dist/web/assets/{index-5SrUkic_.js → index-Dwp28BCB.js} +195 -195
- package/dist/web/assets/langs-Fwnh7v07.js +1 -0
- package/dist/web/assets/mermaid-WFAXDIZX-dh5FbPgs.js +1 -0
- package/dist/web/assets/{shiki-CBcuG-Nl.js → shiki-BJFGjRKC.js} +2 -2
- package/dist/web/assets/{stream-tokenizer-CzcO6yIN.js → stream-tokenizer-FM7Mm_zq.js} +1 -1
- package/dist/web/assets/{themes-BL20ecgi.js → themes-EFt_x-Bi.js} +2 -2
- package/dist/web/index.html +2 -2
- package/package.json +2 -2
- package/dist/web/assets/engine-oniguruma-B6ZU4lV4.js +0 -1
- package/dist/web/assets/index-DcErU_f1.css +0 -1
- package/dist/web/assets/langs-DPvNNit8.js +0 -1
- package/dist/web/assets/mermaid-WFAXDIZX-df73_wYp.js +0 -1
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**A local-first harness for coding agents.** Run Claude Code and Codex side by side in a calm, focused workspace, and when you're ready, let a small software factory work through your backlog while every step stays visible in GitHub.
|
|
6
6
|
|
|
7
|
+
[](https://www.codeden.app)
|
|
7
8
|
[](https://www.npmjs.com/package/codeden)
|
|
8
9
|
[](https://github.com/leonvanzyl/codeden/blob/main/LICENSE)
|
|
9
10
|

|
package/dist/cli.js
CHANGED
|
@@ -242,7 +242,7 @@ async function run() {
|
|
|
242
242
|
console.log(selfVersion);
|
|
243
243
|
process.exit(0);
|
|
244
244
|
}
|
|
245
|
-
await import("./main-
|
|
245
|
+
await import("./main-CtuRKdHE.js");
|
|
246
246
|
}
|
|
247
247
|
/** Settles once this copy's CLI has loaded (an older launcher that switched here awaits it). */
|
|
248
248
|
const started = run();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as startRunner } from "./runner-
|
|
1
|
+
import { t as startRunner } from "./runner-BPkTmgxq.js";
|
|
2
2
|
import { parseArgs } from "node:util";
|
|
3
3
|
// ../runner/src/main.ts
|
|
4
4
|
/**
|
|
@@ -56,4 +56,4 @@ try {
|
|
|
56
56
|
}
|
|
57
57
|
export {};
|
|
58
58
|
|
|
59
|
-
//# sourceMappingURL=main-
|
|
59
|
+
//# sourceMappingURL=main-BsCZetsu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main-
|
|
1
|
+
{"version":3,"file":"main-BsCZetsu.js","names":[],"sources":["../../runner/src/main.ts"],"sourcesContent":["/**\n * Runner process entry. Started detached by the server:\n * node main.js --home <dir> [--fake] [--no-builtin] [--replay <fixture.json>] [--mcp-upstream <url>]\n */\nimport { parseArgs } from \"node:util\";\nimport { startRunner } from \"./runner\";\n\nconst { values } = parseArgs({\n options: {\n home: { type: \"string\" },\n fake: { type: \"boolean\", default: false },\n /** Skip the real Claude Code / Codex adapters (tests that only use Fake or Replay). */\n \"no-builtin\": { type: \"boolean\", default: false },\n /** Serve a recorded fixture as the `replay` provider (repeatable). */\n replay: { type: \"string\", multiple: true },\n \"mcp-upstream\": { type: \"string\" },\n },\n allowPositionals: false,\n});\n\nconst home = values.home ?? process.env.CODEDEN_HOME;\nif (!home) {\n console.error(\"codeden runner: --home or CODEDEN_HOME is required\");\n process.exit(2);\n}\n\nconst log = (m: string) => console.log(`[${new Date().toISOString()}] ${m}`);\n\ntry {\n const runner = await startRunner({\n home,\n enableFakeProvider: values.fake,\n builtinProviders: !values[\"no-builtin\"],\n replayFixtures: values.replay,\n mcpUpstreamUrl: values[\"mcp-upstream\"],\n sweepDescendants: true,\n log,\n onShutdown: () => process.exit(0),\n });\n const stop = () => void runner.close().then(() => process.exit(0));\n for (const signal of [\"SIGINT\", \"SIGTERM\", \"SIGHUP\", \"SIGBREAK\"] as const) {\n process.on(signal, stop);\n }\n} catch (error) {\n log(`failed to start: ${error instanceof Error ? error.message : String(error)}`);\n process.exit(1);\n}\n"],"mappings":";;;;;;;AAOA,MAAM,EAAE,WAAW,UAAU;CAC3B,SAAS;EACP,MAAM,EAAE,MAAM,SAAS;EACvB,MAAM;GAAE,MAAM;GAAW,SAAS;EAAM;;EAExC,cAAc;GAAE,MAAM;GAAW,SAAS;EAAM;;EAEhD,QAAQ;GAAE,MAAM;GAAU,UAAU;EAAK;EACzC,gBAAgB,EAAE,MAAM,SAAS;CACnC;CACA,kBAAkB;AACpB,CAAC;AAED,MAAM,OAAO,OAAO,QAAQ,QAAQ,IAAI;AACxC,IAAI,CAAC,MAAM;CACT,QAAQ,MAAM,oDAAoD;CAClE,QAAQ,KAAK,CAAC;AAChB;AAEA,MAAM,OAAO,MAAc,QAAQ,IAAI,qBAAI,IAAI,KAAK,EAAA,CAAE,YAAY,EAAE,IAAI,GAAG;AAE3E,IAAI;CACF,MAAM,SAAS,MAAM,YAAY;EAC/B;EACA,oBAAoB,OAAO;EAC3B,kBAAkB,CAAC,OAAO;EAC1B,gBAAgB,OAAO;EACvB,gBAAgB,OAAO;EACvB,kBAAkB;EAClB;EACA,kBAAkB,QAAQ,KAAK,CAAC;CAClC,CAAC;CACD,MAAM,aAAa,KAAK,OAAO,MAAM,CAAC,CAAC,WAAW,QAAQ,KAAK,CAAC,CAAC;CACjE,KAAK,MAAM,UAAU;EAAC;EAAU;EAAW;EAAU;CAAU,GAC7D,QAAQ,GAAG,QAAQ,IAAI;AAE3B,SAAS,OAAO;CACd,IAAI,oBAAoB,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK,GAAG;CAChF,QAAQ,KAAK,CAAC;AAChB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __require, r as __toESM, t as __commonJSMin } from "./rolldown-runtime-DegdyBIC.js";
|
|
2
|
-
import { $ as BrowserNavigateRequest, $n as AgentConfigListQuery, $t as NOTICE_BATCH_CODE, A as SessionFileQuery, An as EditQueuedMessageRequest, Ar as prettifyError, At as RespondRequest, B as NetworkStatus, Bn as ProjectConfigFile, Bt as HealthResponse, C as isElectronRuntime, Cn as AutomationGuards, Cr as record, Ct as CreateProjectRequest, D as CODEDEN_VERSION, Dn as Session, Dr as ZodError, Dt as ListSessionsQuery, E as wrapper_default, En as TriagePolicy, Er as unknown, Et as ListInboxQuery, F as ListConflictsQuery, Fn as SpeechSummaryRequest, Ft as StartSessionRequest, G as SetNetworkPasswordResponse, Gn as sortProjects, Gt as SttQuery, H as RemoteAccessFile, Hn as StartedBy, Ht as Settings, I as ListNoticesQuery, In as TerminalClientMessage, It as SteerRequest, J as ImageTestRequest, Jn as InboxItem, Jt as UpdateInstallRequest, K as SignInRequest, Kn as DEFAULT_VISION_PATH, Kt as TtsRequest, L as ResolveConflictRequest, Ln as TerminalQuery, Lt as ThreadItemsQuery, M as RunnerToServerMessage, Mn as GitPushRequest, Mt as SendMessageRequest, N as ServerLock, Nn as RestoreFilesRequest, Nt as SessionStartMeta, O as UsageQuery, On as SessionStatus, Or as toJSONSchema, Ot as ReorderProjectsRequest, P as ArchiveSessionRequest, Pn as SessionResult, Pt as SetSecretRequest, Q as BrowserHistoryRequest, Qn as AgentConfigDiffRequest, Qt as ConflictRecord, R as RoleMessageRequest, Rn as RunnerCommandResults, Rt as UiClientMessage, S as acquireInstallLock, Sn as AutomationAction, Sr as preprocess, St as UpdateAutomationRequest, T as import_websocket_server, Tn as AutomationTrigger, Tr as union$1, Tt as FileWriteRequest, U as SetNetworkAccessRequest, Un as WorkKey, Ut as LOCAL_STT_SAMPLE_RATE, V as PASSWORD_RULE_TEXT, Vn as ConflictDecision, Vt as agentEventToNewEvent, W as SetNetworkPasswordRequest, Wn as Project, Wt as LocalSttModelParams, X as BrowserClientMessage, Xn as messageFrom, Xt as compareVersions, Y as summarizeActivity, Yn as InboxItemKind, Yt as UpdateStatus, Z as BrowserDevServerRequest, Zn as AgentConfigDeleteQuery, Zt as isNewerVersion, _ as importClaudeSdkFrom, _n as ReviewVerdict, _r as literal, _t as StarterSetRequest, a as Hono, an as GithubPr, ar as AutonomyLevel, at as AutomationImportSource, b as runNpm, bn as Artifact, br as object, bt as UpcomingRunsQuery, c as createAdaptorServer, cn as githubPrId, cr as datetime, ct as ImportAutomationsRequest, d as createImageEngineRegistry, dn as FactoryCandidate, dr as array, dt as AutomationProjectRequest, en as CreateGithubIssueRequest, er as AgentConfigLocator, et as BrowserNewTabRequest, f as IMAGE_ASPECT_RATIOS, fn as FactoryDecisionRequest, fr as boolean, ft as CreateAutomationRequest, g as CLAUDE_SDK_VERSION, gn as PutVisionRequest, gr as intersection, gt as SetAutomationEnabledRequest, h as claudeSdkSource, hn as KillSwitchRequest, hr as int, ht as RunAutomationRequest, i as killTree$1, in as GithubListQuery, ir as McpServerUpsertRequest, it as AUTOMATION_IMPORT_LIMITS, j as RunnerLock, jn as GitCommitRequest, jt as SecretKey, k as UsageSettings, kn as DiffScope, kr as safeParse$1, kt as ResolveInboxRequest, l as upgradeWebSocket, ln as parseGithubPrId, lr as _enum, lt as AutomationFileFrontmatter, m as ImageGenerationError, mn as FactoryTuning, mr as discriminatedUnion, mt as ListAutomationsQuery, n as readLock, nn as GithubIssue, nr as McpServerDiffRequest, nt as BrowserViewportRequest, o as tryDecodeURIComponent, on as MergePrRequest, or as ProviderId, ot as DuplicateAutomationRequest, p as resolveImageOutput, pn as FactoryTriageRequest, pr as custom, pt as ListAutomationRunsQuery, q as passwordProblem, qn as FactoryLimits, qt as AppPointer, r as isAlive, rn as GithubLabelRequest, rr as McpServerTarget, rt as BrowserWsQuery, s as bufferToFormData, sn as TriageIssueRequest, sr as ReasoningEffort, st as ExportAutomationsQuery, tn as GithubCommentRequest, tr as AgentConfigWriteRequest, tt as BrowserOpenRequest, u as ImageEngineRegistry, un as DiscoveryArea, ur as _null, ut as AutomationGuardsPatch, v as installClaudeSdk, vn as SetAutonomyModeRequest, vr as looseObject, vt as TriageDecisionRequest, w as ownNodeEnv, wn as AutomationRun, wr as string, wt as FileReadQuery, x as resolveNpm, xn as Automation, xr as optional, xt as UpdateAutomationProjectSettingsRequest, y as isClaudeSdkInstalled, yn as isFactoryMode, yr as number, yt as TriageReport, z as UpdateSessionRequest, zn as SessionOptions, zt as UpdateProjectRequest } from "./runner-
|
|
2
|
+
import { $ as BrowserNavigateRequest, $n as AgentConfigListQuery, $t as NOTICE_BATCH_CODE, A as SessionFileQuery, An as EditQueuedMessageRequest, Ar as prettifyError, At as RespondRequest, B as NetworkStatus, Bn as ProjectConfigFile, Bt as HealthResponse, C as isElectronRuntime, Cn as AutomationGuards, Cr as record, Ct as CreateProjectRequest, D as CODEDEN_VERSION, Dn as Session, Dr as ZodError, Dt as ListSessionsQuery, E as wrapper_default, En as TriagePolicy, Er as unknown, Et as ListInboxQuery, F as ListConflictsQuery, Fn as SpeechSummaryRequest, Ft as StartSessionRequest, G as SetNetworkPasswordResponse, Gn as sortProjects, Gt as SttQuery, H as RemoteAccessFile, Hn as StartedBy, Ht as Settings, I as ListNoticesQuery, In as TerminalClientMessage, It as SteerRequest, J as ImageTestRequest, Jn as InboxItem, Jt as UpdateInstallRequest, K as SignInRequest, Kn as DEFAULT_VISION_PATH, Kt as TtsRequest, L as ResolveConflictRequest, Ln as TerminalQuery, Lt as ThreadItemsQuery, M as RunnerToServerMessage, Mn as GitPushRequest, Mt as SendMessageRequest, N as ServerLock, Nn as RestoreFilesRequest, Nt as SessionStartMeta, O as UsageQuery, On as SessionStatus, Or as toJSONSchema, Ot as ReorderProjectsRequest, P as ArchiveSessionRequest, Pn as SessionResult, Pt as SetSecretRequest, Q as BrowserHistoryRequest, Qn as AgentConfigDiffRequest, Qt as ConflictRecord, R as RoleMessageRequest, Rn as RunnerCommandResults, Rt as UiClientMessage, S as acquireInstallLock, Sn as AutomationAction, Sr as preprocess, St as UpdateAutomationRequest, T as import_websocket_server, Tn as AutomationTrigger, Tr as union$1, Tt as FileWriteRequest, U as SetNetworkAccessRequest, Un as WorkKey, Ut as LOCAL_STT_SAMPLE_RATE, V as PASSWORD_RULE_TEXT, Vn as ConflictDecision, Vt as agentEventToNewEvent, W as SetNetworkPasswordRequest, Wn as Project, Wt as LocalSttModelParams, X as BrowserClientMessage, Xn as messageFrom, Xt as compareVersions, Y as summarizeActivity, Yn as InboxItemKind, Yt as UpdateStatus, Z as BrowserDevServerRequest, Zn as AgentConfigDeleteQuery, Zt as isNewerVersion, _ as importClaudeSdkFrom, _n as ReviewVerdict, _r as literal, _t as StarterSetRequest, a as Hono, an as GithubPr, ar as AutonomyLevel, at as AutomationImportSource, b as runNpm, bn as Artifact, br as object, bt as UpcomingRunsQuery, c as createAdaptorServer, cn as githubPrId, cr as datetime, ct as ImportAutomationsRequest, d as createImageEngineRegistry, dn as FactoryCandidate, dr as array, dt as AutomationProjectRequest, en as CreateGithubIssueRequest, er as AgentConfigLocator, et as BrowserNewTabRequest, f as IMAGE_ASPECT_RATIOS, fn as FactoryDecisionRequest, fr as boolean, ft as CreateAutomationRequest, g as CLAUDE_SDK_VERSION, gn as PutVisionRequest, gr as intersection, gt as SetAutomationEnabledRequest, h as claudeSdkSource, hn as KillSwitchRequest, hr as int, ht as RunAutomationRequest, i as killTree$1, in as GithubListQuery, ir as McpServerUpsertRequest, it as AUTOMATION_IMPORT_LIMITS, j as RunnerLock, jn as GitCommitRequest, jt as SecretKey, k as UsageSettings, kn as DiffScope, kr as safeParse$1, kt as ResolveInboxRequest, l as upgradeWebSocket, ln as parseGithubPrId, lr as _enum, lt as AutomationFileFrontmatter, m as ImageGenerationError, mn as FactoryTuning, mr as discriminatedUnion, mt as ListAutomationsQuery, n as readLock, nn as GithubIssue, nr as McpServerDiffRequest, nt as BrowserViewportRequest, o as tryDecodeURIComponent, on as MergePrRequest, or as ProviderId, ot as DuplicateAutomationRequest, p as resolveImageOutput, pn as FactoryTriageRequest, pr as custom, pt as ListAutomationRunsQuery, q as passwordProblem, qn as FactoryLimits, qt as AppPointer, r as isAlive, rn as GithubLabelRequest, rr as McpServerTarget, rt as BrowserWsQuery, s as bufferToFormData, sn as TriageIssueRequest, sr as ReasoningEffort, st as ExportAutomationsQuery, tn as GithubCommentRequest, tr as AgentConfigWriteRequest, tt as BrowserOpenRequest, u as ImageEngineRegistry, un as DiscoveryArea, ur as _null, ut as AutomationGuardsPatch, v as installClaudeSdk, vn as SetAutonomyModeRequest, vr as looseObject, vt as TriageDecisionRequest, w as ownNodeEnv, wn as AutomationRun, wr as string, wt as FileReadQuery, x as resolveNpm, xn as Automation, xr as optional, xt as UpdateAutomationProjectSettingsRequest, y as isClaudeSdkInstalled, yn as isFactoryMode, yr as number, yt as TriageReport, z as UpdateSessionRequest, zn as SessionOptions, zt as UpdateProjectRequest } from "./runner-BPkTmgxq.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import fs, { accessSync, appendFileSync, closeSync, constants, copyFileSync, cpSync, createReadStream, existsSync, mkdirSync, openSync, readFileSync, readSync, readdirSync, realpathSync, renameSync, rmSync, statSync, watch, writeFileSync } from "node:fs";
|
|
5
5
|
import { homedir, networkInterfaces, tmpdir } from "node:os";
|
|
@@ -61367,4 +61367,4 @@ main().then((code) => process.exit(code), (error) => {
|
|
|
61367
61367
|
});
|
|
61368
61368
|
export {};
|
|
61369
61369
|
|
|
61370
|
-
//# sourceMappingURL=main-
|
|
61370
|
+
//# sourceMappingURL=main-CtuRKdHE.js.map
|