@lunora/config 1.0.0-alpha.162 → 1.0.0-alpha.164

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/index.d.mts CHANGED
@@ -111,6 +111,33 @@ interface AgentRulesStatus {
111
111
  * hint.
112
112
  */
113
113
  declare const detectAgentRules: (projectRoot: string) => AgentRulesStatus;
114
+ /**
115
+ * The environment switch that turns codegen off — the other spelling of
116
+ * `lunora dev --no-codegen`.
117
+ *
118
+ * The flag alone could not reach the Vite flavors: there the codegen watch lives
119
+ * in `@lunora/vite`, inside the framework dev server the CLI spawns as a separate
120
+ * process, which re-parses its own argv and never sees it. So the flag travels as
121
+ * this variable, and both the plugin and the CLI's own watcher read it — one
122
+ * switch, one meaning, every flavor.
123
+ *
124
+ * It is a DEV switch. `vite build` ignores it deliberately: skipping generation
125
+ * there would also skip the ERROR-level advisory gate that fails the build.
126
+ *
127
+ * One-directional, like `LUNORA_REMOTE`: it can turn codegen off, nothing turns
128
+ * it back on. Settable by hand for a project that runs its framework dev script
129
+ * directly rather than through `lunora dev`.
130
+ */
131
+ /** Env var that turns codegen off when it spells `0` / `false`. Unset means on. */
132
+ declare const CODEGEN_ENV = "LUNORA_CODEGEN";
133
+ /**
134
+ * Whether a {@link CODEGEN_ENV} value spells an explicit "off".
135
+ *
136
+ * Takes the VALUE, not the environment, mirroring `isRemoteEnvEnabled` in
137
+ * `./cloudflare/remote-bindings` — the same package's existing answer to the same
138
+ * question, with the opposite polarity.
139
+ */
140
+ declare const isCodegenDisabled: (value: string | undefined) => boolean;
114
141
  /** Severity a container output line is surfaced at: `stderr` → `error`, `stdout` → `info`. */
115
142
  type ContainerLogLevel = "error" | "info";
116
143
  /** One declared container to follow, identified by the names codegen lifts from `defineContainer`. */
@@ -1058,4 +1085,4 @@ declare const badgeWidth: (_spec: BadgeSpec) => number;
1058
1085
  declare const paintBadge: (spec: BadgeSpec) => string;
1059
1086
  /** Dim continuation text (a step's chosen answer, shown under the question). */
1060
1087
  declare const paintAnswer: (text: string) => string;
1061
- export { ACCENT, AGENT_MODE_ENV, AGENT_RULES_DIR, AGENT_RULES_HINT, AGENT_RULES_HINT_ENV, type AddIndexEdit, type AddOptionalColumnEdit, type AddTableEdit, type AdditiveEdit, type AgentDetection, type AgentRulesStatus, type ApplyEditResult, type ApplyFailureReason, type AugmentPlan, BADGES, BADGE_COLUMN_WIDTH, type BadgeName, type BadgeSpec, type ClaimDevServerStateResult, type ContainerLogLevel, type ContainerLogLine, type ContainerLogSource, type ContainerLogStreamHandle, type ContainerLogStreamOptions, DEFAULT_DEPLOY_TARGET, DEV_DAEMON_ENV, DEV_HANDOFF_ENV, DEV_LOG_FILE, DEV_LOG_FILE_ENV, DEV_STATE_DIR, DEV_STATE_FILE, DEV_VARS_EXAMPLE_FILE, DEV_VARS_FILE, DEV_VARS_KEY_PATTERN, type DeployDriver, type DestructiveEdit, type DetectedFramework, type DevSecretsFillPlan, type DevServerMode, type DevServerState, type DiscoverAgentInfoResult, type DiscoverContainerInfoResult, type DiscoverWorkflowInfoResult, type DockerLike, type EnsureDevVariablesDeps, type EnsureDevVariablesResult, type EnsureDevVariablesStatus, type FillDevSecretsResult, type FrameworkClass, type FrameworkDetection, LINKED_PROJECT_DIR, LINKED_PROJECT_FILE, LUNA_ART, LUNA_BUNNY, LUNA_NAME, LUNA_SIGNOFF, LUNORA_CONFIG_FILE, LUNORA_EVENT_SOURCE, LUNORA_IGNORED_PATHS, LUNORA_SKILL_NAMES, type LevelBadgeName, type LinkedProject, type LintIgnoreOutcome, type LintIgnoreStatus, type LintTool, type LunoraFormattedLine, type LunoraLineLevel, type LunoraProjectConfig, LunoraReporter, type MultiSelectOption, PACKAGE_SECRETS_REGISTRY, type ParseSchemaResult, ROOT_SKILL_NAME, type RemotePreference, STEP_BADGE_NAMES, type ScaffoldPlan, type SchemaColumn, type SchemaEdit, type SchemaIndex, type SchemaTable, type SecretEntry, type SelectOption, type StepBadgeName, applyAdditiveEdit, applyLintIgnores, badgeLead, badgeWidth, buildPackageSecretsBlock, claimAgentRulesHint, claimDevServerState, classifyEdit, clearDevServerState, createConfirm, deployTargetIds, detectAgentRules, detectAiAgent, detectFramework, detectLintTools, discoverAgentInfo, discoverContainerInfo, discoverWorkflowInfo, ensureDevVariables, ensureDevVariablesExample as ensureDevVarsExample, escapeRegExp, fillDevSecrets, formatLunoraEvent, generateSecretValue, interpretRemote, isInteractive, isMintableSecretKey, isPlaceholderValue, isProcessAlive, isRecordedProcessCurrent, padBadge, paintAnswer, paintBadge, parseDevVariableEntries, parseSchema, planDevSecretsFill, planDevVariablesAugment, planDevVariablesScaffold, promptMultiSelect, promptSelect, promptText, promptYesNo, readDevServerState, readLinkedProject, readLiveDevServerState, readProjectDependencyNames, readProjectRemotePreference, readProjectTarget, removeDevVariableLine, requiredSecrets, resolveDeployDriver, resolveProjectTarget, resolveTargetOrThrow, secretsForPackages, streamContainerLogs, updateDevServerState, upsertDevVariableLine, writeDevServerState, writeDevVariablesFileAtomically, writeLinkedProject };
1088
+ export { ACCENT, AGENT_MODE_ENV, AGENT_RULES_DIR, AGENT_RULES_HINT, AGENT_RULES_HINT_ENV, type AddIndexEdit, type AddOptionalColumnEdit, type AddTableEdit, type AdditiveEdit, type AgentDetection, type AgentRulesStatus, type ApplyEditResult, type ApplyFailureReason, type AugmentPlan, BADGES, BADGE_COLUMN_WIDTH, type BadgeName, type BadgeSpec, CODEGEN_ENV, type ClaimDevServerStateResult, type ContainerLogLevel, type ContainerLogLine, type ContainerLogSource, type ContainerLogStreamHandle, type ContainerLogStreamOptions, DEFAULT_DEPLOY_TARGET, DEV_DAEMON_ENV, DEV_HANDOFF_ENV, DEV_LOG_FILE, DEV_LOG_FILE_ENV, DEV_STATE_DIR, DEV_STATE_FILE, DEV_VARS_EXAMPLE_FILE, DEV_VARS_FILE, DEV_VARS_KEY_PATTERN, type DeployDriver, type DestructiveEdit, type DetectedFramework, type DevSecretsFillPlan, type DevServerMode, type DevServerState, type DiscoverAgentInfoResult, type DiscoverContainerInfoResult, type DiscoverWorkflowInfoResult, type DockerLike, type EnsureDevVariablesDeps, type EnsureDevVariablesResult, type EnsureDevVariablesStatus, type FillDevSecretsResult, type FrameworkClass, type FrameworkDetection, LINKED_PROJECT_DIR, LINKED_PROJECT_FILE, LUNA_ART, LUNA_BUNNY, LUNA_NAME, LUNA_SIGNOFF, LUNORA_CONFIG_FILE, LUNORA_EVENT_SOURCE, LUNORA_IGNORED_PATHS, LUNORA_SKILL_NAMES, type LevelBadgeName, type LinkedProject, type LintIgnoreOutcome, type LintIgnoreStatus, type LintTool, type LunoraFormattedLine, type LunoraLineLevel, type LunoraProjectConfig, LunoraReporter, type MultiSelectOption, PACKAGE_SECRETS_REGISTRY, type ParseSchemaResult, ROOT_SKILL_NAME, type RemotePreference, STEP_BADGE_NAMES, type ScaffoldPlan, type SchemaColumn, type SchemaEdit, type SchemaIndex, type SchemaTable, type SecretEntry, type SelectOption, type StepBadgeName, applyAdditiveEdit, applyLintIgnores, badgeLead, badgeWidth, buildPackageSecretsBlock, claimAgentRulesHint, claimDevServerState, classifyEdit, clearDevServerState, createConfirm, deployTargetIds, detectAgentRules, detectAiAgent, detectFramework, detectLintTools, discoverAgentInfo, discoverContainerInfo, discoverWorkflowInfo, ensureDevVariables, ensureDevVariablesExample as ensureDevVarsExample, escapeRegExp, fillDevSecrets, formatLunoraEvent, generateSecretValue, interpretRemote, isCodegenDisabled, isInteractive, isMintableSecretKey, isPlaceholderValue, isProcessAlive, isRecordedProcessCurrent, padBadge, paintAnswer, paintBadge, parseDevVariableEntries, parseSchema, planDevSecretsFill, planDevVariablesAugment, planDevVariablesScaffold, promptMultiSelect, promptSelect, promptText, promptYesNo, readDevServerState, readLinkedProject, readLiveDevServerState, readProjectDependencyNames, readProjectRemotePreference, readProjectTarget, removeDevVariableLine, requiredSecrets, resolveDeployDriver, resolveProjectTarget, resolveTargetOrThrow, secretsForPackages, streamContainerLogs, updateDevServerState, upsertDevVariableLine, writeDevServerState, writeDevVariablesFileAtomically, writeLinkedProject };
package/dist/index.d.ts CHANGED
@@ -111,6 +111,33 @@ interface AgentRulesStatus {
111
111
  * hint.
112
112
  */
113
113
  declare const detectAgentRules: (projectRoot: string) => AgentRulesStatus;
114
+ /**
115
+ * The environment switch that turns codegen off — the other spelling of
116
+ * `lunora dev --no-codegen`.
117
+ *
118
+ * The flag alone could not reach the Vite flavors: there the codegen watch lives
119
+ * in `@lunora/vite`, inside the framework dev server the CLI spawns as a separate
120
+ * process, which re-parses its own argv and never sees it. So the flag travels as
121
+ * this variable, and both the plugin and the CLI's own watcher read it — one
122
+ * switch, one meaning, every flavor.
123
+ *
124
+ * It is a DEV switch. `vite build` ignores it deliberately: skipping generation
125
+ * there would also skip the ERROR-level advisory gate that fails the build.
126
+ *
127
+ * One-directional, like `LUNORA_REMOTE`: it can turn codegen off, nothing turns
128
+ * it back on. Settable by hand for a project that runs its framework dev script
129
+ * directly rather than through `lunora dev`.
130
+ */
131
+ /** Env var that turns codegen off when it spells `0` / `false`. Unset means on. */
132
+ declare const CODEGEN_ENV = "LUNORA_CODEGEN";
133
+ /**
134
+ * Whether a {@link CODEGEN_ENV} value spells an explicit "off".
135
+ *
136
+ * Takes the VALUE, not the environment, mirroring `isRemoteEnvEnabled` in
137
+ * `./cloudflare/remote-bindings` — the same package's existing answer to the same
138
+ * question, with the opposite polarity.
139
+ */
140
+ declare const isCodegenDisabled: (value: string | undefined) => boolean;
114
141
  /** Severity a container output line is surfaced at: `stderr` → `error`, `stdout` → `info`. */
115
142
  type ContainerLogLevel = "error" | "info";
116
143
  /** One declared container to follow, identified by the names codegen lifts from `defineContainer`. */
@@ -1058,4 +1085,4 @@ declare const badgeWidth: (_spec: BadgeSpec) => number;
1058
1085
  declare const paintBadge: (spec: BadgeSpec) => string;
1059
1086
  /** Dim continuation text (a step's chosen answer, shown under the question). */
1060
1087
  declare const paintAnswer: (text: string) => string;
1061
- export { ACCENT, AGENT_MODE_ENV, AGENT_RULES_DIR, AGENT_RULES_HINT, AGENT_RULES_HINT_ENV, type AddIndexEdit, type AddOptionalColumnEdit, type AddTableEdit, type AdditiveEdit, type AgentDetection, type AgentRulesStatus, type ApplyEditResult, type ApplyFailureReason, type AugmentPlan, BADGES, BADGE_COLUMN_WIDTH, type BadgeName, type BadgeSpec, type ClaimDevServerStateResult, type ContainerLogLevel, type ContainerLogLine, type ContainerLogSource, type ContainerLogStreamHandle, type ContainerLogStreamOptions, DEFAULT_DEPLOY_TARGET, DEV_DAEMON_ENV, DEV_HANDOFF_ENV, DEV_LOG_FILE, DEV_LOG_FILE_ENV, DEV_STATE_DIR, DEV_STATE_FILE, DEV_VARS_EXAMPLE_FILE, DEV_VARS_FILE, DEV_VARS_KEY_PATTERN, type DeployDriver, type DestructiveEdit, type DetectedFramework, type DevSecretsFillPlan, type DevServerMode, type DevServerState, type DiscoverAgentInfoResult, type DiscoverContainerInfoResult, type DiscoverWorkflowInfoResult, type DockerLike, type EnsureDevVariablesDeps, type EnsureDevVariablesResult, type EnsureDevVariablesStatus, type FillDevSecretsResult, type FrameworkClass, type FrameworkDetection, LINKED_PROJECT_DIR, LINKED_PROJECT_FILE, LUNA_ART, LUNA_BUNNY, LUNA_NAME, LUNA_SIGNOFF, LUNORA_CONFIG_FILE, LUNORA_EVENT_SOURCE, LUNORA_IGNORED_PATHS, LUNORA_SKILL_NAMES, type LevelBadgeName, type LinkedProject, type LintIgnoreOutcome, type LintIgnoreStatus, type LintTool, type LunoraFormattedLine, type LunoraLineLevel, type LunoraProjectConfig, LunoraReporter, type MultiSelectOption, PACKAGE_SECRETS_REGISTRY, type ParseSchemaResult, ROOT_SKILL_NAME, type RemotePreference, STEP_BADGE_NAMES, type ScaffoldPlan, type SchemaColumn, type SchemaEdit, type SchemaIndex, type SchemaTable, type SecretEntry, type SelectOption, type StepBadgeName, applyAdditiveEdit, applyLintIgnores, badgeLead, badgeWidth, buildPackageSecretsBlock, claimAgentRulesHint, claimDevServerState, classifyEdit, clearDevServerState, createConfirm, deployTargetIds, detectAgentRules, detectAiAgent, detectFramework, detectLintTools, discoverAgentInfo, discoverContainerInfo, discoverWorkflowInfo, ensureDevVariables, ensureDevVariablesExample as ensureDevVarsExample, escapeRegExp, fillDevSecrets, formatLunoraEvent, generateSecretValue, interpretRemote, isInteractive, isMintableSecretKey, isPlaceholderValue, isProcessAlive, isRecordedProcessCurrent, padBadge, paintAnswer, paintBadge, parseDevVariableEntries, parseSchema, planDevSecretsFill, planDevVariablesAugment, planDevVariablesScaffold, promptMultiSelect, promptSelect, promptText, promptYesNo, readDevServerState, readLinkedProject, readLiveDevServerState, readProjectDependencyNames, readProjectRemotePreference, readProjectTarget, removeDevVariableLine, requiredSecrets, resolveDeployDriver, resolveProjectTarget, resolveTargetOrThrow, secretsForPackages, streamContainerLogs, updateDevServerState, upsertDevVariableLine, writeDevServerState, writeDevVariablesFileAtomically, writeLinkedProject };
1088
+ export { ACCENT, AGENT_MODE_ENV, AGENT_RULES_DIR, AGENT_RULES_HINT, AGENT_RULES_HINT_ENV, type AddIndexEdit, type AddOptionalColumnEdit, type AddTableEdit, type AdditiveEdit, type AgentDetection, type AgentRulesStatus, type ApplyEditResult, type ApplyFailureReason, type AugmentPlan, BADGES, BADGE_COLUMN_WIDTH, type BadgeName, type BadgeSpec, CODEGEN_ENV, type ClaimDevServerStateResult, type ContainerLogLevel, type ContainerLogLine, type ContainerLogSource, type ContainerLogStreamHandle, type ContainerLogStreamOptions, DEFAULT_DEPLOY_TARGET, DEV_DAEMON_ENV, DEV_HANDOFF_ENV, DEV_LOG_FILE, DEV_LOG_FILE_ENV, DEV_STATE_DIR, DEV_STATE_FILE, DEV_VARS_EXAMPLE_FILE, DEV_VARS_FILE, DEV_VARS_KEY_PATTERN, type DeployDriver, type DestructiveEdit, type DetectedFramework, type DevSecretsFillPlan, type DevServerMode, type DevServerState, type DiscoverAgentInfoResult, type DiscoverContainerInfoResult, type DiscoverWorkflowInfoResult, type DockerLike, type EnsureDevVariablesDeps, type EnsureDevVariablesResult, type EnsureDevVariablesStatus, type FillDevSecretsResult, type FrameworkClass, type FrameworkDetection, LINKED_PROJECT_DIR, LINKED_PROJECT_FILE, LUNA_ART, LUNA_BUNNY, LUNA_NAME, LUNA_SIGNOFF, LUNORA_CONFIG_FILE, LUNORA_EVENT_SOURCE, LUNORA_IGNORED_PATHS, LUNORA_SKILL_NAMES, type LevelBadgeName, type LinkedProject, type LintIgnoreOutcome, type LintIgnoreStatus, type LintTool, type LunoraFormattedLine, type LunoraLineLevel, type LunoraProjectConfig, LunoraReporter, type MultiSelectOption, PACKAGE_SECRETS_REGISTRY, type ParseSchemaResult, ROOT_SKILL_NAME, type RemotePreference, STEP_BADGE_NAMES, type ScaffoldPlan, type SchemaColumn, type SchemaEdit, type SchemaIndex, type SchemaTable, type SecretEntry, type SelectOption, type StepBadgeName, applyAdditiveEdit, applyLintIgnores, badgeLead, badgeWidth, buildPackageSecretsBlock, claimAgentRulesHint, claimDevServerState, classifyEdit, clearDevServerState, createConfirm, deployTargetIds, detectAgentRules, detectAiAgent, detectFramework, detectLintTools, discoverAgentInfo, discoverContainerInfo, discoverWorkflowInfo, ensureDevVariables, ensureDevVariablesExample as ensureDevVarsExample, escapeRegExp, fillDevSecrets, formatLunoraEvent, generateSecretValue, interpretRemote, isCodegenDisabled, isInteractive, isMintableSecretKey, isPlaceholderValue, isProcessAlive, isRecordedProcessCurrent, padBadge, paintAnswer, paintBadge, parseDevVariableEntries, parseSchema, planDevSecretsFill, planDevVariablesAugment, planDevVariablesScaffold, promptMultiSelect, promptSelect, promptText, promptYesNo, readDevServerState, readLinkedProject, readLiveDevServerState, readProjectDependencyNames, readProjectRemotePreference, readProjectTarget, removeDevVariableLine, requiredSecrets, resolveDeployDriver, resolveProjectTarget, resolveTargetOrThrow, secretsForPackages, streamContainerLogs, updateDevServerState, upsertDevVariableLine, writeDevServerState, writeDevVariablesFileAtomically, writeLinkedProject };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{AGENT_MODE_ENV as t,detectAiAgent as o}from"./packem_shared/AGENT_MODE_ENV-D8MvSwPE.mjs";import{discoverAgentInfo as E}from"./packem_shared/discoverAgentInfo-CTdCSfYM.mjs";import{AGENT_RULES_DIR as _,AGENT_RULES_HINT as p,AGENT_RULES_HINT_ENV as s,LUNORA_SKILL_NAMES as l,ROOT_SKILL_NAME as c,claimAgentRulesHint as n,detectAgentRules as m}from"./packem_shared/AGENT_RULES_DIR-3-Sx1gHU.mjs";import{discoverContainerInfo as d}from"./packem_shared/discoverContainerInfo-EhZtEBQs.mjs";import{streamContainerLogs as S}from"./packem_shared/streamContainerLogs-0nko1qpv.mjs";import{detectFramework as f,readProjectDependencyNames as N}from"./packem_shared/detectFramework-DOn4PtpP.mjs";import{DEV_DAEMON_ENV as T,DEV_HANDOFF_ENV as R,DEV_LOG_FILE as I,DEV_LOG_FILE_ENV as V,DEV_STATE_DIR as x,DEV_STATE_FILE as P,claimDevServerState as g,clearDevServerState as O,isProcessAlive as F,isRecordedProcessCurrent as u,readDevServerState as G,readLiveDevServerState as U,updateDevServerState as C,writeDevServerState as b}from"./packem_shared/DEV_DAEMON_ENV-e1mJUd1-.mjs";import{DEV_VARS_EXAMPLE_FILE as M,DEV_VARS_FILE as B,DEV_VARS_KEY_PATTERN as k,escapeRegExp as w,parseDevVariableEntries as K,removeDevVariableLine as j,upsertDevVariableLine as H}from"./packem_shared/DEV_VARS_EXAMPLE_FILE-CqLorAxT.mjs";import{DEFAULT_DEPLOY_TARGET as Y,deployTargetIds as W,resolveDeployDriver as J}from"./packem_shared/DEFAULT_DEPLOY_TARGET-dS2wApDX.mjs";import{inferLunoraBindings as X,packageNamesFromBindings as z}from"./packem_shared/inferLunoraBindings-KST9XCEe.mjs";import{LINKED_PROJECT_DIR as Z,LINKED_PROJECT_FILE as $,readLinkedProject as ee,writeLinkedProject as re}from"./packem_shared/LINKED_PROJECT_DIR-Ba5qPEwo.mjs";import{LUNORA_IGNORED_PATHS as oe,applyLintIgnores as ae,detectLintTools as Ee}from"./packem_shared/LUNORA_IGNORED_PATHS-BGbVUqw_.mjs";import{LUNORA_EVENT_SOURCE as _e,formatLunoraEvent as pe}from"./packem_shared/LUNORA_EVENT_SOURCE-DYdcDU9G.mjs";import{default as le}from"./packem_shared/LunoraReporter-f277GLNT.mjs";import{PACKAGE_SECRETS_REGISTRY as ne,secretsForPackages as me}from"./packem_shared/PACKAGE_SECRETS_REGISTRY-BgmvEPA-.mjs";import{LUNORA_CONFIG_FILE as de,interpretRemote as De,readProjectRemotePreference as Se,readProjectTarget as Le,resolveProjectTarget as fe,resolveTargetOrThrow as Ne}from"./packem_shared/LUNORA_CONFIG_FILE-GOH3iIA4.mjs";import{createConfirm as Te,isInteractive as Re,promptMultiSelect as Ie,promptSelect as Ve,promptText as xe,promptYesNo as Pe}from"./packem_shared/createConfirm-D5mKTMHj.mjs";import{buildPackageSecretsBlock as Oe,ensureDevVariables as Fe,ensureDevVarsExample as ue,fillDevSecrets as Ge,generateSecretValue as Ue,isMintableSecretKey as Ce,isPlaceholderValue as be,planDevSecretsFill as ye,planDevVariablesAugment as Me,planDevVariablesScaffold as Be,requiredSecrets as ke,writeDevVariablesFileAtomically as we}from"./packem_shared/buildPackageSecretsBlock-J7bP1P-6.mjs";import{applyAdditiveEdit as je,classifyEdit as He}from"./packem_shared/applyAdditiveEdit-DPhNZsf2.mjs";import{parseSchema as Ye}from"./packem_shared/parseSchema-B4nFDPzZ.mjs";import{classifyPolicyEdit as Je,scaffoldPolicyFile as qe,wireRlsIntoProcedure as Xe}from"./packem_shared/classifyPolicyEdit-BfSiVpv-.mjs";import{discoverSchemaInfo as Qe}from"./packem_shared/discoverSchemaInfo-Bg2CUZXG.mjs";import{ACCENT as $e,BADGES as er,BADGE_COLUMN_WIDTH as rr,LUNA_ART as tr,LUNA_BUNNY as or,LUNA_NAME as ar,LUNA_SIGNOFF as Er,STEP_BADGE_NAMES as ir,badgeLead as _r,badgeWidth as pr,padBadge as sr,paintAnswer as lr,paintBadge as cr}from"./packem_shared/ACCENT-CotPTfv7.mjs";import{discoverWorkflowInfo as mr}from"./packem_shared/discoverWorkflowInfo-BsPvlo6O.mjs";export{$e as ACCENT,t as AGENT_MODE_ENV,_ as AGENT_RULES_DIR,p as AGENT_RULES_HINT,s as AGENT_RULES_HINT_ENV,er as BADGES,rr as BADGE_COLUMN_WIDTH,Y as DEFAULT_DEPLOY_TARGET,T as DEV_DAEMON_ENV,R as DEV_HANDOFF_ENV,I as DEV_LOG_FILE,V as DEV_LOG_FILE_ENV,x as DEV_STATE_DIR,P as DEV_STATE_FILE,M as DEV_VARS_EXAMPLE_FILE,B as DEV_VARS_FILE,k as DEV_VARS_KEY_PATTERN,Z as LINKED_PROJECT_DIR,$ as LINKED_PROJECT_FILE,tr as LUNA_ART,or as LUNA_BUNNY,ar as LUNA_NAME,Er as LUNA_SIGNOFF,de as LUNORA_CONFIG_FILE,_e as LUNORA_EVENT_SOURCE,oe as LUNORA_IGNORED_PATHS,l as LUNORA_SKILL_NAMES,le as LunoraReporter,ne as PACKAGE_SECRETS_REGISTRY,c as ROOT_SKILL_NAME,ir as STEP_BADGE_NAMES,je as applyAdditiveEdit,ae as applyLintIgnores,_r as badgeLead,pr as badgeWidth,Oe as buildPackageSecretsBlock,n as claimAgentRulesHint,g as claimDevServerState,He as classifyEdit,Je as classifyPolicyEdit,O as clearDevServerState,Te as createConfirm,W as deployTargetIds,m as detectAgentRules,o as detectAiAgent,f as detectFramework,Ee as detectLintTools,E as discoverAgentInfo,d as discoverContainerInfo,Qe as discoverSchemaInfo,mr as discoverWorkflowInfo,Fe as ensureDevVariables,ue as ensureDevVarsExample,w as escapeRegExp,Ge as fillDevSecrets,pe as formatLunoraEvent,Ue as generateSecretValue,X as inferLunoraBindings,De as interpretRemote,Re as isInteractive,Ce as isMintableSecretKey,be as isPlaceholderValue,F as isProcessAlive,u as isRecordedProcessCurrent,z as packageNamesFromBindings,sr as padBadge,lr as paintAnswer,cr as paintBadge,K as parseDevVariableEntries,Ye as parseSchema,ye as planDevSecretsFill,Me as planDevVariablesAugment,Be as planDevVariablesScaffold,Ie as promptMultiSelect,Ve as promptSelect,xe as promptText,Pe as promptYesNo,G as readDevServerState,ee as readLinkedProject,U as readLiveDevServerState,N as readProjectDependencyNames,Se as readProjectRemotePreference,Le as readProjectTarget,j as removeDevVariableLine,ke as requiredSecrets,J as resolveDeployDriver,fe as resolveProjectTarget,Ne as resolveTargetOrThrow,qe as scaffoldPolicyFile,me as secretsForPackages,S as streamContainerLogs,C as updateDevServerState,H as upsertDevVariableLine,Xe as wireRlsIntoProcedure,b as writeDevServerState,we as writeDevVariablesFileAtomically,re as writeLinkedProject};
1
+ import{AGENT_MODE_ENV as t,detectAiAgent as o}from"./packem_shared/AGENT_MODE_ENV-D8MvSwPE.mjs";import{discoverAgentInfo as E}from"./packem_shared/discoverAgentInfo-CTdCSfYM.mjs";import{AGENT_RULES_DIR as s,AGENT_RULES_HINT as _,AGENT_RULES_HINT_ENV as p,LUNORA_SKILL_NAMES as l,ROOT_SKILL_NAME as n,claimAgentRulesHint as c,detectAgentRules as m}from"./packem_shared/AGENT_RULES_DIR-3-Sx1gHU.mjs";import{CODEGEN_ENV as A,isCodegenDisabled as D}from"./packem_shared/CODEGEN_ENV-ZsCxV1kP.mjs";import{discoverContainerInfo as f}from"./packem_shared/discoverContainerInfo-EhZtEBQs.mjs";import{streamContainerLogs as N}from"./packem_shared/streamContainerLogs-0nko1qpv.mjs";import{detectFramework as T,readProjectDependencyNames as R}from"./packem_shared/detectFramework-DOn4PtpP.mjs";import{DEV_DAEMON_ENV as V,DEV_HANDOFF_ENV as x,DEV_LOG_FILE as g,DEV_LOG_FILE_ENV as P,DEV_STATE_DIR as O,DEV_STATE_FILE as F,claimDevServerState as u,clearDevServerState as G,isProcessAlive as C,isRecordedProcessCurrent as U,readDevServerState as b,readLiveDevServerState as y,updateDevServerState as M,writeDevServerState as B}from"./packem_shared/DEV_DAEMON_ENV-e1mJUd1-.mjs";import{DEV_VARS_EXAMPLE_FILE as w,DEV_VARS_FILE as K,DEV_VARS_KEY_PATTERN as j,escapeRegExp as H,parseDevVariableEntries as h,removeDevVariableLine as Y,upsertDevVariableLine as W}from"./packem_shared/DEV_VARS_EXAMPLE_FILE-CqLorAxT.mjs";import{DEFAULT_DEPLOY_TARGET as q,deployTargetIds as X,resolveDeployDriver as z}from"./packem_shared/DEFAULT_DEPLOY_TARGET-dS2wApDX.mjs";import{inferLunoraBindings as Z,packageNamesFromBindings as $}from"./packem_shared/inferLunoraBindings-KST9XCEe.mjs";import{LINKED_PROJECT_DIR as re,LINKED_PROJECT_FILE as te,readLinkedProject as oe,writeLinkedProject as ae}from"./packem_shared/LINKED_PROJECT_DIR-Ba5qPEwo.mjs";import{LUNORA_IGNORED_PATHS as ie,applyLintIgnores as se,detectLintTools as _e}from"./packem_shared/LUNORA_IGNORED_PATHS-BGbVUqw_.mjs";import{LUNORA_EVENT_SOURCE as le,formatLunoraEvent as ne}from"./packem_shared/LUNORA_EVENT_SOURCE-DYdcDU9G.mjs";import{default as me}from"./packem_shared/LunoraReporter-f277GLNT.mjs";import{PACKAGE_SECRETS_REGISTRY as Ae,secretsForPackages as De}from"./packem_shared/PACKAGE_SECRETS_REGISTRY-BgmvEPA-.mjs";import{LUNORA_CONFIG_FILE as fe,interpretRemote as Le,readProjectRemotePreference as Ne,readProjectTarget as ve,resolveProjectTarget as Te,resolveTargetOrThrow as Re}from"./packem_shared/LUNORA_CONFIG_FILE-GOH3iIA4.mjs";import{createConfirm as Ve,isInteractive as xe,promptMultiSelect as ge,promptSelect as Pe,promptText as Oe,promptYesNo as Fe}from"./packem_shared/createConfirm-D5mKTMHj.mjs";import{buildPackageSecretsBlock as Ge,ensureDevVariables as Ce,ensureDevVarsExample as Ue,fillDevSecrets as be,generateSecretValue as ye,isMintableSecretKey as Me,isPlaceholderValue as Be,planDevSecretsFill as ke,planDevVariablesAugment as we,planDevVariablesScaffold as Ke,requiredSecrets as je,writeDevVariablesFileAtomically as He}from"./packem_shared/buildPackageSecretsBlock-J7bP1P-6.mjs";import{applyAdditiveEdit as Ye,classifyEdit as We}from"./packem_shared/applyAdditiveEdit-DPhNZsf2.mjs";import{parseSchema as qe}from"./packem_shared/parseSchema-B4nFDPzZ.mjs";import{classifyPolicyEdit as ze,scaffoldPolicyFile as Qe,wireRlsIntoProcedure as Ze}from"./packem_shared/classifyPolicyEdit-BfSiVpv-.mjs";import{discoverSchemaInfo as er}from"./packem_shared/discoverSchemaInfo-Bg2CUZXG.mjs";import{ACCENT as tr,BADGES as or,BADGE_COLUMN_WIDTH as ar,LUNA_ART as Er,LUNA_BUNNY as ir,LUNA_NAME as sr,LUNA_SIGNOFF as _r,STEP_BADGE_NAMES as pr,badgeLead as lr,badgeWidth as nr,padBadge as cr,paintAnswer as mr,paintBadge as dr}from"./packem_shared/ACCENT-CotPTfv7.mjs";import{discoverWorkflowInfo as Dr}from"./packem_shared/discoverWorkflowInfo-BsPvlo6O.mjs";export{tr as ACCENT,t as AGENT_MODE_ENV,s as AGENT_RULES_DIR,_ as AGENT_RULES_HINT,p as AGENT_RULES_HINT_ENV,or as BADGES,ar as BADGE_COLUMN_WIDTH,A as CODEGEN_ENV,q as DEFAULT_DEPLOY_TARGET,V as DEV_DAEMON_ENV,x as DEV_HANDOFF_ENV,g as DEV_LOG_FILE,P as DEV_LOG_FILE_ENV,O as DEV_STATE_DIR,F as DEV_STATE_FILE,w as DEV_VARS_EXAMPLE_FILE,K as DEV_VARS_FILE,j as DEV_VARS_KEY_PATTERN,re as LINKED_PROJECT_DIR,te as LINKED_PROJECT_FILE,Er as LUNA_ART,ir as LUNA_BUNNY,sr as LUNA_NAME,_r as LUNA_SIGNOFF,fe as LUNORA_CONFIG_FILE,le as LUNORA_EVENT_SOURCE,ie as LUNORA_IGNORED_PATHS,l as LUNORA_SKILL_NAMES,me as LunoraReporter,Ae as PACKAGE_SECRETS_REGISTRY,n as ROOT_SKILL_NAME,pr as STEP_BADGE_NAMES,Ye as applyAdditiveEdit,se as applyLintIgnores,lr as badgeLead,nr as badgeWidth,Ge as buildPackageSecretsBlock,c as claimAgentRulesHint,u as claimDevServerState,We as classifyEdit,ze as classifyPolicyEdit,G as clearDevServerState,Ve as createConfirm,X as deployTargetIds,m as detectAgentRules,o as detectAiAgent,T as detectFramework,_e as detectLintTools,E as discoverAgentInfo,f as discoverContainerInfo,er as discoverSchemaInfo,Dr as discoverWorkflowInfo,Ce as ensureDevVariables,Ue as ensureDevVarsExample,H as escapeRegExp,be as fillDevSecrets,ne as formatLunoraEvent,ye as generateSecretValue,Z as inferLunoraBindings,Le as interpretRemote,D as isCodegenDisabled,xe as isInteractive,Me as isMintableSecretKey,Be as isPlaceholderValue,C as isProcessAlive,U as isRecordedProcessCurrent,$ as packageNamesFromBindings,cr as padBadge,mr as paintAnswer,dr as paintBadge,h as parseDevVariableEntries,qe as parseSchema,ke as planDevSecretsFill,we as planDevVariablesAugment,Ke as planDevVariablesScaffold,ge as promptMultiSelect,Pe as promptSelect,Oe as promptText,Fe as promptYesNo,b as readDevServerState,oe as readLinkedProject,y as readLiveDevServerState,R as readProjectDependencyNames,Ne as readProjectRemotePreference,ve as readProjectTarget,Y as removeDevVariableLine,je as requiredSecrets,z as resolveDeployDriver,Te as resolveProjectTarget,Re as resolveTargetOrThrow,Qe as scaffoldPolicyFile,De as secretsForPackages,N as streamContainerLogs,M as updateDevServerState,W as upsertDevVariableLine,Ze as wireRlsIntoProcedure,B as writeDevServerState,He as writeDevVariablesFileAtomically,ae as writeLinkedProject};
@@ -0,0 +1 @@
1
+ const s="LUNORA_CODEGEN",t=o=>{const e=o?.trim().toLowerCase();return e==="0"||e==="false"};export{s as CODEGEN_ENV,t as isCodegenDisabled};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/config",
3
- "version": "1.0.0-alpha.162",
3
+ "version": "1.0.0-alpha.164",
4
4
  "description": "Internal shared CLI + Vite config layer for Lunora: wrangler.jsonc validation, binding inference, and .dev.vars scaffolding",
5
5
  "keywords": [
6
6
  "bindings",
@@ -54,10 +54,10 @@
54
54
  "access": "public"
55
55
  },
56
56
  "dependencies": {
57
- "@lunora/codegen": "1.0.0-alpha.130",
57
+ "@lunora/codegen": "1.0.0-alpha.132",
58
58
  "@lunora/container": "1.0.0-alpha.35",
59
59
  "@lunora/errors": "1.0.0-alpha.24",
60
- "@lunora/seed": "1.0.0-alpha.87",
60
+ "@lunora/seed": "1.0.0-alpha.88",
61
61
  "@visulima/colorize": "2.1.1",
62
62
  "@visulima/find-ai-runner": "1.0.1",
63
63
  "dockerode": "^5.0.1",