@softspark/ai-toolkit 2.0.2 → 2.1.1

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 (42) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +143 -774
  3. package/app/ARCHITECTURE.md +1 -1
  4. package/app/plugins/README.md +6 -2
  5. package/app/skills/plugin-creator/SKILL.md +3 -4
  6. package/bin/ai-toolkit.js +34 -10
  7. package/kb/procedures/maintenance-sop.md +64 -16
  8. package/kb/procedures/release-preparation-sop.md +4 -2
  9. package/kb/procedures/release-verification-sop.md +15 -13
  10. package/kb/reference/architecture-overview.md +44 -5
  11. package/kb/reference/claude-ecosystem-expansion-foundations.md +4 -4
  12. package/kb/reference/cli-reference.md +135 -0
  13. package/kb/reference/codex-cli-compatibility.md +136 -0
  14. package/kb/reference/comparison.md +29 -0
  15. package/kb/reference/extension-api.md +23 -6
  16. package/kb/reference/global-install-model.md +62 -5
  17. package/kb/reference/mcp-editor-compatibility.md +62 -0
  18. package/kb/reference/mcp-templates.md +32 -6
  19. package/kb/reference/plugin-pack-conventions.md +22 -21
  20. package/kb/reference/skills-catalog.md +27 -5
  21. package/kb/reference/unique-features.md +213 -0
  22. package/llms-full.txt +903 -84
  23. package/llms.txt +5 -0
  24. package/package.json +6 -5
  25. package/scripts/codex_skill_adapter.py +295 -0
  26. package/scripts/dir_rules_shared.py +46 -7
  27. package/scripts/generate_agents_md.py +13 -0
  28. package/scripts/generate_antigravity.py +2 -1
  29. package/scripts/generate_augment_rules.py +2 -1
  30. package/scripts/generate_cline_rules.py +13 -3
  31. package/scripts/generate_codex.py +105 -0
  32. package/scripts/generate_codex_hooks.py +78 -0
  33. package/scripts/generate_codex_rules.py +52 -0
  34. package/scripts/generate_cursor_mdc.py +2 -1
  35. package/scripts/generate_roo_rules.py +2 -1
  36. package/scripts/generate_windsurf_rules.py +2 -1
  37. package/scripts/generator_base.py +15 -0
  38. package/scripts/install_steps/ai_tools.py +83 -4
  39. package/scripts/mcp_editors.py +340 -0
  40. package/scripts/mcp_manager.py +125 -13
  41. package/scripts/plugin.py +745 -301
  42. package/scripts/plugin_schema.py +16 -1
@@ -17,7 +17,15 @@ REQUIRED_FIELDS = ("name", "description", "version", "domain", "type", "status")
17
17
  VALID_STATUSES = frozenset({"stable", "experimental", "deprecated"})
18
18
 
19
19
  # Valid plugin types
20
- VALID_TYPES = frozenset({"behavioral", "language", "domain", "integration"})
20
+ VALID_TYPES = frozenset({
21
+ "behavioral",
22
+ "language",
23
+ "domain",
24
+ "integration",
25
+ "plugin-pack",
26
+ "policy-pack",
27
+ "hook-pack",
28
+ })
21
29
 
22
30
  # Valid hook event names (must match validate.py VALID_HOOK_EVENTS)
23
31
  VALID_HOOK_EVENTS = frozenset({
@@ -44,6 +52,13 @@ def validate_manifest(data: dict, pack_dir: Path | None = None) -> list[str]:
44
52
  if status and status not in VALID_STATUSES:
45
53
  errors.append(f"Invalid status '{status}' (valid: {', '.join(sorted(VALID_STATUSES))})")
46
54
 
55
+ # Validate type
56
+ plugin_type = data.get("type", "")
57
+ if plugin_type and plugin_type not in VALID_TYPES:
58
+ errors.append(
59
+ f"Invalid type '{plugin_type}' (valid: {', '.join(sorted(VALID_TYPES))})"
60
+ )
61
+
47
62
  # Validate includes structure
48
63
  includes = data.get("includes")
49
64
  if includes is None: