Skip to content

Commit ab2794f

Browse files
committed
wip
1 parent ae7e455 commit ab2794f

13 files changed

Lines changed: 28 additions & 28 deletions

File tree

docs/structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
## Github structkit prompt
155155

156156
- **File**: `github/prompt/struct.yaml`
157-
- **Description**: Defines the structure for a Struct prompt in GitHub.
157+
- **Description**: Defines the structure for a StructKit prompt in GitHub.
158158
- **Structure name**: `github/prompt/struct`
159159

160160
## Kubernetes Manifests

docs/vhs/schema-generation.tape

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Type "EOF"
4949
Enter
5050
Sleep 2s
5151

52-
Type "# Now VSCode will provide autocompletion for struct names!"
52+
Type "# Now VSCode will provide autocompletion for structkit names!"
5353
Enter
5454
Type "# when you type 'struct:' in a .struct.yaml file"
5555
Enter

docs/vhs/yaml-config.tape

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Sleep 3s
3535

3636
Type "# Validate the configuration"
3737
Enter
38-
Type "struct validate my-project.yaml"
38+
Type "structkit validate my-project.yaml"
3939
Enter
4040
Sleep 2s
4141

site/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,10 @@ <h3 class="card-title">2. Generate Project</h3>
372372
structkit generate my-project.yaml ./my-app
373373

374374
# List available structures
375-
struct list
375+
structkit list
376376

377377
# Validate configuration
378-
struct validate my-project.yaml</code></pre>
378+
structkit validate my-project.yaml</code></pre>
379379
</div>
380380
</div>
381381
</div>

site/js/phase3.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ class StructPhase3 {
3838
code: 'structkit generate config.yaml ./output'
3939
},
4040
{
41-
title: 'struct validate',
41+
title: 'structkit validate',
4242
description: 'Validate YAML configuration file',
43-
code: 'struct validate config.yaml'
43+
code: 'structkit validate config.yaml'
4444
},
4545
{
46-
title: 'struct list',
46+
title: 'structkit list',
4747
description: 'List available structure templates',
48-
code: 'struct list'
48+
code: 'structkit list'
4949
}
5050
]
5151
},
@@ -156,13 +156,13 @@ structkit generate config.yaml ./output --dry-run`
156156
},
157157
{
158158
type: 'CMD',
159-
name: 'struct validate',
159+
name: 'structkit validate',
160160
description: 'Validate YAML configuration syntax and structure',
161161
code: `# Validate configuration
162-
struct validate config.yaml
162+
structkit validate config.yaml
163163
164164
# Validate with verbose output
165-
struct validate config.yaml --verbose`
165+
structkit validate config.yaml --verbose`
166166
}
167167
]
168168
},

site/js/search.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ class AdvancedSearch {
3030
'generate project structure yaml configuration template variables',
3131
},
3232
{
33-
title: 'struct validate',
33+
title: 'structkit validate',
3434
description: 'Validate YAML configuration syntax and structure',
3535
category: 'Commands',
3636
url: '#api-preview',
3737
content: 'validate yaml configuration syntax structure check',
3838
},
3939
{
40-
title: 'struct list',
40+
title: 'structkit list',
4141
description: 'List available structure templates',
4242
category: 'Commands',
4343
url: '#api-preview',

structkit/commands/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def _create_structure(self, args, mappings=None, summary=None, print_summary=Tru
300300
self.logger.info(f"📁 Created folder: {folder_path}")
301301
summary["folders"] += 1
302302

303-
# check if content has struct value
303+
# check if content has structkit value
304304
if 'struct' in content:
305305
self.logger.info(f"Generating structure")
306306
self.logger.info(f" Folder: {folder}")

structkit/commands/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
BASIC_STRUCTKIT_YAML = textwrap.dedent(
66
"""
7-
# Generated by `struct init`
7+
# Generated by `structkit init`
88
# Edit as needed to customize your project bootstrap
99
1010
pre_hooks:

structkit/commands/mcp.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ def __init__(self, parser):
2424
parser.add_argument('--no-banner', dest='show_banner', action='store_false', default=True,
2525
help='Disable FastMCP startup banner')
2626
# Debugging options
27-
parser.add_argument('--debug', action='store_true', help='Enable debug mode (sets struct and FastMCP loggers to DEBUG by default)')
27+
parser.add_argument('--debug', action='store_true', help='Enable debug mode (sets structkit and FastMCP loggers to DEBUG by default)')
2828
parser.add_argument('--fastmcp-log-level', dest='fastmcp_log_level', type=str, default=None,
2929
help='Log level for FastMCP internals (e.g., DEBUG, INFO). Overrides --debug for FastMCP if provided')
3030
parser.set_defaults(func=self.execute)
3131

3232
def execute(self, args):
3333
if args.server:
3434
self.logger.info(
35-
f"Starting FastMCP server for struct tool (transport={args.transport})"
35+
f"Starting FastMCP server for structkit tool (transport={args.transport})"
3636
)
3737
asyncio.run(self._start_mcp_server(args))
3838
else:
39-
print("MCP (Model Context Protocol) support for struct tool (FastMCP)")
39+
print("MCP (Model Context Protocol) support for structkit tool (FastMCP)")
4040
print("\nAvailable options:")
4141
print(" --server Start the MCP server")
4242
print(" --transport {stdio|http|sse} Transport protocol (default: stdio)")
@@ -45,17 +45,17 @@ def execute(self, args):
4545
print(" --path /PATH Endpoint path for HTTP/SSE (default: /mcp)")
4646
print(" --stateless-http Enable stateless HTTP mode (HTTP only)")
4747
print(" --no-banner Disable FastMCP banner")
48-
print(" --debug Enable debug mode (struct + FastMCP DEBUG; uvicorn=debug)")
48+
print(" --debug Enable debug mode (structkit + FastMCP DEBUG; uvicorn=debug)")
4949
print(" --fastmcp-log-level LVL Set FastMCP logger level (overrides --debug for FastMCP)")
5050
print("\nMCP tools available:")
5151
print(" - list_structures: List all available structure definitions")
5252
print(" - get_structure_info: Get detailed information about a structure")
5353
print(" - generate_structure: Generate structures with various options")
5454
print(" - validate_structure: Validate structure configuration files")
5555
print("\nExamples:")
56-
print(" struct mcp --server --transport stdio --debug")
57-
print(" struct mcp --server --transport http --host 127.0.0.1 --port 9000 --path /mcp --uvicorn-log-level debug")
58-
print(" struct mcp --server --transport sse --host 0.0.0.0 --port 8080 --path /events --fastmcp-log-level DEBUG")
56+
print(" structkit mcp --server --transport stdio --debug")
57+
print(" structkit mcp --server --transport http --host 127.0.0.1 --port 9000 --path /mcp --uvicorn-log-level debug")
58+
print(" structkit mcp --server --transport sse --host 0.0.0.0 --port 8080 --path /events --fastmcp-log-level DEBUG")
5959

6060
async def _start_mcp_server(self, args=None):
6161
"""Start the MCP server using the selected transport."""

structkit/contribs/github/prompts/struct.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
files:
22
- .github/prompts/struct.prompt.md:
33
content: |
4-
# Struct Assistant
4+
# StructKit Assistant
55
66
## Role
77

0 commit comments

Comments
 (0)