@aayambansal/squint 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -2
  2. package/package.json +9 -9
package/dist/cli.js CHANGED
@@ -51,7 +51,7 @@ var ConfigSchema = z.object({
51
51
  /** Default engine id (claude, codex, gemini, opencode, amp, cursor, copilot, aider). */
52
52
  engine: z.string().optional(),
53
53
  /** Per-engine model overrides, e.g. { claude: "claude-sonnet-5" }. */
54
- models: z.record(z.string()).optional(),
54
+ models: z.record(z.string(), z.string()).optional(),
55
55
  /** Start the project's dev server automatically when the TUI opens. */
56
56
  autoDev: z.boolean().optional(),
57
57
  /** Automatically send dev-server errors back to the engine (max 2 attempts). */
@@ -651,7 +651,7 @@ ${result.a11y.slice(0, 5).join("\n")}`);
651
651
 
652
652
  // src/cli.tsx
653
653
  import { jsx as jsx3 } from "react/jsx-runtime";
654
- var VERSION = "0.1.1";
654
+ var VERSION = "0.1.2";
655
655
  var program = new Command();
656
656
  program.name("squint").description("Lovable for your terminal \u2014 a frontend harness on top of Claude Code, Codex, and friends.").version(VERSION);
657
657
  program.command("run").description("Run one prompt headlessly and stream the result").argument("<prompt...>", "what to build or change").option("-e, --engine <id>", "engine to use (claude, codex, gemini, opencode)").option("-m, --model <name>", "model override for the engine").option("--no-brief", "send the prompt without the squint design brief").option("--json", "emit normalized agent events as ndjson").action(
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aayambansal/squint",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Lovable for your terminal — a frontend harness on top of Claude Code, Codex, and other coding agents.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
- "author": "Aayam Bansal <aayambansal@gmail.com>",
7
+ "author": "Aayam Bansal",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/aayambansal/squint.git"
@@ -36,7 +36,7 @@
36
36
  "dist"
37
37
  ],
38
38
  "engines": {
39
- "node": ">=20"
39
+ "node": ">=22"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsup",
@@ -47,17 +47,17 @@
47
47
  "prepublishOnly": "npm run check"
48
48
  },
49
49
  "dependencies": {
50
- "commander": "^13.1.0",
51
- "ink": "^6.0.0",
50
+ "commander": "^15.0.0",
51
+ "ink": "^7.1.1",
52
52
  "picocolors": "^1.1.1",
53
53
  "react": "^19.1.0",
54
- "zod": "^3.25.0"
54
+ "zod": "^4.4.3"
55
55
  },
56
56
  "devDependencies": {
57
- "@types/node": "^22.15.0",
57
+ "@types/node": "^26.1.1",
58
58
  "@types/react": "^19.1.0",
59
59
  "tsup": "^8.4.0",
60
- "typescript": "^5.8.0",
61
- "vitest": "^3.1.0"
60
+ "typescript": "^7.0.2",
61
+ "vitest": "^4.1.10"
62
62
  }
63
63
  }