centy 0.0.27 → 0.0.29

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 (47) hide show
  1. package/bin/run +9 -0
  2. package/bin/run.cmd +8 -0
  3. package/bin/run.js +1 -1
  4. package/dist/commands/list/projects.d.ts +1 -0
  5. package/dist/commands/list/projects.d.ts.map +1 -1
  6. package/dist/commands/list/projects.js +6 -0
  7. package/dist/commands/list/projects.js.map +1 -1
  8. package/dist/commands/workspace/cleanup.d.ts +10 -0
  9. package/dist/commands/workspace/cleanup.d.ts.map +1 -0
  10. package/dist/commands/workspace/cleanup.js +31 -0
  11. package/dist/commands/workspace/cleanup.js.map +1 -0
  12. package/dist/commands/workspace/close.d.ts +16 -0
  13. package/dist/commands/workspace/close.d.ts.map +1 -0
  14. package/dist/commands/workspace/close.js +49 -0
  15. package/dist/commands/workspace/close.js.map +1 -0
  16. package/dist/commands/workspace/list.d.ts +15 -0
  17. package/dist/commands/workspace/list.d.ts.map +1 -0
  18. package/dist/commands/workspace/list.js +67 -0
  19. package/dist/commands/workspace/list.js.map +1 -0
  20. package/dist/commands/workspace/open.d.ts +19 -0
  21. package/dist/commands/workspace/open.d.ts.map +1 -0
  22. package/dist/commands/workspace/open.js +76 -0
  23. package/dist/commands/workspace/open.js.map +1 -0
  24. package/dist/daemon/daemon-cleanup-expired-workspaces.d.ts +6 -0
  25. package/dist/daemon/daemon-cleanup-expired-workspaces.d.ts.map +1 -0
  26. package/dist/daemon/daemon-cleanup-expired-workspaces.js +17 -0
  27. package/dist/daemon/daemon-cleanup-expired-workspaces.js.map +1 -0
  28. package/dist/daemon/daemon-close-temp-workspace.d.ts +6 -0
  29. package/dist/daemon/daemon-close-temp-workspace.d.ts.map +1 -0
  30. package/dist/daemon/daemon-close-temp-workspace.js +17 -0
  31. package/dist/daemon/daemon-close-temp-workspace.js.map +1 -0
  32. package/dist/daemon/daemon-list-temp-workspaces.d.ts +6 -0
  33. package/dist/daemon/daemon-list-temp-workspaces.d.ts.map +1 -0
  34. package/dist/daemon/daemon-list-temp-workspaces.js +17 -0
  35. package/dist/daemon/daemon-list-temp-workspaces.js.map +1 -0
  36. package/dist/daemon/daemon-open-in-temp-vscode.d.ts +6 -0
  37. package/dist/daemon/daemon-open-in-temp-vscode.d.ts.map +1 -0
  38. package/dist/daemon/daemon-open-in-temp-vscode.js +17 -0
  39. package/dist/daemon/daemon-open-in-temp-vscode.js.map +1 -0
  40. package/dist/daemon/load-proto.d.ts +5 -1
  41. package/dist/daemon/load-proto.d.ts.map +1 -1
  42. package/dist/daemon/load-proto.js.map +1 -1
  43. package/dist/daemon/types.d.ts +54 -0
  44. package/dist/daemon/types.d.ts.map +1 -1
  45. package/oclif.manifest.json +290 -107
  46. package/package.json +2 -2
  47. package/proto/centy.proto +265 -48
@@ -2587,6 +2587,7 @@
2587
2587
  "<%= config.bin %> list projects",
2588
2588
  "<%= config.bin %> list projects --include-stale",
2589
2589
  "<%= config.bin %> list projects --include-uninitialized",
2590
+ "<%= config.bin %> list projects --include-temp",
2590
2591
  "<%= config.bin %> list projects --org centy-io",
2591
2592
  "<%= config.bin %> list projects --ungrouped",
2592
2593
  "<%= config.bin %> list projects --json"
@@ -2604,6 +2605,12 @@
2604
2605
  "allowNo": false,
2605
2606
  "type": "boolean"
2606
2607
  },
2608
+ "include-temp": {
2609
+ "description": "Include projects in system temp directory",
2610
+ "name": "include-temp",
2611
+ "allowNo": false,
2612
+ "type": "boolean"
2613
+ },
2607
2614
  "org": {
2608
2615
  "description": "Filter by organization slug",
2609
2616
  "name": "org",
@@ -2761,112 +2768,6 @@
2761
2768
  "users.js"
2762
2769
  ]
2763
2770
  },
