agentlane 0.0.0 → 0.4.0-rc.2
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/CHANGELOG.md +118 -0
- package/LICENSE +27 -0
- package/README.md +167 -2
- package/dist/agents/claude-plugin.js +79 -0
- package/dist/agents/cli.js +258 -0
- package/dist/agents/detect.js +88 -0
- package/dist/agents/init.js +251 -0
- package/dist/agents/launcher.js +32 -0
- package/dist/agents/package.js +119 -0
- package/dist/agents/skills.js +59 -0
- package/dist/agents/toml.js +325 -0
- package/dist/agents/wiring-check.js +117 -0
- package/dist/agents/wiring.js +374 -0
- package/dist/bench/host.js +104 -0
- package/dist/bench/live.js +511 -0
- package/dist/bench/mcp-client.js +91 -0
- package/dist/bench/model.js +15 -0
- package/dist/bench/report.js +162 -0
- package/dist/bench/run.js +121 -0
- package/dist/bench/schedule.js +140 -0
- package/dist/bench/stats.js +59 -0
- package/dist/bench-cli.js +167 -0
- package/dist/browser/aria.js +184 -0
- package/dist/browser/control.js +203 -0
- package/dist/browser/env.js +118 -0
- package/dist/browser/evidence.js +44 -0
- package/dist/browser/install.js +361 -0
- package/dist/browser/kinds.js +10 -0
- package/dist/browser/lane-browser.js +224 -0
- package/dist/browser/libraries.js +56 -0
- package/dist/browser/paths.js +29 -0
- package/dist/browser/release.js +121 -0
- package/dist/browser/screen.js +19 -0
- package/dist/browser/signin.js +154 -0
- package/dist/browser/stop.js +163 -0
- package/dist/browser/tools.js +25 -0
- package/dist/cache/build.js +154 -0
- package/dist/cache/config.js +186 -0
- package/dist/cache/index.js +4 -0
- package/dist/cache/key.js +196 -0
- package/dist/cache/store.js +303 -0
- package/dist/cli.js +178 -0
- package/dist/clock.js +4 -0
- package/dist/devices/adb.js +160 -0
- package/dist/devices/android.js +214 -0
- package/dist/devices/backend.js +7 -0
- package/dist/devices/bundler.js +46 -0
- package/dist/devices/common.js +51 -0
- package/dist/devices/controls.js +65 -0
- package/dist/devices/dial.js +56 -0
- package/dist/devices/emulator.js +396 -0
- package/dist/devices/hygiene.js +202 -0
- package/dist/devices/index.js +5 -0
- package/dist/devices/launch.js +76 -0
- package/dist/devices/simctl.js +119 -0
- package/dist/devices/tools.js +1 -0
- package/dist/devices/variant.js +99 -0
- package/dist/devices/xcrun.js +265 -0
- package/dist/driver/absence.js +54 -0
- package/dist/driver/caller.js +51 -0
- package/dist/driver/client.js +312 -0
- package/dist/driver/diff.js +180 -0
- package/dist/driver/elements.js +70 -0
- package/dist/driver/engine-main.js +13 -0
- package/dist/driver/engine.js +499 -0
- package/dist/driver/errors.js +11 -0
- package/dist/driver/exec.js +66 -0
- package/dist/driver/failure.js +156 -0
- package/dist/driver/flow.js +94 -0
- package/dist/driver/idle.js +100 -0
- package/dist/driver/images.js +68 -0
- package/dist/driver/install.js +272 -0
- package/dist/driver/lock.js +101 -0
- package/dist/driver/look.js +223 -0
- package/dist/driver/maestro-child.js +194 -0
- package/dist/driver/maestro-runs.js +46 -0
- package/dist/driver/paths.js +105 -0
- package/dist/driver/pixels.js +144 -0
- package/dist/driver/plan.js +108 -0
- package/dist/driver/release.js +7 -0
- package/dist/driver/runner.js +42 -0
- package/dist/driver/selector.js +91 -0
- package/dist/driver/session.js +474 -0
- package/dist/driver/suggest.js +86 -0
- package/dist/driver/supervisor.js +251 -0
- package/dist/driver/tree.js +426 -0
- package/dist/driver-cli.js +865 -0
- package/dist/evidence/device.js +177 -0
- package/dist/evidence/evidence.js +304 -0
- package/dist/evidence/files.js +92 -0
- package/dist/hooks/env.js +81 -0
- package/dist/hooks/run.js +101 -0
- package/dist/mcp/server.js +69 -0
- package/dist/mcp/tools.js +246 -0
- package/dist/name.js +22 -0
- package/dist/plugin/aims.js +465 -0
- package/dist/plugin/conventions.js +73 -0
- package/dist/plugin/guard.js +163 -0
- package/dist/plugin/hook-cli.js +216 -0
- package/dist/plugin/session-name.js +28 -0
- package/dist/plugin/shell.js +254 -0
- package/dist/processes.js +77 -0
- package/dist/project/config.js +316 -0
- package/dist/project/schema.js +335 -0
- package/dist/project/validate.js +224 -0
- package/dist/registry/config.js +142 -0
- package/dist/registry/format.js +22 -0
- package/dist/registry/owner.js +265 -0
- package/dist/registry/paths.js +50 -0
- package/dist/registry/ports.js +26 -0
- package/dist/registry/prune.js +160 -0
- package/dist/registry/refusal.js +53 -0
- package/dist/registry/registry.js +1027 -0
- package/dist/registry/resources.js +117 -0
- package/dist/registry/rows.js +115 -0
- package/dist/registry/status.js +85 -0
- package/dist/registry/store.js +274 -0
- package/dist/registry/types.js +1 -0
- package/dist/registry-cli.js +544 -0
- package/dist/services/services.js +268 -0
- package/dist/services/system.js +189 -0
- package/dist/up/deps.js +1 -0
- package/dist/up/doctor.js +424 -0
- package/dist/up/exec.js +133 -0
- package/dist/up/lane-files.js +75 -0
- package/dist/up/lane-services.js +38 -0
- package/dist/up/maestro-env.js +172 -0
- package/dist/up/preflight.js +232 -0
- package/dist/up/release.js +148 -0
- package/dist/up/resources.js +178 -0
- package/dist/up/restart.js +87 -0
- package/dist/up/setup.js +28 -0
- package/dist/up/up.js +610 -0
- package/dist/up-cli.js +258 -0
- package/dist/usage.js +16 -0
- package/package.json +58 -3
- package/schema/agentlane.schema.json +675 -0
- package/skills/create-verification-skill/LICENSE +21 -0
- package/skills/create-verification-skill/SKILL.md +88 -0
- package/skills/dev-loop/LICENSE +21 -0
- package/skills/dev-loop/SKILL.md +61 -0
- package/skills/device/SKILL.md +8 -0
- package/skills/drive/SKILL.md +64 -0
- package/skills/maintain-verification-skill/LICENSE +21 -0
- package/skills/maintain-verification-skill/SKILL.md +42 -0
- package/skills/setup/SKILL.md +80 -0
package/dist/up-cli.js
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { parseArgs } from 'node:util';
|
|
2
|
+
import { setupFix } from "./agents/skills.js";
|
|
3
|
+
import { DeviceBackendError } from "./devices/backend.js";
|
|
4
|
+
import { DeviceStateError } from "./devices/common.js";
|
|
5
|
+
import { DeviceCommandError } from "./devices/xcrun.js";
|
|
6
|
+
import { DriverError } from "./driver/errors.js";
|
|
7
|
+
import { HookFailed } from "./hooks/run.js";
|
|
8
|
+
import { CLI, CONFIG_FILE, envName, TOOL } from "./name.js";
|
|
9
|
+
import { findProjectConfig, forPlatform, loadProjectConfig, ProjectConfigError } from "./project/config.js";
|
|
10
|
+
import { PROJECT_PLATFORMS, schemaText } from "./project/schema.js";
|
|
11
|
+
import { shellQuote } from "./registry/format.js";
|
|
12
|
+
import { ownerKey, resolveOwner } from "./registry/owner.js";
|
|
13
|
+
import { stateDir } from "./registry/paths.js";
|
|
14
|
+
import { NotClaimed, Refusal, UsageError } from "./registry/refusal.js";
|
|
15
|
+
import { readRegistryStatus } from "./registry/registry.js";
|
|
16
|
+
import { resolveFolder } from "./registry-cli.js";
|
|
17
|
+
import { ServiceFailed } from "./services/services.js";
|
|
18
|
+
import { laneDir, readUpRecord } from "./up/lane-files.js";
|
|
19
|
+
import { diagnose, renderDoctor } from "./up/doctor.js";
|
|
20
|
+
import { execInLane } from "./up/exec.js";
|
|
21
|
+
import { Unmet } from "./up/preflight.js";
|
|
22
|
+
import { ResourceFailed } from "./up/resources.js";
|
|
23
|
+
import { restart } from "./up/restart.js";
|
|
24
|
+
import { runSetup } from "./up/setup.js";
|
|
25
|
+
import { up } from "./up/up.js";
|
|
26
|
+
import { groupUsage, helpOf } from "./usage.js";
|
|
27
|
+
export const UP_COMMANDS = ['up', 'restart', 'setup', 'exec', 'doctor', 'schema'];
|
|
28
|
+
export const UP_HELP = {
|
|
29
|
+
title: `Environment (reads ${CONFIG_FILE} from this folder or the ones above it):`,
|
|
30
|
+
entries: {
|
|
31
|
+
up: ` up Take this worktree from bare to the running app on its own simulator or emulator,
|
|
32
|
+
or to its web app's services: preflight, claim, setup, resources, build (through the
|
|
33
|
+
build cache), services, hygiene, launch, signin, doctor; a web app skips the device
|
|
34
|
+
steps. Prints shell exports on stdout: eval "$(${TOOL} up)".
|
|
35
|
+
--platform <name> ios, android or web (default: the config's app.platform, or
|
|
36
|
+
web when it declares only a web app)
|
|
37
|
+
--no-setup skip the setup hook (it already ran in this worktree)
|
|
38
|
+
--no-cache build without the build cache
|
|
39
|
+
--refresh-cache build, and replace the cached build
|
|
40
|
+
--timeout <seconds> how long to queue for a simulator (default 600)
|
|
41
|
+
--worktree <dir> the folder to bring up (default: this one)
|
|
42
|
+
--json print the result as JSON instead of exports
|
|
43
|
+
`,
|
|
44
|
+
restart: ` restart Stop one of this lane's services and start it again on the same port, with this
|
|
45
|
+
call's environment: KEY=value ${TOOL} restart api. This is how to change a service's
|
|
46
|
+
environment (a feature switch, an admin toggle, a client gate) without release and up.
|
|
47
|
+
The service gets the lane's variables plus this call's environment, as up gives it;
|
|
48
|
+
a variable passed to up and not to restart is gone. Returns once its ready check
|
|
49
|
+
passes; the lane, the device, the app and every other service stay as they are.
|
|
50
|
+
--worktree <dir> the folder whose lane to use (default: this one)
|
|
51
|
+
--json print the result as JSON
|
|
52
|
+
`,
|
|
53
|
+
setup: ` setup Run the project's setup hook in this worktree, without claiming anything
|
|
54
|
+
(it gets ${envName('WORKTREE')} and the hook locale only).
|
|
55
|
+
--worktree <dir> the folder to set up (default: this one)
|
|
56
|
+
`,
|
|
57
|
+
exec: ` exec Run one command with this lane's environment: ${TOOL} exec -- <command> [args...]
|
|
58
|
+
With a driver block, 'maestro' there is the toolkit's build on this lane's device,
|
|
59
|
+
with JDK 17 and the lane's runner token: ${TOOL} exec -- maestro test <flow.yaml>
|
|
60
|
+
Without one, or with an invalid config or no running device, 'maestro' says why and
|
|
61
|
+
runs nothing.
|
|
62
|
+
`,
|
|
63
|
+
doctor: ` doctor Is this worktree's instance worth driving? Checks the lane, toolchain, device,
|
|
64
|
+
app, launch, services and hygiene, read-only; exit 1 names each fix.
|
|
65
|
+
--platform <name> check the config for ios, android or web, as up --platform builds it;
|
|
66
|
+
a lane holding the other platform's device fails the lane check
|
|
67
|
+
(default: the platform up ran for, else the config's)
|
|
68
|
+
--json print the checks as JSON
|
|
69
|
+
`,
|
|
70
|
+
schema: ` schema Print the JSON Schema of ${CONFIG_FILE}.
|
|
71
|
+
`,
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
export const UP_USAGE = groupUsage(UP_HELP);
|
|
75
|
+
const EXIT_FAILED = 1;
|
|
76
|
+
const EXIT_USAGE = 2;
|
|
77
|
+
const EXIT_REFUSED = 3;
|
|
78
|
+
function cacheMode(noCache, refresh) {
|
|
79
|
+
if (noCache && refresh)
|
|
80
|
+
throw new UsageError('--no-cache and --refresh-cache are exclusive', 'pass one of them');
|
|
81
|
+
if (noCache)
|
|
82
|
+
return 'no-cache';
|
|
83
|
+
return refresh ? 'refresh' : 'use';
|
|
84
|
+
}
|
|
85
|
+
function parseSeconds(raw, flag) {
|
|
86
|
+
const value = Number(raw);
|
|
87
|
+
if (!Number.isFinite(value) || value < 0)
|
|
88
|
+
throw new UsageError(`${flag} ${raw} is not a number of seconds`, `pass ${flag} 600`);
|
|
89
|
+
return value * 1000;
|
|
90
|
+
}
|
|
91
|
+
function parsePlatform(raw) {
|
|
92
|
+
if (raw === undefined)
|
|
93
|
+
return undefined;
|
|
94
|
+
const known = PROJECT_PLATFORMS.find(p => p === raw);
|
|
95
|
+
if (known)
|
|
96
|
+
return known;
|
|
97
|
+
throw new UsageError(`--platform ${raw} is not a platform`, `pass --platform with one of ${PROJECT_PLATFORMS.join(', ')}`);
|
|
98
|
+
}
|
|
99
|
+
function report(error, command, deps) {
|
|
100
|
+
const say = (text) => {
|
|
101
|
+
deps.log(text.startsWith(TOOL) ? text : `${TOOL}: ${text}`);
|
|
102
|
+
};
|
|
103
|
+
if (error instanceof Unmet) {
|
|
104
|
+
say(error.message);
|
|
105
|
+
return EXIT_REFUSED;
|
|
106
|
+
}
|
|
107
|
+
if (error instanceof Refusal || error instanceof NotClaimed) {
|
|
108
|
+
say(error.message);
|
|
109
|
+
return EXIT_REFUSED;
|
|
110
|
+
}
|
|
111
|
+
if (error instanceof ProjectConfigError) {
|
|
112
|
+
say(`${error.message}\nto fix: ${setupFix(`correct those fields ('${CLI} schema' prints the JSON Schema)`)}`);
|
|
113
|
+
return EXIT_USAGE;
|
|
114
|
+
}
|
|
115
|
+
if (error instanceof UsageError) {
|
|
116
|
+
say(error.message);
|
|
117
|
+
return EXIT_USAGE;
|
|
118
|
+
}
|
|
119
|
+
if (error instanceof HookFailed ||
|
|
120
|
+
error instanceof ResourceFailed ||
|
|
121
|
+
error instanceof ServiceFailed ||
|
|
122
|
+
error instanceof DeviceStateError ||
|
|
123
|
+
error instanceof DeviceBackendError ||
|
|
124
|
+
error instanceof DeviceCommandError ||
|
|
125
|
+
error instanceof DriverError) {
|
|
126
|
+
say(error.message);
|
|
127
|
+
if (command === 'up')
|
|
128
|
+
say(`the lane stays: fix this and run ${CLI} up again, or ${CLI} release`);
|
|
129
|
+
return EXIT_FAILED;
|
|
130
|
+
}
|
|
131
|
+
throw error;
|
|
132
|
+
}
|
|
133
|
+
async function runUp(args, deps, stdout) {
|
|
134
|
+
const { values } = parseArgs({
|
|
135
|
+
args,
|
|
136
|
+
strict: true,
|
|
137
|
+
options: {
|
|
138
|
+
'no-setup': { type: 'boolean', default: false },
|
|
139
|
+
'no-cache': { type: 'boolean', default: false },
|
|
140
|
+
'refresh-cache': { type: 'boolean', default: false },
|
|
141
|
+
timeout: { type: 'string', default: '600' },
|
|
142
|
+
worktree: { type: 'string' },
|
|
143
|
+
platform: { type: 'string' },
|
|
144
|
+
json: { type: 'boolean', default: false },
|
|
145
|
+
},
|
|
146
|
+
});
|
|
147
|
+
const platform = parsePlatform(values.platform);
|
|
148
|
+
const result = await up(deps, {
|
|
149
|
+
platform,
|
|
150
|
+
setup: !values['no-setup'],
|
|
151
|
+
cacheMode: cacheMode(values['no-cache'], values['refresh-cache']),
|
|
152
|
+
waitMs: parseSeconds(values.timeout, '--timeout'),
|
|
153
|
+
worktree: values.worktree,
|
|
154
|
+
});
|
|
155
|
+
if (values.json) {
|
|
156
|
+
stdout(`${JSON.stringify({ ...result, lane: { ...result.lane, token: undefined } }, null, 2)}\n`);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
deps.log(renderDoctor(result.doctor).trimEnd());
|
|
160
|
+
deps.log(`${TOOL} up: ${result.doctor.ok ? 'ready' : 'NOT ready'} in ${(result.totalMs / 1000).toFixed(1)} s; logs in ${result.logs}`);
|
|
161
|
+
if (result.url !== null)
|
|
162
|
+
deps.log(`${TOOL} up: the web app is at ${result.url}`);
|
|
163
|
+
for (const [key, value] of Object.entries(result.env))
|
|
164
|
+
stdout(`export ${key}=${shellQuote(value)}\n`);
|
|
165
|
+
}
|
|
166
|
+
return result.doctor.ok ? 0 : EXIT_FAILED;
|
|
167
|
+
}
|
|
168
|
+
async function runRestart(args, deps, stdout) {
|
|
169
|
+
const { values, positionals } = parseArgs({
|
|
170
|
+
args,
|
|
171
|
+
strict: true,
|
|
172
|
+
allowPositionals: true,
|
|
173
|
+
options: { worktree: { type: 'string' }, json: { type: 'boolean', default: false } },
|
|
174
|
+
});
|
|
175
|
+
const result = await restart(deps, positionals, values.worktree);
|
|
176
|
+
if (values.json)
|
|
177
|
+
stdout(`${JSON.stringify(result, null, 2)}\n`);
|
|
178
|
+
else {
|
|
179
|
+
for (const s of result.services) {
|
|
180
|
+
deps.log(`${TOOL} restart: ${s.service}: ${s.stopped}; ${s.started} (${(s.ms / 1000).toFixed(1)} s)`);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return 0;
|
|
184
|
+
}
|
|
185
|
+
async function runDoctor(args, deps, stdout) {
|
|
186
|
+
const { values } = parseArgs({
|
|
187
|
+
args,
|
|
188
|
+
strict: true,
|
|
189
|
+
options: { json: { type: 'boolean', default: false }, platform: { type: 'string' } },
|
|
190
|
+
});
|
|
191
|
+
const asked = parsePlatform(values.platform);
|
|
192
|
+
const folder = resolveFolder(deps.cwd);
|
|
193
|
+
const key = ownerKey(resolveOwner(deps.env, deps.processes, deps.selfPid));
|
|
194
|
+
const state = stateDir(deps.env);
|
|
195
|
+
const status = readRegistryStatus({ dir: state, processes: deps.processes, devices: deps.devices, clock: deps.clock });
|
|
196
|
+
const lane = status.lanes.find(c => c.ownerKey === key && c.worktree === folder.worktree) ?? null;
|
|
197
|
+
let config = null;
|
|
198
|
+
let configProblem = null;
|
|
199
|
+
const record = lane ? readUpRecord(laneDir(state, lane.id)) : null;
|
|
200
|
+
const file = record?.config ?? findProjectConfig(deps.cwd);
|
|
201
|
+
if (!file)
|
|
202
|
+
configProblem = `no ${CONFIG_FILE} in ${deps.cwd} or above it`;
|
|
203
|
+
else {
|
|
204
|
+
try {
|
|
205
|
+
const loaded = loadProjectConfig(file);
|
|
206
|
+
const platform = asked ?? record?.platform ?? lane?.device?.platform;
|
|
207
|
+
config = platform === undefined ? loaded : forPlatform(loaded, platform);
|
|
208
|
+
}
|
|
209
|
+
catch (error) {
|
|
210
|
+
configProblem = error.message;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
const result = await diagnose(deps, {
|
|
214
|
+
config,
|
|
215
|
+
configProblem,
|
|
216
|
+
lane,
|
|
217
|
+
ownerState: lane?.ownerState ?? null,
|
|
218
|
+
folder: folder.worktree,
|
|
219
|
+
platform: asked,
|
|
220
|
+
installed: record?.installed,
|
|
221
|
+
});
|
|
222
|
+
stdout(values.json ? `${JSON.stringify(result, null, 2)}\n` : renderDoctor(result));
|
|
223
|
+
return result.ok ? 0 : EXIT_FAILED;
|
|
224
|
+
}
|
|
225
|
+
export async function runUpCommand(command, args, deps, stdout) {
|
|
226
|
+
try {
|
|
227
|
+
switch (command) {
|
|
228
|
+
case 'up':
|
|
229
|
+
return await runUp(args, deps, stdout);
|
|
230
|
+
case 'restart':
|
|
231
|
+
return await runRestart(args, deps, stdout);
|
|
232
|
+
case 'doctor':
|
|
233
|
+
return await runDoctor(args, deps, stdout);
|
|
234
|
+
case 'setup': {
|
|
235
|
+
const { values } = parseArgs({ args, strict: true, options: { worktree: { type: 'string' } } });
|
|
236
|
+
const result = await runSetup(deps, values.worktree);
|
|
237
|
+
return result.code === 0 ? 0 : EXIT_FAILED;
|
|
238
|
+
}
|
|
239
|
+
case 'exec': {
|
|
240
|
+
const rest = args[0] === '--' ? args.slice(1) : args;
|
|
241
|
+
return await execInLane(deps, rest);
|
|
242
|
+
}
|
|
243
|
+
case 'schema':
|
|
244
|
+
parseArgs({ args, strict: true, options: {} });
|
|
245
|
+
stdout(schemaText());
|
|
246
|
+
return 0;
|
|
247
|
+
default:
|
|
248
|
+
throw new UsageError(`'${command}' is not an environment command`, `run ${TOOL} --help`);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
catch (error) {
|
|
252
|
+
if (error instanceof TypeError && error.code?.startsWith('ERR_PARSE_ARGS')) {
|
|
253
|
+
deps.log(`${TOOL} ${command}: ${error.message}\n\n${helpOf(UP_HELP, command) ?? UP_USAGE}`);
|
|
254
|
+
return EXIT_USAGE;
|
|
255
|
+
}
|
|
256
|
+
return report(error, command, deps);
|
|
257
|
+
}
|
|
258
|
+
}
|
package/dist/usage.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TOOL } from "./name.js";
|
|
2
|
+
export function groupUsage(group) {
|
|
3
|
+
return `${group.title}\n${Object.values(group.entries).join('')}${group.footer ?? ''}`;
|
|
4
|
+
}
|
|
5
|
+
export function commandUsage(group, command) {
|
|
6
|
+
return `Usage: ${TOOL} ${command}\n\n${group.entries[command]}${group.footer ?? ''}`;
|
|
7
|
+
}
|
|
8
|
+
export function helpOf(group, command) {
|
|
9
|
+
return Object.hasOwn(group.entries, command) ? commandUsage(group, command) : null;
|
|
10
|
+
}
|
|
11
|
+
const HELP_FLAGS = new Set(['--help', '-h']);
|
|
12
|
+
export function asksForHelp(command, args) {
|
|
13
|
+
const end = args.indexOf('--');
|
|
14
|
+
const own = command === 'exec' ? args.slice(0, 1) : end === -1 ? args : args.slice(0, end);
|
|
15
|
+
return own.some(arg => HELP_FLAGS.has(arg));
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentlane",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.4.0-rc.2",
|
|
4
|
+
"description": "Gives each coding agent its own lane: a running copy of your app with its own ports, dev servers, database, and a simulator, emulator or browser to drive it.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai-agents",
|
|
7
|
+
"coding-agents",
|
|
8
|
+
"mcp",
|
|
9
|
+
"claude-code",
|
|
10
|
+
"codex",
|
|
11
|
+
"cursor",
|
|
12
|
+
"ios-simulator",
|
|
13
|
+
"android-emulator",
|
|
14
|
+
"playwright",
|
|
15
|
+
"maestro",
|
|
16
|
+
"worktrees",
|
|
17
|
+
"dev-environment"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://north-star-hq.github.io/agentlane/",
|
|
20
|
+
"bugs": "https://github.com/north-star-hq/agentlane/issues",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/north-star-hq/agentlane.git"
|
|
24
|
+
},
|
|
5
25
|
"license": "MIT",
|
|
6
26
|
"author": "North Star",
|
|
7
|
-
"
|
|
27
|
+
"type": "module",
|
|
28
|
+
"bin": {
|
|
29
|
+
"agentlane": "dist/cli.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"schema",
|
|
34
|
+
"skills",
|
|
35
|
+
"CHANGELOG.md"
|
|
36
|
+
],
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=24"
|
|
39
|
+
},
|
|
40
|
+
"packageManager": "pnpm@12.11.2",
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "tsc -p tsconfig.build.json",
|
|
43
|
+
"lint": "eslint . && prettier --check .",
|
|
44
|
+
"lint:sh": "git ls-files -z '*.sh' | xargs -0 -r shellcheck",
|
|
45
|
+
"typecheck": "tsc -p tsconfig.json",
|
|
46
|
+
"test": "node --test 'tests/**/*.test.ts'",
|
|
47
|
+
"schema": "node src/cli.ts schema > schema/agentlane.schema.json",
|
|
48
|
+
"hero": "node scripts/hero/generate.ts",
|
|
49
|
+
"site": "node site/build/build.ts"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@eslint/js": "^10.0.1",
|
|
53
|
+
"@types/node": "^24.19.2",
|
|
54
|
+
"eslint": "^10.12.0",
|
|
55
|
+
"marked": "18.1.1",
|
|
56
|
+
"prettier": "^3.9.10",
|
|
57
|
+
"typescript": "~6.0.3",
|
|
58
|
+
"typescript-eslint": "^8.71.1"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"yaml": "2.9.1"
|
|
62
|
+
}
|
|
8
63
|
}
|