agnostic-prompt-aps 1.1.1__py3-none-any.whl → 1.1.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agnostic-prompt-aps
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: CLI to install and manage the Agnostic Prompt Standard (APS) skill and platform templates.
5
5
  Author: Agnostic Prompt Standard contributors
6
6
  License: Apache-2.0
@@ -1,8 +1,8 @@
1
- agnostic_prompt_aps-1.1.1.dist-info/licenses/LICENSE,sha256=ZnrdsR9KFRBGUrA3oci51kC6Ky7bOEiN38fzODJIz8w,10744
2
- aps_cli/__init__.py,sha256=TLfu50qd6_cjsVGgMQTZ7-wUNHcod8NKjEnZIRL3ozM,49
3
- aps_cli/cli.py,sha256=5Af-7oXu6yC7ZPIqgj_kcJZMTnbKi1EtZ8-IzvNTxmM,10549
1
+ agnostic_prompt_aps-1.1.2.dist-info/licenses/LICENSE,sha256=ZnrdsR9KFRBGUrA3oci51kC6Ky7bOEiN38fzODJIz8w,10744
2
+ aps_cli/__init__.py,sha256=spFIzMNaxv0RDC_CJqDwuWy-I926FQlntQheC3s5_fI,49
3
+ aps_cli/cli.py,sha256=l92OIvCH30DzSiUsSbaLAEMYEsD5N2KMDJPYNsgFRcU,10699
4
4
  aps_cli/core.py,sha256=tC39TZ--50jd-3yZtiO49LM4PKMtDhDWUW7frfeWPvU,4685
5
- aps_cli/payload/agnostic-prompt-standard/SKILL.md,sha256=2GokcpD_uSnozLfQY7yy3-tgBHVbXxYTlwzh9I48aOM,3299
5
+ aps_cli/payload/agnostic-prompt-standard/SKILL.md,sha256=oArglfqVFU-2KXuwwE2J8GgQLkHjb5GONirwyyjDKuY,3299
6
6
  aps_cli/payload/agnostic-prompt-standard/assets/agents/vscode-agent-v1.0.0.agent.md,sha256=n9xqDqewZYamiV0mLq_VUCODwj_c5ab7rSUDTS_zVIU,6324
7
7
  aps_cli/payload/agnostic-prompt-standard/assets/constants/constants-json-block-v1.0.0.example.md,sha256=5p7OzBxfZuTHOTengwUlHlId8OuUDC2tIc_onqDarAA,309
8
8
  aps_cli/payload/agnostic-prompt-standard/assets/constants/constants-text-block-v1.0.0.example.md,sha256=JHIO0ph7Pa1eBUyoqn8rYmtNivVADJD1K1uOllEY5GM,454
@@ -35,8 +35,8 @@ aps_cli/payload/agnostic-prompt-standard/references/04-schemas-and-types.md,sha2
35
35
  aps_cli/payload/agnostic-prompt-standard/references/05-grammar.md,sha256=j-JXRRfvHpJAITVaD2iLhIECfPMlh63KhU8pSIe05FE,4910
36
36
  aps_cli/payload/agnostic-prompt-standard/references/06-logging-and-privacy.md,sha256=38jq2KiJaMxbYQl5b6-6cd-9n9u30Dp9XpdCvJ00cAk,753
37
37
  aps_cli/payload/agnostic-prompt-standard/references/07-error-taxonomy.md,sha256=DiZDOl3rzL2QxuvOOzuIvafbOyfse0l-zJL83HncOYw,5266