2764
- "move:doc": {
2765
- "aliases": [],
2766
- "args": {
2767
- "slug": {
2768
- "description": "Doc slug",
2769
- "name": "slug",
2770
- "required": true
2771
- }
2772
- },
2773
- "description": "Move a doc to a different project",
2774
- "examples": [
2775
- "<%= config.bin %> move doc my-doc --to /path/to/target/project",
2776
- "<%= config.bin %> move doc readme --to ../other-project --new-slug new-readme",
2777
- "<%= config.bin %> move doc api-guide --to ~/projects/target --project ./source"
2778
- ],
2779
- "flags": {
2780
- "to": {
2781
- "char": "t",
2782
- "description": "Target project path",
2783
- "name": "to",
2784
- "required": true,
2785
- "hasDynamicHelp": false,
2786
- "multiple": false,
2787
- "type": "option"
2788
- },
2789
- "new-slug": {
2790
- "char": "s",
2791
- "description": "New slug for the doc (if slug already exists in target)",
2792
- "name": "new-slug",
2793
- "hasDynamicHelp": false,
2794
- "multiple": false,
2795
- "type": "option"
2796
- },
2797
- "project": {
2798
- "description": "Project name or path (defaults to current directory)",
2799
- "name": "project",
2800
- "hasDynamicHelp": false,
2801
- "multiple": false,
2802
- "type": "option"
2803
- }
2804
- },
2805
- "hasDynamicHelp": false,
2806
- "hiddenAliases": [],
2807
- "id": "move:doc",
2808
- "pluginAlias": "centy",
2809
- "pluginName": "centy",
2810
- "pluginType": "core",
2811
- "strict": true,
2812
- "enableJsonFlag": false,
2813
- "isESM": true,
2814
- "relativePath": [
2815
- "dist",
2816
- "commands",
2817
- "move",
2818
- "doc.js"
2819
- ]
2820
- },
2821
- "move:issue": {
2822
- "aliases": [],
2823
- "args": {
2824
- "id": {
2825
- "description": "Issue ID (UUID) or display number",
2826
- "name": "id",
2827
- "required": true
2828
- }
2829
- },
2830
- "description": "Move an issue to a different project",
2831
- "examples": [
2832
- "<%= config.bin %> move issue 1 --to /path/to/target/project",
2833
- "<%= config.bin %> move issue abc123-uuid --to ../other-project",
2834
- "<%= config.bin %> move issue 5 --to ~/projects/target --project ./source"
2835
- ],
2836
- "flags": {
2837
- "to": {
2838
- "char": "t",
2839
- "description": "Target project path",
2840
- "name": "to",
2841
- "required": true,
2842
- "hasDynamicHelp": false,
2843
- "multiple": false,
2844
- "type": "option"
2845
- },
2846
- "project": {
2847
- "description": "Project name or path (defaults to current directory)",
2848
- "name": "project",
2849
- "hasDynamicHelp": false,
2850
- "multiple": false,
2851
- "type": "option"
2852
- }
2853
- },
2854
- "hasDynamicHelp": false,
2855
- "hiddenAliases": [],
2856
- "id": "move:issue",
2857
- "pluginAlias": "centy",
2858
- "pluginName": "centy",
2859
- "pluginType": "core",
2860
- "strict": true,
2861
- "enableJsonFlag": false,
2862
- "isESM": true,
2863
- "relativePath": [
2864
- "dist",
2865
- "commands",
2866
- "move",
2867
- "issue.js"
2868
- ]
2869
- },
2870
2771
  "project:archive": {
2871
2772
  "aliases": [],
2872
2773
  "args": {
@@ -3105,6 +3006,112 @@
3105
3006
  "project.js"
3106
3007
  ]
3107
3008
  },
