toolframe-core 0.8.2__tar.gz → 0.8.4__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.
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.dockerignore +2 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/actions/scan-container/action.yml +28 -4
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/dependabot.yml +6 -6
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/ci.yml +13 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/container.yml +8 -22
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/launcher.yml +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/publish.yml +81 -4
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/validate.yml +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/CHANGELOG.md +45 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/Cargo.lock +3 -3
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/Cargo.toml +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/Dockerfile +8 -5
- toolframe_core-0.8.4/PKG-INFO +108 -0
- toolframe_core-0.8.4/README.md +77 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/application-templates.md +4 -0
- toolframe_core-0.8.4/docs/assets/readme-banner-dark.png +0 -0
- toolframe_core-0.8.4/docs/assets/readme-banner-light.png +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/authoring.md +53 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/ci.md +30 -4
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/container.md +23 -13
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/dependency-graph.md +10 -0
- toolframe_core-0.8.4/docs/operations.md +229 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/postgresql-state.md +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/releasing.md +36 -8
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/runtime.md +7 -5
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/testing.md +32 -4
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/web.md +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/packaging/launcher/README.md +6 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/pyproject.toml +1 -1
- toolframe_core-0.8.4/scripts/ci/test_verify_native_downloads.py +249 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/validate.py +6 -2
- toolframe_core-0.8.4/scripts/ci/verify-native-downloads.py +262 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/prepare-container.py +22 -2
- toolframe_core-0.8.4/scripts/verification_workspace.py +359 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-auth-upgrade.py +3 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-auth.py +3 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-container.py +9 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-dependencies.py +3 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-network.py +3 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-operation-history.py +3 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-release.py +31 -7
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-retained-plugins.py +3 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-scaffold.py +4 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/verify-skill.py +4 -2
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/main.rs +8 -8
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/__init__.py +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/authoring_catalog.json +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/SKILL.md +10 -3
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/evals/cases.json +66 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/operations.md +46 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/cli.py +72 -3
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/diagnostics.py +50 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/host.py +14 -9
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/uv.rs +55 -44
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/dependencies.py +1 -1
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_ci_artifacts.py +18 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_ci_dependencies.py +47 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_cli.py +4 -0
- toolframe_core-0.8.4/tests/test_cli_startup.py +126 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_container_release.py +29 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_diagnostics.py +60 -0
- toolframe_core-0.8.4/tests/test_release_verifier_lifecycle.py +47 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_skills.py +7 -1
- toolframe_core-0.8.4/tests/test_verification_workspace.py +258 -0
- toolframe_core-0.8.4/uv-release-manifest.txt +9 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/uv.lock +1 -1
- toolframe_core-0.8.2/PKG-INFO +0 -476
- toolframe_core-0.8.2/README.md +0 -445
- toolframe_core-0.8.2/uv-release-manifest.txt +0 -9
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/container-security.yml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/pr-policy.yml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.github/workflows/quality.yml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.gitignore +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/.pre-commit-config.yaml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/CONTRIBUTING.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/LICENSE +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/NOTICE +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/authoring.json +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/cchk.toml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/companion-wheels.txt +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0001-explicit-dashboard-access-mode.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0002-scoped-passwords-and-public-business-entrances.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0003-public-fallback-on-auth-error-or-disablement.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0004-separate-auth-ownership-from-dashboard-presentation.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0005-password-only-login-and-secret-reuse.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0006-require-explicit-plugin-authorization-contracts.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0007-independent-mcp-bearer-authentication.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0008-shared-oidc-authentication.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0009-replaceable-core-journal.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0010-multiple-sql-providers.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0011-safe-new-application-access.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0012-optional-runtime-tracing.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0013-context-logging.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0014-web-presentation.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0015-distribution-authoring.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/adr/0016-plugin-compatibility.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/architecture.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/artifacts.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/authentication.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/glossary.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/intel-companion.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/mcp-authentication.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/object-storage.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/offline-maintenance.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/oidc-authentication.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/sql-storage.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/docs/tracing.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/packaging/launcher/NOTICE +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/packaging/launcher/pyproject.toml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/build-launcher.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/build-release.sh +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/check-authoring-catalog.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/check-container-security.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/check_branch_name.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/artifacts.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/check-launcher-wheel.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/check-postgres.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/check-release.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/dependencies.json +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/intel-companion.json +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/intel_companion.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/ci/prepare-launcher.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/container-healthcheck.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/dev-wheelhouse.sh +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/scripts/harden-container.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/companions.rs +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/_state_postgres.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/_state_sqlite.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/access.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/api.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/authoring.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/authoring_metadata.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/authoring_runner.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/LICENSE +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/README.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/pyproject.toml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/src/toolframe_basic/__init__.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/src/toolframe_basic/plugin.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/src/toolframe_basic/service.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/basic_template/tests/test_service.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/agents/openai.yaml +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/design.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/plugin-api.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/web-authoring.md +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/config.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/gateway.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/graph.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/lockfile.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/maintenance.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/mcp_access.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/network.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/oidc_access.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/packages.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/process.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/redaction.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/scaffold.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/selection.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/skills.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/state.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/state_admin.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/stores.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/templates.json +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/templates.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/web_access.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/web_build.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/src/toolframe_core/web_gateway.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_acceptance.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_access_policy.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_architecture.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_auth.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_authoring.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_bundles.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_container_security.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_cookie_security.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_core_state.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_dashboard_policy.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_foundations.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_host.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_intel_companion.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_maintenance.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_managed_tasks.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_mcp_auth.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_mixed_storage.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_network.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_object_store.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_oidc.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_operation_history.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_package_selection.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_process.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_redaction.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_retained_plugins.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_scaffold.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_storage_bindings.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_templates.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_tracing.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_web.py +0 -0
- {toolframe_core-0.8.2 → toolframe_core-0.8.4}/tests/test_web_boundaries.py +0 -0
|
@@ -13,10 +13,34 @@ inputs:
|
|
|
13
13
|
runs:
|
|
14
14
|
using: composite
|
|
15
15
|
steps:
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
- name: Install the verified scanner from GitHub Releases
|
|
17
|
+
shell: bash
|
|
18
|
+
env:
|
|
19
|
+
TRIVY_VERSION: '0.76.0'
|
|
20
|
+
run: |
|
|
21
|
+
case "$RUNNER_ARCH" in
|
|
22
|
+
X64)
|
|
23
|
+
architecture=64bit
|
|
24
|
+
checksum=e24b1c51293c1b15e4ba8d45bbc7891ba053f90278ec2698f3562c993e145fe7
|
|
25
|
+
;;
|
|
26
|
+
ARM64)
|
|
27
|
+
architecture=ARM64
|
|
28
|
+
checksum=aab21e677a7b7071fc79f1711480840754c18a1b9d9cefa7ccd06af63a0e8f4c
|
|
29
|
+
;;
|
|
30
|
+
*) echo "Unsupported scanner architecture: $RUNNER_ARCH" >&2; exit 1 ;;
|
|
31
|
+
esac
|
|
32
|
+
archive="trivy_${TRIVY_VERSION}_Linux-${architecture}.tar.gz"
|
|
33
|
+
directory="$RUNNER_TEMP/toolframe-trivy"
|
|
34
|
+
mkdir -p "$directory"
|
|
35
|
+
curl --proto '=https' --proto-redir '=https' --tlsv1.2 \
|
|
36
|
+
--fail --silent --show-error --location --retry 3 --retry-all-errors \
|
|
37
|
+
--connect-timeout 15 --max-time 180 \
|
|
38
|
+
--output "$directory/$archive" \
|
|
39
|
+
"https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/$archive"
|
|
40
|
+
printf '%s %s\n' "$checksum" "$directory/$archive" | sha256sum --check --strict
|
|
41
|
+
tar -xzf "$directory/$archive" -C "$directory" trivy
|
|
42
|
+
"$directory/trivy" --version
|
|
43
|
+
echo "$directory" >> "$GITHUB_PATH"
|
|
20
44
|
- name: Scan every severity and keep the package inventory
|
|
21
45
|
shell: bash
|
|
22
46
|
env:
|
|
@@ -17,17 +17,17 @@ updates:
|
|
|
17
17
|
# Catch every version and security update, including major versions.
|
|
18
18
|
# To split a dependency out, add a named group before these catch-alls;
|
|
19
19
|
# exclusions would fall back to noncompliant solo dependency/version names.
|
|
20
|
-
|
|
20
|
+
containers:
|
|
21
21
|
applies-to: version-updates
|
|
22
22
|
patterns: ['*']
|
|
23
|
-
container-
|
|
23
|
+
container-sec:
|
|
24
24
|
applies-to: security-updates
|
|
25
25
|
patterns: ['*']
|
|
26
26
|
ignore:
|
|
27
|
-
# The
|
|
28
|
-
#
|
|
27
|
+
# The launcher accepts uv >=0.13.7,<0.14.0.
|
|
28
|
+
# Validate a new minor series before widening this range.
|
|
29
29
|
- dependency-name: astral-sh/uv
|
|
30
|
-
versions: ['
|
|
30
|
+
versions: ['<0.13.7', '>=0.14.0']
|
|
31
31
|
- package-ecosystem: github-actions
|
|
32
32
|
directory: /
|
|
33
33
|
schedule:
|
|
@@ -42,7 +42,7 @@ updates:
|
|
|
42
42
|
prefix: chore
|
|
43
43
|
template: '{prefix}/{name}'
|
|
44
44
|
groups:
|
|
45
|
-
actions
|
|
45
|
+
actions:
|
|
46
46
|
applies-to: version-updates
|
|
47
47
|
patterns: ['*']
|
|
48
48
|
actions-security:
|
|
@@ -33,10 +33,19 @@ jobs:
|
|
|
33
33
|
rebuild: ${{ inputs.rebuild || false }}
|
|
34
34
|
secrets: inherit
|
|
35
35
|
|
|
36
|
+
containers:
|
|
37
|
+
needs: validate
|
|
38
|
+
permissions:
|
|
39
|
+
contents: read
|
|
40
|
+
packages: write
|
|
41
|
+
uses: ./.github/workflows/container.yml
|
|
42
|
+
with:
|
|
43
|
+
release_artifacts: true
|
|
44
|
+
|
|
36
45
|
result:
|
|
37
46
|
name: CI result
|
|
38
47
|
if: always()
|
|
39
|
-
needs: [quality, validate]
|
|
48
|
+
needs: [quality, validate, containers]
|
|
40
49
|
runs-on: ubuntu-24.04
|
|
41
50
|
timeout-minutes: 2
|
|
42
51
|
steps:
|
|
@@ -46,7 +55,10 @@ jobs:
|
|
|
46
55
|
env:
|
|
47
56
|
QUALITY_RESULT: ${{ needs.quality.result }}
|
|
48
57
|
VALIDATE_RESULT: ${{ needs.validate.result }}
|
|
58
|
+
CONTAINERS_RESULT: ${{ needs.containers.result }}
|
|
49
59
|
run: |
|
|
50
60
|
echo "Quality: $QUALITY_RESULT; validation: $VALIDATE_RESULT"
|
|
61
|
+
echo "Containers: $CONTAINERS_RESULT"
|
|
51
62
|
test "$QUALITY_RESULT" = success
|
|
52
63
|
test "$VALIDATE_RESULT" = success
|
|
64
|
+
test "$CONTAINERS_RESULT" = success
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
name: Container images
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
paths:
|
|
6
|
-
- Dockerfile
|
|
7
|
-
- .dockerignore
|
|
8
|
-
- .github/workflows/container.yml
|
|
9
|
-
- .github/workflows/container-security.yml
|
|
10
|
-
- .github/actions/scan-container/**
|
|
11
|
-
- scripts/*container*.py
|
|
12
|
-
- tests/test_container_*.py
|
|
13
4
|
workflow_call:
|
|
14
5
|
inputs:
|
|
15
6
|
publish:
|
|
16
7
|
type: boolean
|
|
17
8
|
default: false
|
|
18
9
|
release_artifacts:
|
|
19
|
-
description: Use
|
|
10
|
+
description: Use validated launcher and Core artifacts from this workflow run
|
|
20
11
|
type: boolean
|
|
21
12
|
default: false
|
|
22
13
|
workflow_dispatch:
|
|
@@ -64,18 +55,11 @@ jobs:
|
|
|
64
55
|
id: metadata
|
|
65
56
|
env:
|
|
66
57
|
REPOSITORY_OWNER: ${{ github.repository_owner }}
|
|
67
|
-
GH_TOKEN: ${{ github.token }}
|
|
68
58
|
run: |
|
|
69
59
|
version=$(python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["version"])')
|
|
70
|
-
# PRs exercise packaging with an available public runtime; source CI
|
|
71
|
-
# validates the unreleased Core independently.
|
|
72
|
-
if [ "$GITHUB_EVENT_NAME" = pull_request ]; then
|
|
73
|
-
tag=$(gh release view --repo "$GITHUB_REPOSITORY" --json tagName --jq .tagName)
|
|
74
|
-
version=${tag#v}
|
|
75
|
-
fi
|
|
76
60
|
echo "version=$version" >> "$GITHUB_OUTPUT"
|
|
77
61
|
echo "image=ghcr.io/${REPOSITORY_OWNER,,}/toolframe" >> "$GITHUB_OUTPUT"
|
|
78
|
-
- name: Download the validated
|
|
62
|
+
- name: Download the validated artifacts from this workflow run
|
|
79
63
|
if: inputs.release_artifacts
|
|
80
64
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
81
65
|
with:
|
|
@@ -86,9 +70,11 @@ jobs:
|
|
|
86
70
|
env:
|
|
87
71
|
TOOLFRAME_REPOSITORY_OWNER: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}
|
|
88
72
|
TOOLFRAME_TARGET: ${{ matrix.target }}
|
|
89
|
-
run:
|
|
90
|
-
python scripts/ci/artifacts.py export --bundle build/candidate
|
|
91
|
-
|
|
73
|
+
run: |
|
|
74
|
+
python scripts/ci/artifacts.py export --bundle build/candidate \
|
|
75
|
+
--kind release --target "$TOOLFRAME_TARGET" --output build/container-release
|
|
76
|
+
python scripts/ci/artifacts.py export --bundle build/candidate \
|
|
77
|
+
--kind core --output build/container-python
|
|
92
78
|
- name: Stage the verified executable
|
|
93
79
|
env:
|
|
94
80
|
USE_ARTIFACTS: ${{ inputs.release_artifacts }}
|
|
@@ -97,7 +83,7 @@ jobs:
|
|
|
97
83
|
run: |
|
|
98
84
|
options=()
|
|
99
85
|
if [ "$USE_ARTIFACTS" = true ]; then
|
|
100
|
-
options+=(--release-dir build/container-release)
|
|
86
|
+
options+=(--release-dir build/container-release --wheel-dir build/container-python)
|
|
101
87
|
fi
|
|
102
88
|
python scripts/prepare-container.py --architecture "$ARCH" --version "$VERSION" \
|
|
103
89
|
--repository "$GITHUB_REPOSITORY" "${options[@]}"
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
python-version: '3.14.7'
|
|
43
43
|
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
44
44
|
with:
|
|
45
|
-
version: '0.
|
|
45
|
+
version: '0.13.7'
|
|
46
46
|
enable-cache: false
|
|
47
47
|
- name: Install the Rust toolchain
|
|
48
48
|
run: rustup toolchain install 1.94.1 --profile minimal --component rustfmt
|
|
@@ -30,6 +30,8 @@ jobs:
|
|
|
30
30
|
python-version: '3.14.7'
|
|
31
31
|
- name: Require the exact project version tag
|
|
32
32
|
run: python scripts/ci/check-release.py --ref "$GITHUB_REF"
|
|
33
|
+
- name: Check public native download verification
|
|
34
|
+
run: python -m unittest discover -s scripts/ci -p test_verify_native_downloads.py
|
|
33
35
|
|
|
34
36
|
quality:
|
|
35
37
|
needs: release-tag
|
|
@@ -114,6 +116,8 @@ jobs:
|
|
|
114
116
|
timeout-minutes: 10
|
|
115
117
|
permissions:
|
|
116
118
|
contents: write
|
|
119
|
+
id-token: write
|
|
120
|
+
attestations: write
|
|
117
121
|
steps:
|
|
118
122
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
119
123
|
with:
|
|
@@ -129,14 +133,20 @@ jobs:
|
|
|
129
133
|
env:
|
|
130
134
|
TOOLFRAME_REPOSITORY_OWNER: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}
|
|
131
135
|
run: python scripts/ci/artifacts.py export --bundle build/candidate --kind release --output releases
|
|
136
|
+
- name: Prepare the public checksum file
|
|
137
|
+
run: |
|
|
138
|
+
cat releases/SHA256SUMS-*.txt > releases/SHA256SUMS
|
|
139
|
+
(cd releases && sha256sum --check SHA256SUMS)
|
|
140
|
+
- name: Attest the exact release assets from this tag
|
|
141
|
+
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
|
|
142
|
+
with:
|
|
143
|
+
subject-path: releases/*
|
|
132
144
|
- name: Publish verified executables and checksums
|
|
133
145
|
env:
|
|
134
146
|
GH_TOKEN: ${{ github.token }}
|
|
135
147
|
GH_REPO: ${{ github.repository }}
|
|
136
148
|
RELEASE_TAG: ${{ github.ref_name }}
|
|
137
149
|
run: |
|
|
138
|
-
cat releases/SHA256SUMS-*.txt > releases/SHA256SUMS
|
|
139
|
-
(cd releases && sha256sum --check SHA256SUMS)
|
|
140
150
|
cat > release-notes.txt <<'EOF'
|
|
141
151
|
Install the native CLI with `uv tool install toolframe`, or download the matching archive below and place `toolframe` on PATH. The wheel and archive contain the same executable.
|
|
142
152
|
|
|
@@ -145,10 +155,77 @@ jobs:
|
|
|
145
155
|
Start an application with `toolframe --home ./my-app init --template entry-register`, then `toolframe --home ./my-app serve`. Run `toolframe --home ./my-app open` in another terminal for the local sign-in link.
|
|
146
156
|
EOF
|
|
147
157
|
gh release create "$RELEASE_TAG" --verify-tag --title "Toolframe $RELEASE_TAG" \
|
|
148
|
-
--notes-file release-notes.txt releases/*.tar.gz releases/SHA256SUMS
|
|
158
|
+
--notes-file release-notes.txt releases/*.tar.gz releases/SHA256SUMS \
|
|
159
|
+
releases/SHA256SUMS-*.txt releases/manifest-*.json releases/*.whl
|
|
149
160
|
|
|
150
|
-
|
|
161
|
+
verify-release-downloads:
|
|
162
|
+
name: Public native archive (${{ matrix.target }})
|
|
151
163
|
needs: release-binaries
|
|
164
|
+
runs-on: ${{ matrix.runner }}
|
|
165
|
+
timeout-minutes: 45
|
|
166
|
+
permissions:
|
|
167
|
+
contents: read
|
|
168
|
+
actions: read
|
|
169
|
+
attestations: read
|
|
170
|
+
strategy:
|
|
171
|
+
fail-fast: false
|
|
172
|
+
matrix:
|
|
173
|
+
include:
|
|
174
|
+
- runner: macos-15
|
|
175
|
+
target: aarch64-apple-darwin
|
|
176
|
+
- runner: macos-15-intel
|
|
177
|
+
target: x86_64-apple-darwin
|
|
178
|
+
- runner: ubuntu-24.04-arm
|
|
179
|
+
target: aarch64-unknown-linux-gnu
|
|
180
|
+
- runner: ubuntu-24.04
|
|
181
|
+
target: x86_64-unknown-linux-gnu
|
|
182
|
+
env:
|
|
183
|
+
GH_TOKEN: ${{ github.token }}
|
|
184
|
+
RELEASE_TARGET: ${{ matrix.target }}
|
|
185
|
+
steps:
|
|
186
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
187
|
+
with:
|
|
188
|
+
persist-credentials: false
|
|
189
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
190
|
+
with:
|
|
191
|
+
python-version: '3.14.7'
|
|
192
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
193
|
+
with:
|
|
194
|
+
version: '0.12.8'
|
|
195
|
+
enable-cache: false
|
|
196
|
+
- name: Download this run's trusted comparison bundle
|
|
197
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
198
|
+
with:
|
|
199
|
+
name: validated-release
|
|
200
|
+
path: build/candidate/
|
|
201
|
+
- name: Download and verify public assets before execution
|
|
202
|
+
run: |
|
|
203
|
+
python scripts/ci/verify-native-downloads.py \
|
|
204
|
+
--bundle build/candidate --output build/public-native \
|
|
205
|
+
--repository "$GITHUB_REPOSITORY" --tag "$GITHUB_REF_NAME" \
|
|
206
|
+
--commit "$GITHUB_SHA" --run-id "$GITHUB_RUN_ID" \
|
|
207
|
+
--target "$RELEASE_TARGET"
|
|
208
|
+
- name: Exercise the public archive with published dependencies
|
|
209
|
+
run: |
|
|
210
|
+
python scripts/verify-release.py \
|
|
211
|
+
--binary build/public-native/bin/toolframe \
|
|
212
|
+
--architecture "$(python -c 'import platform; print(platform.machine())')" \
|
|
213
|
+
--output build/public-native/acceptance.json
|
|
214
|
+
python scripts/verify-skill.py \
|
|
215
|
+
--binary build/public-native/bin/toolframe \
|
|
216
|
+
--output build/public-native/skill.json
|
|
217
|
+
- name: Retain public download verification and acceptance evidence
|
|
218
|
+
if: always()
|
|
219
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
220
|
+
with:
|
|
221
|
+
name: public-native-${{ matrix.target }}
|
|
222
|
+
path: build/public-native/*.json
|
|
223
|
+
if-no-files-found: warn
|
|
224
|
+
overwrite: true
|
|
225
|
+
retention-days: 30
|
|
226
|
+
|
|
227
|
+
publish-containers:
|
|
228
|
+
needs: [release-binaries, verify-release-downloads]
|
|
152
229
|
permissions:
|
|
153
230
|
contents: read
|
|
154
231
|
packages: write
|
|
@@ -1,10 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
imply that its distributions have been published or every target is qualified.
|
|
3
|
+
For installation and platform support, see the [README](README.md).
|
|
5
4
|
|
|
6
5
|
## Unreleased
|
|
7
6
|
|
|
7
|
+
## v0.8.4 — 2026-11-11
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Plugin status explains disabled, blocked and degraded plugins and includes
|
|
12
|
+
repair commands in CLI and JSON output.
|
|
13
|
+
|
|
14
|
+
### Security
|
|
15
|
+
|
|
16
|
+
- Require uv >=0.13.7,<0.14 with patched Rustls in the launcher and containers.
|
|
17
|
+
- Refresh Debian and Distroless base images and rebuild OS packages to include
|
|
18
|
+
the available apt and zlib security fixes.
|
|
19
|
+
|
|
20
|
+
### Upgrade notes
|
|
21
|
+
|
|
22
|
+
- Update the launcher and Core together; a custom `TOOLFRAME_UV` executable must
|
|
23
|
+
satisfy the [uv compatibility range](docs/runtime.md).
|
|
24
|
+
- Back up the application, then recreate its container with the existing data
|
|
25
|
+
volume as described in the [upgrade guide](docs/container.md#data-permissions-and-upgrades).
|
|
26
|
+
|
|
27
|
+
[Full changelog](https://github.com/toolframe/toolframe-core/compare/v0.8.3...v0.8.4)
|
|
28
|
+
|
|
29
|
+
## v0.8.3 — 2026-10-26
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Startup now shows the selected application home, configuration, identity and
|
|
34
|
+
Core version, with a command to check application readiness.
|
|
35
|
+
- The bundled authoring guide separates setup from official CLI restart and
|
|
36
|
+
retained-data checks, honoring explicit user paths before new-app defaults.
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- Reject uninitialized application directories before creating runtime state or
|
|
41
|
+
installing a skill, while preserving recovery for existing Core journals.
|
|
42
|
+
|
|
43
|
+
### Upgrade notes
|
|
44
|
+
|
|
45
|
+
- Start existing apps from their application directory or use
|
|
46
|
+
`toolframe --home PATH serve`; initialize a new home with `toolframe init`.
|
|
47
|
+
|
|
48
|
+
[Full changelog](https://github.com/toolframe/toolframe-core/compare/v0.8.2...v0.8.3)
|
|
49
|
+
[Application home guide](https://github.com/toolframe/toolframe-core/blob/v0.8.3/docs/operations.md#application-home-and-restart)
|
|
50
|
+
|
|
8
51
|
## 0.8.2
|
|
9
52
|
|
|
10
53
|
- Resolve named application recipes to the latest compatible stable, non-yanked
|
|
@@ -852,9 +852,9 @@ dependencies = [
|
|
|
852
852
|
|
|
853
853
|
[[package]]
|
|
854
854
|
name = "rustls"
|
|
855
|
-
version = "0.23.
|
|
855
|
+
version = "0.23.46"
|
|
856
856
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
857
|
-
checksum = "
|
|
857
|
+
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
|
|
858
858
|
dependencies = [
|
|
859
859
|
"once_cell",
|
|
860
860
|
"ring",
|
|
@@ -1186,7 +1186,7 @@ dependencies = [
|
|
|
1186
1186
|
|
|
1187
1187
|
[[package]]
|
|
1188
1188
|
name = "toolframe"
|
|
1189
|
-
version = "0.8.
|
|
1189
|
+
version = "0.8.4"
|
|
1190
1190
|
dependencies = [
|
|
1191
1191
|
"anyhow",
|
|
1192
1192
|
"flate2",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# syntax=docker/dockerfile:1
|
|
2
|
-
FROM ghcr.io/astral-sh/uv:0.
|
|
2
|
+
FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv
|
|
3
3
|
|
|
4
|
-
FROM debian:trixie-slim@sha256:
|
|
4
|
+
FROM debian:trixie-slim@sha256:a72b4433de1cf7d6bae0c4cee74d0547f58601a643b3375f070c51600d63b6b2 AS runtime
|
|
5
5
|
ARG TARGETARCH
|
|
6
|
-
ARG TOOLFRAME_VERSION=0.8.
|
|
6
|
+
ARG TOOLFRAME_VERSION=0.8.4
|
|
7
7
|
ARG TOOLFRAME_REVISION
|
|
8
8
|
LABEL org.opencontainers.image.source="https://github.com/toolframe/toolframe-core" \
|
|
9
9
|
org.opencontainers.image.title="Toolframe" \
|
|
@@ -23,11 +23,13 @@ COPY --from=uv /uv /usr/local/bin/uv
|
|
|
23
23
|
# prepare-container.py verifies the release checksums before staging these files.
|
|
24
24
|
COPY build/container/${TARGETARCH}/toolframe /usr/local/bin/toolframe
|
|
25
25
|
COPY build/container/${TARGETARCH}/LICENSE build/container/${TARGETARCH}/NOTICE /usr/share/doc/toolframe/
|
|
26
|
+
COPY --chown=65532:65532 build/container/wheels/ /opt/toolframe/wheels/
|
|
26
27
|
COPY scripts/container-healthcheck.py /usr/local/lib/toolframe/healthcheck.py
|
|
27
28
|
COPY scripts/harden-container.py /usr/local/lib/toolframe/harden.py
|
|
28
29
|
ENV HOME=/home/nonroot \
|
|
29
30
|
TOOLFRAME_UV=/usr/local/bin/uv \
|
|
30
31
|
TOOLFRAME_RUNTIME_ROOT=/opt/toolframe/runtime \
|
|
32
|
+
TOOLFRAME_WHEELHOUSE=/opt/toolframe/wheels \
|
|
31
33
|
UV_PYTHON_INSTALL_DIR=/opt/toolframe/python \
|
|
32
34
|
UV_CACHE_DIR=/data/.toolframe/uv-cache \
|
|
33
35
|
UV_LINK_MODE=copy \
|
|
@@ -67,8 +69,8 @@ RUN mkdir -p /opt/ps-libs/var/lib/dpkg/status.d \
|
|
|
67
69
|
&& dpkg-query -s procps > /opt/ps-libs/var/lib/dpkg/status.d/procps \
|
|
68
70
|
&& dpkg-query -s tini > /opt/ps-libs/var/lib/dpkg/status.d/tini
|
|
69
71
|
|
|
70
|
-
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:
|
|
71
|
-
ARG TOOLFRAME_VERSION=0.8.
|
|
72
|
+
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:cc66d222f0a7ec996b78a99fe76a969bc80b539a5016ad866c14d1949bc6d0ab AS distroless
|
|
73
|
+
ARG TOOLFRAME_VERSION=0.8.4
|
|
72
74
|
ARG TOOLFRAME_REVISION
|
|
73
75
|
LABEL org.opencontainers.image.source="https://github.com/toolframe/toolframe-core" \
|
|
74
76
|
org.opencontainers.image.title="Toolframe (Distroless)" \
|
|
@@ -88,6 +90,7 @@ COPY --from=runtime --chown=65532:65532 /data/ /data/
|
|
|
88
90
|
ENV HOME=/home/nonroot \
|
|
89
91
|
TOOLFRAME_UV=/usr/local/bin/uv \
|
|
90
92
|
TOOLFRAME_RUNTIME_ROOT=/opt/toolframe/runtime \
|
|
93
|
+
TOOLFRAME_WHEELHOUSE=/opt/toolframe/wheels \
|
|
91
94
|
UV_PYTHON_INSTALL_DIR=/opt/toolframe/python \
|
|
92
95
|
UV_CACHE_DIR=/data/.toolframe/uv-cache \
|
|
93
96
|
UV_LINK_MODE=copy \
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: toolframe-core
|
|
3
|
+
Version: 0.8.4
|
|
4
|
+
Summary: Persistent control host for isolated Toolframe plugins
|
|
5
|
+
Project-URL: Homepage, https://github.com/toolframe/toolframe-core
|
|
6
|
+
Project-URL: Repository, https://github.com/toolframe/toolframe-core
|
|
7
|
+
Project-URL: Documentation, https://github.com/toolframe/toolframe-core#readme
|
|
8
|
+
Project-URL: Issues, https://github.com/toolframe/toolframe-core/issues
|
|
9
|
+
Author-email: byfb <62798989+byfb@users.noreply.github.com>
|
|
10
|
+
License-Expression: Apache-2.0 AND MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
License-File: src/toolframe_core/basic_template/LICENSE
|
|
14
|
+
License-File: src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE
|
|
15
|
+
Requires-Python: >=3.14
|
|
16
|
+
Requires-Dist: fastapi-cordis==0.2.2
|
|
17
|
+
Requires-Dist: fastapi==0.135.2
|
|
18
|
+
Requires-Dist: httpx<1,>=0.28
|
|
19
|
+
Requires-Dist: packaging>=25
|
|
20
|
+
Requires-Dist: pyyaml<7,>=6
|
|
21
|
+
Requires-Dist: tomlkit<1,>=0.13
|
|
22
|
+
Requires-Dist: toolframe-sdk==0.4.1
|
|
23
|
+
Requires-Dist: uvicorn==0.42.0
|
|
24
|
+
Requires-Dist: watchfiles<2,>=1
|
|
25
|
+
Requires-Dist: websockets<17,>=15
|
|
26
|
+
Provides-Extra: postgres
|
|
27
|
+
Requires-Dist: psycopg[binary]<4,>=3.3; extra == 'postgres'
|
|
28
|
+
Provides-Extra: tracing
|
|
29
|
+
Requires-Dist: toolframe-sdk[tracing]==0.4.1; extra == 'tracing'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
<p align="center">
|
|
33
|
+
<picture>
|
|
34
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme-banner-dark.png">
|
|
35
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/readme-banner-light.png">
|
|
36
|
+
<img src="docs/assets/readme-banner-light.png" alt="Toolframe Core — a persistent host for replaceable Python plugins. Python packages → managed environments → plugin workers." width="720">
|
|
37
|
+
</picture>
|
|
38
|
+
</p>
|
|
39
|
+
|
|
40
|
+
# Toolframe Core
|
|
41
|
+
|
|
42
|
+
[](https://github.com/toolframe/toolframe-core/actions/workflows/ci.yml?query=branch%3Amain)
|
|
43
|
+
[](https://github.com/toolframe/toolframe-core/actions/workflows/container-security.yml?query=branch%3Amain)
|
|
44
|
+
|
|
45
|
+
Build local apps from Python plugins, with web pages, dashboards and MCP tools.
|
|
46
|
+
Update plugins while keeping their data.
|
|
47
|
+
|
|
48
|
+
## Quick start
|
|
49
|
+
|
|
50
|
+
With [uv](https://docs.astral.sh/uv/getting-started/installation/) installed,
|
|
51
|
+
start the Entry Register demo:
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
uv tool install toolframe
|
|
55
|
+
toolframe --home ./my-app init \
|
|
56
|
+
--template entry-register
|
|
57
|
+
toolframe --home ./my-app serve
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
In another terminal, get the sign-in link:
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
toolframe --home ./my-app open
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The demo includes a Streamlit Dashboard, MCP tools and SQLite storage. It listens
|
|
67
|
+
on `127.0.0.1:9876`; keep `my-app` to retain its configuration and data.
|
|
68
|
+
After stopping it, restart from `my-app` with `toolframe` or `toolframe serve`.
|
|
69
|
+
Without a persistent CLI installation, use `uvx toolframe` from the same directory.
|
|
70
|
+
See [application home and restart](docs/operations.md#application-home-and-restart)
|
|
71
|
+
for other locations and startup diagnostics.
|
|
72
|
+
|
|
73
|
+
**Requirements:** macOS 12+ or Linux glibc 2.28+, on ARM64 or x86-64.
|
|
74
|
+
First run downloads Python and packages. Windows and musl Linux are unsupported.
|
|
75
|
+
See [runtime setup](docs/runtime.md) for offline use and other installation details.
|
|
76
|
+
|
|
77
|
+
**Access:** Dashboard business access and MCP start public; llms documents remain
|
|
78
|
+
public. Configure [authentication](docs/authentication.md) before sharing over a
|
|
79
|
+
network. Plugins run trusted Python code; process isolation is not a sandbox.
|
|
80
|
+
|
|
81
|
+
## Build a plugin
|
|
82
|
+
|
|
83
|
+
Open an agent in `my-app` and invoke `$toolframe-plugin-design` with your app idea.
|
|
84
|
+
`init` installs this skill in `my-app/.agents/skills/`.
|
|
85
|
+
|
|
86
|
+
For manual development, follow [plugin authoring](docs/authoring.md), or start with
|
|
87
|
+
an HTML Notes app in the [Web guide](docs/web.md). Storage, authentication and
|
|
88
|
+
presentation are separate plugins you choose for your application.
|
|
89
|
+
|
|
90
|
+
## Guides
|
|
91
|
+
|
|
92
|
+
| I want to… | Start here |
|
|
93
|
+
| --- | --- |
|
|
94
|
+
| Choose a recipe or control versions | [Application recipes](docs/application-templates.md) |
|
|
95
|
+
| Install, update or reload plugins | [Operator guide](docs/operations.md) |
|
|
96
|
+
| Choose where data lives | [SQL](docs/sql-storage.md) · [Files](docs/object-storage.md) |
|
|
97
|
+
| Set up access | [Dashboard](docs/authentication.md) · [MCP](docs/mcp-authentication.md) · [OIDC](docs/oidc-authentication.md) |
|
|
98
|
+
| Deploy an application | [Docker](docs/container.md) · [PostgreSQL Core state](docs/postgresql-state.md) |
|
|
99
|
+
| Understand how Core works | [Architecture](docs/architecture.md) · [Glossary](docs/glossary.md) |
|
|
100
|
+
| Contribute or run checks | [Contributing](CONTRIBUTING.md) · [Testing](docs/testing.md) · [CI](docs/ci.md) |
|
|
101
|
+
|
|
102
|
+
[Changelog](CHANGELOG.md) · [Releases](https://github.com/toolframe/toolframe-core/releases)
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
Core and the launcher: [Apache 2.0](LICENSE), with [NOTICE](NOTICE).
|
|
107
|
+
The bundled [agent guide](src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE)
|
|
108
|
+
and [basic template](src/toolframe_core/basic_template/LICENSE): MIT.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme-banner-dark.png">
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="docs/assets/readme-banner-light.png">
|
|
5
|
+
<img src="docs/assets/readme-banner-light.png" alt="Toolframe Core — a persistent host for replaceable Python plugins. Python packages → managed environments → plugin workers." width="720">
|
|
6
|
+
</picture>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
# Toolframe Core
|
|
10
|
+
|
|
11
|
+
[](https://github.com/toolframe/toolframe-core/actions/workflows/ci.yml?query=branch%3Amain)
|
|
12
|
+
[](https://github.com/toolframe/toolframe-core/actions/workflows/container-security.yml?query=branch%3Amain)
|
|
13
|
+
|
|
14
|
+
Build local apps from Python plugins, with web pages, dashboards and MCP tools.
|
|
15
|
+
Update plugins while keeping their data.
|
|
16
|
+
|
|
17
|
+
## Quick start
|
|
18
|
+
|
|
19
|
+
With [uv](https://docs.astral.sh/uv/getting-started/installation/) installed,
|
|
20
|
+
start the Entry Register demo:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
uv tool install toolframe
|
|
24
|
+
toolframe --home ./my-app init \
|
|
25
|
+
--template entry-register
|
|
26
|
+
toolframe --home ./my-app serve
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
In another terminal, get the sign-in link:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
toolframe --home ./my-app open
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The demo includes a Streamlit Dashboard, MCP tools and SQLite storage. It listens
|
|
36
|
+
on `127.0.0.1:9876`; keep `my-app` to retain its configuration and data.
|
|
37
|
+
After stopping it, restart from `my-app` with `toolframe` or `toolframe serve`.
|
|
38
|
+
Without a persistent CLI installation, use `uvx toolframe` from the same directory.
|
|
39
|
+
See [application home and restart](docs/operations.md#application-home-and-restart)
|
|
40
|
+
for other locations and startup diagnostics.
|
|
41
|
+
|
|
42
|
+
**Requirements:** macOS 12+ or Linux glibc 2.28+, on ARM64 or x86-64.
|
|
43
|
+
First run downloads Python and packages. Windows and musl Linux are unsupported.
|
|
44
|
+
See [runtime setup](docs/runtime.md) for offline use and other installation details.
|
|
45
|
+
|
|
46
|
+
**Access:** Dashboard business access and MCP start public; llms documents remain
|
|
47
|
+
public. Configure [authentication](docs/authentication.md) before sharing over a
|
|
48
|
+
network. Plugins run trusted Python code; process isolation is not a sandbox.
|
|
49
|
+
|
|
50
|
+
## Build a plugin
|
|
51
|
+
|
|
52
|
+
Open an agent in `my-app` and invoke `$toolframe-plugin-design` with your app idea.
|
|
53
|
+
`init` installs this skill in `my-app/.agents/skills/`.
|
|
54
|
+
|
|
55
|
+
For manual development, follow [plugin authoring](docs/authoring.md), or start with
|
|
56
|
+
an HTML Notes app in the [Web guide](docs/web.md). Storage, authentication and
|
|
57
|
+
presentation are separate plugins you choose for your application.
|
|
58
|
+
|
|
59
|
+
## Guides
|
|
60
|
+
|
|
61
|
+
| I want to… | Start here |
|
|
62
|
+
| --- | --- |
|
|
63
|
+
| Choose a recipe or control versions | [Application recipes](docs/application-templates.md) |
|
|
64
|
+
| Install, update or reload plugins | [Operator guide](docs/operations.md) |
|
|
65
|
+
| Choose where data lives | [SQL](docs/sql-storage.md) · [Files](docs/object-storage.md) |
|
|
66
|
+
| Set up access | [Dashboard](docs/authentication.md) · [MCP](docs/mcp-authentication.md) · [OIDC](docs/oidc-authentication.md) |
|
|
67
|
+
| Deploy an application | [Docker](docs/container.md) · [PostgreSQL Core state](docs/postgresql-state.md) |
|
|
68
|
+
| Understand how Core works | [Architecture](docs/architecture.md) · [Glossary](docs/glossary.md) |
|
|
69
|
+
| Contribute or run checks | [Contributing](CONTRIBUTING.md) · [Testing](docs/testing.md) · [CI](docs/ci.md) |
|
|
70
|
+
|
|
71
|
+
[Changelog](CHANGELOG.md) · [Releases](https://github.com/toolframe/toolframe-core/releases)
|
|
72
|
+
|
|
73
|
+
## License
|
|
74
|
+
|
|
75
|
+
Core and the launcher: [Apache 2.0](LICENSE), with [NOTICE](NOTICE).
|
|
76
|
+
The bundled [agent guide](src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE)
|
|
77
|
+
and [basic template](src/toolframe_core/basic_template/LICENSE): MIT.
|
|
@@ -18,6 +18,10 @@ see [plugin authoring](authoring.md).
|
|
|
18
18
|
|
|
19
19
|
## Initialization
|
|
20
20
|
|
|
21
|
+
Initialization refuses to overwrite an existing application or its retained
|
|
22
|
+
plugin artifacts. Choose a new home directory to create another application;
|
|
23
|
+
use the update workflow below to change an existing one.
|
|
24
|
+
|
|
21
25
|
For each index range, initialization chooses the newest available stable,
|
|
22
26
|
non-yanked release satisfying the declared range, Python/platform metadata and
|
|
23
27
|
dependencies. Core's exact SDK selection is held fixed. A plugin's declared Core
|
|
Binary file
|
|
Binary file
|