santree 0.2.14 → 0.2.15

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.
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export declare const description = "Launch Claude to work on current ticket";
3
3
  export declare const options: z.ZodObject<{
4
4
  plan: z.ZodOptional<z.ZodBoolean>;
5
- "context-file": z.ZodOptional<z.ZodString>;
5
+ contextFile: z.ZodOptional<z.ZodString>;
6
6
  }, z.core.$strip>;
7
7
  type Props = {
8
8
  options: z.infer<typeof options>;
@@ -10,7 +10,7 @@ import { getSessionId, setSessionId } from "../../lib/git.js";
10
10
  export const description = "Launch Claude to work on current ticket";
11
11
  export const options = z.object({
12
12
  plan: z.boolean().optional().describe("Only create implementation plan"),
13
- "context-file": z
13
+ contextFile: z
14
14
  .string()
15
15
  .optional()
16
16
  .describe("Path to a file whose contents are appended to the prompt as extra context"),
@@ -28,7 +28,7 @@ export default function Work({ options }) {
28
28
  const [error, setError] = useState(null);
29
29
  const [mode] = useState(options.plan ? "plan" : "implement");
30
30
  const [aiContext, setAiContext] = useState(null);
31
- const contextFilePath = options["context-file"];
31
+ const contextFilePath = options.contextFile;
32
32
  useEffect(() => {
33
33
  async function init() {
34
34
  // Small delay to allow spinner to render
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "santree",
3
- "version": "0.2.14",
3
+ "version": "0.2.15",
4
4
  "description": "Git worktree manager",
5
5
  "license": "MIT",
6
6
  "author": "Santiago Toscanini",