3009
+ "move:doc": {
3010
+ "aliases": [],
3011
+ "args": {
3012
+ "slug": {
3013
+ "description": "Doc slug",
3014
+ "name": "slug",
3015
+ "required": true
3016
+ }
3017
+ },
3018
+ "description": "Move a doc to a different project",
3019
+ "examples": [
3020
+ "<%= config.bin %> move doc my-doc --to /path/to/target/project",
3021
+ "<%= config.bin %> move doc readme --to ../other-project --new-slug new-readme",
3022
+ "<%= config.bin %> move doc api-guide --to ~/projects/target --project ./source"
3023
+ ],
3024
+ "flags": {
3025
+ "to": {
3026
+ "char": "t",
3027
+ "description": "Target project path",
3028
+ "name": "to",
3029
+ "required": true,
3030
+ "hasDynamicHelp": false,
3031
+ "multiple": false,
3032
+ "type": "option"
3033
+ },
3034
+ "new-slug": {
3035
+ "char": "s",
3036
+ "description": "New slug for the doc (if slug already exists in target)",
3037
+ "name": "new-slug",
3038
+ "hasDynamicHelp": false,
3039
+ "multiple": false,
3040
+ "type": "option"
3041
+ },
3042
+ "project": {
3043
+ "description": "Project name or path (defaults to current directory)",
3044
+ "name": "project",
3045
+ "hasDynamicHelp": false,
3046
+ "multiple": false,
3047
+ "type": "option"
3048
+ }
3049
+ },
3050
+ "hasDynamicHelp": false,
3051
+ "hiddenAliases": [],
3052
+ "id": "move:doc",
3053
+ "pluginAlias": "centy",
3054
+ "pluginName": "centy",
3055
+ "pluginType": "core",
3056
+ "strict": true,
3057
+ "enableJsonFlag": false,
3058
+ "isESM": true,
3059
+ "relativePath": [
3060
+ "dist",
3061
+ "commands",
3062
+ "move",
3063
+ "doc.js"
3064
+ ]
3065
+ },
3066
+ "move:issue": {
3067
+ "aliases": [],
3068
+ "args": {
3069
+ "id": {
3070
+ "description": "Issue ID (UUID) or display number",
3071
+ "name": "id",
3072
+ "required": true
3073
+ }
3074
+ },
3075
+ "description": "Move an issue to a different project",
3076
+ "examples": [
3077
+ "<%= config.bin %> move issue 1 --to /path/to/target/project",
3078
+ "<%= config.bin %> move issue abc123-uuid --to ../other-project",
3079
+ "<%= config.bin %> move issue 5 --to ~/projects/target --project ./source"
3080
+ ],
3081
+ "flags": {
3082
+ "to": {
3083
+ "char": "t",
3084
+ "description": "Target project path",
3085
+ "name": "to",
3086
+ "required": true,
3087
+ "hasDynamicHelp": false,
3088
+ "multiple": false,
3089
+ "type": "option"
3090
+ },
3091
+ "project": {
3092
+ "description": "Project name or path (defaults to current directory)",
3093
+ "name": "project",
3094
+ "hasDynamicHelp": false,
3095
+ "multiple": false,
3096
+ "type": "option"
3097
+ }
3098
+ },
3099
+ "hasDynamicHelp": false,
3100
+ "hiddenAliases": [],
3101
+ "id": "move:issue",
3102
+ "pluginAlias": "centy",
3103
+ "pluginName": "centy",
3104
+ "pluginType": "core",
3105
+ "strict": true,
3106
+ "enableJsonFlag": false,
3107
+ "isESM": true,
3108
+ "relativePath": [
3109
+ "dist",
3110
+ "commands",
3111
+ "move",
3112
+ "issue.js"
3113
+ ]
3114
+ },
3108
3115
  "sync:users": {
3109
3116
  "aliases": [],
3110
3117
  "args": {},
@@ -3735,7 +3742,183 @@
3735
3742
  "update",
3736
3743
  "user.js"
3737
3744
  ]
