Scitex App

App developer SDK — scaffold, validate, dev-install, standalone shell, file operations, and cloud SDK for building SciTeX workspace apps. Use when creating, testing, or deploying SciTeX apps.

scitex-app — App Developer SDK

Toolkit for building SciTeX workspace apps with scaffold, validation, standalone mode, and cloud integration.

Sub-skills

  • files-sdkget_files(), FilesBackend protocol, FileSystemBackend, build_tree()
  • app-lifecycleinit_app(), validate(), AppValidator, ValidationResult
  • paths — Path resolution: get_base_dir(), resolve_*, parse_dev_module_name()
  • standalonerun_standalone() for local Django workspace shell
  • cliscitex-app CLI: file commands, app commands, MCP, introspection
  • environment-vars — All environment variable configuration

References

  • references/app-lifecycle — End-to-end guide: scaffold → develop → validate → dev-install → test → submit. CLI commands with expected outputs, complete manifest schema, file structure.
  • references/app-develop — Development patterns: views.py, urls.py, templates (AJAX partial), CSS scoping, React bridge setup.
  • references/app-validate-install — Validate, dev-install, browser testing, environment variables, troubleshooting.
  • references/app-registration — How apps register with the workspace sidebar: manifest.json → ModuleConfig → sidebar tab. Dev-install vs published paths, frontend integration points, troubleshooting.

Quick Start

scitex-app app init . --name my_app
scitex-app app validate .
scitex-app app dev-install . --server http://127.0.0.1:8000
from scitex_app.sdk import get_files, build_tree
from scitex_app._standalone import run_standalone

files = get_files("./my_project")
content = files.read("config/settings.yaml")
files.write("output/result.csv", csv_text)
tree = build_tree(files, max_depth=2)
run_standalone(app_module="my_app", port=8050)

MCP Tools

ToolParametersPurpose
app_scaffoldname, frontendScaffold new app
app_validatepathValidate app structure
app_read_filepath, root, binaryRead file content
app_write_filepath, content, rootWrite file
app_list_filesdirectory, root, extensionsList directory
app_file_existspath, rootCheck file existence
app_delete_filepath, rootDelete file
app_copy_filesrc_path, dest_path, rootCopy file
app_rename_fileold_path, new_path, rootRename/move file