interlatch 0.29.1__tar.gz → 0.29.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.
- {interlatch-0.29.1 → interlatch-0.29.2}/CHANGELOG.md +11 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/PKG-INFO +1 -1
- interlatch-0.29.2/changelog.d/hub-glossary-members.md +4 -0
- interlatch-0.29.2/changelog.d/hub-project-page.md +6 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/dashboard.md +35 -5
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/demo/make_demo.py +71 -1
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/development.md +6 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/dashboard.md +32 -3
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/development.md +6 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/projects.py +40 -7
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/routes.py +2 -1
- interlatch-0.29.2/src/interlatch/projects/team.py +199 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/access.py +35 -4
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/app.css +28 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/app.js +252 -16
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/ja.js +55 -0
- interlatch-0.29.2/tests/test_project_team.py +248 -0
- interlatch-0.29.1/changelog.d/innerlatch-interview.md +0 -4
- interlatch-0.29.1/changelog.d/innerlatch-job-monsters.md +0 -4
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/dependabot.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/windows-ja-qa/driver.ps1 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/windows-ja-qa/ja_check.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/windows-ja-qa/report.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/windows-ja-qa/shots.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/windows-ja-qa/user.ps1 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/workflows/changelog.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/workflows/ci.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/workflows/docs.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/workflows/release.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.github/workflows/windows-ja-qa.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.gitignore +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.pre-commit-config.yaml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/.python-version +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/CONTRIBUTING.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/LICENSE +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/README.ja.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/ROADMAP.ja.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/ROADMAP.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/SECURITY.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/careers/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/careers/boards.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/careers/pipeline.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/changelog.d/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/dev.sh +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docker/.dockerignore +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docker/.env.example +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docker/Caddyfile +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docker/Dockerfile +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docker/compose.yaml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docker/wheels/.gitignore +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/_site/hooks.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/analysis.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/cli.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/configuration.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/demo/record_demo.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/design/innerlatch.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/design/ja/innerlatch.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/design/ja/learning.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/design/learning.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/devices.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/diagrams/analysis.excalidraw.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/diagrams/architecture.excalidraw.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/docker.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/faq.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/demo.gif +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/group-connections.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/hero.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/home.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/job-goal.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/map.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/palette.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/images/session.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/install.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/analysis.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/cli.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/configuration.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/devices.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/docker.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/faq.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/install.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/join-a-hub.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/mcp.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/moving-from-chronicle.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/party.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/postgres.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/privacy.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/profiles.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/sources.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/suggestions.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/troubleshooting.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/ja/vscode.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/join-a-hub.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/mcp.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/moving-from-chronicle.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/party.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/postgres.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/privacy.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/profiles.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/sources.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/suggestions.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/troubleshooting.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/docs/vscode.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/leaderboard/.firebaserc +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/leaderboard/.gitignore +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/leaderboard/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/leaderboard/firebase.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/leaderboard/firestore.indexes.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/leaderboard/firestore.rules +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/mkdocs.yml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/art.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/filing.html +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/loops.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/loops.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/members.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/render.html +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/render.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/scenes-more.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/icons3d/scenes.html +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/Chronicle.icns +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/Interlatch.spec +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/build.sh +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/entitlements.plist +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/icon-3d.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/icon-blueprint-prompt.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/icon-blueprint.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/icon.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/interlatch_app.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/macos/make_icon.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/packaging/release.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/pyproject.toml +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/chronicle/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/chronicle/__main__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/chronicle/windows.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/__main__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/digest.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/language.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/queue.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/api.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/base.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/bob.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/claude.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/codex.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/factory.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/off.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/opencode.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/process.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/replies.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/runners/settings.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/screen.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/session.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/analysis/worker.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/application/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/application/profiles.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/application/records.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/application/search.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/application/workflows.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/artifacts/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/artifacts/files.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/artifacts/queries.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/cli.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/agents.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/artifact_records.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/budget.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/config.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/diagrams.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/i18n/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/i18n/ja.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/machine.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/paths.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/pricing.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/process.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/profiles.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/redact.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/sessions.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/core/util.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/analyses.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/archive.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/chat_import.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/deletion.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/history.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/memory.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/persistence.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/report.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/ingestion/service.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/archive.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/hubs.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/knowledge.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/operations.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/recording.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/setup.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/commands/sharing.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/common.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/main.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/cli/parser.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/exports/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/exports/diagrams.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/exports/markdown.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/exports/sessions.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/exports/vault.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/mcp.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/artifacts.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/common.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/devices.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/hub_admin.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/hubs.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/knowledge.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/leaderboard.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/party.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/sessions.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/settings.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/sources.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/status.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/storage.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/api/team.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/app.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/assets.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/context.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/handler.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/jobs.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/interfaces/web/server.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/arena.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/bag.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/cases.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/formation.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/freshness.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/friction.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/gates.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/glossary.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/group_graph.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/hero.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/instructions.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/interview.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/jobprep.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/jobs.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/ladder.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/learning.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/market.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/party.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/reviews.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/roadmap.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/study.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/suggest.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/synthesize.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/knowledge/weekly.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/groups.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/hubgroups.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/labels.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/owners.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/progress.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/resume.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/routing.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/scope.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/projects/systems.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/connectors.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/container.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/feedback.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/hooks.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/install.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/migrate.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/notify.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/platforms/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/platforms/desktop.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/platforms/menubar.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/platforms/windows.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/statusline.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/tailnet.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/runtime/update.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/arena.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/client.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/identity.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/leaderboard.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/market.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/membership.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/news.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/people.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/projects.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/protocol.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/pull.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/push.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sharing/receiver.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/antigravity.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/bob.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/builder.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/chatgpt.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/chats.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/claude/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/claude/export.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/claude/files.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/claude/parser.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/codex/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/codex/cloud.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/codex/parser.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/copilot.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/discovery.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/opencode.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/sources/prompts.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/__init__.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/fts.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/kv.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/migrations.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/mirror.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/postgres.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/schema.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/sqlite.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/storage/team.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/AGENT-ICONS.txt +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/PLEX-OFL.txt +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/adventure.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-antigravity.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-bob.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-chatgpt.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-claude-ai.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-claude.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-codex.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-copilot.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/agent-opencode.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-book.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-camera.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-chip.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-clock.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-cloud.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-coins.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-container.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-dashboard.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-dex.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-document.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-flag.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-folder.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-gateway.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-gears.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-glitch.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-globe.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-laptop.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-log.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-lumi.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-magnifier.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-pip.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-plug.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-rack.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/art-tink.webp +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/battle.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/boot.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/favicon.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/field.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/i18n.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/icon-180.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/icon-192.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/icon-512.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/icon.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/index.html +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/innerlatch.css +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/innerlatch.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/learning.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/manifest.webmanifest +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/panel.css +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/panel.html +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/panel.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-mono-400.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-mono-500.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-mono-600.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-sans-400.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-sans-500.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-sans-600.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/plex-sans-700.woff2 +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/rough.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/scene.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/signin.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/web/sprites.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/src/interlatch/windows.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/antigravity_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/codex_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/conftest.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/copilot_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/0.21.3/chronicle.db +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/0.21.3/expected.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/0.27.8/chronicle.db +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/0.27.8/expected.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/0.5.0/chronicle.db +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/0.5.0/expected.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/fixtures/db/make_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/friction_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/golden.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/cli.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/diagram.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/parsers/antigravity.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/parsers/bob.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/parsers/claude_code.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/parsers/codex.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/parsers/copilot.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/parsers/opencode.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/goldens/systems.json +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/hubs_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/opencode_fixture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_adventure_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_analysis.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_antigravity.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_architecture.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_arena.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_artifacts.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_bag.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_battle_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_bob_analysis.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_boot_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_careers.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_case_files.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_cases.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_chat_import.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_cli_pins.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_codex.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_codex_analysis.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_codex_cloud.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_container.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_copilot_bob.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_db_compat.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_dedicated_hub.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_dedupe.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_desktop.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_diagram.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_doctor_agents.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_ee_boundary.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_feedback.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_field_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_fix_effect.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_formation.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_friction.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_game_mode.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_gates.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_glossary.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_group_graph.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_group_sharing.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_guidance.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hero.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_home_agents.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_accept.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_cookie.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_groups.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_inventory_scope.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_leave_join.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_news.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_payload_privacy.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_projects.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_projects_listed.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_purge.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_send_problems.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_hub_sharing_race.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_i18n_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_ingest.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_instructions.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_integration.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_interview.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_jobprep.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_jobs.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_knowledge_freshness.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_ladder.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_language.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_leaderboard.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_learning_glance.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_learning_interests.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_learning_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_leave_project.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_legacy_package.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_map_goldens.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_market.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_mcp_resume.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_menubar.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_migrate.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_mirror.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_notify.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_opencode.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_opencode_analysis.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_parser.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_parser_goldens.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_party.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_party_map.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_people.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_people_hub.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_people_web.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_profile_hubs.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_profile_scope.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_profiles.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_project_groups.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_project_progress.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_providers.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_queue.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_regressions.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_release.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_roadmap_catalog.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_route_matrix.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_screen.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_security.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_session_context_budget.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_setup.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_statusline.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_study.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_suggest.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_suggest_cli.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_systems.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_team.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_team_home.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_update.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_weekly_reanalysis.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/test_windows.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/tests/windows_smoke.py +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/uv.lock +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/.vscodeignore +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/LICENSE +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/README.md +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/extension.js +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/media/icon.png +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/media/interlatch.svg +0 -0
- {interlatch-0.29.1 → interlatch-0.29.2}/vscode-extension/package.json +0 -0
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
<!-- Don't add lines here: a pull request puts its line in a new file in changelog.d/ (see changelog.d/README.md),
|
|
4
4
|
and each release moves the files it took into a dated section below. -->
|
|
5
5
|
|
|
6
|
+
## 0.29.1 (2026-10-25)
|
|
7
|
+
|
|
8
|
+
- **The interview, your job goal's final boss:** three questions a day, written from the job description and from
|
|
9
|
+
your own past lessons, graded strong, fair or weak with what a strong answer covers and a better one from your own
|
|
10
|
+
work. It's practice until every must-have tower is lit; then two strong answers and none weak beat it and crown
|
|
11
|
+
the castle ([The interview](docs/party.md#the-interview)).
|
|
12
|
+
- **A job goal brings its own monsters:** practice battles written for each of its requirements, more where your gap
|
|
13
|
+
is bigger, roam their zones marked ♜ and count toward each module's gate like your own lessons, so even a skill with
|
|
14
|
+
no past lessons has a way in. The world map flags each requirement, the field shows the next tower to work on, and
|
|
15
|
+
your hero now leads the party in battle ([Job monsters](docs/party.md#job-monsters)).
|
|
16
|
+
|
|
6
17
|
## 0.29.0 (2026-10-24)
|
|
7
18
|
|
|
8
19
|
- **You are the hero in Innerlatch:** the Party now starts with a character you make (a name and a pixel look) on a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: interlatch
|
|
3
|
-
Version: 0.29.
|
|
3
|
+
Version: 0.29.2
|
|
4
4
|
Summary: Shared memory for your coding agents: records every session (Claude Code, Codex, Copilot, Bob, Antigravity, OpenCode) locally and keeps what they learned, each lesson linked to the session it came from.
|
|
5
5
|
Project-URL: Homepage, https://interlatch.com
|
|
6
6
|
Project-URL: Documentation, https://interlatch.com/docs/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
- **A project's glossary and mindmap on a team hub:** a project's page there has a **Glossary & map** tab: its terms
|
|
2
|
+
as a list or a mindmap. Teammates limited to some projects now see it too, with the terms their projects use and
|
|
3
|
+
what their projects say of them, never what another project wrote
|
|
4
|
+
([On a team hub](docs/dashboard.md#on-a-team-hub)).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
- **A project's page on a team hub:** the team's knowledge leads. Each knowledge base entry and lesson names whose
|
|
2
|
+
sessions taught it, lessons two people found separately sit side by side, **Since your last visit** lists new and
|
|
3
|
+
replaced lessons, **Start here** greets someone new to the project, **People** shows who has worked on what (never
|
|
4
|
+
a count per person), and **Who's working on it** draws each person's sessions over eight weeks. Tokens and cost
|
|
5
|
+
move to an admin-only Usage tab, and the Systems map is no longer offered where it would be empty or refused
|
|
6
|
+
([On a team hub](docs/dashboard.md#on-a-team-hub)).
|
|
@@ -133,11 +133,41 @@ The other tabs hold the rest: **Working here** (the knowledge base, its [archite
|
|
|
133
133
|
and the glossary), **Knowledge**, **Sessions**, **Artifacts** and **Usage** (the totals and the most edited files).
|
|
134
134
|
The tab you pick stays in the address, so a link or a reload opens it again.
|
|
135
135
|
|
|
136
|
-
The git rows and the roadmap file are read only in a browser on the computer the folder is on.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
The git rows and the roadmap file are read only in a browser on the computer the folder is on.
|
|
137
|
+
|
|
138
|
+
### On a team hub
|
|
139
|
+
|
|
140
|
+
On a hub with people, a project's page is written for a teammate rather than for "you, coming back", and the team's
|
|
141
|
+
knowledge leads. It is still read from what computers shared, with nothing written by a model:
|
|
142
|
+
|
|
143
|
+
- **Overview:** the knowledge base's three headline points, with how many lessons arrived since it was last written
|
|
144
|
+
(or, when the hub has no analysis engine, why there is none). **Since your last visit:** the sessions, new lessons
|
|
145
|
+
and pull requests since you last opened the page, the lessons a newer one replaced (outdated or contradicted, and
|
|
146
|
+
whether it was yours) and the ones someone else found again. Pages you open within half an hour are one visit, so a
|
|
147
|
+
reload doesn't empty it. Beside it, **Needs attention** and **Only one person has worked on** (topics from one
|
|
148
|
+
person's sessions only: worth asking them, or pairing on it). Below, **Who's working on it**: each person's sessions
|
|
149
|
+
over the last eight weeks as dots, sized by active time and coloured by outcome, with a table view.
|
|
150
|
+
- **Start here:** the gotchas and fixes, decisions and commands the team learned, the most trusted first, and who to
|
|
151
|
+
ask. Someone with no sessions in the project opens the page here.
|
|
152
|
+
- **Knowledge base:** each entry names whose sessions taught it ("learned by"), with a badge when more than one person
|
|
153
|
+
found it. **Hit by more than one person** puts the sessions in which different people found the same lesson side by
|
|
154
|
+
side.
|
|
155
|
+
- **Glossary & map:** the project's terms as a list or as a mindmap (category, then theme), for everyone who sees the
|
|
156
|
+
project. Someone limited to some projects gets the terms their projects use, each with what their projects say of
|
|
157
|
+
it: a term's definition shows when one of their projects wrote it, and otherwise their project's own note on it.
|
|
158
|
+
What a term gathers across projects (aliases, related terms, how often it was mentioned, the sessions it came up in
|
|
159
|
+
most, a theme's description) isn't shown to them.
|
|
160
|
+
- **Lessons:** every lesson with who it was learned from, narrowed to a person or a kind, or the lessons a newer one
|
|
161
|
+
replaced.
|
|
162
|
+
- **People:** who has worked on what, as topics from their sessions here.
|
|
163
|
+
- **Activity:** **Where the team left off**, **Week by week** and the sessions. **Usage** (tokens, cost, most edited
|
|
164
|
+
files) is for admins only.
|
|
165
|
+
|
|
166
|
+
People are credited, never counted: the page shows no lessons, sessions or time per person. Pull requests come from
|
|
167
|
+
the transcripts computers send (`share = "everything"`), or from the links a session lists when a computer shares
|
|
168
|
+
knowledge; commits only from transcripts. Someone limited to some projects sees their projects only, and the sessions,
|
|
169
|
+
not their pull requests, as on a session's page. The Systems map isn't offered on a hub that takes knowledge only (it
|
|
170
|
+
reads the commands sessions ran, which stay on members' computers), nor to someone limited to projects.
|
|
141
171
|
|
|
142
172
|
## Project groups
|
|
143
173
|
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
uv run python docs/demo/make_demo.py /tmp/interlatch-demo
|
|
4
4
|
INTERLATCH_HOME=/tmp/interlatch-demo/home uv run python -m interlatch ui --port 8898 --open
|
|
5
5
|
|
|
6
|
+
With --hub, the demo computer is then a team hub with people: Ada at the hub, Yuma and Ueno sending from their own
|
|
7
|
+
computers, each with some of the sessions, so a project's page shows the team's side (whose sessions taught what).
|
|
8
|
+
|
|
6
9
|
It writes synthetic Claude Code transcripts for a fictional developer (five projects, about six weeks), then runs the
|
|
7
10
|
real pipeline over them: sync, analysis, knowledge bases, glossary and weekly reviews. Then a project group with its
|
|
8
11
|
Mindmap analyzed, and game mode on with a hero in Innerlatch: a path, lessons studied, gates passed and a job goal.
|
|
@@ -554,7 +557,8 @@ print(json.dumps({"type": "result", "subtype": "success", "is_error": False, "re
|
|
|
554
557
|
|
|
555
558
|
|
|
556
559
|
def main() -> None:
|
|
557
|
-
|
|
560
|
+
paths = [a for a in sys.argv[1:] if not a.startswith("--")]
|
|
561
|
+
out = Path(paths[0] if paths else "/tmp/interlatch-demo").resolve()
|
|
558
562
|
if out.exists():
|
|
559
563
|
shutil.rmtree(out)
|
|
560
564
|
claude_dir, home, bindir = out / "claude", out / "home", out / "bin"
|
|
@@ -609,6 +613,8 @@ def main() -> None:
|
|
|
609
613
|
week = (now - timedelta(weeks=w)).strftime("%G-W%V")
|
|
610
614
|
chronicle("review", week)
|
|
611
615
|
subprocess.run([sys.executable, __file__, "--group-and-hero", str(home)], env=env, check=True)
|
|
616
|
+
if "--hub" in sys.argv:
|
|
617
|
+
subprocess.run([sys.executable, __file__, "--team-hub", str(home)], env=env, check=True)
|
|
612
618
|
print(f"\nDemo ready. Open it with:\n INTERLATCH_HOME={home} uv run python -m interlatch ui --port 8898 --open")
|
|
613
619
|
|
|
614
620
|
|
|
@@ -647,8 +653,72 @@ def group_and_hero(home: Path) -> None:
|
|
|
647
653
|
jobs.add(conn, cfg, cat, None, title=JOB["title"], company=JOB["company"], text=JOB["text"])
|
|
648
654
|
|
|
649
655
|
|
|
656
|
+
TEAM = (("Yuma", "yuma@example.com", ["billing-api", "storefront"]), ("Ueno", "ueno@example.com", None))
|
|
657
|
+
SHARED = ("billing-api", "storefront", "infra") # the projects whose sessions the team splits
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
def team_hub(home: Path) -> None:
|
|
661
|
+
"""The demo computer as a team hub with people (--hub): Ada, an admin, works at the hub; Yuma (limited to two
|
|
662
|
+
projects) and Ueno send from their own computers. The sessions of SHARED are split between the three, a lesson of
|
|
663
|
+
each project is stated again in a teammate's session, and one is replaced by a newer one, so a project's page has
|
|
664
|
+
whose-sessions-taught-what, side-by-side cases and "since your last visit" to show. Prints a sign-in link each."""
|
|
665
|
+
from interlatch.core.config import load_config, set_config_value
|
|
666
|
+
from interlatch.core.machine import local_machine_id
|
|
667
|
+
from interlatch.core.util import to_iso, utcnow
|
|
668
|
+
from interlatch.projects.team import VISIT_KV
|
|
669
|
+
from interlatch.sharing import people
|
|
670
|
+
from interlatch.sharing.identity import new_token
|
|
671
|
+
from interlatch.storage.kv import kv_set
|
|
672
|
+
from interlatch.storage.sqlite import connect
|
|
673
|
+
|
|
674
|
+
cfg = load_config(home)
|
|
675
|
+
new_token(cfg)
|
|
676
|
+
set_config_value(cfg, "hub", "name", '"Acme team"')
|
|
677
|
+
conn = connect(cfg.db_path)
|
|
678
|
+
here = local_machine_id(cfg)
|
|
679
|
+
ada = people.add(conn, "Ada Lovelace", "ada@example.com", "admin")
|
|
680
|
+
conn.execute("UPDATE machines SET person_id = ? WHERE id = ?", (ada["id"], here))
|
|
681
|
+
links, machines = {"Ada Lovelace": people.invite(conn, ada["id"])}, [here]
|
|
682
|
+
for i, (name, email, projects) in enumerate(TEAM):
|
|
683
|
+
person = people.add(conn, name, email, "member", by=ada, projects=[f"{ROOT}/{p}" for p in projects] if projects else None)
|
|
684
|
+
mid = str(uuid.UUID(int=0xD3E0 + i, version=4))
|
|
685
|
+
conn.execute("INSERT INTO machines(id, name, role, first_seen, last_seen) VALUES (?, ?, 'spoke', ?, ?)",
|
|
686
|
+
(mid, f"{name.lower()}-laptop", to_iso(utcnow()), to_iso(utcnow())))
|
|
687
|
+
people.join_computer(conn, people.invite(conn, person["id"], machine=mid), mid, f"{name.lower()}-laptop")
|
|
688
|
+
links[name] = people.invite(conn, person["id"])
|
|
689
|
+
machines.append(mid)
|
|
690
|
+
rng = random.Random(11)
|
|
691
|
+
for project in SHARED:
|
|
692
|
+
sids = [r[0] for r in conn.execute("SELECT id FROM sessions WHERE project_path = ? ORDER BY started_at", (f"{ROOT}/{project}",))]
|
|
693
|
+
owner = {sid: machines[(i + rng.randrange(2)) % len(machines)] for i, sid in enumerate(sids)}
|
|
694
|
+
for sid, mid in owner.items():
|
|
695
|
+
conn.execute("UPDATE sessions SET machine_id = ? WHERE id = ?", (mid, sid))
|
|
696
|
+
lesson = conn.execute("SELECT id, session_id, confirmed_json FROM knowledge WHERE project_path = ? AND status = 'active' "
|
|
697
|
+
"AND kind IN ('gotcha', 'fix') ORDER BY id LIMIT 1", (f"{ROOT}/{project}",)).fetchone()
|
|
698
|
+
other = next((sid for sid in sids if lesson and owner.get(sid) != owner.get(lesson["session_id"])), None)
|
|
699
|
+
if other: # a teammate hit the same thing in a session of their own
|
|
700
|
+
confirmed = json.loads(lesson["confirmed_json"] or "[]") or [lesson["session_id"]]
|
|
701
|
+
conn.execute("UPDATE knowledge SET confirmed_json = ?, stage = 'established' WHERE id = ?",
|
|
702
|
+
(json.dumps([*confirmed, other]), lesson["id"]))
|
|
703
|
+
newest, older = conn.execute("SELECT id FROM knowledge WHERE project_path = ? AND status = 'active' ORDER BY id DESC LIMIT 2",
|
|
704
|
+
(f"{ROOT}/billing-api",)).fetchall()
|
|
705
|
+
conn.execute("UPDATE knowledge SET status = 'superseded', superseded_by = ?, superseded_reason = 'outdated', superseded_at = ? "
|
|
706
|
+
"WHERE id = ?", (newest[0], to_iso(utcnow() - timedelta(hours=20)), older[0]))
|
|
707
|
+
kid = conn.execute("SELECT MAX(id) FROM knowledge").fetchone()[0]
|
|
708
|
+
for (pid,) in conn.execute("SELECT id FROM people").fetchall(): # each last looked two days ago, before the newest lessons
|
|
709
|
+
for project in PROJECTS:
|
|
710
|
+
kv_set(conn, f"{VISIT_KV}p:{pid}:{ROOT}/{project}",
|
|
711
|
+
json.dumps({"seen": to_iso(utcnow() - timedelta(days=2)), "kid": kid - 4, "prev": None, "prev_kid": None}))
|
|
712
|
+
conn.commit()
|
|
713
|
+
print("\nTeam hub ready. Sign in as (open on the hub's address):")
|
|
714
|
+
for name, code in links.items():
|
|
715
|
+
print(f" {name}: /signin?code={code}")
|
|
716
|
+
|
|
717
|
+
|
|
650
718
|
if __name__ == "__main__":
|
|
651
719
|
if sys.argv[1:2] == ["--group-and-hero"]:
|
|
652
720
|
group_and_hero(Path(sys.argv[2]))
|
|
721
|
+
elif sys.argv[1:2] == ["--team-hub"]:
|
|
722
|
+
team_hub(Path(sys.argv[2]))
|
|
653
723
|
else:
|
|
654
724
|
main()
|
|
@@ -215,6 +215,12 @@ uv run python docs/demo/make_demo.py /tmp/interlatch-demo
|
|
|
215
215
|
INTERLATCH_HOME=/tmp/interlatch-demo/home uv run python -m interlatch ui --port 8898 --open
|
|
216
216
|
```
|
|
217
217
|
|
|
218
|
+
With `--hub`, the demo computer then becomes a team hub with people: Ada, an admin, works at the hub, and Yuma (who
|
|
219
|
+
sees only *billing-api* and *storefront*) and Ueno send from their own computers. Their sessions of three projects
|
|
220
|
+
are split between them, so a project's page shows [the team's side](dashboard.md#on-a-team-hub). It prints a sign-in
|
|
221
|
+
link for each person; open one from another device, or through a proxy, to see the hub as that person (a browser at
|
|
222
|
+
the hub itself is always its admin).
|
|
223
|
+
|
|
218
224
|
The README's GIF and tour video come from it too. With that dashboard running, `docs/demo/record_demo.py` drives
|
|
219
225
|
headless Chromium through a scripted tour (it needs `ffmpeg` on PATH). It writes the whole tour to
|
|
220
226
|
`docs/images/demo.mp4`, which git ignores, and a few seconds of it, under the 600 KB the large-file hook allows, to
|
|
@@ -82,10 +82,39 @@ macOS 以外では ⌘ の代わりに Ctrl を使います。macOS アプリで
|
|
|
82
82
|
ほかのタブ:**作業の手引き**(ナレッジベース、[アーキテクチャ図](#アーキテクチャ図)、用語集)、**ナレッジ**、**セッション**、
|
|
83
83
|
**成果物**、**使用量**(合計と編集の多いファイル)。選んだタブはアドレスに残るので、リンクや再読み込みでも同じタブが開きます。
|
|
84
84
|
|
|
85
|
-
git
|
|
86
|
-
|
|
85
|
+
git の行とロードマップのファイルは、フォルダーがあるコンピューター上のブラウザーでだけ読み取ります。
|
|
86
|
+
|
|
87
|
+
### チームのハブでは
|
|
88
|
+
|
|
89
|
+
人のいるハブでは、プロジェクトのページは「戻ってきた自分」ではなくチームメイトのために書かれ、チームのナレッジが先頭に来ます。
|
|
90
|
+
内容はコンピューターが共有したものから読み取り、モデルが書くものはありません。
|
|
91
|
+
|
|
92
|
+
- **概要:** ナレッジベースの要点 3 つと、最後に作成した後に届いた教訓の数(ハブに分析エンジンがない場合は、ナレッジベースが
|
|
93
|
+
ない理由)。**前回の訪問以降:** 前回このページを開いてからのセッション、新しい教訓、プルリクエスト、新しい教訓に置き換えられた
|
|
94
|
+
教訓(古くなったか矛盾したか、あなたの教訓だったか)、ほかの人も見つけた教訓。30 分以内に開いたページは 1 回の訪問として
|
|
95
|
+
扱うので、再読み込みしても消えません。横に**要対応**と**一人だけが取り組んだテーマ**(一人のセッションにしか出てこない
|
|
96
|
+
テーマ。その人に聞くか、一緒に取り組む価値があります)。下に**誰が取り組んでいるか**: 直近 8 週間の各人のセッションを点で
|
|
97
|
+
表示し、大きさは作業時間、色は結果です。表でも見られます。
|
|
98
|
+
- **はじめに:** チームが学んだ落とし穴と修正、決定、コマンドを信頼度の高い順に並べ、誰に聞くかも示します。このプロジェクトに
|
|
99
|
+
セッションがない人は、ここからページが開きます。
|
|
100
|
+
- **ナレッジベース:** 各項目に、どの人のセッションから学んだか(「から学んだ教訓」)を示し、複数の人が見つけた項目には
|
|
101
|
+
バッジが付きます。**複数の人が遭遇した教訓**では、別々の人が同じ教訓を見つけたセッションを並べて表示します。
|
|
102
|
+
- **用語集とマップ:** プロジェクトの用語を、一覧またはマインドマップ(カテゴリー、次にテーマ)で表示します。プロジェクトを
|
|
103
|
+
見られる人なら誰でも見られます。一部のプロジェクトだけを見られる人には、そのプロジェクトが使う用語を、そのプロジェクトでの
|
|
104
|
+
説明とともに表示します。用語の定義は、その人のプロジェクトが書いたものだけを表示し、それ以外はそのプロジェクトでの使われ方の
|
|
105
|
+
メモを代わりに表示します。複数のプロジェクトにまたがる情報(別名、関連する用語、言及の回数、よく出てきたセッション、テーマの
|
|
106
|
+
説明)は表示しません。
|
|
107
|
+
- **教訓:** すべての教訓を、誰から学んだかとともに表示します。人や種類で絞り込んだり、新しい教訓に置き換えられた教訓を表示
|
|
108
|
+
したりできます。
|
|
109
|
+
- **利用者:** 誰が何に取り組んだかを、このプロジェクトでのセッションのテーマで示します。
|
|
110
|
+
- **アクティビティ:** **チームが中断したところ**、**週ごと**、セッション。**使用量**(トークン、コスト、編集の多いファイル)は
|
|
111
|
+
管理者だけに表示します。
|
|
112
|
+
|
|
113
|
+
人の名前は出しますが、数えません。人ごとの教訓、セッション、時間の数は表示しません。プルリクエストは、コンピューターが送る
|
|
87
114
|
トランスクリプト(`share = "everything"`)から、ナレッジを共有するコンピューターではセッションが記録しているリンクから表示します。
|
|
88
|
-
|
|
115
|
+
コミットはトランスクリプトからだけです。一部のプロジェクトだけを見られる人には、そのプロジェクトだけを、セッションのページと同じく
|
|
116
|
+
プルリクエストなしで表示します。システムマップは、ナレッジだけを受け取るハブ(セッションが実行したコマンドを読むため、
|
|
117
|
+
メンバーのコンピューターに残ります)と、一部のプロジェクトだけを見られる人には表示しません。
|
|
89
118
|
|
|
90
119
|
## プロジェクトのグループ
|
|
91
120
|
|
|
@@ -201,6 +201,12 @@ uv run python docs/demo/make_demo.py /tmp/interlatch-demo
|
|
|
201
201
|
INTERLATCH_HOME=/tmp/interlatch-demo/home uv run python -m interlatch ui --port 8898 --open
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
+
`--hub` を付けると、そのあとデモのコンピューターが人のいるチームのハブになります。管理者の Ada がハブで作業し、Yuma
|
|
205
|
+
(*billing-api* と *storefront* だけを見られます)と Ueno が自分のコンピューターから送ります。3 つのプロジェクトのセッションを
|
|
206
|
+
3 人で分けるので、プロジェクトのページに[チームの側](dashboard.md#チームのハブでは)が表示されます。各人のサインイン用のリンクを
|
|
207
|
+
表示します。その人としてハブを見るには、別のデバイスかプロキシ経由で開いてください(ハブのコンピューター上のブラウザーは常に
|
|
208
|
+
管理者です)。
|
|
209
|
+
|
|
204
210
|
README の GIF とツアー動画もこのデータから作ります。そのダッシュボードを動かしたまま `docs/demo/record_demo.py` を実行すると、
|
|
205
211
|
ヘッドレスの Chromium が決まった順にダッシュボードを巡ります(`ffmpeg` が PATH に必要です)。ツアー全体は git が無視する
|
|
206
212
|
`docs/images/demo.mp4` に、その数秒は大きなファイルを止めるフックが許す 600 KB 以内で `docs/images/demo.gif` に書き出されます。
|
|
@@ -11,7 +11,7 @@ from ....core.i18n import tr
|
|
|
11
11
|
from ....core.paths import abs_path_sql, clean_abs_path, is_abs_path, normalize_project_path, path_kind, path_variants
|
|
12
12
|
from ....core.util import loads, to_iso, utcnow
|
|
13
13
|
from .artifacts import _artifact_summary
|
|
14
|
-
from .common import knowledge_item, label_who, session_rows
|
|
14
|
+
from .common import knowledge_item, label_who, session_rows, who_labels
|
|
15
15
|
|
|
16
16
|
pass
|
|
17
17
|
import subprocess
|
|
@@ -171,10 +171,12 @@ def action_project_groups(ctx: Context, verb: str, body: dict) -> tuple[dict, in
|
|
|
171
171
|
return {"error": str(exc), "on_hub": exc.can_leave}, 409
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
def project(ctx: Context, path: str, here: bool = False, limited: bool = False) -> dict | None:
|
|
174
|
+
def project(ctx: Context, path: str, here: bool = False, limited: bool = False, viewer: dict | None = None) -> dict | None:
|
|
175
175
|
"""One project's page. here: the request comes from this computer, so its folder's git state and roadmap file
|
|
176
176
|
are read too.
|
|
177
|
-
limited: someone limited to some projects, who isn't shown the pull requests a session lists (as on its page).
|
|
177
|
+
limited: someone limited to some projects, who isn't shown the pull requests a session lists (as on its page).
|
|
178
|
+
viewer: who is looking, on a hub with people (None at the hub itself); there the page also gets the team's side
|
|
179
|
+
(projects.team), and this visit is recorded for their next "since your last visit"."""
|
|
178
180
|
c = ctx.conn
|
|
179
181
|
if path == GLOBAL:
|
|
180
182
|
kb = c.execute("SELECT * FROM project_kb WHERE project_path = ?", (GLOBAL,)).fetchone()
|
|
@@ -196,7 +198,6 @@ def project(ctx: Context, path: str, here: bool = False, limited: bool = False)
|
|
|
196
198
|
(path,)).fetchone()
|
|
197
199
|
if not stats or not stats["sessions"]:
|
|
198
200
|
return None
|
|
199
|
-
from ....knowledge.glossary import glossary_entries
|
|
200
201
|
from ...exports.diagrams import for_kb
|
|
201
202
|
kb = c.execute("SELECT * FROM project_kb WHERE project_path = ?", (path,)).fetchone()
|
|
202
203
|
labels = project_labels(c)
|
|
@@ -208,6 +209,7 @@ def project(ctx: Context, path: str, here: bool = False, limited: bool = False)
|
|
|
208
209
|
recent = label_who(ctx, progress.recent(c, path)) # on a hub with people, whose session each one is
|
|
209
210
|
repo = progress.repo_state(path) if here else None # the folder, and a roadmap in it, only on this computer
|
|
210
211
|
return {
|
|
212
|
+
"team": _team_side(ctx, path, kb, viewer, limited),
|
|
211
213
|
"project_path": path,
|
|
212
214
|
"shared": path in declared_projects(c),
|
|
213
215
|
"hub": hub_project_of(ctx.cfg, [path], c).get(path),
|
|
@@ -227,9 +229,7 @@ def project(ctx: Context, path: str, here: bool = False, limited: bool = False)
|
|
|
227
229
|
"knowledge": [knowledge_item(ctx, dict(r)) for r in c.execute(
|
|
228
230
|
"SELECT k.*, s.title session_title FROM knowledge k LEFT JOIN sessions s ON s.id = k.session_id "
|
|
229
231
|
"WHERE k.project_path = ? AND k.status = 'active' ORDER BY k.pinned DESC, k.id DESC LIMIT 300", (path,))],
|
|
230
|
-
"glossary":
|
|
231
|
-
"context": next((u["context"] for u in g["usage"] if u["project_path"] == path), "")}
|
|
232
|
-
for g in glossary_entries(c, project=path)],
|
|
232
|
+
"glossary": _glossary(c, path),
|
|
233
233
|
"files": [dict(r) for r in c.execute(
|
|
234
234
|
"SELECT f.path, COUNT(*) sessions, SUM(f.edits + f.writes) edits, SUM(f.lines_added) added, SUM(f.lines_removed) removed "
|
|
235
235
|
"FROM session_files f JOIN sessions s ON s.id = f.session_id WHERE s.project_path = ? AND (f.edits + f.writes) > 0 "
|
|
@@ -237,6 +237,39 @@ def project(ctx: Context, path: str, here: bool = False, limited: bool = False)
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
|
|
240
|
+
def _team_side(ctx: Context, path: str, kb, viewer: dict | None, limited: bool) -> dict | None:
|
|
241
|
+
"""The team's side of a project's page on a hub with people (projects.team), None anywhere else."""
|
|
242
|
+
from ....projects.team import team_view, visit
|
|
243
|
+
from .team import hub_info
|
|
244
|
+
|
|
245
|
+
hub = hub_info(ctx)
|
|
246
|
+
if not hub or not hub["team"]:
|
|
247
|
+
return None
|
|
248
|
+
whos = who_labels(ctx)
|
|
249
|
+
key = f"p:{viewer['id']}" if viewer else whos[None][1]
|
|
250
|
+
since = visit(ctx.conn, key, path)
|
|
251
|
+
ctx.conn.commit()
|
|
252
|
+
from ....knowledge.glossary import map_data
|
|
253
|
+
|
|
254
|
+
terms = map_data(ctx.conn, [path]) # the project's glossary as a mindmap, through the same views
|
|
255
|
+
return {**team_view(ctx.conn, path, whos, key, kb=dict(kb) if kb else None, since=since, prs=not limited),
|
|
256
|
+
"engine": ctx.cfg.analysis.backend != "none", "knowledge_only": hub["knowledge_only"],
|
|
257
|
+
"map": terms if terms["terms"] else None}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
def _glossary(c, path: str) -> list[dict]:
|
|
261
|
+
"""The terms a project uses, each with what this project says of it. A definition another project wrote reads as
|
|
262
|
+
NULL to someone limited to projects (sharing.access), who gets this project's own usage note in its place."""
|
|
263
|
+
from ....knowledge.glossary import glossary_entries
|
|
264
|
+
|
|
265
|
+
out = []
|
|
266
|
+
for g in glossary_entries(c, project=path):
|
|
267
|
+
context = next((u["context"] for u in g["usage"] if u["project_path"] == path), "") or ""
|
|
268
|
+
out.append({"term": g["term"], "category": g["category"], "definition": g["definition"] or context,
|
|
269
|
+
"context": context if g["definition"] else ""})
|
|
270
|
+
return out
|
|
271
|
+
|
|
272
|
+
|
|
240
273
|
def _labelled(ctx: Context, timeline: dict) -> dict:
|
|
241
274
|
label_who(ctx, [x for w in timeline["weeks"] for x in w["items"]]) # all weeks at once: one look-up of who's who
|
|
242
275
|
return timeline
|
|
@@ -132,7 +132,8 @@ def _artifact_file(h, ctx, m, q): # an image or diagram an agent made, still on
|
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
def _project(h, ctx, m, q):
|
|
135
|
-
proj = api.projects.project(ctx, unquote(q.get("path", "")), here=h._from_here(), limited=h.limited
|
|
135
|
+
proj = api.projects.project(ctx, unquote(q.get("path", "")), here=h._from_here(), limited=h.limited,
|
|
136
|
+
viewer=h.viewer)
|
|
136
137
|
return h._json({**proj, "local": h._local()}) if proj else h._json({"error": tr("not found")}, 404)
|
|
137
138
|
|
|
138
139
|
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"""A project's page on a team hub (api.projects.project, `team`): the team's knowledge first, and who it came from.
|
|
2
|
+
|
|
3
|
+
A hub with people keeps lessons and session summaries from several people's computers. The page reads them for a
|
|
4
|
+
teammate: what the knowledge base says and whose sessions taught each part, what changed since this person last
|
|
5
|
+
looked, the lessons two people hit separately (side by side, as cases), who has worked on what, and, for someone new to
|
|
6
|
+
the project, where to start. All of it is read from the archive as the request's connection sees it (someone limited
|
|
7
|
+
to projects sees only theirs); no model writes any of it.
|
|
8
|
+
|
|
9
|
+
People are credited as the ones a lesson was learned from, never counted: no lessons, sessions or time per person
|
|
10
|
+
(per-person tallies turn into a scoreboard and give people a reason to hold sessions back).
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
import json
|
|
16
|
+
import sqlite3
|
|
17
|
+
from collections import Counter, defaultdict
|
|
18
|
+
from datetime import timedelta
|
|
19
|
+
|
|
20
|
+
from ..core.util import loads, parse_ts, to_iso, utcnow
|
|
21
|
+
from ..knowledge.ladder import STAGE_RANK, confirmations
|
|
22
|
+
from ..storage.kv import kv_get, kv_set
|
|
23
|
+
|
|
24
|
+
LANE_WEEKS = 8 # weeks of sessions in "Who's working on it"
|
|
25
|
+
LANE_PEOPLE = 8 # people with a lane of their own; the rest share "Others"
|
|
26
|
+
NEW_SHOWN = 8 # new lessons listed under "Since your last visit"
|
|
27
|
+
CASES = 5 # lessons more than one person hit, shown side by side
|
|
28
|
+
START_ITEMS = 5 # entries in each "Start here" list
|
|
29
|
+
TOPICS = 6 # topics shown for each person
|
|
30
|
+
SOLO_MIN = 2 # sessions on a topic before "only one person has worked on it" is said
|
|
31
|
+
SOLO_SHOWN = 8
|
|
32
|
+
REPLACED_SHOWN = 50
|
|
33
|
+
REVISIT = timedelta(minutes=30) # a gap this long starts a new visit: what came before it is "since your last visit"
|
|
34
|
+
START_KINDS = {"gotcha": "gotchas", "fix": "gotchas", "decision": "decisions", "command": "commands"}
|
|
35
|
+
VISIT_KV = "project-visit:" # + viewer key + ":" + project path
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def who_of(who: dict, machine_id: str | None) -> tuple[str, str]:
|
|
39
|
+
"""(name, key) of a session's computer, as api.common.label_who names it: its person's, else the computer's."""
|
|
40
|
+
return who.get(machine_id) or (who[None] if not machine_id else (machine_id[:8], f"m:{machine_id}"))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def visit(conn: sqlite3.Connection, viewer: str, path: str) -> dict | None:
|
|
44
|
+
"""Record that `viewer` is looking at the project now, and return when they last looked before this visit:
|
|
45
|
+
{"at": iso, "kid": the newest lesson id then}, None on a first visit. Pages opened within REVISIT of each other
|
|
46
|
+
are one visit, so reloading doesn't empty "Since your last visit". The caller commits."""
|
|
47
|
+
key = f"{VISIT_KV}{viewer}:{path}"
|
|
48
|
+
now = utcnow()
|
|
49
|
+
kid = conn.execute("SELECT COALESCE(MAX(id), 0) FROM knowledge WHERE project_path = ?", (path,)).fetchone()[0]
|
|
50
|
+
try:
|
|
51
|
+
st = json.loads(kv_get(conn, key) or "{}")
|
|
52
|
+
except ValueError:
|
|
53
|
+
st = {}
|
|
54
|
+
seen = parse_ts(st.get("seen")) if isinstance(st, dict) else None
|
|
55
|
+
if not seen:
|
|
56
|
+
new = {"seen": to_iso(now), "kid": kid, "prev": None, "prev_kid": None}
|
|
57
|
+
elif now - seen > REVISIT:
|
|
58
|
+
new = {"seen": to_iso(now), "kid": kid, "prev": st["seen"], "prev_kid": st.get("kid")}
|
|
59
|
+
else:
|
|
60
|
+
new = {**st, "seen": to_iso(now), "kid": kid}
|
|
61
|
+
kv_set(conn, key, json.dumps(new))
|
|
62
|
+
return {"at": new["prev"], "kid": new["prev_kid"] or 0} if new["prev"] else None
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def team_view(conn: sqlite3.Connection, path: str, who: dict, viewer: str, *, kb: dict | None, since: dict | None,
|
|
66
|
+
prs: bool = True) -> dict:
|
|
67
|
+
"""The team's side of a project's page. `who`: api.common.who_labels; `viewer`: the key of who is looking (p:<id>,
|
|
68
|
+
or m:<id> at the hub itself); `kb`: the project's project_kb row; `since`: visit()'s last visit; `prs`: count the
|
|
69
|
+
pull requests sessions list (not for someone limited to projects, who isn't shown them)."""
|
|
70
|
+
sessions = {}
|
|
71
|
+
for r in conn.execute(
|
|
72
|
+
"SELECT id, machine_id, started_at, ingested_at, active_s, outcome, outcome_note, analysis_status, "
|
|
73
|
+
"COALESCE(llm_title, title) title, tags_json, work_types_json, prs_json FROM sessions "
|
|
74
|
+
"WHERE project_path = ? AND source != 'history'", (path,)):
|
|
75
|
+
d = dict(r)
|
|
76
|
+
d["who"], d["key"] = who_of(who, d.pop("machine_id"))
|
|
77
|
+
sessions[d["id"]] = d
|
|
78
|
+
lessons = [dict(r) for r in conn.execute(
|
|
79
|
+
"SELECT id, session_id, kind, title, body, stage, confirmed_json, basis, status, superseded_by, superseded_reason, "
|
|
80
|
+
"superseded_at, created_at FROM knowledge WHERE project_path = ? AND status IN ('active', 'superseded') "
|
|
81
|
+
"ORDER BY id DESC", (path,))]
|
|
82
|
+
by_id = {k["id"]: k for k in lessons}
|
|
83
|
+
|
|
84
|
+
def people(k: dict) -> list[dict]: # whose sessions state the lesson, first finder first, each person once
|
|
85
|
+
out, seen = [], set()
|
|
86
|
+
for sid in confirmations(k):
|
|
87
|
+
s = sessions.get(sid)
|
|
88
|
+
if s and s["key"] not in seen:
|
|
89
|
+
seen.add(s["key"])
|
|
90
|
+
out.append({"who": s["who"], "key": s["key"]})
|
|
91
|
+
return out
|
|
92
|
+
|
|
93
|
+
learned = {k["id"]: people(k) for k in lessons}
|
|
94
|
+
active = [k for k in lessons if k["status"] == "active"]
|
|
95
|
+
brief = lambda k: {"id": k["id"], "kind": k["kind"], "title": k["title"], "learned_by": learned[k["id"]]} # noqa: E731
|
|
96
|
+
trusted = lambda k: (-STAGE_RANK.get(k["stage"] or "provisional", 1), -len(confirmations(k)), -k["id"]) # noqa: E731
|
|
97
|
+
|
|
98
|
+
cases = []
|
|
99
|
+
for k in sorted((k for k in active if len(learned[k["id"]]) > 1), key=trusted)[:CASES]:
|
|
100
|
+
firsts = {}
|
|
101
|
+
for sid in confirmations(k): # each person's first session that states it
|
|
102
|
+
s = sessions.get(sid)
|
|
103
|
+
if s and s["key"] not in firsts:
|
|
104
|
+
firsts[s["key"]] = {"who": s["who"], "key": s["key"], "session": {
|
|
105
|
+
"id": s["id"], "title": s["title"], "outcome": s["outcome"], "outcome_note": s["outcome_note"],
|
|
106
|
+
"started_at": s["started_at"]}}
|
|
107
|
+
cases.append({**brief(k), "body": k["body"], "stage": k["stage"], "people": list(firsts.values())})
|
|
108
|
+
|
|
109
|
+
news = None
|
|
110
|
+
if since:
|
|
111
|
+
cut = parse_ts(since["at"])
|
|
112
|
+
fresh = [s for s in sessions.values() if (parse_ts(s["ingested_at"] or s["started_at"]) or cut) > cut]
|
|
113
|
+
new = [k for k in active if k["id"] > (since["kid"] or 0)]
|
|
114
|
+
moved = [k for k in lessons if k["status"] == "superseded" and (parse_ts(k["superseded_at"]) or cut) > cut]
|
|
115
|
+
|
|
116
|
+
def replaced(k: dict) -> dict:
|
|
117
|
+
by = by_id.get(k["superseded_by"])
|
|
118
|
+
old = learned[k["id"]]
|
|
119
|
+
return {**brief(k), "reason": k["superseded_reason"], "by": brief(by) if by else None,
|
|
120
|
+
"mine": any(p["key"] == viewer for p in old)}
|
|
121
|
+
|
|
122
|
+
names = list(dict.fromkeys(s["who"] for s in sorted(fresh, key=lambda s: s["started_at"] or "", reverse=True)))
|
|
123
|
+
news = {"at": since["at"], "sessions": len(fresh), "people": names,
|
|
124
|
+
"lessons": [brief(k) for k in new[:NEW_SHOWN]], "lessons_total": len(new),
|
|
125
|
+
"replaced": [replaced(k) for k in moved if k["superseded_reason"] in ("outdated", "contradicted")],
|
|
126
|
+
"confirmed": [replaced(k) for k in moved if k["superseded_reason"] == "duplicate"][:NEW_SHOWN],
|
|
127
|
+
"prs": len({u for s in fresh for u in _pr_urls(s["prs_json"])}) if prs else None}
|
|
128
|
+
|
|
129
|
+
topics, solo, last = defaultdict(Counter), defaultdict(Counter), {}
|
|
130
|
+
for s in sessions.values():
|
|
131
|
+
tags = _tags(s["tags_json"]) or _tags(s["work_types_json"])
|
|
132
|
+
topics[s["key"]].update(tags)
|
|
133
|
+
for tag in tags:
|
|
134
|
+
solo[tag][s["key"]] += 1
|
|
135
|
+
last[s["key"]] = max(last.get(s["key"]) or "", s["started_at"] or "")
|
|
136
|
+
names = {s["key"]: s["who"] for s in sessions.values()}
|
|
137
|
+
crew = [{"who": names[key], "key": key, "last": last[key] or None,
|
|
138
|
+
"topics": [tag for tag, _ in topics[key].most_common(TOPICS)]}
|
|
139
|
+
for key in sorted(last, key=lambda key: last[key], reverse=True)]
|
|
140
|
+
only = sorted(((tag, next(iter(c)), sum(c.values())) for tag, c in solo.items()
|
|
141
|
+
if len(c) == 1 and sum(c.values()) >= SOLO_MIN), key=lambda x: (-x[2], x[0]))
|
|
142
|
+
solo_out = [{"topic": tag, "who": names[key], "key": key} for tag, key, _ in only[:SOLO_SHOWN]] if len(crew) > 1 else []
|
|
143
|
+
|
|
144
|
+
start = {"gotchas": [], "decisions": [], "commands": []}
|
|
145
|
+
for k in sorted((k for k in active if k["kind"] in START_KINDS), key=trusted):
|
|
146
|
+
bucket = start[START_KINDS[k["kind"]]]
|
|
147
|
+
if len(bucket) < START_ITEMS:
|
|
148
|
+
bucket.append({**brief(k), "body": k["body"], "stage": k["stage"], "confirmations": len(confirmations(k))})
|
|
149
|
+
|
|
150
|
+
from_ = to_iso(utcnow() - timedelta(weeks=LANE_WEEKS))
|
|
151
|
+
lanes = defaultdict(list)
|
|
152
|
+
for s in sessions.values():
|
|
153
|
+
if (s["started_at"] or "") >= from_:
|
|
154
|
+
lanes[s["key"]].append({"id": s["id"], "at": s["started_at"], "active_s": s["active_s"] or 0,
|
|
155
|
+
"outcome": s["outcome"], "title": s["title"]})
|
|
156
|
+
order = sorted(lanes, key=lambda key: (-len(lanes[key]), names[key]))
|
|
157
|
+
lane_out = [{"who": names[key], "key": key, "sessions": sorted(lanes[key], key=lambda x: x["at"])} for key in order[:LANE_PEOPLE]]
|
|
158
|
+
if len(order) > LANE_PEOPLE:
|
|
159
|
+
lane_out.append({"who": None, "key": None,
|
|
160
|
+
"sessions": sorted((x for key in order[LANE_PEOPLE:] for x in lanes[key]), key=lambda x: x["at"])})
|
|
161
|
+
|
|
162
|
+
cited = {i for sec in ((loads(kb["kb_json"], {}) or {}).get("sections") or [] if kb else []) if isinstance(sec, dict)
|
|
163
|
+
for it in sec.get("items") or [] if isinstance(it, dict) for i in it.get("sources") or [] if isinstance(i, int)}
|
|
164
|
+
shown = {k["id"] for k in active} | cited
|
|
165
|
+
return {
|
|
166
|
+
"viewer": {"key": viewer, "new": viewer not in last},
|
|
167
|
+
"since": news,
|
|
168
|
+
"kb_behind": sum(1 for k in active if k["id"] > ((kb or {}).get("knowledge_max_id") or 0)) if kb else len(active),
|
|
169
|
+
"learned_by": {str(i): learned[i] for i in shown if learned.get(i)},
|
|
170
|
+
"cases": cases,
|
|
171
|
+
"people": crew,
|
|
172
|
+
"solo": solo_out,
|
|
173
|
+
"start": start,
|
|
174
|
+
"lanes": {"from": from_, "weeks": LANE_WEEKS, "people": lane_out},
|
|
175
|
+
"replaced": [{**brief(k), "reason": k["superseded_reason"], "at": k["superseded_at"],
|
|
176
|
+
"by": brief(by_id[k["superseded_by"]]) if k["superseded_by"] in by_id else None}
|
|
177
|
+
for k in sorted((k for k in lessons if k["status"] == "superseded"
|
|
178
|
+
and k["superseded_reason"] in ("outdated", "contradicted")),
|
|
179
|
+
key=lambda k: k["superseded_at"] or "", reverse=True)[:REPLACED_SHOWN]],
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
def _tags(raw) -> list[str]:
|
|
184
|
+
"""A session's tags (or work types) as topics: trimmed, lower case, each once."""
|
|
185
|
+
out = []
|
|
186
|
+
for x in loads(raw, []) or []:
|
|
187
|
+
tag = str(x).strip().lower()
|
|
188
|
+
if tag and tag not in out:
|
|
189
|
+
out.append(tag)
|
|
190
|
+
return out
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
def _pr_urls(raw) -> list[str]:
|
|
194
|
+
out = []
|
|
195
|
+
for x in loads(raw, []) or []:
|
|
196
|
+
url = x.get("url") if isinstance(x, dict) else x
|
|
197
|
+
if isinstance(url, str) and url:
|
|
198
|
+
out.append(url)
|
|
199
|
+
return out
|