3745
+ },
3746
+ "workspace:cleanup": {
3747
+ "aliases": [],
3748
+ "args": {},
3749
+ "description": "Cleanup all expired temporary workspaces",
3750
+ "examples": [
3751
+ "<%= config.bin %> workspace cleanup"
3752
+ ],
3753
+ "flags": {},
3754
+ "hasDynamicHelp": false,
3755
+ "hiddenAliases": [],
3756
+ "id": "workspace:cleanup",
3757
+ "pluginAlias": "centy",
3758
+ "pluginName": "centy",
3759
+ "pluginType": "core",
3760
+ "strict": true,
3761
+ "enableJsonFlag": false,
3762
+ "isESM": true,
3763
+ "relativePath": [
3764
+ "dist",
3765
+ "commands",
3766
+ "workspace",
3767
+ "cleanup.js"
3768
+ ]
3769
+ },
3770
+ "workspace:close": {
3771
+ "aliases": [],
3772
+ "args": {
3773
+ "path": {
3774
+ "description": "Path to the workspace to close",
3775
+ "name": "path",
3776
+ "required": true
3777
+ }
3778
+ },
3779
+ "description": "Close and remove a temporary workspace",
3780
+ "examples": [
3781
+ "<%= config.bin %> workspace close /tmp/centy-workspace-abc123",
3782
+ "<%= config.bin %> workspace close /tmp/centy-workspace-abc123 --force"
3783
+ ],
3784
+ "flags": {
3785
+ "force": {
3786
+ "char": "f",
3787
+ "description": "Force removal even if VS Code may be open",
3788
+ "name": "force",
3789
+ "allowNo": false,
3790
+ "type": "boolean"
3791
+ }
3792
+ },
3793
+ "hasDynamicHelp": false,
3794
+ "hiddenAliases": [],
3795
+ "id": "workspace:close",
3796
+ "pluginAlias": "centy",
3797
+ "pluginName": "centy",
3798
+ "pluginType": "core",
3799
+ "strict": true,
3800
+ "enableJsonFlag": false,
3801
+ "isESM": true,
3802
+ "relativePath": [
3803
+ "dist",
3804
+ "commands",
3805
+ "workspace",
3806
+ "close.js"
3807
+ ]
3808
+ },
3809
+ "workspace:list": {
3810
+ "aliases": [],
3811
+ "args": {},
3812
+ "description": "List all temporary workspaces",
3813
+ "examples": [
3814
+ "<%= config.bin %> workspace list",
3815
+ "<%= config.bin %> workspace list --include-expired",
3816
+ "<%= config.bin %> workspace list --project ./my-project"
3817
+ ],
3818
+ "flags": {
3819
+ "project": {
3820
+ "description": "Project name or path (defaults to current directory)",
3821
+ "name": "project",
3822
+ "hasDynamicHelp": false,
3823
+ "multiple": false,
3824
+ "type": "option"
3825
+ },
3826
+ "include-expired": {
3827
+ "description": "Include expired workspaces",
3828
+ "name": "include-expired",
3829
+ "allowNo": false,
3830
+ "type": "boolean"
3831
+ },
3832
+ "all": {
3833
+ "description": "Show workspaces from all projects",
3834
+ "name": "all",
3835
+ "allowNo": false,
3836
+ "type": "boolean"
3837
+ }
3838
+ },
3839
+ "hasDynamicHelp": false,
3840
+ "hiddenAliases": [],
3841
+ "id": "workspace:list",
3842
+ "pluginAlias": "centy",
3843
+ "pluginName": "centy",
3844
+ "pluginType": "core",
3845
+ "strict": true,
3846
+ "enableJsonFlag": false,
3847
+ "isESM": true,
3848
+ "relativePath": [
3849
+ "dist",
3850
+ "commands",
3851
+ "workspace",
3852
+ "list.js"
3853
+ ]
3854
+ },
3855
+ "workspace:open": {
3856
+ "aliases": [],
3857
+ "args": {
3858
+ "issueId": {
3859
+ "description": "Issue ID or display number",
3860
+ "name": "issueId",
3861
+ "required": true
3862
+ }
3863
+ },
3864
+ "description": "Open an issue in a temporary VS Code workspace",
3865
+ "examples": [
3866
+ "<%= config.bin %> workspace open 1",
3867
+ "<%= config.bin %> workspace open 1 --action implement",
3868
+ "<%= config.bin %> workspace open abc-123 --ttl 24"
3869
+ ],
3870
+ "flags": {
3871
+ "project": {
3872
+ "description": "Project name or path (defaults to current directory)",
3873
+ "name": "project",
3874
+ "hasDynamicHelp": false,
3875
+ "multiple": false,
3876
+ "type": "option"
3877
+ },
3878
+ "action": {
3879
+ "char": "a",
3880
+ "description": "Action for the AI agent",
3881
+ "name": "action",
3882
+ "default": "plan",
3883
+ "hasDynamicHelp": false,
3884
+ "multiple": false,
3885
+ "options": [
3886
+ "plan",
3887
+ "implement"
3888
+ ],
3889
+ "type": "option"
3890
+ },
3891
+ "ttl": {
3892
+ "description": "Workspace TTL in hours (default: 12)",
3893
+ "name": "ttl",
3894
+ "hasDynamicHelp": false,
3895
+ "multiple": false,
3896
+ "type": "option"
3897
+ },
3898
+ "agent": {
3899
+ "description": "Agent name to use (default: project default)",
3900
+ "name": "agent",
3901
+ "hasDynamicHelp": false,
3902
+ "multiple": false,
3903
+ "type": "option"
3904
+ }
3905
+ },
3906
+ "hasDynamicHelp": false,
3907
+ "hiddenAliases": [],
3908
+ "id": "workspace:open",
3909
+ "pluginAlias": "centy",
3910
+ "pluginName": "centy",
3911
+ "pluginType": "core",
3912
+ "strict": true,
3913
+ "enableJsonFlag": false,
3914
+ "isESM": true,
3915
+ "relativePath": [
3916
+ "dist",
3917
+ "commands",
3918
+ "workspace",
3919
+ "open.js"
3920
+ ]
3738
3921
  }
3739
3922
  },
3740
- "version": "0.0.27"
3923
+ "version": "0.0.29"
3741
3924
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "centy",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "CLI for managing project issues and docs via code in the .centy folder",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "bin": {
9
- "centy": "./bin/run.js"
9
+ "centy": "./bin/run"
10
10
  },
11
11
  "exports": {
12
12
  ".": {