framework-mcp 2.4.6 → 2.6.0

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 (59) hide show
  1. package/README.md +35 -10
  2. package/dist/core/safeguard-manager.d.ts.map +1 -1
  3. package/dist/core/safeguard-manager.js +164 -7066
  4. package/dist/core/safeguard-manager.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/interfaces/http/http-server.d.ts.map +1 -1
  9. package/dist/interfaces/http/http-server.js +6 -40
  10. package/dist/interfaces/http/http-server.js.map +1 -1
  11. package/dist/interfaces/mcp/mcp-server.js +3 -3
  12. package/dist/shared/types.d.ts +49 -60
  13. package/dist/shared/types.d.ts.map +1 -1
  14. package/dist/shared/types.js.map +1 -1
  15. package/package.json +9 -3
  16. package/swagger.json +10 -133
  17. package/.claude/agents/mcp-developer.md +0 -41
  18. package/.claude/agents/project-orchestrator.md +0 -43
  19. package/.claude/agents/version-consistency-reviewer.md +0 -50
  20. package/.claude/commands/speckit.analyze.md +0 -184
  21. package/.claude/commands/speckit.checklist.md +0 -294
  22. package/.claude/commands/speckit.clarify.md +0 -181
  23. package/.claude/commands/speckit.constitution.md +0 -82
  24. package/.claude/commands/speckit.implement.md +0 -135
  25. package/.claude/commands/speckit.plan.md +0 -89
  26. package/.claude/commands/speckit.specify.md +0 -258
  27. package/.claude/commands/speckit.tasks.md +0 -137
  28. package/.claude/commands/speckit.taskstoissues.md +0 -30
  29. package/.claude/config.json +0 -11
  30. package/.claude_config.json +0 -11
  31. package/.do/app.yaml +0 -78
  32. package/.github/dependabot.yml +0 -15
  33. package/.github/workflows/ci.yml +0 -90
  34. package/.github/workflows/release.yml +0 -30
  35. package/.mcp.json +0 -11
  36. package/.specify/memory/constitution.md +0 -50
  37. package/.specify/scripts/bash/check-prerequisites.sh +0 -166
  38. package/.specify/scripts/bash/common.sh +0 -156
  39. package/.specify/scripts/bash/create-new-feature.sh +0 -297
  40. package/.specify/scripts/bash/setup-plan.sh +0 -61
  41. package/.specify/scripts/bash/update-agent-context.sh +0 -799
  42. package/.specify/templates/agent-file-template.md +0 -28
  43. package/.specify/templates/checklist-template.md +0 -40
  44. package/.specify/templates/plan-template.md +0 -104
  45. package/.specify/templates/spec-template.md +0 -115
  46. package/.specify/templates/tasks-template.md +0 -251
  47. package/examples/example-usage.md +0 -293
  48. package/examples/llm-analysis-patterns.md +0 -553
  49. package/examples/vendors.csv +0 -9
  50. package/examples/vendors.json +0 -32
  51. package/scripts/standardize-prompts.js +0 -325
  52. package/scripts/validate-capability-prompts.js +0 -110
  53. package/scripts/validate-documentation.sh +0 -150
  54. package/src/core/safeguard-manager.ts +0 -16891
  55. package/src/index.ts +0 -17
  56. package/src/interfaces/http/http-server.ts +0 -301
  57. package/src/interfaces/mcp/mcp-server.ts +0 -165
  58. package/src/shared/types.ts +0 -337
  59. package/tsconfig.json +0 -23
@@ -1,61 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- set -e
4
-
5
- # Parse command line arguments
6
- JSON_MODE=false
7
- ARGS=()
8
-
9
- for arg in "$@"; do
10
- case "$arg" in
11
- --json)
12
- JSON_MODE=true
13
- ;;
14
- --help|-h)
15
- echo "Usage: $0 [--json]"
16
- echo " --json Output results in JSON format"
17
- echo " --help Show this help message"
18
- exit 0
19
- ;;
20
- *)
21
- ARGS+=("$arg")
22
- ;;
23
- esac
24
- done
25
-
26
- # Get script directory and load common functions
27
- SCRIPT_DIR="$(CDPATH="" cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
28
- source "$SCRIPT_DIR/common.sh"
29
-
30
- # Get all paths and variables from common functions
31
- eval $(get_feature_paths)
32
-
33
- # Check if we're on a proper feature branch (only for git repos)
34
- check_feature_branch "$CURRENT_BRANCH" "$HAS_GIT" || exit 1
35
-
36
- # Ensure the feature directory exists
37
- mkdir -p "$FEATURE_DIR"
38
-
39
- # Copy plan template if it exists
40
- TEMPLATE="$REPO_ROOT/.specify/templates/plan-template.md"
41
- if [[ -f "$TEMPLATE" ]]; then
42
- cp "$TEMPLATE" "$IMPL_PLAN"
43
- echo "Copied plan template to $IMPL_PLAN"
44
- else
45
- echo "Warning: Plan template not found at $TEMPLATE"
46
- # Create a basic plan file if template doesn't exist
47
- touch "$IMPL_PLAN"
48
- fi
49
-
50
- # Output results
51
- if $JSON_MODE; then
52
- printf '{"FEATURE_SPEC":"%s","IMPL_PLAN":"%s","SPECS_DIR":"%s","BRANCH":"%s","HAS_GIT":"%s"}\n' \
53
- "$FEATURE_SPEC" "$IMPL_PLAN" "$FEATURE_DIR" "$CURRENT_BRANCH" "$HAS_GIT"
54
- else
55
- echo "FEATURE_SPEC: $FEATURE_SPEC"
56
- echo "IMPL_PLAN: $IMPL_PLAN"
57
- echo "SPECS_DIR: $FEATURE_DIR"
58
- echo "BRANCH: $CURRENT_BRANCH"
59
- echo "HAS_GIT: $HAS_GIT"
60
- fi
61
-