create-claude-workspace 1.1.107 → 1.1.108
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/scripts/autonomous.mjs +4 -0
- package/package.json +23 -20
|
@@ -11,6 +11,7 @@ import { runClaude, currentChild } from './lib/claude-runner.mjs';
|
|
|
11
11
|
import { sleep, formatDuration, acquireLock, releaseLock, readMemory, isProjectComplete, getCurrentTask, getCurrentPhase, checkClaudeInstalled, checkAuth, checkGitIdentity, checkFilesystemWritable, gitFetchAndPull, gitCheckState, notify, printSummary, promptUser, parseUsageLimitResetMs, } from './lib/utils.mjs';
|
|
12
12
|
import { isTokenExpiringSoon, refreshOAuthToken } from './lib/oauth-refresh.mjs';
|
|
13
13
|
import { pollForNewWork } from './lib/idle-poll.mjs';
|
|
14
|
+
import { config as dotenvConfig } from '@dotenvx/dotenvx';
|
|
14
15
|
// ─── Args ───
|
|
15
16
|
function parseArgs(argv) {
|
|
16
17
|
const opts = { ...DEFAULTS };
|
|
@@ -266,6 +267,9 @@ async function main() {
|
|
|
266
267
|
printHelp();
|
|
267
268
|
process.exit(0);
|
|
268
269
|
}
|
|
270
|
+
// Load .env from project root — tokens (GITLAB_TOKEN, GH_TOKEN, etc.) are needed
|
|
271
|
+
// by idle-poll (platform API checks) and orchestrator (CLI auth refresh)
|
|
272
|
+
dotenvConfig({ path: resolve(opts.projectDir, '.env'), override: false, quiet: true });
|
|
269
273
|
const logPath = resolve(opts.projectDir, opts.logFile);
|
|
270
274
|
const log = createLogger(logPath);
|
|
271
275
|
log.info('Autonomous development loop starting.');
|
package/package.json
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-claude-workspace",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.1.108",
|
|
4
|
+
"author": "",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://gitlab.com/LadaBr/claude-starter-kit.git"
|
|
8
|
+
},
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"typescript": "^5.8.0",
|
|
11
|
+
"vitest": "^4.0.18"
|
|
12
|
+
},
|
|
6
13
|
"bin": {
|
|
7
14
|
"create-claude-workspace": "dist/index.js"
|
|
8
15
|
},
|
|
16
|
+
"description": "Scaffold a project with Claude Code agents for autonomous AI-driven development",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18"
|
|
19
|
+
},
|
|
9
20
|
"files": [
|
|
10
21
|
"dist/index.js",
|
|
11
22
|
"dist/scripts",
|
|
12
23
|
"dist/template"
|
|
13
24
|
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsc && node scripts/copy-templates.mjs",
|
|
16
|
-
"test": "vitest run",
|
|
17
|
-
"test:integration": "vitest run src/scripts/integration.spec.ts",
|
|
18
|
-
"test:all": "vitest run --config vitest.integration.config.ts",
|
|
19
|
-
"prepublishOnly": "npm run build"
|
|
20
|
-
},
|
|
21
25
|
"keywords": [
|
|
22
26
|
"claude",
|
|
23
27
|
"claude-code",
|
|
@@ -27,17 +31,16 @@
|
|
|
27
31
|
"scaffold",
|
|
28
32
|
"create"
|
|
29
33
|
],
|
|
30
|
-
"author": "",
|
|
31
34
|
"license": "MIT",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"vitest": "^4.0.18"
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "tsc && node scripts/copy-templates.mjs",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:integration": "vitest run src/scripts/integration.spec.ts",
|
|
39
|
+
"test:all": "vitest run --config vitest.integration.config.ts",
|
|
40
|
+
"prepublishOnly": "npm run build"
|
|
39
41
|
},
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
+
"type": "module",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@dotenvx/dotenvx": "^1.57.2"
|
|
42
45
|
}
|
|
43
46
|
}
|