framework-m-studio 0.7.0__tar.gz → 0.8.2__tar.gz
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.
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/.gitignore +1 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/CHANGELOG.md +27 -0
- framework_m_studio-0.8.2/LICENSE +202 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/PKG-INFO +8 -3
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/README.md +4 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/pyproject.toml +6 -3
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/__init__.py +5 -3
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/codegen.py +3 -1
- framework_m_studio-0.8.2/src/framework_m_studio/cli/constants.py +6 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/dev.py +9 -6
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/docs.py +3 -2
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/new.py +17 -5
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/release.py +139 -24
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/studio.py +5 -10
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/core/frontend.py +66 -10
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/plugin/package.json.template +5 -5
- framework_m_studio-0.8.2/studio_ui/README.md +35 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/vite.config.ts +1 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/cli/test_new.py +5 -1
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_new_cli.py +4 -1
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_release_cli.py +172 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_studio.py +8 -8
- framework_m_studio-0.7.0/studio_ui/README.MD +0 -47
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/docs/api/index.md +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/docs/user-guide.md +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/__init__.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/app.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/contrib.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/deps.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/quality.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/utility.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/verify.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/__init__.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/parser.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/templates/doctype.py.jinja2 +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/templates/test_doctype.py.jinja2 +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/test_generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/codegen/transformer.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/core/gitops.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/core/shell.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/discovery.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/docs/ast_parsers.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/docs/audit.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/docs/exporters.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/docs/formatters.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/docs/generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/docs/openapi.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/git/__init__.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/git/adapter.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/git/github_provider.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/git/protocol.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/protocol_scanner.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/py.typed +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/routes.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/sdk_generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/static/.gitkeep +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/static/assets/index-BT9-FyVu.css +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/static/assets/index-D11hOvMw.js +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/static/favicon.ico +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/static/index.html +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/.gitignore +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/.npmrc +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/README.md +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/index.html +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/package.json +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/src/App.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/src/components/AppNavbar.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/src/components/AppSidebar.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/src/index.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/src/pages/LoginPage.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/src/theme.css +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/tsconfig.json +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/frontend/vite.config.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/plugin/Dashboard.tsx.template +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/plugin/README.md.template +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/plugin/plugin.config.ts.template +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/plugin/tsconfig.json.template +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/templates/plugin/vite.config.mfe.ts.template +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/workspace.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/.gitignore +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/.npmrc +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/Dockerfile +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/eslint.config.js +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/index.html +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/package.json +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/pnpm-lock.yaml +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/App.css +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/App.test.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/App.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/AutoForm.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/AutoTable.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/CodePreview.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/ControllerEditor.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/ERDView.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/FieldEditor.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/LayoutDesigner.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/ModuleExplorer.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/NestedEditorDrawer.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/SandboxPreview.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/TableFieldEditor.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/breadcrumb/index.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/fields/DefaultFieldComponents.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/fields/index.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/fields/resolveFieldComponent.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/layout/index.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/components/menu/index.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/index.css +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/index.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/pages/doctypes/edit.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/pages/doctypes/index.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/pages/doctypes/list.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/pages/index.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/providers/ThemeContext.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/providers/constants.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/providers/data.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/providers/theme.tsx +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/providers/useTheme.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/registry/defaultComponents.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/registry/fieldComponents.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/registry/index.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/services/mock_data.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/setupTests.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/utils/mockDataGenerator.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/src/vite-env.d.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/tsconfig.json +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/tsconfig.node.json +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/studio_ui/vitest.config.ts +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/cli/test_verify.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/conftest.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/core/test_frontend.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/core/test_gitops.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/core/test_shell.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_api_routes.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_cli.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_cli_openapi.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_contrib_cli.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_deps_cli.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_dev.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_dev_cli_coverage.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_discovery.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_docs_audit.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_docs_generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_docs_generator_enhanced.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_frontend_integration.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_git_adapter.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_git_protocol.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_github_provider.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_parser.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_protocol_scanner.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_quality_cli.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_screenshot_pipeline.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_sdk_generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_studio_codegen_generator.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_transformer.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_utility_cli.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_utility_cli_enhanced.py +0 -0
- {framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/tests/test_workspace.py +0 -0
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## framework-m-studio v0.8.2
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- fix uv-build output and sync python packages (d9c994a)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## framework-m-studio v0.8.1
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- refine dependency sync to respect explicit targets (187938c)
|
|
15
|
+
- support commit body tags for synchronized releases (b83d42a)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## framework-m-studio v0.8.0
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
- enhance scaffolding and fix release orchestration (63883a6)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- add license and resolve linter errors (b6857e9)
|
|
27
|
+
- align default ports across studio CLI commands (7ea9281)
|
|
28
|
+
|
|
29
|
+
|
|
3
30
|
## framework-m-studio v0.7.0
|
|
4
31
|
|
|
5
32
|
### Features
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 contributors (see contributors.json)
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: framework-m-studio
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: Framework M Studio - Visual DocType Builder & Developer Tools
|
|
5
5
|
Project-URL: Homepage, https://gitlab.com/castlecraft/framework-m
|
|
6
6
|
Project-URL: Documentation, https://gitlab.com/castlecraft/framework-m#readme
|
|
7
7
|
Project-URL: Repository, https://gitlab.com/castlecraft/framework-m
|
|
8
8
|
Author: Framework M Contributors
|
|
9
9
|
License: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
10
11
|
Keywords: codegen,developer-tools,doctype,framework,studio
|
|
11
12
|
Classifier: Development Status :: 3 - Alpha
|
|
12
13
|
Classifier: Framework :: AsyncIO
|
|
@@ -19,8 +20,8 @@ Classifier: Typing :: Typed
|
|
|
19
20
|
Requires-Python: >=3.12
|
|
20
21
|
Requires-Dist: bandit>=1.9.4
|
|
21
22
|
Requires-Dist: build>=1.0.0
|
|
22
|
-
Requires-Dist: framework-m-core>=0.
|
|
23
|
-
Requires-Dist: framework-m>=0.6.
|
|
23
|
+
Requires-Dist: framework-m-core>=0.11.2
|
|
24
|
+
Requires-Dist: framework-m>=0.6.6
|
|
24
25
|
Requires-Dist: honcho>=1.1.0
|
|
25
26
|
Requires-Dist: httpx>=0.27.0
|
|
26
27
|
Requires-Dist: ipython>=9.11.0
|
|
@@ -86,3 +87,7 @@ cd apps/studio
|
|
|
86
87
|
uv sync
|
|
87
88
|
uv run pytest
|
|
88
89
|
```
|
|
90
|
+
|
|
91
|
+
## License
|
|
92
|
+
|
|
93
|
+
Apache-2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "framework-m-studio"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.8.2"
|
|
4
4
|
description = "Framework M Studio - Visual DocType Builder & Developer Tools"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "Apache-2.0" }
|
|
@@ -21,8 +21,8 @@ classifiers = [
|
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
dependencies = [
|
|
24
|
-
"framework-m-core>=0.
|
|
25
|
-
"framework-m>=0.6.
|
|
24
|
+
"framework-m-core>=0.11.2",
|
|
25
|
+
"framework-m>=0.6.6",
|
|
26
26
|
# Code generation
|
|
27
27
|
"libcst>=1.0.0",
|
|
28
28
|
"jinja2>=3.1.0",
|
|
@@ -115,6 +115,9 @@ exclude = [
|
|
|
115
115
|
asyncio_mode = "auto"
|
|
116
116
|
testpaths = ["tests"]
|
|
117
117
|
addopts = "-v --tb=short"
|
|
118
|
+
filterwarnings = [
|
|
119
|
+
"ignore:Core Pydantic V1 functionality isn't compatible with Python .* or greater.:UserWarning",
|
|
120
|
+
]
|
|
118
121
|
|
|
119
122
|
[tool.coverage.run]
|
|
120
123
|
source = ["src/framework_m_studio"]
|
{framework_m_studio-0.7.0 → framework_m_studio-0.8.2}/src/framework_m_studio/cli/__init__.py
RENAMED
|
@@ -15,8 +15,10 @@ from typing import Annotated
|
|
|
15
15
|
|
|
16
16
|
import cyclopts
|
|
17
17
|
|
|
18
|
-
# Import utility commands and alias them for top-level registration
|
|
19
18
|
from framework_m_studio.cli.codegen import codegen_app, codegen_client, codegen_doctype
|
|
19
|
+
|
|
20
|
+
# Import utility commands and alias them for top-level registration
|
|
21
|
+
from framework_m_studio.cli.constants import DEFAULT_STUDIO_PORT
|
|
20
22
|
from framework_m_studio.cli.docs import (
|
|
21
23
|
docs_app,
|
|
22
24
|
docs_audit,
|
|
@@ -46,7 +48,7 @@ def studio_serve(
|
|
|
46
48
|
name="--port",
|
|
47
49
|
help="Port to run Studio on",
|
|
48
50
|
),
|
|
49
|
-
] =
|
|
51
|
+
] = DEFAULT_STUDIO_PORT,
|
|
50
52
|
host: Annotated[
|
|
51
53
|
str,
|
|
52
54
|
cyclopts.Parameter(
|
|
@@ -72,7 +74,7 @@ def studio_serve(
|
|
|
72
74
|
"""Start Framework M Studio.
|
|
73
75
|
|
|
74
76
|
Examples:
|
|
75
|
-
m studio # Start on port
|
|
77
|
+
m studio # Start on port 9999
|
|
76
78
|
m studio --port 8000 # Custom port
|
|
77
79
|
m studio --reload # Development mode
|
|
78
80
|
m studio --cloud # Enable cloud mode
|
|
@@ -9,6 +9,8 @@ from typing import Annotated
|
|
|
9
9
|
|
|
10
10
|
import cyclopts
|
|
11
11
|
|
|
12
|
+
from framework_m_studio.cli.constants import DEFAULT_BACKEND_PORT
|
|
13
|
+
|
|
12
14
|
codegen_app = cyclopts.App(
|
|
13
15
|
name="codegen",
|
|
14
16
|
help="Code generation tools for Framework M",
|
|
@@ -37,7 +39,7 @@ def codegen_client(
|
|
|
37
39
|
name="--openapi-url",
|
|
38
40
|
help="URL to fetch OpenAPI schema from",
|
|
39
41
|
),
|
|
40
|
-
] = "http://localhost:
|
|
42
|
+
] = f"http://localhost:{DEFAULT_BACKEND_PORT}/schema/openapi.json",
|
|
41
43
|
) -> None:
|
|
42
44
|
"""Generate API client from OpenAPI schema.
|
|
43
45
|
|
|
@@ -46,18 +46,18 @@ from framework_m_core.dev_config import (
|
|
|
46
46
|
from honcho.manager import Manager
|
|
47
47
|
from honcho.printer import Printer
|
|
48
48
|
|
|
49
|
-
from framework_m_studio.cli.
|
|
49
|
+
from framework_m_studio.cli.constants import (
|
|
50
|
+
DEFAULT_BACKEND_PORT,
|
|
51
|
+
DEFAULT_FRONTEND_PORT,
|
|
52
|
+
DEFAULT_STUDIO_APP,
|
|
53
|
+
DEFAULT_STUDIO_PORT,
|
|
54
|
+
)
|
|
50
55
|
from framework_m_studio.core.frontend import (
|
|
51
56
|
discover_frontend_plugins,
|
|
52
57
|
generate_plugin_entry,
|
|
53
58
|
generate_vite_config,
|
|
54
59
|
)
|
|
55
60
|
|
|
56
|
-
# Default ports
|
|
57
|
-
DEFAULT_BACKEND_PORT = 8888
|
|
58
|
-
DEFAULT_FRONTEND_PORT = 5173
|
|
59
|
-
DEFAULT_STUDIO_PORT = 9999
|
|
60
|
-
|
|
61
61
|
|
|
62
62
|
def _display_host(host: str) -> str:
|
|
63
63
|
"""Return browser-friendly host for user-facing URLs."""
|
|
@@ -250,6 +250,9 @@ def dev_command(
|
|
|
250
250
|
# - true: API-only backend (when frontend dev server is running, or explicit --no-frontend)
|
|
251
251
|
# - false: backend serves bundled/prebuilt Desk UI (fallback when frontend is missing)
|
|
252
252
|
env["M_DEV_MODE"] = "true" if (run_frontend_process or not frontend) else "false"
|
|
253
|
+
# Distinguish local `m dev` runtime from production-like `m serve` regardless
|
|
254
|
+
# of whether frontend is proxied or served as bundled static assets.
|
|
255
|
+
env["FRAMEWORK_M_DEV_SERVER"] = "true"
|
|
253
256
|
|
|
254
257
|
# Set backend URL for Vite proxy configuration
|
|
255
258
|
display_host = _display_host(host)
|
|
@@ -12,6 +12,7 @@ from urllib.request import urlopen
|
|
|
12
12
|
|
|
13
13
|
import cyclopts
|
|
14
14
|
|
|
15
|
+
from framework_m_studio.cli.constants import DEFAULT_BACKEND_PORT
|
|
15
16
|
from framework_m_studio.docs.ast_parsers import (
|
|
16
17
|
generate_hooks_doc,
|
|
17
18
|
generate_protocols_doc,
|
|
@@ -238,7 +239,7 @@ def docs_openapi(
|
|
|
238
239
|
name="--openapi-url",
|
|
239
240
|
help="URL to fetch OpenAPI schema from",
|
|
240
241
|
),
|
|
241
|
-
] = "http://localhost:
|
|
242
|
+
] = f"http://localhost:{DEFAULT_BACKEND_PORT}/schema/openapi.json",
|
|
242
243
|
markdown: Annotated[
|
|
243
244
|
bool,
|
|
244
245
|
cyclopts.Parameter(
|
|
@@ -694,7 +695,7 @@ def docs_screenshots(
|
|
|
694
695
|
name="--base-url",
|
|
695
696
|
help="Default base URL of the application (fallback)",
|
|
696
697
|
),
|
|
697
|
-
] = "http://localhost:
|
|
698
|
+
] = f"http://localhost:{DEFAULT_BACKEND_PORT}",
|
|
698
699
|
username: Annotated[
|
|
699
700
|
str | None,
|
|
700
701
|
cyclopts.Parameter(
|
|
@@ -648,6 +648,7 @@ def _load_plugin_template(name: str) -> str:
|
|
|
648
648
|
def scaffold_frontend_plugin(
|
|
649
649
|
app_name: str,
|
|
650
650
|
app_dir: Path,
|
|
651
|
+
frontend_dir_name: str = "frontend",
|
|
651
652
|
) -> dict[str, Path]:
|
|
652
653
|
"""Create frontend plugin scaffold for an app.
|
|
653
654
|
|
|
@@ -657,6 +658,7 @@ def scaffold_frontend_plugin(
|
|
|
657
658
|
Args:
|
|
658
659
|
app_name: Name of the app (e.g., "wms")
|
|
659
660
|
app_dir: Root directory of the app (e.g., .../wms/)
|
|
661
|
+
frontend_dir_name: Name of the frontend directory (default: "frontend")
|
|
660
662
|
|
|
661
663
|
Returns:
|
|
662
664
|
Dict mapping file type to created path
|
|
@@ -669,7 +671,7 @@ def scaffold_frontend_plugin(
|
|
|
669
671
|
"class_name": class_name,
|
|
670
672
|
}
|
|
671
673
|
|
|
672
|
-
frontend_dir = app_dir /
|
|
674
|
+
frontend_dir = app_dir / frontend_dir_name
|
|
673
675
|
frontend_dir.mkdir(parents=True, exist_ok=True)
|
|
674
676
|
|
|
675
677
|
src_dir = frontend_dir / "src"
|
|
@@ -817,6 +819,13 @@ def new_app_command(
|
|
|
817
819
|
help="Scaffold a frontend plugin alongside the app",
|
|
818
820
|
),
|
|
819
821
|
] = False,
|
|
822
|
+
frontend_dir: Annotated[
|
|
823
|
+
str,
|
|
824
|
+
cyclopts.Parameter(
|
|
825
|
+
name="--frontend-dir",
|
|
826
|
+
help="Name of the frontend directory",
|
|
827
|
+
),
|
|
828
|
+
] = "frontend",
|
|
820
829
|
) -> None:
|
|
821
830
|
"""Create a new Framework M app.
|
|
822
831
|
|
|
@@ -854,9 +863,12 @@ def new_app_command(
|
|
|
854
863
|
# Optionally scaffold frontend plugin
|
|
855
864
|
frontend_created: dict[str, Path] = {}
|
|
856
865
|
if with_frontend:
|
|
857
|
-
frontend_created = scaffold_frontend_plugin(name, app_path)
|
|
866
|
+
frontend_created = scaffold_frontend_plugin(name, app_path, frontend_dir)
|
|
858
867
|
created.update(frontend_created)
|
|
859
868
|
|
|
869
|
+
# Install dependencies for the frontend
|
|
870
|
+
_install_dependencies(app_path / frontend_dir)
|
|
871
|
+
|
|
860
872
|
print("✓ Created files:")
|
|
861
873
|
for filepath in created.values():
|
|
862
874
|
print(f" - {filepath}")
|
|
@@ -866,9 +878,9 @@ def new_app_command(
|
|
|
866
878
|
print(f" - {app_path}/src/{snake_name}/doctypes/")
|
|
867
879
|
print(f" - {app_path}/tests/")
|
|
868
880
|
if with_frontend:
|
|
869
|
-
print(f" - {app_path}/
|
|
870
|
-
print(f" - {app_path}/
|
|
871
|
-
print(f" - {app_path}/
|
|
881
|
+
print(f" - {app_path}/{frontend_dir}/src/pages/")
|
|
882
|
+
print(f" - {app_path}/{frontend_dir}/src/components/")
|
|
883
|
+
print(f" - {app_path}/{frontend_dir}/src/services/")
|
|
872
884
|
print()
|
|
873
885
|
print("Next steps:")
|
|
874
886
|
print(f" cd {snake_name}")
|