Release to Package Manager
Added interactive console that includes the command “help”, this will display the console help shown below.
This includes experimental support for running git commands. To use this, git bin needs to be in the environment path on Windows (not tested on Linux yet). The only caveat is that its not interactive, so if git prompts for user inputs, its not going to show up in the console. Git will also run under the IRIS user account, so git push might not work if its prompting for security actions. Main motivation is to do “light” repetative tasks such as add, commit and push so there is little motivation to make it fully interactive at this stage, will consider in the future. Also, it needs to know where the project is, this needs to be set in a global config variable. This does mean only one git project per namespace. This will improve when IRIS Projects is implemented.
^DevBox.Config("git-project")="E:\Projects\DevBox"
Development is fast and breaking at the moment. Expect bugs and issues until it gets to a more stable beta version.
The road to Beta…
Future roadmaps to come.
This is a parallel effort at the moment. The roadmap is to keep working and experimenting with prompt engineering to fully understand how and where LLM’s can improve ObjectScript developer experience.
To open the code assistant click the icon in top right corner. Using the code assistant requires an OpenAI API token. The assistant will tell you where to put it.
The solution currently lets you interact with highlighted source code with 4 options…
Complete this code can be hit and miss. The more guiding information you put into comments, the better the outcome.
One thought is to work on a One-Shot seeding solution that is able to pre qualify the prompt and embed just the right ObjectScript code examples / meta information to improve results.
Note, the console is a command runner, its not a terminal. All state is lost between commands. All terminal escapes will be filtered out. For a fully featured terminal consider using WebTerminal.
F1 - within the editor opens the editor help menu
F2 - Compiles the current code
F3 - Find in the current editor
F4 - Opens console and place cursor in input box
ls / dir - list the contents of the specified directory on the server
download - download the specified file from the server
upload - upload a file to the location, this will open a file dialog to select the file to upload
help - display this help
clear - clear the console
config - display the devbox configuration for this namespace
history - display the command history
history - show / edit the command at the specified history location
! - run the command at the specified history location
history delete - delete the command at the specified history location
history delete all - delete all history
sql - run the SQL command on the server
zj / zjson - run the ObjectScript command and returns the output as JSON
- run the ObjectScript command on the server (this has no session context)
git - run the git command on the server
watch - run the command when there is a compile event, this is useful for running unit tests
unwatch - stop watching for compile events
Introducing DevBox, the evolution of the prototype IDE previously called CloudStudio. This new version represents a substantial refactor, packed with an array of innovative features currently in alpha.
Watch this video and let me know what you think…
Features of DevBox include:
The primary goal of DevBox is to offer a lightweight, efficient IDE that functions effortlessly behind firewalls, within deeply nested RDP enclaves, and on secured servers.
Our secondary objective is to optimize DevBox for fast-paced development, continual testing, simplified version control, and to facilitate controlled deployments of ObjectScript solutions.
We also have immediate plans to introduce a secondary “connection manager” project, designed to simplify the process of installing and managing DevBox across a multitude of servers.
Install DevBox via ZPM using
zpm devbox
Step 1 - Download the DevBox installation files to your IRIS server
Step 2 - Install the DevBox class files
Step 3 - Configure the DevBox web application
namespace> do ##class(DevBox.Util.DevBoxInstaller).Install("C:\apps\devbox")
Step 4 - Test the application
http://host:port/devbox/DevBox.Index.cls
Additional Installation Notes
The complete documentation for DevBox is currently in development and will be made available soon.