@ai-hero/sandcastle 0.9.0 → 0.12.0
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 +110 -52
- package/dist/{chunk-72UVAC7B.js → chunk-62WN33RK.js} +10 -5
- package/dist/chunk-62WN33RK.js.map +1 -0
- package/dist/{chunk-NSFQW6ML.js → chunk-CP3TYXZA.js} +3 -3
- package/dist/{chunk-NSFQW6ML.js.map → chunk-CP3TYXZA.js.map} +1 -1
- package/dist/{chunk-52CIJF45.js → chunk-DJRHWPEH.js} +3 -3
- package/dist/{chunk-52CIJF45.js.map → chunk-DJRHWPEH.js.map} +1 -1
- package/dist/{chunk-5VM5QZ26.js → chunk-VOG34SRF.js} +72 -48
- package/dist/{chunk-5VM5QZ26.js.map → chunk-VOG34SRF.js.map} +1 -1
- package/dist/index.d.ts +135 -21
- package/dist/index.js +253 -59
- package/dist/index.js.map +1 -1
- package/dist/main.js +6 -6
- package/dist/main.js.map +1 -1
- package/dist/sandboxes/docker.d.ts +1 -1
- package/dist/sandboxes/docker.js +2 -2
- package/dist/sandboxes/no-sandbox.d.ts +1 -1
- package/dist/sandboxes/no-sandbox.js +1 -1
- package/dist/sandboxes/podman.d.ts +1 -1
- package/dist/sandboxes/podman.js +2 -2
- package/dist/sandboxes/podman.js.map +1 -1
- package/dist/sandboxes/vercel.d.ts +1 -1
- package/dist/sandboxes/vercel.js.map +1 -1
- package/dist/templates/blank/main.mts +1 -1
- package/dist/templates/parallel-planner/main.mts +1 -1
- package/dist/templates/parallel-planner-with-review/main.mts +1 -1
- package/dist/templates/simple-loop/main.mts +1 -1
- package/package.json +1 -1
- package/dist/chunk-72UVAC7B.js.map +0 -1
package/dist/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { NodeContext_exports, withFriendlyErrors, NodeRuntime_exports } from './chunk-
|
|
4
|
-
import { buildImage, removeImage } from './chunk-
|
|
5
|
-
import { CommitPrototype, dual, GenericTag, fromIterable, failSync, map2, reduce, Effect_exports, Display, InitError, Layer_exports, ClackDisplay, decode, mapError, TreeFormatter, empty, none, flatMap3, catchAll, match, fail2 as fail2$1, map3, merge, some, right, left, isNonEmptyReadonlyArray, headNonEmpty, tailNonEmpty, isArray, identity, fromIterable2, fromIterable3, globalValue, contextWithEffect, getOrElse, getOption, appendAll, matchEffect, unify, catchSome, zipRight, matchLeft, defaultImageName, Option_exports, SANDBOX_REPO_DIR, FileSystem_exports, ConfigDirError, pipe, zipLeft, log, succeed, isOption, make4, update, repeatN, get2, getSomes, map, zipWith, make3, as, prepend, make, isEmpty, empty2, isEmptyReadonlyArray, of, catchTag, isTagged, die, isConfigError, isMissingDataOnly, filterMap, get, every, mapBoth, zip, forEach, _void, orElse, match2, join as join$1, isConfig, isObject, toStringUnknown, isSome, getOrThrow, FileSystem, try_, flatMap2, unsafeGet, drop, splitAt, tap, take, isQuitException, reduceRight, withMinimumLogLevel, error, PodmanError, mapInput, boolean, sort, contains, append, fromNullable, catchTags, when, set, pipeArguments, head, make10 as make10$1, suspend, get4, allocate, gen, updateAndGet, span, some2, sync, orElse2, has, filter, is, decodeUnknown, String$, fromString, make7 as make7$1, orElseFail, orDie, compose, NumberFromString, Int, Date$, findFirst, allLevels, updateEffect, flatten, fnUntraced, Terminal, QuitException, scoped, isNone, Literal, unlessEffect, asVoid, catchIf, runSync, of2, match3, filterOrDieMessage, Path, filter2, isEffect, taggedEnum, round, ensuring, cons, dieMessage, value, when2, orElse3, isNil, matchRight, symbol2, symbol, cached, findFirstIndex, flatMap, findLast, equals, combine, hash, string, string2, provide, provideServiceEffect, provideService, int } from './chunk-
|
|
3
|
+
import { NodeContext_exports, withFriendlyErrors, NodeRuntime_exports } from './chunk-DJRHWPEH.js';
|
|
4
|
+
import { buildImage, removeImage } from './chunk-CP3TYXZA.js';
|
|
5
|
+
import { CommitPrototype, dual, GenericTag, fromIterable, failSync, map2, reduce, Effect_exports, Display, InitError, Layer_exports, ClackDisplay, decode, mapError, TreeFormatter, empty, none, flatMap3, catchAll, match, fail2 as fail2$1, map3, merge, some, right, left, isNonEmptyReadonlyArray, headNonEmpty, tailNonEmpty, isArray, identity, fromIterable2, fromIterable3, globalValue, contextWithEffect, getOrElse, getOption, appendAll, matchEffect, unify, catchSome, zipRight, matchLeft, defaultImageName, Option_exports, SANDBOX_REPO_DIR, FileSystem_exports, ConfigDirError, pipe, zipLeft, log, succeed, isOption, make4, update, repeatN, get2, getSomes, map, zipWith, make3, as, prepend, make, isEmpty, empty2, isEmptyReadonlyArray, of, catchTag, isTagged, die, isConfigError, isMissingDataOnly, filterMap, get, every, mapBoth, zip, forEach, _void, orElse, match2, join as join$1, isConfig, isObject, toStringUnknown, isSome, getOrThrow, FileSystem, try_, flatMap2, unsafeGet, drop, splitAt, tap, take, isQuitException, reduceRight, withMinimumLogLevel, error, PodmanError, mapInput, boolean, sort, contains, append, fromNullable, catchTags, when, set, pipeArguments, head, make10 as make10$1, suspend, get4, allocate, gen, updateAndGet, span, some2, sync, orElse2, has, filter, is, decodeUnknown, String$, fromString, make7 as make7$1, orElseFail, orDie, compose, NumberFromString, Int, Date$, findFirst, allLevels, updateEffect, flatten, fnUntraced, Terminal, QuitException, scoped, isNone, Literal, unlessEffect, asVoid, catchIf, runSync, of2, match3, filterOrDieMessage, Path, filter2, isEffect, taggedEnum, round, ensuring, cons, dieMessage, value, when2, orElse3, isNil, matchRight, symbol2, symbol, cached, findFirstIndex, flatMap, findLast, equals, combine, hash, string, string2, provide, provideServiceEffect, provideService, int } from './chunk-VOG34SRF.js';
|
|
6
6
|
import './chunk-BIWNFKGV.js';
|
|
7
7
|
import { __commonJS, __require, __toESM, __export } from './chunk-NGBM7T3E.js';
|
|
8
8
|
import * as clack from '@clack/prompts';
|
|
@@ -18272,7 +18272,7 @@ ARG AGENT_UID=1000
|
|
|
18272
18272
|
ARG AGENT_GID=1000
|
|
18273
18273
|
|
|
18274
18274
|
# Rename the base image's "node" user to "agent" and align UID/GID.
|
|
18275
|
-
RUN groupmod -g $AGENT_GID node && usermod -u $AGENT_UID -g $AGENT_GID -d /home/agent -m -l agent node
|
|
18275
|
+
RUN groupmod -o -g $AGENT_GID node && usermod -o -u $AGENT_UID -g $AGENT_GID -d /home/agent -m -l agent node
|
|
18276
18276
|
USER \${AGENT_UID}:\${AGENT_GID}
|
|
18277
18277
|
|
|
18278
18278
|
# Install Cursor Agent CLI
|
|
@@ -18356,7 +18356,7 @@ var AGENT_REGISTRY = [
|
|
|
18356
18356
|
{
|
|
18357
18357
|
name: "claude-code",
|
|
18358
18358
|
label: "Claude Code",
|
|
18359
|
-
defaultModel: "claude-opus-4-
|
|
18359
|
+
defaultModel: "claude-opus-4-8",
|
|
18360
18360
|
factoryImport: "claudeCode",
|
|
18361
18361
|
dockerfileTemplate: CLAUDE_CODE_DOCKERFILE,
|
|
18362
18362
|
envExample: `# Claude Code OAuth token \u2014 get one by running \`claude setup-token\` on your host.
|
|
@@ -18814,7 +18814,7 @@ var scaffold = (repoDir, options3) => Effect_exports.gen(function* () {
|
|
|
18814
18814
|
}
|
|
18815
18815
|
return { mainFilename };
|
|
18816
18816
|
});
|
|
18817
|
-
var VERSION = "0.
|
|
18817
|
+
var VERSION = "0.12.0" ;
|
|
18818
18818
|
|
|
18819
18819
|
// src/cli.ts
|
|
18820
18820
|
var imageNameOption = Options_exports.text("image-name").pipe(
|