38
- agnostic_prompt_aps-1.1.1.dist-info/METADATA,sha256=vb2pHiEwjdeFhPGbsi1X4KjyL9h1vtvFxVYvL05kIeE,1419
39
- agnostic_prompt_aps-1.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- agnostic_prompt_aps-1.1.1.dist-info/entry_points.txt,sha256=WR_5Zx75_BlZmXLVb0mxcF1uegbl73weOMDOL7ISkDA,40
41
- agnostic_prompt_aps-1.1.1.dist-info/top_level.txt,sha256=ZH6TKm_OpENvlmI63-Fqi10WFhuYf_hMAspRwxQmK6Y,8
42
- agnostic_prompt_aps-1.1.1.dist-info/RECORD,,
38
+ agnostic_prompt_aps-1.1.2.dist-info/METADATA,sha256=-9vHkv6jLNeWRGoAjxti_HP1lREvMSx0QPJs3gVFgUQ,1419
39
+ agnostic_prompt_aps-1.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ agnostic_prompt_aps-1.1.2.dist-info/entry_points.txt,sha256=9XoKSiznWmXDN_0YibQhOg24yu-MvD6Zf5yLG2ZteyM,41
41
+ agnostic_prompt_aps-1.1.2.dist-info/top_level.txt,sha256=ZH6TKm_OpENvlmI63-Fqi10WFhuYf_hMAspRwxQmK6Y,8
42
+ agnostic_prompt_aps-1.1.2.dist-info/RECORD,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ aps = aps_cli.cli:main
aps_cli/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  __all__ = ["__version__"]
2
2
 
3
- __version__ = "1.1.1"
3
+ __version__ = "1.1.2"
aps_cli/cli.py CHANGED
@@ -74,6 +74,20 @@ def init(
74
74
  chosen_templates_root: Optional[Path] = None
75
75
 
76
76
  if not yes and is_tty():
77
+ # Platform selection (first, so platform choice can inform installation location)
78
+ if not platform:
79
+ platforms = load_platforms(payload_skill_dir)
80
+ choices = [questionary.Choice(title="None (skill only)", value="none")]
81
+ if inferred_platform:
82
+ choices.insert(0, questionary.Choice(title=f"Auto-detected: {inferred_platform}", value=inferred_platform))
83
+ for p in platforms:
84
+ if p.platform_id == inferred_platform:
85
+ continue
86
+ choices.append(questionary.Choice(title=f"{p.display_name} ({p.platform_id})", value=p.platform_id))
87
+
88
+ platform_id = questionary.select("Select a platform adapter to apply:", choices=choices, default=inferred_platform or "none").ask()
89
+ assert isinstance(platform_id, str)
90
+
77
91
  # Scope
78
92
  if not (repo or personal):
79
93
  install_scope = questionary.select(
@@ -97,20 +111,7 @@ def init(
97
111
  root_answer = questionary.text("Workspace root path:", default=str(workspace_root)).ask()
98
112
  workspace_root = Path(str(root_answer)).expanduser().resolve()
99
113
 
100
- # Platform selection
101
- if not platform:
102
- platforms = load_platforms(payload_skill_dir)
103
- choices = [questionary.Choice(title="None (skill only)", value="none")]
104
- if inferred_platform:
105
- choices.insert(0, questionary.Choice(title=f"Auto-detected: {inferred_platform}", value=inferred_platform))
106
- for p in platforms:
107
- if p.platform_id == inferred_platform:
108
- continue
109
- choices.append(questionary.Choice(title=f"{p.display_name} ({p.platform_id})", value=p.platform_id))
110
-
111
- platform_id = questionary.select("Select a platform adapter to apply:", choices=choices, default=inferred_platform or "none").ask()
112
- assert isinstance(platform_id, str)
113
-
114
+ # Extras (templates)
114
115
  install_templates = False
115
116
  if platform_id != "none":
116
117
  install_templates = questionary.confirm("Apply platform templates to the workspace?", default=True).ask()
@@ -246,5 +247,10 @@ def version():
246
247
  console.print(__version__)
247
248
 
248
249
 
249
- if __name__ == "__main__":
250
+ def main():
251
+ """Entry point for the CLI."""
250
252
  app()
253
+
254
+
255
+ if __name__ == "__main__":
256
+ main()
@@ -5,7 +5,7 @@ license: Apache-2.0
5
5
  metadata:
6
6
  authors: "Christopher Buckley; Juan Burckhardt; Anastasiya Smirnova"
7
7
  spec_version: "1.0"
8
- framework_revision: "1.1.1"
8
+ framework_revision: "1.1.2"
9
9
  last_updated: "2026-01-15"
10
10
  ---
11
11
 
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- aps = aps_cli.cli:app