@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.
- package/CHANGELOG.md +49 -0
- package/README.md +143 -774
- package/app/ARCHITECTURE.md +1 -1
- package/app/plugins/README.md +6 -2
- package/app/skills/plugin-creator/SKILL.md +3 -4
- package/bin/ai-toolkit.js +34 -10
- package/kb/procedures/maintenance-sop.md +64 -16
- package/kb/procedures/release-preparation-sop.md +4 -2
- package/kb/procedures/release-verification-sop.md +15 -13
- package/kb/reference/architecture-overview.md +44 -5
- package/kb/reference/claude-ecosystem-expansion-foundations.md +4 -4
- package/kb/reference/cli-reference.md +135 -0
- package/kb/reference/codex-cli-compatibility.md +136 -0
- package/kb/reference/comparison.md +29 -0
- package/kb/reference/extension-api.md +23 -6
- package/kb/reference/global-install-model.md +62 -5
- package/kb/reference/mcp-editor-compatibility.md +62 -0
- package/kb/reference/mcp-templates.md +32 -6
- package/kb/reference/plugin-pack-conventions.md +22 -21
- package/kb/reference/skills-catalog.md +27 -5
- package/kb/reference/unique-features.md +213 -0
- package/llms-full.txt +903 -84
- package/llms.txt +5 -0
- package/package.json +6 -5
- package/scripts/codex_skill_adapter.py +295 -0
- package/scripts/dir_rules_shared.py +46 -7
- package/scripts/generate_agents_md.py +13 -0
- package/scripts/generate_antigravity.py +2 -1
- package/scripts/generate_augment_rules.py +2 -1
- package/scripts/generate_cline_rules.py +13 -3
- package/scripts/generate_codex.py +105 -0
- package/scripts/generate_codex_hooks.py +78 -0
- package/scripts/generate_codex_rules.py +52 -0
- package/scripts/generate_cursor_mdc.py +2 -1
- package/scripts/generate_roo_rules.py +2 -1
- package/scripts/generate_windsurf_rules.py +2 -1
- package/scripts/generator_base.py +15 -0
- package/scripts/install_steps/ai_tools.py +83 -4
- package/scripts/mcp_editors.py +340 -0
- package/scripts/mcp_manager.py +125 -13
- package/scripts/plugin.py +745 -301
- package/scripts/plugin_schema.py +16 -1
package/scripts/plugin_schema.py
CHANGED
|
@@ -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({
|
|
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:
|