@procedures/git 0.33.0 → 0.35.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@procedures/git",
4
- "version": "0.33.0",
4
+ "version": "0.35.0",
5
5
  "description": "Git as 45 typed procedures: status, diff, log, show, blame, commit, push, pull, branch, tag, merge, rebase, worktree, stash and more, run with argv, async and abortable.",
6
6
  "keywords": [
7
7
  "git",
@@ -60,9 +60,9 @@
60
60
  "procedures": "./dist/register.js"
61
61
  },
62
62
  "dependencies": {
63
- "@procedures/client": "0.33.0",
64
- "@procedures/fs": "0.33.0",
65
- "@procedures/shell": "0.33.0",
63
+ "@procedures/client": "0.35.0",
64
+ "@procedures/fs": "0.35.0",
65
+ "@procedures/shell": "0.35.0",
66
66
  "zod": "^4.6.5"
67
67
  },
68
68
  "devDependencies": {
package/src/module.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * This file is referenced by package.json's client.procedures field.
8
8
  */
9
9
 
10
- import { createProcedure, zodAdapter, defineModule, type AnyProcedure, type Effects, type FsRootRules, type ProcedureContext, type ProcedureModule, PROCEDURE_REGISTRY, registerModules, type ProcedureRegistry } from "@procedures/client";
10
+ import { createProcedure, defineModule, type AnyProcedure, type Effects, type FsRootRules, type ProcedureContext, type ProcedureModule, PROCEDURE_REGISTRY, registerModules, type ProcedureRegistry } from "@procedures/client";
11
11
  import { underGitRoot } from "./procedures/git/root.js";
12
12
  import { gitStatus } from "./procedures/git/status.js";
13
13
  import { gitAdd } from "./procedures/git/add.js";
@@ -299,8 +299,8 @@ function underARoot(procedure: AnyProcedure): AnyProcedure {
299
299
 
300
300
  const gitStatusProcedure = createProcedure()
301
301
  .path(["git", "status"])
302
- .input(zodAdapter<GitStatusInput>(GitStatusInputSchema))
303
- .output(zodAdapter<GitStatusOutput>(GitStatusOutputSchema))
302
+ .input(GitStatusInputSchema)
303
+ .output(GitStatusOutputSchema)
304
304
  .meta({
305
305
  description: "Get git status",
306
306
  args: ["paths"],
@@ -315,8 +315,8 @@ const gitStatusProcedure = createProcedure()
315
315
 
316
316
  const gitAddProcedure = createProcedure()
317
317
  .path(["git", "add"])
318
- .input(zodAdapter<GitAddInput>(GitAddInputSchema))
319
- .output(zodAdapter<GitAddOutput>(GitAddOutputSchema))
318
+ .input(GitAddInputSchema)
319
+ .output(GitAddOutputSchema)
320
320
  .meta({
321
321
  description: "Stage files",
322
322
  args: ["paths"],
@@ -331,8 +331,8 @@ const gitAddProcedure = createProcedure()
331
331
 
332
332
  const gitCommitProcedure = createProcedure()
333
333
  .path(["git", "commit"])
334
- .input(zodAdapter<GitCommitInput>(GitCommitInputSchema))
335
- .output(zodAdapter<GitCommitOutput>(GitCommitOutputSchema))
334
+ .input(GitCommitInputSchema)
335
+ .output(GitCommitOutputSchema)
336
336
  .meta({
337
337
  description: "Create commit",
338
338
  args: ["message"],
@@ -348,8 +348,8 @@ const gitCommitProcedure = createProcedure()
348
348
 
349
349
  const gitPushProcedure = createProcedure()
350
350
  .path(["git", "push"])
351
- .input(zodAdapter<GitPushInput>(GitPushInputSchema))
352
- .output(zodAdapter<GitPushOutput>(GitPushOutputSchema))
351
+ .input(GitPushInputSchema)
352
+ .output(GitPushOutputSchema)
353
353
  .meta({
354
354
  description: "Push to remote",
355
355
  args: [],
@@ -365,8 +365,8 @@ const gitPushProcedure = createProcedure()
365
365
 
366
366
  const gitPullProcedure = createProcedure()
367
367
  .path(["git", "pull"])
368
- .input(zodAdapter<GitPullInput>(GitPullInputSchema))
369
- .output(zodAdapter<GitPullOutput>(GitPullOutputSchema))
368
+ .input(GitPullInputSchema)
369
+ .output(GitPullOutputSchema)
370
370
  .meta({
371
371
  description: "Pull from remote",
372
372
  args: [],
@@ -382,8 +382,8 @@ const gitPullProcedure = createProcedure()
382
382
 
383
383
  const gitCloneProcedure = createProcedure()
384
384
  .path(["git", "clone"])
385
- .input(zodAdapter<GitCloneInput>(GitCloneInputSchema))
386
- .output(zodAdapter<GitCloneOutput>(GitCloneOutputSchema))
385
+ .input(GitCloneInputSchema)
386
+ .output(GitCloneOutputSchema)
387
387
  .meta({
388
388
  description: "Clone repository",
389
389
  args: ["url"],
@@ -399,8 +399,8 @@ const gitCloneProcedure = createProcedure()
399
399
 
400
400
  const gitCheckoutProcedure = createProcedure()
401
401
  .path(["git", "checkout"])
402
- .input(zodAdapter<GitCheckoutInput>(GitCheckoutInputSchema))
403
- .output(zodAdapter<GitCheckoutOutput>(GitCheckoutOutputSchema))
402
+ .input(GitCheckoutInputSchema)
403
+ .output(GitCheckoutOutputSchema)
404
404
  .meta({
405
405
  description: "Checkout branch or files",
406
406
  args: ["ref"],
@@ -416,8 +416,8 @@ const gitCheckoutProcedure = createProcedure()
416
416
 
417
417
  const gitBranchProcedure = createProcedure()
418
418
  .path(["git", "branch"])
419
- .input(zodAdapter<GitBranchInput>(GitBranchInputSchema))
420
- .output(zodAdapter<GitBranchOutput>(GitBranchOutputSchema))
419
+ .input(GitBranchInputSchema)
420
+ .output(GitBranchOutputSchema)
421
421
  .meta({
422
422
  description: "Deprecated: use git.branch.list, git.branch.add or git.branch.delete. Branch operations",
423
423
  // Roadmap R40: it stays for one release, and calls the code of the three new procedures
@@ -436,8 +436,8 @@ const gitBranchProcedure = createProcedure()
436
436
 
437
437
  const gitLogProcedure = createProcedure()
438
438
  .path(["git", "log"])
439
- .input(zodAdapter<GitLogInput>(GitLogInputSchema))
440
- .output(zodAdapter<GitLogOutput>(GitLogOutputSchema))
439
+ .input(GitLogInputSchema)
440
+ .output(GitLogOutputSchema)
441
441
  .meta({
442
442
  description: "Show commit log",
443
443
  args: [],
@@ -452,8 +452,8 @@ const gitLogProcedure = createProcedure()
452
452
 
453
453
  const gitDiffProcedure = createProcedure()
454
454
  .path(["git", "diff"])
455
- .input(zodAdapter<GitDiffInput>(GitDiffInputSchema))
456
- .output(zodAdapter<GitDiffOutput>(GitDiffOutputSchema))
455
+ .input(GitDiffInputSchema)
456
+ .output(GitDiffOutputSchema)
457
457
  .meta({
458
458
  description: "Show changes",
459
459
  args: [],
@@ -469,8 +469,8 @@ const gitDiffProcedure = createProcedure()
469
469
 
470
470
  const gitInitProcedure = createProcedure()
471
471
  .path(["git", "init"])
472
- .input(zodAdapter<GitInitInput>(GitInitInputSchema))
473
- .output(zodAdapter<GitInitOutput>(GitInitOutputSchema))
472
+ .input(GitInitInputSchema)
473
+ .output(GitInitOutputSchema)
474
474
  .meta({
475
475
  description: "Initialize a git repository",
476
476
  args: [],
@@ -486,8 +486,8 @@ const gitInitProcedure = createProcedure()
486
486
 
487
487
  const gitRemoteProcedure = createProcedure()
488
488
  .path(["git", "remote"])
489
- .input(zodAdapter<GitRemoteInput>(GitRemoteInputSchema))
490
- .output(zodAdapter<GitRemoteOutput>(GitRemoteOutputSchema))
489
+ .input(GitRemoteInputSchema)
490
+ .output(GitRemoteOutputSchema)
491
491
  .meta({
492
492
  description: "Get the URL of a remote",
493
493
  args: [],
@@ -502,8 +502,8 @@ const gitRemoteProcedure = createProcedure()
502
502
 
503
503
  const gitRemoteSetProcedure = createProcedure()
504
504
  .path(["git", "remote", "set"])
505
- .input(zodAdapter<GitRemoteSetInput>(GitRemoteSetInputSchema))
506
- .output(zodAdapter<GitRemoteOutput>(GitRemoteOutputSchema))
505
+ .input(GitRemoteSetInputSchema)
506
+ .output(GitRemoteOutputSchema)
507
507
  .meta({
508
508
  description: "Set the URL of a remote, or add the remote",
509
509
  args: ["url"],
@@ -519,8 +519,8 @@ const gitRemoteSetProcedure = createProcedure()
519
519
 
520
520
  const gitFetchProcedure = createProcedure()
521
521
  .path(["git", "fetch"])
522
- .input(zodAdapter<GitFetchInput>(GitFetchInputSchema))
523
- .output(zodAdapter<GitFetchOutput>(GitFetchOutputSchema))
522
+ .input(GitFetchInputSchema)
523
+ .output(GitFetchOutputSchema)
524
524
  .meta({
525
525
  description: "Fetch from remote",
526
526
  args: [],
@@ -540,8 +540,8 @@ const gitFetchProcedure = createProcedure()
540
540
 
541
541
  const gitHasChangesProcedure = createProcedure()
542
542
  .path(["git", "hasChanges"])
543
- .input(zodAdapter<GitPredicateInput>(GitPredicateInputSchema))
544
- .output(zodAdapter<GitPredicateOutput>(GitPredicateOutputSchema))
543
+ .input(GitPredicateInputSchema)
544
+ .output(GitPredicateOutputSchema)
545
545
  .meta({
546
546
  description: "Check if there are any changes (unstaged, staged, or untracked)",
547
547
  args: [],
@@ -556,8 +556,8 @@ const gitHasChangesProcedure = createProcedure()
556
556
 
557
557
  const gitHasStagedChangesProcedure = createProcedure()
558
558
  .path(["git", "hasStagedChanges"])
559
- .input(zodAdapter<GitPredicateInput>(GitPredicateInputSchema))
560
- .output(zodAdapter<GitPredicateOutput>(GitPredicateOutputSchema))
559
+ .input(GitPredicateInputSchema)
560
+ .output(GitPredicateOutputSchema)
561
561
  .meta({
562
562
  description: "Check if there are any staged changes ready to commit",
563
563
  args: [],
@@ -572,8 +572,8 @@ const gitHasStagedChangesProcedure = createProcedure()
572
572
 
573
573
  const gitHasUnstagedChangesProcedure = createProcedure()
574
574
  .path(["git", "hasUnstagedChanges"])
575
- .input(zodAdapter<GitPredicateInput>(GitPredicateInputSchema))
576
- .output(zodAdapter<GitPredicateOutput>(GitPredicateOutputSchema))
575
+ .input(GitPredicateInputSchema)
576
+ .output(GitPredicateOutputSchema)
577
577
  .meta({
578
578
  description: "Check if there are any unstaged changes",
579
579
  args: [],
@@ -588,8 +588,8 @@ const gitHasUnstagedChangesProcedure = createProcedure()
588
588
 
589
589
  const gitHasUntrackedFilesProcedure = createProcedure()
590
590
  .path(["git", "hasUntrackedFiles"])
591
- .input(zodAdapter<GitPredicateInput>(GitPredicateInputSchema))
592
- .output(zodAdapter<GitPredicateOutput>(GitPredicateOutputSchema))
591
+ .input(GitPredicateInputSchema)
592
+ .output(GitPredicateOutputSchema)
593
593
  .meta({
594
594
  description: "Check if there are any untracked files",
595
595
  args: [],
@@ -604,8 +604,8 @@ const gitHasUntrackedFilesProcedure = createProcedure()
604
604
 
605
605
  const gitHasLocalCommitsProcedure = createProcedure()
606
606
  .path(["git", "hasLocalCommits"])
607
- .input(zodAdapter<GitPredicateInput>(GitPredicateInputSchema))
608
- .output(zodAdapter<GitPredicateOutput>(GitPredicateOutputSchema))
607
+ .input(GitPredicateInputSchema)
608
+ .output(GitPredicateOutputSchema)
609
609
  .meta({
610
610
  description: "Check if there are local commits that haven't been pushed",
611
611
  args: [],
@@ -621,8 +621,8 @@ const gitHasLocalCommitsProcedure = createProcedure()
621
621
 
622
622
  const gitIsCleanProcedure = createProcedure()
623
623
  .path(["git", "isClean"])
624
- .input(zodAdapter<GitPredicateInput>(GitPredicateInputSchema))
625
- .output(zodAdapter<GitPredicateOutput>(GitPredicateOutputSchema))
624
+ .input(GitPredicateInputSchema)
625
+ .output(GitPredicateOutputSchema)
626
626
  .meta({
627
627
  description: "Check if the working directory is clean",
628
628
  args: [],
@@ -641,8 +641,8 @@ const gitIsCleanProcedure = createProcedure()
641
641
 
642
642
  const gitStashListProcedure = createProcedure()
643
643
  .path(["git", "stash", "list"])
644
- .input(zodAdapter<GitStashListInput>(GitStashListInputSchema))
645
- .output(zodAdapter<GitStashListOutput>(GitStashListOutputSchema))
644
+ .input(GitStashListInputSchema)
645
+ .output(GitStashListOutputSchema)
646
646
  .meta({
647
647
  description: "List all stashes",
648
648
  args: [],
@@ -657,8 +657,8 @@ const gitStashListProcedure = createProcedure()
657
657
 
658
658
  const gitStashPushProcedure = createProcedure()
659
659
  .path(["git", "stash", "push"])
660
- .input(zodAdapter<GitStashPushInput>(GitStashPushInputSchema))
661
- .output(zodAdapter<GitStashPushOutput>(GitStashPushOutputSchema))
660
+ .input(GitStashPushInputSchema)
661
+ .output(GitStashPushOutputSchema)
662
662
  .meta({
663
663
  description: "Push changes to stash",
664
664
  args: ["message"],
@@ -674,8 +674,8 @@ const gitStashPushProcedure = createProcedure()
674
674
 
675
675
  const gitStashPopProcedure = createProcedure()
676
676
  .path(["git", "stash", "pop"])
677
- .input(zodAdapter<GitStashPopInput>(GitStashPopInputSchema))
678
- .output(zodAdapter<GitStashPopOutput>(GitStashPopOutputSchema))
677
+ .input(GitStashPopInputSchema)
678
+ .output(GitStashPopOutputSchema)
679
679
  .meta({
680
680
  description: "Pop stash (apply and remove)",
681
681
  args: [],
@@ -690,8 +690,8 @@ const gitStashPopProcedure = createProcedure()
690
690
 
691
691
  const gitStashApplyProcedure = createProcedure()
692
692
  .path(["git", "stash", "apply"])
693
- .input(zodAdapter<GitStashApplyInput>(GitStashApplyInputSchema))
694
- .output(zodAdapter<GitStashApplyOutput>(GitStashApplyOutputSchema))
693
+ .input(GitStashApplyInputSchema)
694
+ .output(GitStashApplyOutputSchema)
695
695
  .meta({
696
696
  description: "Apply stash without removing",
697
697
  args: [],
@@ -706,8 +706,8 @@ const gitStashApplyProcedure = createProcedure()
706
706
 
707
707
  const gitStashDropProcedure = createProcedure()
708
708
  .path(["git", "stash", "drop"])
709
- .input(zodAdapter<GitStashDropInput>(GitStashDropInputSchema))
710
- .output(zodAdapter<GitStashDropOutput>(GitStashDropOutputSchema))
709
+ .input(GitStashDropInputSchema)
710
+ .output(GitStashDropOutputSchema)
711
711
  .meta({
712
712
  description: "Drop a stash",
713
713
  args: [],
@@ -722,8 +722,8 @@ const gitStashDropProcedure = createProcedure()
722
722
 
723
723
  const gitStashExportProcedure = createProcedure()
724
724
  .path(["git", "stash", "export"])
725
- .input(zodAdapter<GitStashExportInput>(GitStashExportInputSchema))
726
- .output(zodAdapter<GitStashExportOutput>(GitStashExportOutputSchema))
725
+ .input(GitStashExportInputSchema)
726
+ .output(GitStashExportOutputSchema)
727
727
  .meta({
728
728
  description: "Export stash as patch for snapshot storage",
729
729
  args: [],
@@ -738,8 +738,8 @@ const gitStashExportProcedure = createProcedure()
738
738
 
739
739
  const gitStashImportProcedure = createProcedure()
740
740
  .path(["git", "stash", "import"])
741
- .input(zodAdapter<GitStashImportInput>(GitStashImportInputSchema))
742
- .output(zodAdapter<GitStashImportOutput>(GitStashImportOutputSchema))
741
+ .input(GitStashImportInputSchema)
742
+ .output(GitStashImportOutputSchema)
743
743
  .meta({
744
744
  description: "Import stash from patch",
745
745
  args: ["patch"],
@@ -768,8 +768,8 @@ const DELETES: Effects = { reads: ["fs"], writes: ["fs"], destructive: true, ide
768
768
 
769
769
  const gitShowProcedure = createProcedure()
770
770
  .path(["git", "show"])
771
- .input(zodAdapter<GitShowInput>(GitShowInputSchema))
772
- .output(zodAdapter<GitShowOutput>(GitShowOutputSchema))
771
+ .input(GitShowInputSchema)
772
+ .output(GitShowOutputSchema)
773
773
  .meta({
774
774
  description: "Show a commit (its fields, files and diff), or a file at a commit",
775
775
  args: ["ref"],
@@ -782,8 +782,8 @@ const gitShowProcedure = createProcedure()
782
782
 
783
783
  const gitBlameProcedure = createProcedure()
784
784
  .path(["git", "blame"])
785
- .input(zodAdapter<GitBlameInput>(GitBlameInputSchema))
786
- .output(zodAdapter<GitBlameOutput>(GitBlameOutputSchema))
785
+ .input(GitBlameInputSchema)
786
+ .output(GitBlameOutputSchema)
787
787
  .meta({
788
788
  description: "Show the commit and the author of each line of a file",
789
789
  args: ["path"],
@@ -796,8 +796,8 @@ const gitBlameProcedure = createProcedure()
796
796
 
797
797
  const gitTagListProcedure = createProcedure()
798
798
  .path(["git", "tag", "list"])
799
- .input(zodAdapter<GitTagListInput>(GitTagListInputSchema))
800
- .output(zodAdapter<GitTagListOutput>(GitTagListOutputSchema))
799
+ .input(GitTagListInputSchema)
800
+ .output(GitTagListOutputSchema)
801
801
  .meta({
802
802
  description: "List the tags, with their commits",
803
803
  args: ["pattern"],
@@ -810,8 +810,8 @@ const gitTagListProcedure = createProcedure()
810
810
 
811
811
  const gitTagAddProcedure = createProcedure()
812
812
  .path(["git", "tag", "add"])
813
- .input(zodAdapter<GitTagAddInput>(GitTagAddInputSchema))
814
- .output(zodAdapter<GitTagAddOutput>(GitTagAddOutputSchema))
813
+ .input(GitTagAddInputSchema)
814
+ .output(GitTagAddOutputSchema)
815
815
  .meta({
816
816
  description: "Make a tag. With a message, the tag is annotated. An existing tag is an error",
817
817
  args: ["name", "ref"],
@@ -824,8 +824,8 @@ const gitTagAddProcedure = createProcedure()
824
824
 
825
825
  const gitTagDeleteProcedure = createProcedure()
826
826
  .path(["git", "tag", "delete"])
827
- .input(zodAdapter<GitTagDeleteInput>(GitTagDeleteInputSchema))
828
- .output(zodAdapter<GitTagDeleteOutput>(GitTagDeleteOutputSchema))
827
+ .input(GitTagDeleteInputSchema)
828
+ .output(GitTagDeleteOutputSchema)
829
829
  .meta({
830
830
  description: "Delete a tag",
831
831
  args: ["name"],
@@ -838,8 +838,8 @@ const gitTagDeleteProcedure = createProcedure()
838
838
 
839
839
  const gitRevParseProcedure = createProcedure()
840
840
  .path(["git", "revParse"])
841
- .input(zodAdapter<GitRevParseInput>(GitRevParseInputSchema))
842
- .output(zodAdapter<GitRevParseOutput>(GitRevParseOutputSchema))
841
+ .input(GitRevParseInputSchema)
842
+ .output(GitRevParseOutputSchema)
843
843
  .meta({
844
844
  description: "Give the hash or the short name of a ref. An unknown ref is an error",
845
845
  args: ["ref"],
@@ -852,8 +852,8 @@ const gitRevParseProcedure = createProcedure()
852
852
 
853
853
  const gitResetProcedure = createProcedure()
854
854
  .path(["git", "reset"])
855
- .input(zodAdapter<GitResetInput>(GitResetInputSchema))
856
- .output(zodAdapter<GitResetOutput>(GitResetOutputSchema))
855
+ .input(GitResetInputSchema)
856
+ .output(GitResetOutputSchema)
857
857
  .meta({
858
858
  description: "Move HEAD to a commit, and reset the index (mixed) or also the working tree (hard)",
859
859
  args: ["ref"],
@@ -868,8 +868,8 @@ const gitResetProcedure = createProcedure()
868
868
 
869
869
  const gitRestoreProcedure = createProcedure()
870
870
  .path(["git", "restore"])
871
- .input(zodAdapter<GitRestoreInput>(GitRestoreInputSchema))
872
- .output(zodAdapter<GitRestoreOutput>(GitRestoreOutputSchema))
871
+ .input(GitRestoreInputSchema)
872
+ .output(GitRestoreOutputSchema)
873
873
  .meta({
874
874
  description: "Restore files of the working tree or the index. The changes of the files are lost",
875
875
  args: ["paths"],
@@ -883,8 +883,8 @@ const gitRestoreProcedure = createProcedure()
883
883
 
884
884
  const gitMergeProcedure = createProcedure()
885
885
  .path(["git", "merge"])
886
- .input(zodAdapter<GitMergeInput>(GitMergeInputSchema))
887
- .output(zodAdapter<GitMergeOutput>(GitMergeOutputSchema))
886
+ .input(GitMergeInputSchema)
887
+ .output(GitMergeOutputSchema)
888
888
  .meta({
889
889
  description: "Merge a branch or a commit into the current branch. Conflicts give conflict: true",
890
890
  args: ["ref"],
@@ -898,8 +898,8 @@ const gitMergeProcedure = createProcedure()
898
898
 
899
899
  const gitMergeAbortProcedure = createProcedure()
900
900
  .path(["git", "merge", "abort"])
901
- .input(zodAdapter<GitMergeAbortInput>(GitMergeAbortInputSchema))
902
- .output(zodAdapter<GitMergeAbortOutput>(GitMergeAbortOutputSchema))
901
+ .input(GitMergeAbortInputSchema)
902
+ .output(GitMergeAbortOutputSchema)
903
903
  .meta({
904
904
  description: "Stop a merge that has conflicts, and put back the state before it",
905
905
  args: [],
@@ -913,8 +913,8 @@ const gitMergeAbortProcedure = createProcedure()
913
913
 
914
914
  const gitRebaseProcedure = createProcedure()
915
915
  .path(["git", "rebase"])
916
- .input(zodAdapter<GitRebaseInput>(GitRebaseInputSchema))
917
- .output(zodAdapter<GitRebaseOutput>(GitRebaseOutputSchema))
916
+ .input(GitRebaseInputSchema)
917
+ .output(GitRebaseOutputSchema)
918
918
  .meta({
919
919
  description: "Rebase the current branch on another branch (not interactive). Conflicts give conflict: true",
920
920
  args: ["upstream"],
@@ -928,8 +928,8 @@ const gitRebaseProcedure = createProcedure()
928
928
 
929
929
  const gitRebaseContinueProcedure = createProcedure()
930
930
  .path(["git", "rebase", "continue"])
931
- .input(zodAdapter<GitRebaseContinueInput>(GitRebaseContinueInputSchema))
932
- .output(zodAdapter<GitRebaseContinueOutput>(GitRebaseContinueOutputSchema))
931
+ .input(GitRebaseContinueInputSchema)
932
+ .output(GitRebaseContinueOutputSchema)
933
933
  .meta({
934
934
  description: "Continue a rebase after the conflicts are resolved and staged",
935
935
  args: [],
@@ -942,8 +942,8 @@ const gitRebaseContinueProcedure = createProcedure()
942
942
 
943
943
  const gitRebaseAbortProcedure = createProcedure()
944
944
  .path(["git", "rebase", "abort"])
945
- .input(zodAdapter<GitRebaseAbortInput>(GitRebaseAbortInputSchema))
946
- .output(zodAdapter<GitRebaseAbortOutput>(GitRebaseAbortOutputSchema))
945
+ .input(GitRebaseAbortInputSchema)
946
+ .output(GitRebaseAbortOutputSchema)
947
947
  .meta({
948
948
  description: "Stop a rebase, and go back to the branch as it was before the rebase",
949
949
  args: [],
@@ -957,8 +957,8 @@ const gitRebaseAbortProcedure = createProcedure()
957
957
 
958
958
  const gitWorktreeListProcedure = createProcedure()
959
959
  .path(["git", "worktree", "list"])
960
- .input(zodAdapter<GitWorktreeListInput>(GitWorktreeListInputSchema))
961
- .output(zodAdapter<GitWorktreeListOutput>(GitWorktreeListOutputSchema))
960
+ .input(GitWorktreeListInputSchema)
961
+ .output(GitWorktreeListOutputSchema)
962
962
  .meta({
963
963
  description: "List the working trees of the repository",
964
964
  args: [],
@@ -971,8 +971,8 @@ const gitWorktreeListProcedure = createProcedure()
971
971
 
972
972
  const gitWorktreeAddProcedure = createProcedure()
973
973
  .path(["git", "worktree", "add"])
974
- .input(zodAdapter<GitWorktreeAddInput>(GitWorktreeAddInputSchema))
975
- .output(zodAdapter<GitWorktreeAddOutput>(GitWorktreeAddOutputSchema))
974
+ .input(GitWorktreeAddInputSchema)
975
+ .output(GitWorktreeAddOutputSchema)
976
976
  .meta({
977
977
  description: "Add a working tree in a new folder",
978
978
  args: ["path", "ref"],
@@ -986,8 +986,8 @@ const gitWorktreeAddProcedure = createProcedure()
986
986
 
987
987
  const gitWorktreeRemoveProcedure = createProcedure()
988
988
  .path(["git", "worktree", "remove"])
989
- .input(zodAdapter<GitWorktreeRemoveInput>(GitWorktreeRemoveInputSchema))
990
- .output(zodAdapter<GitWorktreeRemoveOutput>(GitWorktreeRemoveOutputSchema))
989
+ .input(GitWorktreeRemoveInputSchema)
990
+ .output(GitWorktreeRemoveOutputSchema)
991
991
  .meta({
992
992
  description: "Remove a working tree and its folder",
993
993
  args: ["path"],
@@ -1001,8 +1001,8 @@ const gitWorktreeRemoveProcedure = createProcedure()
1001
1001
 
1002
1002
  const gitBranchListProcedure = createProcedure()
1003
1003
  .path(["git", "branch", "list"])
1004
- .input(zodAdapter<GitBranchListInput>(GitBranchListInputSchema))
1005
- .output(zodAdapter<GitBranchListOutput>(GitBranchListOutputSchema))
1004
+ .input(GitBranchListInputSchema)
1005
+ .output(GitBranchListOutputSchema)
1006
1006
  .meta({
1007
1007
  description: "List the branches, and give the current branch",
1008
1008
  args: [],
@@ -1015,8 +1015,8 @@ const gitBranchListProcedure = createProcedure()
1015
1015
 
1016
1016
  const gitBranchAddProcedure = createProcedure()
1017
1017
  .path(["git", "branch", "add"])
1018
- .input(zodAdapter<GitBranchAddInput>(GitBranchAddInputSchema))
1019
- .output(zodAdapter<GitBranchAddOutput>(GitBranchAddOutputSchema))
1018
+ .input(GitBranchAddInputSchema)
1019
+ .output(GitBranchAddOutputSchema)
1020
1020
  .meta({
1021
1021
  description: "Make a branch. An existing branch is an error",
1022
1022
  args: ["name", "startPoint"],
@@ -1029,8 +1029,8 @@ const gitBranchAddProcedure = createProcedure()
1029
1029
 
1030
1030
  const gitBranchDeleteProcedure = createProcedure()
1031
1031
  .path(["git", "branch", "delete"])
1032
- .input(zodAdapter<GitBranchDeleteInput>(GitBranchDeleteInputSchema))
1033
- .output(zodAdapter<GitBranchDeleteOutput>(GitBranchDeleteOutputSchema))
1032
+ .input(GitBranchDeleteInputSchema)
1033
+ .output(GitBranchDeleteOutputSchema)
1034
1034
  .meta({
1035
1035
  description: "Delete a branch. With force, also a branch that is not merged",
1036
1036
  args: ["name"],