@kelceyp/caw 1.0.36 → 1.0.39
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/caw.js +5 -3
- package/package.json +1 -1
package/dist/caw.js
CHANGED
|
@@ -13379,6 +13379,7 @@ function sha256HexOfPem(pem) {
|
|
|
13379
13379
|
return crypto3.createHash("sha256").update(der).digest("hex").toUpperCase();
|
|
13380
13380
|
}
|
|
13381
13381
|
function atomicWriteWithBackup({ fs: fsDep, path: filePath, content }) {
|
|
13382
|
+
fsDep.mkdirSync(path15.dirname(filePath), { recursive: true });
|
|
13382
13383
|
let priorContent = null;
|
|
13383
13384
|
let hadPrior = false;
|
|
13384
13385
|
try {
|
|
@@ -14180,8 +14181,9 @@ function createSetupHandler(deps = {}) {
|
|
|
14180
14181
|
return { preflight };
|
|
14181
14182
|
}
|
|
14182
14183
|
const params = ctx?.params ?? {};
|
|
14184
|
+
const homeDir = deps.homeDir ?? os8.homedir();
|
|
14183
14185
|
const options = Object.freeze({
|
|
14184
|
-
envDir: params["env-dir"],
|
|
14186
|
+
envDir: resolveEnvDir7(params["env-dir"], homeDir),
|
|
14185
14187
|
skipTrust: params["skip-trust"],
|
|
14186
14188
|
dryRun: params["dry-run"],
|
|
14187
14189
|
label: params.label,
|
|
@@ -14194,7 +14196,7 @@ function createSetupHandler(deps = {}) {
|
|
|
14194
14196
|
fs: deps.fs ?? fs15,
|
|
14195
14197
|
hasTty: deps.hasTty ?? Boolean(process.stdin?.isTTY),
|
|
14196
14198
|
uid: deps.uid ?? (process.getuid ? process.getuid() : 0),
|
|
14197
|
-
homeDir
|
|
14199
|
+
homeDir,
|
|
14198
14200
|
readConfig: deps.readConfig ?? readConfigWithDefaults,
|
|
14199
14201
|
generators,
|
|
14200
14202
|
paths: deps.paths ?? {}
|
|
@@ -14261,7 +14263,7 @@ function createSetupHandler(deps = {}) {
|
|
|
14261
14263
|
generators,
|
|
14262
14264
|
phase2Result
|
|
14263
14265
|
});
|
|
14264
|
-
const resolvedEnvDir =
|
|
14266
|
+
const resolvedEnvDir = options.envDir;
|
|
14265
14267
|
const resolvedDomain = classification.activeConfig.domain;
|
|
14266
14268
|
const phase4Deps = {
|
|
14267
14269
|
fs: deps.fs ?? fs15,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kelceyp/caw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Unified Web/MCP server with React web app. MD document management, handlebars templating, agent orchestration (aka browser based reskinning of claude code, codex and cursor that allows any of these agents to use any other as subagents) and user stories",
|
|
6
6
|
"keywords": [
|