@aayambansal/squint 0.2.8 → 0.3.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.
@@ -3,7 +3,7 @@ import {
3
3
  COMMANDS,
4
4
  commandHelp,
5
5
  completeCommand
6
- } from "./chunk-YTO2YRF7.js";
6
+ } from "./chunk-CFWKEIJJ.js";
7
7
  export {
8
8
  COMMANDS,
9
9
  commandHelp,
@@ -10,10 +10,11 @@ import {
10
10
  probeRuntime,
11
11
  routeShotName,
12
12
  runtimeSummary
13
- } from "./chunk-CHZE3UHK.js";
14
- import "./chunk-B7LOERSP.js";
15
- import "./chunk-BWZFACBT.js";
16
- import "./chunk-OC6RU6XH.js";
13
+ } from "./chunk-RQFFAJFE.js";
14
+ import "./chunk-IMDRXXFU.js";
15
+ import "./chunk-KVYGPLWW.js";
16
+ import "./chunk-QEENJGCL.js";
17
+ import "./chunk-O2S6PAJE.js";
17
18
  export {
18
19
  VIEWPORTS,
19
20
  buildReviewPrompt,
@@ -5,7 +5,7 @@ import {
5
5
  findBinary,
6
6
  findEngineBinary,
7
7
  getEngine
8
- } from "./chunk-BWZFACBT.js";
8
+ } from "./chunk-KVYGPLWW.js";
9
9
  export {
10
10
  detectEngines,
11
11
  engines,
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runAgent
4
- } from "./chunk-C7WKNJG6.js";
5
- import "./chunk-BWZFACBT.js";
4
+ } from "./chunk-VH7OOFQP.js";
5
+ import "./chunk-KVYGPLWW.js";
6
6
  export {
7
7
  runAgent
8
8
  };
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ applySandbox,
4
+ discardSandbox,
5
+ openSandbox,
6
+ sandboxDiffStat,
7
+ sandboxDir,
8
+ sandboxExists,
9
+ sandboxFiles
10
+ } from "./chunk-XEQ6JXXL.js";
11
+ export {
12
+ applySandbox,
13
+ discardSandbox,
14
+ openSandbox,
15
+ sandboxDiffStat,
16
+ sandboxDir,
17
+ sandboxExists,
18
+ sandboxFiles
19
+ };
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ screenshotVariants
4
+ } from "./chunk-F6JZSXEO.js";
5
+ import "./chunk-A64VVTPU.js";
6
+ import "./chunk-VH7OOFQP.js";
7
+ import "./chunk-IMDRXXFU.js";
8
+ import "./chunk-KVYGPLWW.js";
9
+ import "./chunk-P3H4N2EN.js";
10
+ export {
11
+ screenshotVariants
12
+ };
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ clearState,
4
+ ensureSquintIgnore,
5
+ loadState,
6
+ saveState
7
+ } from "./chunk-O2S6PAJE.js";
8
+ export {
9
+ clearState,
10
+ ensureSquintIgnore,
11
+ loadState,
12
+ saveState
13
+ };
@@ -9,9 +9,9 @@ import {
9
9
  runVariants,
10
10
  variantPrompt,
11
11
  variantsRoot
12
- } from "./chunk-X6MDBKED.js";
13
- import "./chunk-C7WKNJG6.js";
14
- import "./chunk-BWZFACBT.js";
12
+ } from "./chunk-A64VVTPU.js";
13
+ import "./chunk-VH7OOFQP.js";
14
+ import "./chunk-KVYGPLWW.js";
15
15
  import "./chunk-P3H4N2EN.js";
16
16
  export {
17
17
  MAX_VARIANTS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aayambansal/squint",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
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",
@@ -49,6 +49,7 @@
49
49
  "dependencies": {
50
50
  "commander": "^15.0.0",
51
51
  "ink": "^7.1.1",
52
+ "ink-picture": "^2.1.0",
52
53
  "picocolors": "^1.1.1",
53
54
  "react": "^19.1.0",
54
55
  "zod": "^4.4.3"
@@ -1,41 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/session/commands.ts
4
- var COMMANDS = [
5
- { name: "dev", args: "[restart|logs]", description: "start/stop the dev server; restart or show recent output" },
6
- { name: "check", description: "run all quality gates (typecheck, lint, test, build)" },
7
- { name: "problems", description: "list open findings from gates, dev server, runtime, a11y" },
8
- { name: "fix", args: "[n]", description: "send all open problems to the engine, or just problem n" },
9
- { name: "shot", description: "screenshot the app at mobile/tablet/desktop" },
10
- { name: "review", args: "[focus]", description: "screenshots + the engine critiques its own rendered work" },
11
- { name: "variants", args: "<2-4> <ask>", description: "parallel design explorations; apply/list/clean" },
12
- { name: "sandbox", args: "[on|diff|apply|discard]", description: "asks accumulate in a shadow worktree until you apply" },
13
- { name: "undo", description: "revert the last ask (files only)" },
14
- { name: "checkpoints", description: "list per-ask checkpoints" },
15
- { name: "restore", args: "<n>", description: "rewind files to before ask n" },
16
- { name: "mode", args: "plan|safe|yolo", description: "how much the engine may do (shift+tab cycles)" },
17
- { name: "engine", args: "<id>", description: "switch backend (new session)" },
18
- { name: "engines", description: "list installed engines with streaming/resume support" },
19
- { name: "model", args: "[name]", description: "model override for the engine" },
20
- { name: "theme", args: "[name]", description: "switch the TUI theme", viewLevel: true },
21
- { name: "copy", description: "copy the last reply to the clipboard" },
22
- { name: "save", description: "export the transcript to .squint/transcripts/" },
23
- { name: "queue", args: "clear", description: "drop queued asks" },
24
- { name: "resume", description: "pick up the previous session for this repo" },
25
- { name: "clear", description: "new session (transcript, totals, persisted state)" },
26
- { name: "help", description: "list commands" },
27
- { name: "quit", description: "exit with a session summary" }
28
- ];
29
- function completeCommand(partial) {
30
- const query = partial.toLowerCase();
31
- return COMMANDS.filter((c) => c.name.startsWith(query));
32
- }
33
- function commandHelp() {
34
- return COMMANDS.map((c) => `/${c.name}${c.args ? ` ${c.args}` : ""} \u2014 ${c.description}`).join("\n");
35
- }
36
-
37
- export {
38
- COMMANDS,
39
- completeCommand,
40
- commandHelp
41
- };
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- screenshotVariants
4
- } from "./chunk-5VKUJPOL.js";
5
- import "./chunk-X6MDBKED.js";
6
- import "./chunk-C7WKNJG6.js";
7
- import "./chunk-B7LOERSP.js";
8
- import "./chunk-BWZFACBT.js";
9
- import "./chunk-P3H4N2EN.js";
10
- export {
11
- screenshotVariants
12
- };