toolframe-core 0.8.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.
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/publish.yml +5 -15
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/CHANGELOG.md +32 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/Cargo.lock +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/Cargo.toml +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/Dockerfile +2 -2
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/PKG-INFO +15 -8
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/README.md +14 -7
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/authoring.json +1 -1
- toolframe_core-0.8.2/docs/adr/0016-plugin-compatibility.md +45 -0
- toolframe_core-0.8.2/docs/application-templates.md +87 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/architecture.md +31 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/authentication.md +11 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/authoring.md +9 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/ci.md +4 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/container.md +5 -5
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/offline-maintenance.md +3 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/oidc-authentication.md +4 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/postgresql-state.md +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/releasing.md +28 -17
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/runtime.md +7 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/web.md +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/pyproject.toml +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/artifacts.py +3 -3
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/check-launcher-wheel.py +36 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/dependencies.json +3 -3
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-retained-plugins.py +24 -6
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/main.rs +8 -8
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/__init__.py +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/api.py +31 -5
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/authoring_catalog.json +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/pyproject.toml +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/plugin-api.md +7 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/host.py +64 -54
- toolframe_core-0.8.2/src/toolframe_core/lockfile.py +39 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/maintenance.py +2 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/oidc_access.py +4 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/packages.py +259 -117
- toolframe_core-0.8.2/src/toolframe_core/selection.py +129 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/templates.json +1 -1
- toolframe_core-0.8.2/src/toolframe_core/templates.py +116 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/dependencies.py +4 -4
- toolframe_core-0.8.2/tests/test_architecture.py +263 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_authoring.py +41 -7
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_ci_artifacts.py +10 -1
- toolframe_core-0.8.2/tests/test_cookie_security.py +143 -0
- toolframe_core-0.8.2/tests/test_dashboard_policy.py +143 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_foundations.py +1 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_host.py +37 -1
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_maintenance.py +52 -3
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_managed_tasks.py +107 -0
- toolframe_core-0.8.2/tests/test_package_selection.py +318 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_redaction.py +85 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_retained_plugins.py +4 -3
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_scaffold.py +1 -1
- toolframe_core-0.8.2/tests/test_templates.py +261 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/uv.lock +1 -1
- toolframe_core-0.8.0/src/toolframe_core/templates.py +0 -56
- toolframe_core-0.8.0/tests/test_architecture.py +0 -94
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.dockerignore +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/actions/scan-container/action.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/dependabot.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/ci.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/container-security.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/container.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/launcher.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/pr-policy.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/quality.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.github/workflows/validate.yml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.gitignore +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/.pre-commit-config.yaml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/CONTRIBUTING.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/LICENSE +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/NOTICE +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/cchk.toml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/companion-wheels.txt +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0001-explicit-dashboard-access-mode.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0002-scoped-passwords-and-public-business-entrances.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0003-public-fallback-on-auth-error-or-disablement.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0004-separate-auth-ownership-from-dashboard-presentation.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0005-password-only-login-and-secret-reuse.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0006-require-explicit-plugin-authorization-contracts.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0007-independent-mcp-bearer-authentication.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0008-shared-oidc-authentication.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0009-replaceable-core-journal.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0010-multiple-sql-providers.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0011-safe-new-application-access.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0012-optional-runtime-tracing.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0013-context-logging.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0014-web-presentation.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/adr/0015-distribution-authoring.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/artifacts.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/dependency-graph.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/glossary.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/intel-companion.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/mcp-authentication.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/object-storage.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/sql-storage.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/testing.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/docs/tracing.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/packaging/launcher/NOTICE +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/packaging/launcher/README.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/packaging/launcher/pyproject.toml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/build-launcher.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/build-release.sh +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/check-authoring-catalog.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/check-container-security.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/check_branch_name.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/check-postgres.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/check-release.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/intel-companion.json +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/intel_companion.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/prepare-launcher.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/ci/validate.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/container-healthcheck.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/dev-wheelhouse.sh +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/harden-container.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/prepare-container.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-auth-upgrade.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-auth.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-container.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-dependencies.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-network.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-operation-history.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-release.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-scaffold.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/scripts/verify-skill.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/companions.rs +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/_state_postgres.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/_state_sqlite.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/access.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/authoring.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/authoring_metadata.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/authoring_runner.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/LICENSE +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/README.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/src/toolframe_basic/__init__.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/src/toolframe_basic/plugin.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/src/toolframe_basic/service.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/basic_template/tests/test_service.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/LICENSE +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/SKILL.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/agents/openai.yaml +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/evals/cases.json +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/design.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/operations.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/bundled_skills/toolframe-plugin-design/references/web-authoring.md +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/cli.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/config.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/diagnostics.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/gateway.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/graph.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/mcp_access.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/network.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/process.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/redaction.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/scaffold.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/skills.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/state.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/state_admin.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/stores.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/web_access.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/web_build.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/toolframe_core/web_gateway.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/src/uv.rs +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_acceptance.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_access_policy.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_auth.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_bundles.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_ci_dependencies.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_cli.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_container_release.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_container_security.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_core_state.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_diagnostics.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_intel_companion.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_mcp_auth.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_mixed_storage.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_network.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_object_store.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_oidc.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_operation_history.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_process.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_skills.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_storage_bindings.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_tracing.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_web.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/tests/test_web_boundaries.py +0 -0
- {toolframe_core-0.8.0 → toolframe_core-0.8.2}/uv-release-manifest.txt +0 -0
|
@@ -3,14 +3,6 @@ name: Publish Python distribution
|
|
|
3
3
|
on:
|
|
4
4
|
workflow_dispatch:
|
|
5
5
|
inputs:
|
|
6
|
-
index:
|
|
7
|
-
description: Package index (select the matching vVERSION tag as the run ref)
|
|
8
|
-
type: choice
|
|
9
|
-
options:
|
|
10
|
-
- testpypi
|
|
11
|
-
- pypi
|
|
12
|
-
default: testpypi
|
|
13
|
-
required: true
|
|
14
6
|
rebuild:
|
|
15
7
|
description: Validate and rebuild at the tag instead of promoting main artifacts
|
|
16
8
|
type: boolean
|
|
@@ -22,7 +14,7 @@ permissions:
|
|
|
22
14
|
pull-requests: read
|
|
23
15
|
|
|
24
16
|
concurrency:
|
|
25
|
-
group: publish-${{ github.ref }}
|
|
17
|
+
group: publish-${{ github.ref }}-pypi
|
|
26
18
|
cancel-in-progress: false
|
|
27
19
|
|
|
28
20
|
jobs:
|
|
@@ -59,7 +51,7 @@ jobs:
|
|
|
59
51
|
runs-on: ubuntu-24.04
|
|
60
52
|
timeout-minutes: 10
|
|
61
53
|
environment:
|
|
62
|
-
name:
|
|
54
|
+
name: pypi
|
|
63
55
|
permissions:
|
|
64
56
|
contents: read
|
|
65
57
|
id-token: write
|
|
@@ -83,14 +75,14 @@ jobs:
|
|
|
83
75
|
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
84
76
|
with:
|
|
85
77
|
packages-dir: dist/
|
|
86
|
-
repository-url:
|
|
78
|
+
repository-url: https://upload.pypi.org/legacy/
|
|
87
79
|
|
|
88
80
|
publish-launcher:
|
|
89
81
|
needs: [release-tag, validate, publish-core]
|
|
90
82
|
runs-on: ubuntu-24.04
|
|
91
83
|
timeout-minutes: 10
|
|
92
84
|
environment:
|
|
93
|
-
name:
|
|
85
|
+
name: pypi-launcher
|
|
94
86
|
permissions:
|
|
95
87
|
contents: read
|
|
96
88
|
id-token: write
|
|
@@ -114,11 +106,10 @@ jobs:
|
|
|
114
106
|
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
115
107
|
with:
|
|
116
108
|
packages-dir: dist/
|
|
117
|
-
repository-url:
|
|
109
|
+
repository-url: https://upload.pypi.org/legacy/
|
|
118
110
|
|
|
119
111
|
release-binaries:
|
|
120
112
|
needs: [validate, publish-core, publish-launcher]
|
|
121
|
-
if: inputs.index == 'pypi'
|
|
122
113
|
runs-on: ubuntu-24.04
|
|
123
114
|
timeout-minutes: 10
|
|
124
115
|
permissions:
|
|
@@ -158,7 +149,6 @@ jobs:
|
|
|
158
149
|
|
|
159
150
|
publish-containers:
|
|
160
151
|
needs: release-binaries
|
|
161
|
-
if: inputs.index == 'pypi'
|
|
162
152
|
permissions:
|
|
163
153
|
contents: read
|
|
164
154
|
packages: write
|
|
@@ -5,6 +5,38 @@ imply that its distributions have been published or every target is qualified.
|
|
|
5
5
|
|
|
6
6
|
## Unreleased
|
|
7
7
|
|
|
8
|
+
## 0.8.2
|
|
9
|
+
|
|
10
|
+
- Resolve named application recipes to the latest compatible stable, non-yanked
|
|
11
|
+
plugin releases within their declared minimum and upper bounds. Backtrack over
|
|
12
|
+
incompatible metadata while preserving Core's SDK and backend isolation.
|
|
13
|
+
- Freeze exact sources, artifact hashes and environment locks before first
|
|
14
|
+
serve, retaining recipe ranges in the existing candidate provenance for
|
|
15
|
+
explicit updates. Dashboard and Web extras use their existing shared cohorts.
|
|
16
|
+
- Retain selected index versions through serve, restart, validate and reload;
|
|
17
|
+
only explicit update selects again. Restore missing environments from their
|
|
18
|
+
saved locks and reject missing or modified captured artifacts.
|
|
19
|
+
- Use the Entry Register 0.4.2 recipe and remove the per-plugin
|
|
20
|
+
`toolframe-fastmcp` patch override. Preserve explicit pins and custom sources,
|
|
21
|
+
support verified offline resources, and leave failed initialization retryable.
|
|
22
|
+
|
|
23
|
+
## 0.8.1
|
|
24
|
+
|
|
25
|
+
- Redact schema-declared secrets from the composition snapshot being exported,
|
|
26
|
+
including manually rotated values before refresh.
|
|
27
|
+
- Set Secure authentication cookies using the parsed HTTPS scheme, including
|
|
28
|
+
uppercase and mixed-case HTTPS origins.
|
|
29
|
+
- Prevent Dashboard and management pages from being framed while retaining
|
|
30
|
+
upstream Content Security Policy directives.
|
|
31
|
+
- Reject new and waiting managed task admission during shutdown so worker
|
|
32
|
+
disposal can settle SDK ownership handshakes promptly.
|
|
33
|
+
- Accept valid Linux kernel process groups with ID zero during stopped-state
|
|
34
|
+
inspection while preserving ownership scans and malformed-inventory refusals.
|
|
35
|
+
- Select FastMCP 0.3.1 when initializing the named Entry Register recipe;
|
|
36
|
+
existing applications and explicit local recipes keep their source selections.
|
|
37
|
+
- Preserve documented public plugin and authoring contracts across Core 0.x,
|
|
38
|
+
and require retained-plugin wheel verification in release bundles.
|
|
39
|
+
|
|
8
40
|
## 0.7.0
|
|
9
41
|
|
|
10
42
|
- Rename the SQL providers to `toolframe-sql-sqlite` and `toolframe-sql-postgres`,
|
|
@@ -3,7 +3,7 @@ FROM ghcr.io/astral-sh/uv:0.12.24@sha256:3af4716e991d6956a41e573eab705d0ee08500c
|
|
|
3
3
|
|
|
4
4
|
FROM debian:trixie-slim@sha256:62bd423aeee912639ca8ee681c2b762cb3e25137e0a92b20be455898a9f034ad AS runtime
|
|
5
5
|
ARG TARGETARCH
|
|
6
|
-
ARG TOOLFRAME_VERSION=0.8.
|
|
6
|
+
ARG TOOLFRAME_VERSION=0.8.2
|
|
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" \
|
|
@@ -68,7 +68,7 @@ RUN mkdir -p /opt/ps-libs/var/lib/dpkg/status.d \
|
|
|
68
68
|
&& dpkg-query -s tini > /opt/ps-libs/var/lib/dpkg/status.d/tini
|
|
69
69
|
|
|
70
70
|
FROM gcr.io/distroless/cc-debian13:nonroot@sha256:83b9b50586253821cf63ffcec87d3d94265a093ad30da232039af962dd8f4edf AS distroless
|
|
71
|
-
ARG TOOLFRAME_VERSION=0.8.
|
|
71
|
+
ARG TOOLFRAME_VERSION=0.8.2
|
|
72
72
|
ARG TOOLFRAME_REVISION
|
|
73
73
|
LABEL org.opencontainers.image.source="https://github.com/toolframe/toolframe-core" \
|
|
74
74
|
org.opencontainers.image.title="Toolframe (Distroless)" \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: toolframe-core
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: Persistent control host for isolated Toolframe plugins
|
|
5
5
|
Project-URL: Homepage, https://github.com/toolframe/toolframe-core
|
|
6
6
|
Project-URL: Repository, https://github.com/toolframe/toolframe-core
|
|
@@ -81,6 +81,9 @@ PyPI, and resolves each selected plugin independently. Core requires
|
|
|
81
81
|
`fastapi-cordis==0.2.2`. `init` without `--template` creates an empty application;
|
|
82
82
|
the Entry Register template selects storage, Dashboard, MCP, documentation and
|
|
83
83
|
password providers. Plugin choices remain in the application configuration.
|
|
84
|
+
The named Entry Register recipe selects FastMCP 0.3.1 for new applications.
|
|
85
|
+
Explicit local TOML recipes retain their selected sources, and initialization
|
|
86
|
+
refuses to rewrite an existing application or its retained plugin artifacts.
|
|
84
87
|
|
|
85
88
|
Native CLI wheels target macOS 12+ on Apple Silicon and Intel, and Linux glibc
|
|
86
89
|
2.28+ on ARM64 and x86-64. Windows and musl Linux are outside this release.
|
|
@@ -247,14 +250,18 @@ toolframe --home ./example plugin status plugin-id --json --check
|
|
|
247
250
|
`enable` and `apply` reuse the latest installed candidate when its source matches
|
|
248
251
|
composition, including after the original source or an older binary bundle is
|
|
249
252
|
removed. They verify the retained wheel and rerun import/configuration preflight.
|
|
250
|
-
`reload` and `validate` likewise
|
|
251
|
-
|
|
252
|
-
captured afresh. A missing or modified retained wheel is an error, never an
|
|
253
|
-
implicit package upgrade.
|
|
254
|
-
|
|
253
|
+
`reload` and `validate` likewise retain installed index selections, including
|
|
254
|
+
`pypi:package>=minimum,<ceiling` ranges. Local directories, wheel paths and Git refs
|
|
255
|
+
are captured afresh. A missing or modified retained wheel is an error, never an
|
|
256
|
+
implicit package upgrade. Missing environments are restored from their exact
|
|
257
|
+
locks when the runtime profile is unchanged; required dependencies must be cached
|
|
258
|
+
or downloadable.
|
|
255
259
|
|
|
256
260
|
`update` explicitly resolves the source again and stages a candidate; it does not
|
|
257
|
-
change the active generation.
|
|
261
|
+
change the active generation. Named application recipes select compatible stable
|
|
262
|
+
versions during initialization, write exact sources and locks, and retain their
|
|
263
|
+
original ranges for explicit updates. See [application recipes](docs/application-templates.md)
|
|
264
|
+
for selection, isolation and offline behavior. Use update to pick up a replaced wheel or dependency
|
|
258
265
|
resolution, or to change the requested source/version. `reload` does not enable a
|
|
259
266
|
disabled plugin: use `enable` to restore its services, pages and tools.
|
|
260
267
|
A reviewed plan binds the
|
|
@@ -264,7 +271,7 @@ candidate. `--expected-revision` protects managed edits to composition.
|
|
|
264
271
|
|
|
265
272
|
Supported sources are local directories (`path:/absolute/directory`), Git
|
|
266
273
|
(`git+https://host/repo.git@ref#subdirectory=path`), wheel files/HTTPS URLs and
|
|
267
|
-
`pypi:distribution==version
|
|
274
|
+
`pypi:distribution==version` or bounded index ranges. Git refs resolve to full commits; local edits receive
|
|
268
275
|
new content identities even when their package version is unchanged. Workers use
|
|
269
276
|
captured wheels, never live editable imports. Each wheel supplies one
|
|
270
277
|
`toolframe.plugins` entry point and one stable plugin ID.
|
|
@@ -50,6 +50,9 @@ PyPI, and resolves each selected plugin independently. Core requires
|
|
|
50
50
|
`fastapi-cordis==0.2.2`. `init` without `--template` creates an empty application;
|
|
51
51
|
the Entry Register template selects storage, Dashboard, MCP, documentation and
|
|
52
52
|
password providers. Plugin choices remain in the application configuration.
|
|
53
|
+
The named Entry Register recipe selects FastMCP 0.3.1 for new applications.
|
|
54
|
+
Explicit local TOML recipes retain their selected sources, and initialization
|
|
55
|
+
refuses to rewrite an existing application or its retained plugin artifacts.
|
|
53
56
|
|
|
54
57
|
Native CLI wheels target macOS 12+ on Apple Silicon and Intel, and Linux glibc
|
|
55
58
|
2.28+ on ARM64 and x86-64. Windows and musl Linux are outside this release.
|
|
@@ -216,14 +219,18 @@ toolframe --home ./example plugin status plugin-id --json --check
|
|
|
216
219
|
`enable` and `apply` reuse the latest installed candidate when its source matches
|
|
217
220
|
composition, including after the original source or an older binary bundle is
|
|
218
221
|
removed. They verify the retained wheel and rerun import/configuration preflight.
|
|
219
|
-
`reload` and `validate` likewise
|
|
220
|
-
|
|
221
|
-
captured afresh. A missing or modified retained wheel is an error, never an
|
|
222
|
-
implicit package upgrade.
|
|
223
|
-
|
|
222
|
+
`reload` and `validate` likewise retain installed index selections, including
|
|
223
|
+
`pypi:package>=minimum,<ceiling` ranges. Local directories, wheel paths and Git refs
|
|
224
|
+
are captured afresh. A missing or modified retained wheel is an error, never an
|
|
225
|
+
implicit package upgrade. Missing environments are restored from their exact
|
|
226
|
+
locks when the runtime profile is unchanged; required dependencies must be cached
|
|
227
|
+
or downloadable.
|
|
224
228
|
|
|
225
229
|
`update` explicitly resolves the source again and stages a candidate; it does not
|
|
226
|
-
change the active generation.
|
|
230
|
+
change the active generation. Named application recipes select compatible stable
|
|
231
|
+
versions during initialization, write exact sources and locks, and retain their
|
|
232
|
+
original ranges for explicit updates. See [application recipes](docs/application-templates.md)
|
|
233
|
+
for selection, isolation and offline behavior. Use update to pick up a replaced wheel or dependency
|
|
227
234
|
resolution, or to change the requested source/version. `reload` does not enable a
|
|
228
235
|
disabled plugin: use `enable` to restore its services, pages and tools.
|
|
229
236
|
A reviewed plan binds the
|
|
@@ -233,7 +240,7 @@ candidate. `--expected-revision` protects managed edits to composition.
|
|
|
233
240
|
|
|
234
241
|
Supported sources are local directories (`path:/absolute/directory`), Git
|
|
235
242
|
(`git+https://host/repo.git@ref#subdirectory=path`), wheel files/HTTPS URLs and
|
|
236
|
-
`pypi:distribution==version
|
|
243
|
+
`pypi:distribution==version` or bounded index ranges. Git refs resolve to full commits; local edits receive
|
|
237
244
|
new content identities even when their package version is unchanged. Workers use
|
|
238
245
|
captured wheels, never live editable imports. Each wheel supplies one
|
|
239
246
|
`toolframe.plugins` entry point and one stable plugin ID.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# 0016: Preserve public plugin contracts across 0.x releases
|
|
2
|
+
|
|
3
|
+
## Context
|
|
4
|
+
|
|
5
|
+
Core installs plugins in isolated workers while selecting the SDK used by each
|
|
6
|
+
worker. Exact SDK patch requirements and minor-version authoring ceilings can
|
|
7
|
+
reject an otherwise compatible plugin when Core changes its selected SDK or
|
|
8
|
+
minor version. Requiring every independent plugin to release for that change
|
|
9
|
+
couples package versions without describing an actual API requirement.
|
|
10
|
+
|
|
11
|
+
## Decision
|
|
12
|
+
|
|
13
|
+
Starting with SDK 0.4 and Core 0.8, preserve documented public plugin APIs,
|
|
14
|
+
worker protocol behavior, authoring contracts and the public maintenance API
|
|
15
|
+
through supported 0.x releases. The existing Core 0.7 maintenance API remains
|
|
16
|
+
the minimum required by Backup. Additive features may require a newer minimum;
|
|
17
|
+
deprecated public interfaces remain usable. Breaking changes require a
|
|
18
|
+
compatibility implementation or an explicitly announced migration boundary.
|
|
19
|
+
Private and explicitly experimental interfaces are outside this promise.
|
|
20
|
+
|
|
21
|
+
Independent plugins declare the lowest verified SDK and an upper bound of `<1`.
|
|
22
|
+
Web contracts require at least SDK 0.4.1. Official authoring manifests declare
|
|
23
|
+
Core `>=0.8,<1`; explicit third-party bounds remain enforced. Core may pin its own
|
|
24
|
+
SDK, and deployment locks continue to record exact versions and artifact hashes.
|
|
25
|
+
|
|
26
|
+
The [SDK compatibility policy](https://github.com/toolframe/toolframe-sdk/blob/main/docs/compatibility.md)
|
|
27
|
+
is authoritative for plugin dependency declarations and SDK qualification.
|
|
28
|
+
Core's architecture and authoring guides describe its runtime and authoring gates.
|
|
29
|
+
|
|
30
|
+
## Consequences
|
|
31
|
+
|
|
32
|
+
Compatible Core/SDK updates can reuse an existing plugin distribution. Published
|
|
33
|
+
wheel metadata is immutable, so existing exact pins require one new distribution
|
|
34
|
+
before this policy can benefit that plugin. The package version can remain 0.x.
|
|
35
|
+
|
|
36
|
+
The wider range is a project commitment, not a guarantee supplied by semantic
|
|
37
|
+
versioning or proof that future versions were tested. Minimum/latest SDK CI,
|
|
38
|
+
retained-wheel qualification and Backup's minimum/latest Core operator checks
|
|
39
|
+
make regressions observable. Resolving an incompatible dependency may require a
|
|
40
|
+
fix or a targeted documented exclusion. Authorization, protocol validation,
|
|
41
|
+
configuration checks and application ownership checks stay in force.
|
|
42
|
+
|
|
43
|
+
We reject moving all packages to one shared version: it would retain release
|
|
44
|
+
coupling. We also reject removing all upper bounds: a future 1.0 contract needs
|
|
45
|
+
an explicit compatibility decision.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Application recipes and version selection
|
|
2
|
+
|
|
3
|
+
Create an application from a named recipe with:
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
toolframe --home ./my-app init --template entry-register
|
|
7
|
+
toolframe --home ./my-app serve
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
Named recipes are composition assets in plugin distributions. The recipe owner
|
|
11
|
+
declares each plugin's supported range, with a verified minimum and a compatibility
|
|
12
|
+
ceiling. Core's recipe catalog selects a compatible recipe distribution; it does
|
|
13
|
+
not carry per-plugin patch overrides. Entry Register's ranges and their reasons
|
|
14
|
+
are documented in its
|
|
15
|
+
[recipe contract](https://github.com/toolframe/toolframe-demo-entry-register/blob/main/docs/recipe.md).
|
|
16
|
+
The basic plugin scaffold and package-provided authoring templates are separate;
|
|
17
|
+
see [plugin authoring](authoring.md).
|
|
18
|
+
|
|
19
|
+
## Initialization
|
|
20
|
+
|
|
21
|
+
For each index range, initialization chooses the newest available stable,
|
|
22
|
+
non-yanked release satisfying the declared range, Python/platform metadata and
|
|
23
|
+
dependencies. Core's exact SDK selection is held fixed. A plugin's declared Core
|
|
24
|
+
dependency must also accept the running Core. Unsatisfiable newer releases allow
|
|
25
|
+
the resolver to select an older compatible release within the same range.
|
|
26
|
+
|
|
27
|
+
Each backend is resolved independently, including its `backend` extra when
|
|
28
|
+
provided and any extras explicitly requested in its source. Only page contributors
|
|
29
|
+
and their Dashboard provider share a `ui` solve; Web contributors share their
|
|
30
|
+
existing `web` cohort. Cohort constraints can lower a floating plugin selection,
|
|
31
|
+
which is rechecked in its own backend environment. Other workers' dependency
|
|
32
|
+
versions do not constrain that cohort. Imports, plugin identity, worker protocol
|
|
33
|
+
and configuration preflight still run; metadata compatibility does not certify
|
|
34
|
+
arbitrary future runtime behavior.
|
|
35
|
+
|
|
36
|
+
Initialization writes exact `pypi:distribution==version` sources, captured wheels,
|
|
37
|
+
their SHA-256 hashes, environment locks and journal candidates before reporting
|
|
38
|
+
success. It uses the existing format-1 `toolframe.lock`. The original range is
|
|
39
|
+
kept as `source.requirement` in candidate provenance, alongside the selected exact
|
|
40
|
+
`source.request`. The first `serve` reuses those selections and prepared
|
|
41
|
+
environments. Initialization does not activate plugins or create business stores.
|
|
42
|
+
|
|
43
|
+
If no selection is available, `no_compatible_version` identifies the requirements,
|
|
44
|
+
SDK, Core, Python, platform and resolver diagnostics. The composition is not
|
|
45
|
+
published when resolution or preflight fails. Correct the range, supply compatible
|
|
46
|
+
artifacts or choose a compatible Core runtime, then retry.
|
|
47
|
+
|
|
48
|
+
## Existing applications and explicit updates
|
|
49
|
+
|
|
50
|
+
`serve`, restart, `apply`, `enable`, `validate` and `reload` retain an installed
|
|
51
|
+
index selection when its source still matches the composition, including older
|
|
52
|
+
applications that contain a range. These operations verify the captured wheel;
|
|
53
|
+
a missing or modified artifact is an error. A missing environment is restored
|
|
54
|
+
from its saved lock when the Core runtime profile is unchanged. A changed Core/SDK
|
|
55
|
+
profile may require new dependency resolution for the same plugin artifact.
|
|
56
|
+
|
|
57
|
+
To select a new release within a named recipe's original range:
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
toolframe --home ./my-app plugin update entry-register
|
|
61
|
+
toolframe --home ./my-app plan --action reload --id entry-register
|
|
62
|
+
toolframe --home ./my-app plugin reload entry-register --plan-id PLAN_ID
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Update stages a new candidate and exact source; reload activates it. The other
|
|
66
|
+
plugins keep their selected artifacts. The retained range is used only while its
|
|
67
|
+
exact source still matches the composition. To replace that policy with an
|
|
68
|
+
explicit pin or a different source, supply `plugin update ID --source SOURCE`.
|
|
69
|
+
An explicit `==version` remains exact, including an explicitly selected prerelease
|
|
70
|
+
or yanked release; Core does not silently reinterpret it as a range.
|
|
71
|
+
|
|
72
|
+
Local TOML recipes are copied with their sources intact. Local directory, Git,
|
|
73
|
+
wheel and direct URL sources retain their existing capture/update semantics.
|
|
74
|
+
Reloading a local development source can still capture edits. Changing source
|
|
75
|
+
intent is an explicit operation; an index publication alone never updates an
|
|
76
|
+
already selected plugin. Stores remain owned by the same plugin IDs and follow
|
|
77
|
+
the existing [migration and recovery contract](architecture.md#data-ownership).
|
|
78
|
+
|
|
79
|
+
## Offline use
|
|
80
|
+
|
|
81
|
+
Set `TOOLFRAME_OFFLINE=1` and supply local wheels with `TOOLFRAME_WHEELHOUSE` or
|
|
82
|
+
`packages.find_links`. Offline resolution uses locally available wheels and uv's
|
|
83
|
+
cached dependency metadata/artifacts; it cannot discover new remote releases or
|
|
84
|
+
withdrawals. Cached source artifacts are checked against their recorded hashes,
|
|
85
|
+
and every required dependency must be available locally. Missing resources produce
|
|
86
|
+
an error without a network fallback. Core does not discover or substitute sibling
|
|
87
|
+
source checkouts. Keep the application home and its artifact/lock state together.
|
|
@@ -27,11 +27,34 @@ plugins collaborate through service contracts rather than private imports or
|
|
|
27
27
|
shared database connections. Entry Register follows the same contracts as an
|
|
28
28
|
independently authored plugin.
|
|
29
29
|
|
|
30
|
+
Core preserves documented plugin, worker and authoring contracts across subsequent
|
|
31
|
+
0.x releases from the Core 0.8 baseline. The stopped-maintenance interfaces used by
|
|
32
|
+
Backup retain their Core 0.7 contract. Package versions are independent: a Core
|
|
33
|
+
minor update does not itself require a plugin release. SDK compatibility and
|
|
34
|
+
minimum-version verification follow the
|
|
35
|
+
[SDK compatibility policy](https://github.com/toolframe/toolframe-sdk/blob/main/docs/compatibility.md).
|
|
36
|
+
Core still selects an exact SDK for its own runtime and records exact plugin
|
|
37
|
+
environment locks. New features must keep older contracts usable or provide an
|
|
38
|
+
explicit migration; unsupported schemas, protocols and authorization remain
|
|
39
|
+
errors. This promise does not cover private Core implementation details.
|
|
40
|
+
|
|
41
|
+
Offline operator tools are separate from plugin runtime dependencies. In OIDC
|
|
42
|
+
Auth, only `toolframe_oidc_auth/maintenance.py` may use `sqlite3` and import the
|
|
43
|
+
public `stopped_application` function from `toolframe_core.maintenance`; Core is
|
|
44
|
+
an optional dependency confined to the `operator` extra. Runtime modules,
|
|
45
|
+
including package initializers, must not import that operator module. This narrow
|
|
46
|
+
exception does not permit other Core symbols, private journal access, or imports
|
|
47
|
+
of another plugin's implementation. Operators use the
|
|
48
|
+
[stopped-application maintenance contract](offline-maintenance.md); ordinary
|
|
49
|
+
plugin code continues to access stores through SDK service contracts.
|
|
50
|
+
|
|
30
51
|
An empty application needs no presentation or business-storage provider. Core owns
|
|
31
52
|
its database directly, so a failed optional provider does not remove management.
|
|
32
53
|
Required service dependencies block consumers when unavailable; optional
|
|
33
54
|
presentation dependencies affect the corresponding entrance.
|
|
34
55
|
|
|
56
|
+
The reasons and tradeoffs are recorded in [ADR 0016](adr/0016-plugin-compatibility.md).
|
|
57
|
+
|
|
35
58
|
## Composition, packages and identity
|
|
36
59
|
|
|
37
60
|
`toolframe.toml` is the desired-state authority: sources, enabled intent,
|
|
@@ -39,6 +62,14 @@ configuration and bindings. `toolframe.lock` records exact resolved artifacts an
|
|
|
39
62
|
environments. The Core journal stores candidates, observed generations, validation
|
|
40
63
|
results and operations. It does not override the composition file.
|
|
41
64
|
|
|
65
|
+
Named application recipes resolve stable index ranges before first serve. Each
|
|
66
|
+
backend retains its own dependency solve with Core's exact SDK; only existing
|
|
67
|
+
Dashboard/Web cohorts share their required extras. The chosen plugin sources
|
|
68
|
+
become exact, and the original update ranges remain in source provenance in the
|
|
69
|
+
same candidate journal and format-1 lock. Ordinary lifecycle operations retain
|
|
70
|
+
index selections; explicit update is the selection boundary. See
|
|
71
|
+
[application recipes](application-templates.md) for the operator contract.
|
|
72
|
+
|
|
42
73
|
A distribution exports one `toolframe.plugins` entry point and one stable plugin
|
|
43
74
|
ID. Distribution name, import namespace and plugin ID are distinct. A local
|
|
44
75
|
directory, Git revision, wheel or package-index request is captured into an
|
|
@@ -62,6 +62,13 @@ not blindly retry credential creation.
|
|
|
62
62
|
|
|
63
63
|
## Entrances and grants
|
|
64
64
|
|
|
65
|
+
Core prevents browser framing of the Dashboard and its management/sign-in
|
|
66
|
+
responses with `Content-Security-Policy: frame-ancestors 'none'` and
|
|
67
|
+
`X-Frame-Options: DENY`. This applies to both the legacy Dashboard root and
|
|
68
|
+
explicit Dashboard mounts. The additional CSP policy preserves upstream CSP
|
|
69
|
+
directives; Web applications retain their own response policies. Open the
|
|
70
|
+
Dashboard as a top-level page.
|
|
71
|
+
|
|
65
72
|
| Entrance | Access rule |
|
|
66
73
|
| --- | --- |
|
|
67
74
|
| Dashboard and `POST /_toolframe/v1/services/OWNER/SERVICE/METHOD` | Effective Dashboard policy and method scopes; internal services excluded |
|
|
@@ -137,6 +144,10 @@ database, management token and config. A missing key alongside an existing store
|
|
|
137
144
|
fails activation; restore the original key rather than generating a replacement.
|
|
138
145
|
Scratch runtime validation uses a separate temporary store/key. Password/session
|
|
139
146
|
secrets never enter management operation history or exported composition.
|
|
147
|
+
Composition exports apply each known plugin's secret schema to the TOML snapshot
|
|
148
|
+
being exported, including manually rotated values before a Host refresh. Export
|
|
149
|
+
reads do not apply those edits or rewrite the composition; ordinary non-secret
|
|
150
|
+
settings and TOML comments remain visible.
|
|
140
151
|
|
|
141
152
|
## SDK and existing applications
|
|
142
153
|
|
|
@@ -89,6 +89,14 @@ packages.
|
|
|
89
89
|
|
|
90
90
|
## Package ownership and compatibility
|
|
91
91
|
|
|
92
|
+
Official templates require Core `>=0.8,<1` and generate plugins with SDK
|
|
93
|
+
`>=0.4.1,<1`. Compatible Core minor updates do not invalidate those templates.
|
|
94
|
+
`schema_version`, Python requirements and the minimum Core version remain checked;
|
|
95
|
+
removing a minor-version ceiling does not bypass these gates. Authors must raise
|
|
96
|
+
the minimum when a generator starts using a newer public Core capability. Keep
|
|
97
|
+
explicit upper bounds for known incompatibilities or a documented migration
|
|
98
|
+
boundary, rather than the last version tested.
|
|
99
|
+
|
|
92
100
|
| Template | Owner | Generated behavior |
|
|
93
101
|
| --- | --- | --- |
|
|
94
102
|
| `toolframe-core/basic` | Core | Provider-free internal service and test |
|
|
@@ -133,7 +141,7 @@ The installed wheel does not need the source project's `pyproject.toml`.
|
|
|
133
141
|
```json
|
|
134
142
|
{
|
|
135
143
|
"schema_version": 1,
|
|
136
|
-
"requires_core": ">=0.8,<
|
|
144
|
+
"requires_core": ">=0.8,<1",
|
|
137
145
|
"templates": [{
|
|
138
146
|
"id": "example",
|
|
139
147
|
"title": "Example plugin",
|
|
@@ -123,7 +123,10 @@ Maturin produces a platform wheel containing a native `toolframe` command withou
|
|
|
123
123
|
a Python wrapper. `build-launcher.py finish` exports the identical executable,
|
|
124
124
|
checks its layout, and writes its release archive, checksums and manifest.
|
|
125
125
|
`check-launcher-wheel.py` installs it through `uv tool install` and `uvx`, compares
|
|
126
|
-
executable hashes, then runs release and
|
|
126
|
+
executable hashes, then runs release, skill and retained-plugin acceptance outside
|
|
127
|
+
the checkout. The retained-plugin probe upgrades a Toolframe 0.8.0 application
|
|
128
|
+
with the candidate executable and reuses the original plugin wheel and data.
|
|
129
|
+
Its successful `retained.json` is required when sealing a release bundle.
|
|
127
130
|
These probes exercise the empty host, complete template and provider startup,
|
|
128
131
|
llms responses, retained data, plugin reload, warm-cache offline restart and
|
|
129
132
|
missing-cache errors. Browser interactions and independent MCP calls are separate
|
|
@@ -13,11 +13,11 @@ Create a named volume, initialize an application and start the server:
|
|
|
13
13
|
docker volume create toolframe-data
|
|
14
14
|
docker run --rm --cap-drop ALL --security-opt no-new-privileges:true \
|
|
15
15
|
-v toolframe-data:/data \
|
|
16
|
-
ghcr.io/toolframe/toolframe:0.8.
|
|
16
|
+
ghcr.io/toolframe/toolframe:0.8.2 init --template entry-register
|
|
17
17
|
docker run -d --name toolframe --restart unless-stopped \
|
|
18
18
|
--cap-drop ALL --security-opt no-new-privileges:true \
|
|
19
19
|
--stop-timeout 40 -p 127.0.0.1:9876:9876 -v toolframe-data:/data \
|
|
20
|
-
ghcr.io/toolframe/toolframe:0.8.
|
|
20
|
+
ghcr.io/toolframe/toolframe:0.8.2
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Open `http://localhost:9876`. To obtain the management sign-in link:
|
|
@@ -39,8 +39,8 @@ follow the [network and access guidance](../README.md#lan-access).
|
|
|
39
39
|
|
|
40
40
|
| Tag | Contents and intended use |
|
|
41
41
|
| --- | --- |
|
|
42
|
-
| `0.8.
|
|
43
|
-
| `0.8.
|
|
42
|
+
| `0.8.2` | Debian 13 slim, shell, Git, process tools and the Toolframe runtime. Supports Git plugin sources and interactive diagnosis. |
|
|
43
|
+
| `0.8.2-distroless` | Google Distroless Debian 13 C/C++ runtime, Toolframe, uv, managed Python, Tini and the `ps` dependencies required by Core. No shell, Git or OS package manager. |
|
|
44
44
|
| `latest` | Standard image for the latest stable Core release. |
|
|
45
45
|
| `distroless` | Distroless image for the latest stable Core release. |
|
|
46
46
|
|
|
@@ -51,7 +51,7 @@ and Python/Core preparation path. Base images and uv are pinned by
|
|
|
51
51
|
multi-platform digest in the Dockerfile.
|
|
52
52
|
|
|
53
53
|
To use Distroless, replace the image in both quick-start commands with
|
|
54
|
-
`ghcr.io/toolframe/toolframe:0.8.
|
|
54
|
+
`ghcr.io/toolframe/toolframe:0.8.2-distroless`. It retains uv because Toolframe
|
|
55
55
|
uses it for plugin environments. Python wheels and compatible pure-Python builds
|
|
56
56
|
work; Git sources, plugins invoking a shell, and native source builds needing
|
|
57
57
|
compilers or missing system libraries require another image. Neither variant
|
|
@@ -102,6 +102,9 @@ The context refuses:
|
|
|
102
102
|
bearing a recorded host-run token, uncertain runtime cleanup, or an unavailable
|
|
103
103
|
or malformed process inventory. A missing PID or PID file does not prove that
|
|
104
104
|
cleanup finished. Historical plugin `stopped` flags are not liveness evidence.
|
|
105
|
+
Positive process IDs with a zero process-group ID are valid, including Linux
|
|
106
|
+
kernel threads. Their commands remain part of the ownership scan; duplicate
|
|
107
|
+
IDs, negative group IDs, incomplete rows, and unreadable inventories are refused.
|
|
105
108
|
- `unknown` or `failed` runtime observations, including observations without a
|
|
106
109
|
PID. Only explicit durable `stopped` records and exact empty observations for
|
|
107
110
|
disabled candidates with no current or previous selection are accepted as
|
|
@@ -79,7 +79,10 @@ admit fetches, frames, other routes, writes or local-control URLs. Dashboard
|
|
|
79
79
|
session admission still applies. HTTP bodies are bounded;
|
|
80
80
|
OIDC transaction/session cookies are HttpOnly, Secure on HTTPS, and SameSite=Lax
|
|
81
81
|
for cross-site OIDC returns. Password/operator cookies remain SameSite=Strict and
|
|
82
|
-
are Secure when a canonical HTTPS origin is configured.
|
|
82
|
+
are Secure when a canonical HTTPS origin is configured. All four cookie types
|
|
83
|
+
use the parsed origin scheme, so HTTPS scheme casing does not affect Secure;
|
|
84
|
+
a direct HTTPS request also sets Secure. HTTP loopback development remains
|
|
85
|
+
supported. Core strips these cookies
|
|
83
86
|
before forwarding to presentation workers.
|
|
84
87
|
|
|
85
88
|
## Local management and failures
|
|
@@ -15,7 +15,7 @@ business databases. Do not provision Core tables in a business-provider database
|
|
|
15
15
|
Install the coordinated Core release with its optional driver:
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
pip install 'toolframe-core[postgres]==0.8.
|
|
18
|
+
pip install 'toolframe-core[postgres]==0.8.2'
|
|
19
19
|
toolframe-core --home ./app init
|
|
20
20
|
```
|
|
21
21
|
|