True Tech MTC VS Code Extension
Generate, review, edit, approve, and validate Lua code directly from VS Code with the True Tech MTC API.
Commands
True Tech MTC: Open Chat
True Tech MTC: Generate Lua
True Tech MTC: Generate Lua From Selection
True Tech MTC: Insert Generated Lua
True Tech MTC: Validate Current Lua
True Tech MTC: Check API Health
Interactive Chat
True Tech MTC: Open Chat opens a VS Code webview for interactive Lua work.
The chat can:
- create a backend session;
- list existing sessions;
- open an existing session;
- send follow-up messages;
- answer clarification questions;
- request code changes;
- approve a final version;
- edit the generated Lua locally before inserting it into the editor.
Interactive session API calls use:
GET /sessions
POST /sessions
GET /sessions/{session_id}
POST /sessions/{session_id}/clarify
POST /sessions/{session_id}/edit
Generate Lua and Generate Lua From Selection now start an interactive chat session instead of returning a one-shot document. Insert Generated Lua remains a direct one-shot generation command for quick insertion.
Settings
The default API URL is:
{
"trueTechMtc.apiBaseUrl": "http://45.159.210.19/api"
}
For local development, change it after starting the stack:
{
"trueTechMtc.apiBaseUrl": "http://localhost/api"
}
Data Notice
The extension sends prompts and selected editor context to the configured True Tech MTC API. When validating without a selection, it sends the full active document text.
License
This software is licensed under the PolyForm Strict License 1.0.0.
Noncommercial use only. Commercial use, redistribution, sublicensing, and making changes or derivative works are not permitted unless you receive separate written permission from the copyright holder.
See LICENSE.md and COMMERCIAL.md.
Package And Publish
npm install
npm run compile
npm run package
npm run publish:marketplace