hatch-xclam 0.7.0.dev12__py3-none-any.whl → 0.7.1__py3-none-any.whl

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 (87) hide show
  1. hatch/cli_hatch.py +120 -18
  2. hatch/mcp_host_config/__init__.py +4 -2
  3. hatch/mcp_host_config/backup.py +62 -31
  4. hatch/mcp_host_config/models.py +125 -1
  5. hatch/mcp_host_config/strategies.py +268 -1
  6. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.1.dist-info}/METADATA +41 -32
  7. hatch_xclam-0.7.1.dist-info/RECORD +105 -0
  8. hatch_xclam-0.7.1.dist-info/top_level.txt +2 -0
  9. tests/integration/__init__.py +5 -0
  10. tests/integration/test_mcp_kiro_integration.py +153 -0
  11. tests/regression/__init__.py +5 -0
  12. tests/regression/test_mcp_codex_backup_integration.py +162 -0
  13. tests/regression/test_mcp_codex_host_strategy.py +163 -0
  14. tests/regression/test_mcp_codex_model_validation.py +117 -0
  15. tests/regression/test_mcp_kiro_backup_integration.py +241 -0
  16. tests/regression/test_mcp_kiro_cli_integration.py +141 -0
  17. tests/regression/test_mcp_kiro_decorator_registration.py +71 -0
  18. tests/regression/test_mcp_kiro_host_strategy.py +214 -0
  19. tests/regression/test_mcp_kiro_model_validation.py +116 -0
  20. tests/regression/test_mcp_kiro_omni_conversion.py +104 -0
  21. tests/test_data_utils.py +108 -0
  22. tests/test_mcp_cli_all_host_specific_args.py +194 -1
  23. tests/test_mcp_cli_direct_management.py +8 -5
  24. hatch_xclam-0.7.0.dev12.dist-info/RECORD +0 -152
  25. hatch_xclam-0.7.0.dev12.dist-info/top_level.txt +0 -3
  26. node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -45
  27. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -365
  28. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -206
  29. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1272
  30. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1547
  31. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -59
  32. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -152
  33. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -270
  34. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -574
  35. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -704
  36. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -709
  37. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -173
  38. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -169
  39. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -113
  40. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -55
  41. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  42. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +0 -805
  43. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1172
  44. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +0 -1319
  45. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +0 -128
  46. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -104
  47. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -462
  48. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -89
  49. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  50. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2745
  51. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3976
  52. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -44
  53. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2965
  54. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -67
  55. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1391
  56. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -26
  57. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -3112
  58. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -99
  59. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -767
  60. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -1260
  61. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -174
  62. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +0 -61
  63. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -373
  64. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1939
  65. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +0 -54
  66. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +0 -303
  67. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -3196
  68. node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -65
  69. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +0 -15
  70. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +0 -108
  71. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +0 -252
  72. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +0 -83
  73. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +0 -359
  74. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +0 -61
  75. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +0 -192
  76. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/markers.py +0 -252
  77. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +0 -825
  78. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  79. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +0 -90
  80. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +0 -1030
  81. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/tags.py +0 -553
  82. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/utils.py +0 -172
  83. node_modules/npm/node_modules/node-gyp/gyp/pylib/packaging/version.py +0 -563
  84. node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py +0 -261
  85. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.1.dist-info}/WHEEL +0 -0
  86. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.1.dist-info}/entry_points.txt +0 -0
  87. {hatch_xclam-0.7.0.dev12.dist-info → hatch_xclam-0.7.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,89 +0,0 @@
1
- # Copyright (c) 2011 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """gypd output module
6
-
7
- This module produces gyp input as its output. Output files are given the
8
- .gypd extension to avoid overwriting the .gyp files that they are generated
9
- from. Internal references to .gyp files (such as those found in
10
- "dependencies" sections) are not adjusted to point to .gypd files instead;
11
- unlike other paths, which are relative to the .gyp or .gypd file, such paths
12
- are relative to the directory from which gyp was run to create the .gypd file.
13
-
14
- This generator module is intended to be a sample and a debugging aid, hence
15
- the "d" for "debug" in .gypd. It is useful to inspect the results of the
16
- various merges, expansions, and conditional evaluations performed by gyp
17
- and to see a representation of what would be fed to a generator module.
18
-
19
- It's not advisable to rename .gypd files produced by this module to .gyp,
20
- because they will have all merges, expansions, and evaluations already
21
- performed and the relevant constructs not present in the output; paths to
22
- dependencies may be wrong; and various sections that do not belong in .gyp
23
- files such as such as "included_files" and "*_excluded" will be present.
24
- Output will also be stripped of comments. This is not intended to be a
25
- general-purpose gyp pretty-printer; for that, you probably just want to
26
- run "pprint.pprint(eval(open('source.gyp').read()))", which will still strip
27
- comments but won't do all of the other things done to this module's output.
28
-
29
- The specific formatting of the output generated by this module is subject
30
- to change.
31
- """
32
-
33
-
34
- import pprint
35
-
36
- import gyp.common
37
-
38
- # These variables should just be spit back out as variable references.
39
- _generator_identity_variables = [
40
- "CONFIGURATION_NAME",
41
- "EXECUTABLE_PREFIX",
42
- "EXECUTABLE_SUFFIX",
43
- "INTERMEDIATE_DIR",
44
- "LIB_DIR",
45
- "PRODUCT_DIR",
46
- "RULE_INPUT_ROOT",
47
- "RULE_INPUT_DIRNAME",
48
- "RULE_INPUT_EXT",
49
- "RULE_INPUT_NAME",
50
- "RULE_INPUT_PATH",
51
- "SHARED_INTERMEDIATE_DIR",
52
- "SHARED_LIB_DIR",
53
- "SHARED_LIB_PREFIX",
54
- "SHARED_LIB_SUFFIX",
55
- "STATIC_LIB_PREFIX",
56
- "STATIC_LIB_SUFFIX",
57
- ]
58
-
59
- # gypd doesn't define a default value for OS like many other generator
60
- # modules. Specify "-D OS=whatever" on the command line to provide a value.
61
- generator_default_variables = {}
62
-
63
- # gypd supports multiple toolsets
64
- generator_supports_multiple_toolsets = True
65
-
66
- # TODO(mark): This always uses <, which isn't right. The input module should
67
- # notify the generator to tell it which phase it is operating in, and this
68
- # module should use < for the early phase and then switch to > for the late
69
- # phase. Bonus points for carrying @ back into the output too.
70
- for v in _generator_identity_variables:
71
- generator_default_variables[v] = "<(%s)" % v
72
-
73
-
74
- def GenerateOutput(target_list, target_dicts, data, params):
75
- output_files = {}
76
- for qualified_target in target_list:
77
- [input_file, target] = gyp.common.ParseQualifiedTarget(qualified_target)[0:2]
78
-
79
- if input_file[-4:] != ".gyp":
80
- continue
81
- input_file_stem = input_file[:-4]
82
- output_file = input_file_stem + params["options"].suffix + ".gypd"
83
-
84
- output_files[output_file] = output_files.get(output_file, input_file)
85
-
86
- for output_file, input_file in output_files.items():
87
- output = open(output_file, "w")
88
- pprint.pprint(data[input_file], output)
89
- output.close()
@@ -1,56 +0,0 @@
1
- # Copyright (c) 2011 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- """gypsh output module
6
-
7
- gypsh is a GYP shell. It's not really a generator per se. All it does is
8
- fire up an interactive Python session with a few local variables set to the
9
- variables passed to the generator. Like gypd, it's intended as a debugging
10
- aid, to facilitate the exploration of .gyp structures after being processed
11
- by the input module.
12
-
13
- The expected usage is "gyp -f gypsh -D OS=desired_os".
14
- """
15
-
16
-
17
- import code
18
- import sys
19
-
20
- # All of this stuff about generator variables was lovingly ripped from gypd.py.
21
- # That module has a much better description of what's going on and why.
22
- _generator_identity_variables = [
23
- "EXECUTABLE_PREFIX",
24
- "EXECUTABLE_SUFFIX",
25
- "INTERMEDIATE_DIR",
26
- "PRODUCT_DIR",
27
- "RULE_INPUT_ROOT",
28
- "RULE_INPUT_DIRNAME",
29
- "RULE_INPUT_EXT",
30
- "RULE_INPUT_NAME",
31
- "RULE_INPUT_PATH",
32
- "SHARED_INTERMEDIATE_DIR",
33
- ]
34
-
35
- generator_default_variables = {}
36
-
37
- for v in _generator_identity_variables:
38
- generator_default_variables[v] = "<(%s)" % v
39
-
40
-
41
- def GenerateOutput(target_list, target_dicts, data, params):
42
- locals = {
43
- "target_list": target_list,
44
- "target_dicts": target_dicts,
45
- "data": data,
46
- }
47
-
48
- # Use a banner that looks like the stock Python one and like what
49
- # code.interact uses by default, but tack on something to indicate what
50
- # locals are available, and identify gypsh.
51
- banner = (
52
- f"Python {sys.version} on {sys.platform}\nlocals.keys() = "
53
- f"{sorted(locals.keys())!r}\ngypsh"
54
- )
55
-
56
- code.interact(banner, local=locals)