@minionry/minion 0.7.36
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.
- package/LICENSE +14 -0
- package/PRIVACY.md +357 -0
- package/README.md +57 -0
- package/THIRD_PARTY_NOTICES.md +245 -0
- package/bin/branding.js +4 -0
- package/bin/commands/browser-install.js +483 -0
- package/bin/commands/create-sandbox.js +542 -0
- package/bin/commands/fingerprint.js +101 -0
- package/bin/commands/login.js +400 -0
- package/bin/commands/logout.js +93 -0
- package/bin/commands/minions.js +211 -0
- package/bin/commands/sandboxes.js +309 -0
- package/bin/commands/status.js +298 -0
- package/bin/commands/whoami.js +153 -0
- package/bin/launch-env.js +35 -0
- package/bin/machine-identity.js +221 -0
- package/bin/machine-layout.js +200 -0
- package/bin/minion.js +839 -0
- package/bin/platform-endpoints.js +8 -0
- package/bin/postinstall.js +52 -0
- package/bin/pty-doctor.js +326 -0
- package/bin/pty-locator.js +110 -0
- package/bin/pty-provision.js +186 -0
- package/bin/sandbox/Dockerfile +78 -0
- package/bin/sandbox/entrypoint.sh +14 -0
- package/bin/sandbox/install-repo.sh +53 -0
- package/bin/sandbox/seccomp-userns.json +883 -0
- package/bin/sandbox-config.js +306 -0
- package/dist/bin/machine-identity.js +221 -0
- package/dist/bin/machine-layout.js +200 -0
- package/dist/electron-host/agent-lease.js +141 -0
- package/dist/electron-host/dom-driver.js +642 -0
- package/dist/electron-host/ipc-protocol.js +89 -0
- package/dist/electron-host/js-driver.js +216 -0
- package/dist/electron-host/view-manager.js +254 -0
- package/dist/server/cli/engine-resume.js +49 -0
- package/dist/server/cli/eta-estimator.js +278 -0
- package/dist/server/cli/headless/background-activity.js +109 -0
- package/dist/server/cli/headless/claude-invoker-process.js +614 -0
- package/dist/server/cli/headless/claude-invoker-stall.js +150 -0
- package/dist/server/cli/headless/claude-invoker-stream.js +555 -0
- package/dist/server/cli/headless/claude-invoker-tools.js +148 -0
- package/dist/server/cli/headless/claude-invoker.js +151 -0
- package/dist/server/cli/headless/engine-availability.js +92 -0
- package/dist/server/cli/headless/engine-notice.js +185 -0
- package/dist/server/cli/headless/haiku-assessments.js +293 -0
- package/dist/server/cli/headless/headless-logger.js +75 -0
- package/dist/server/cli/headless/index.js +9 -0
- package/dist/server/cli/headless/mcp-config.js +314 -0
- package/dist/server/cli/headless/native-timeout-detector.js +72 -0
- package/dist/server/cli/headless/output-utils.js +71 -0
- package/dist/server/cli/headless/prompt-utils.js +82 -0
- package/dist/server/cli/headless/resilient-runner.js +326 -0
- package/dist/server/cli/headless/retry-strategies.js +292 -0
- package/dist/server/cli/headless/runner.js +245 -0
- package/dist/server/cli/headless/stall-assessor.js +295 -0
- package/dist/server/cli/headless/tool-watchdog.js +447 -0
- package/dist/server/cli/headless/types.js +18 -0
- package/dist/server/cli/history-portability.js +85 -0
- package/dist/server/cli/improvisation-attachments.js +99 -0
- package/dist/server/cli/improvisation-history-store.js +121 -0
- package/dist/server/cli/improvisation-movements.js +137 -0
- package/dist/server/cli/improvisation-output-queue.js +34 -0
- package/dist/server/cli/improvisation-retry.js +8 -0
- package/dist/server/cli/improvisation-session-manager.js +1016 -0
- package/dist/server/cli/improvisation-types.js +31 -0
- package/dist/server/cli/plan-lifecycle.js +72 -0
- package/dist/server/cli/prompt-builders.js +371 -0
- package/dist/server/cli/retry/retry-best-result.js +28 -0
- package/dist/server/cli/retry/retry-context-loss.js +75 -0
- package/dist/server/cli/retry/retry-recovery-strategies.js +213 -0
- package/dist/server/cli/retry/retry-resume-strategy.js +20 -0
- package/dist/server/cli/retry/retry-runner-factory.js +92 -0
- package/dist/server/cli/retry/retry-tool-results.js +22 -0
- package/dist/server/cli/retry/retry-types.js +3 -0
- package/dist/server/engines/EngineEvent.js +57 -0
- package/dist/server/engines/claude/ClaudeCodeEngine.js +316 -0
- package/dist/server/engines/claude/claude-command.js +32 -0
- package/dist/server/engines/codex/CodexEngine.js +469 -0
- package/dist/server/engines/codex/codex-auth.js +203 -0
- package/dist/server/engines/codex/codex-invoker.js +205 -0
- package/dist/server/engines/codex/codex-provision.js +215 -0
- package/dist/server/engines/credentials/credential-probe.js +88 -0
- package/dist/server/engines/credentials/model-profiles.js +249 -0
- package/dist/server/engines/credentials/provider-credentials.js +146 -0
- package/dist/server/engines/engine-event-stream.js +52 -0
- package/dist/server/engines/execution/engine-session.js +380 -0
- package/dist/server/engines/factory.js +42 -0
- package/dist/server/engines/hermes/HermesEngine.js +628 -0
- package/dist/server/engines/hermes/hermes-auth.js +159 -0
- package/dist/server/engines/hermes/hermes-gateway-home.js +271 -0
- package/dist/server/engines/hermes/hermes-invoker.js +350 -0
- package/dist/server/engines/hermes/hermes-provision.js +318 -0
- package/dist/server/engines/read-only.js +20 -0
- package/dist/server/engines/types.js +27 -0
- package/dist/server/handlers/company-execution-registry.js +67 -0
- package/dist/server/handlers/company-handlers.js +514 -0
- package/dist/server/handlers/company-triggers.js +189 -0
- package/dist/server/handlers/company-types.js +3 -0
- package/dist/server/index.js +244 -0
- package/dist/server/mcp/app-tools-bridge.js +110 -0
- package/dist/server/mcp/app-tools-mcp-server.js +99 -0
- package/dist/server/mcp/bouncer-integration.js +744 -0
- package/dist/server/mcp/browser-mcp-server.js +915 -0
- package/dist/server/mcp/browser-redaction.js +103 -0
- package/dist/server/mcp/classifier/BouncerClassifier.js +3 -0
- package/dist/server/mcp/classifier/ClaudeBouncerClassifier.js +212 -0
- package/dist/server/mcp/classifier/factory.js +124 -0
- package/dist/server/mcp/classifier/health.js +54 -0
- package/dist/server/mcp/classifier/telemetry.js +0 -0
- package/dist/server/mcp/company-patterns.js +104 -0
- package/dist/server/mcp/department-profiles.js +133 -0
- package/dist/server/mcp/quality-bridge.js +153 -0
- package/dist/server/mcp/quality-mcp-server.js +105 -0
- package/dist/server/mcp/security-analysis.js +384 -0
- package/dist/server/mcp/security-audit.js +152 -0
- package/dist/server/mcp/security-patterns.js +314 -0
- package/dist/server/mcp/server.js +194 -0
- package/dist/server/mcp/test-utils/agent-simulator.js +301 -0
- package/dist/server/mcp/test-utils/e2e-agent.js +103 -0
- package/dist/server/mcp/test-utils/e2e-capture.js +92 -0
- package/dist/server/mcp/test-utils/e2e-client.js +116 -0
- package/dist/server/mcp/test-utils/e2e-fixtures.js +87 -0
- package/dist/server/mcp/test-utils/e2e-gating.js +8 -0
- package/dist/server/mcp/test-utils/e2e-harness.js +8 -0
- package/dist/server/mcp/test-utils/e2e-scenarios.js +105 -0
- package/dist/server/routes/files.js +18 -0
- package/dist/server/routes/improvise.js +64 -0
- package/dist/server/routes/index.js +7 -0
- package/dist/server/routes/instances.js +41 -0
- package/dist/server/routes/internal.js +900 -0
- package/dist/server/routes/notifications.js +110 -0
- package/dist/server/server-setup.js +282 -0
- package/dist/server/services/agent-push.js +148 -0
- package/dist/server/services/analytics.js +197 -0
- package/dist/server/services/apps/build.js +249 -0
- package/dist/server/services/apps/greenlight.js +199 -0
- package/dist/server/services/apps/install.js +101 -0
- package/dist/server/services/apps/layout.js +35 -0
- package/dist/server/services/apps/serve.js +665 -0
- package/dist/server/services/apps/space-apps.js +248 -0
- package/dist/server/services/auth.js +48 -0
- package/dist/server/services/browser/chrome-sandbox.js +245 -0
- package/dist/server/services/browser/chromium-launch-spec.js +51 -0
- package/dist/server/services/browser/claude-reasoner.js +669 -0
- package/dist/server/services/browser/debug-log.js +3 -0
- package/dist/server/services/browser/driver-state.js +546 -0
- package/dist/server/services/browser/electron-provision.js +256 -0
- package/dist/server/services/browser/host-internal.js +245 -0
- package/dist/server/services/browser/host-mock.js +334 -0
- package/dist/server/services/browser/host-types.js +3 -0
- package/dist/server/services/browser/host.js +1067 -0
- package/dist/server/services/browser/index.js +4 -0
- package/dist/server/services/browser/ipc-client.js +354 -0
- package/dist/server/services/browser/pipewire-sink.js +199 -0
- package/dist/server/services/browser/preflight.js +590 -0
- package/dist/server/services/browser/reasoning-agent.js +659 -0
- package/dist/server/services/browser/sandbox-policy.js +169 -0
- package/dist/server/services/browser/stderr-noise-filter.js +26 -0
- package/dist/server/services/browser/telemetry.js +107 -0
- package/dist/server/services/browser/xvfb-supervisor.js +139 -0
- package/dist/server/services/browser-frame-policy.js +56 -0
- package/dist/server/services/client-id.js +32 -0
- package/dist/server/services/collab/registry.js +408 -0
- package/dist/server/services/collab/session.js +489 -0
- package/dist/server/services/collab/text-diff.js +28 -0
- package/dist/server/services/collab/types.js +19 -0
- package/dist/server/services/e2ee-group-key.js +197 -0
- package/dist/server/services/e2ee-identity.js +203 -0
- package/dist/server/services/file-explorer-ops.js +328 -0
- package/dist/server/services/file-transfer-zip.js +188 -0
- package/dist/server/services/files.js +111 -0
- package/dist/server/services/git/branch-ops.js +62 -0
- package/dist/server/services/git/command.js +68 -0
- package/dist/server/services/git/commit-message.js +74 -0
- package/dist/server/services/git/diff-ops.js +56 -0
- package/dist/server/services/git/haiku.js +76 -0
- package/dist/server/services/git/head-watcher.js +226 -0
- package/dist/server/services/git/index.js +17 -0
- package/dist/server/services/git/log-ops.js +98 -0
- package/dist/server/services/git/merge-ops.js +314 -0
- package/dist/server/services/git/parsers.js +401 -0
- package/dist/server/services/git/remote-ops.js +192 -0
- package/dist/server/services/git/status-ops.js +105 -0
- package/dist/server/services/git/suggestion-ops.js +80 -0
- package/dist/server/services/git/tag-ops.js +36 -0
- package/dist/server/services/git/types.js +4 -0
- package/dist/server/services/git/worktree-ops.js +114 -0
- package/dist/server/services/instances.js +337 -0
- package/dist/server/services/model-catalog.js +247 -0
- package/dist/server/services/observability/posthog.js +153 -0
- package/dist/server/services/pathUtils.js +114 -0
- package/dist/server/services/plan/agent-loader.js +97 -0
- package/dist/server/services/plan/agent-manager.js +363 -0
- package/dist/server/services/plan/agent-resolver.js +74 -0
- package/dist/server/services/plan/agents/assess-stall.md +33 -0
- package/dist/server/services/plan/agents/browser-planner.md +53 -0
- package/dist/server/services/plan/agents/browser-reasoner.md +114 -0
- package/dist/server/services/plan/agents/check-injection.md +95 -0
- package/dist/server/services/plan/agents/classify-error.md +30 -0
- package/dist/server/services/plan/agents/code-review.md +142 -0
- package/dist/server/services/plan/agents/commit-message.md +28 -0
- package/dist/server/services/plan/agents/detect-context-loss.md +30 -0
- package/dist/server/services/plan/agents/execute-issue.md +58 -0
- package/dist/server/services/plan/agents/fix-quality.md +25 -0
- package/dist/server/services/plan/agents/plan-coordinator.md +72 -0
- package/dist/server/services/plan/agents/pr-description.md +29 -0
- package/dist/server/services/plan/agents/retry-task.md +27 -0
- package/dist/server/services/plan/agents/review-code.md +38 -0
- package/dist/server/services/plan/agents/review-quality.md +45 -0
- package/dist/server/services/plan/agents/triage-findings.md +78 -0
- package/dist/server/services/plan/agents/verify-review.md +57 -0
- package/dist/server/services/plan/approval-evaluator.js +143 -0
- package/dist/server/services/plan/board-archive.js +102 -0
- package/dist/server/services/plan/board-config.js +108 -0
- package/dist/server/services/plan/board-export.js +214 -0
- package/dist/server/services/plan/composer-prompt.js +115 -0
- package/dist/server/services/plan/composer.js +664 -0
- package/dist/server/services/plan/config-installer.js +103 -0
- package/dist/server/services/plan/dependency-resolver.js +137 -0
- package/dist/server/services/plan/executor.js +696 -0
- package/dist/server/services/plan/front-matter.js +43 -0
- package/dist/server/services/plan/issue-classification.js +10 -0
- package/dist/server/services/plan/issue-effort.js +182 -0
- package/dist/server/services/plan/issue-loader.js +35 -0
- package/dist/server/services/plan/issue-prompt-builder.js +152 -0
- package/dist/server/services/plan/issue-retry.js +42 -0
- package/dist/server/services/plan/issue-writer.js +102 -0
- package/dist/server/services/plan/metrics-collector.js +272 -0
- package/dist/server/services/plan/output-manager.js +77 -0
- package/dist/server/services/plan/parser-core.js +435 -0
- package/dist/server/services/plan/parser-migration.js +108 -0
- package/dist/server/services/plan/parser.js +258 -0
- package/dist/server/services/plan/plan-runner-factory.js +68 -0
- package/dist/server/services/plan/pm-timeline.js +320 -0
- package/dist/server/services/plan/progress-log.js +101 -0
- package/dist/server/services/plan/prompt-builder.js +142 -0
- package/dist/server/services/plan/quality-delta.js +274 -0
- package/dist/server/services/plan/readiness-planner.js +34 -0
- package/dist/server/services/plan/review-gate.js +409 -0
- package/dist/server/services/plan/review-report.js +134 -0
- package/dist/server/services/plan/review-verdict-stream.js +161 -0
- package/dist/server/services/plan/state-reconciler.js +238 -0
- package/dist/server/services/plan/template-diff.js +175 -0
- package/dist/server/services/plan/template-instantiator.js +516 -0
- package/dist/server/services/plan/template-manifest.js +56 -0
- package/dist/server/services/plan/template-types.js +3 -0
- package/dist/server/services/plan/trigger-evaluator.js +211 -0
- package/dist/server/services/plan/types.js +3 -0
- package/dist/server/services/plan/watcher.js +73 -0
- package/dist/server/services/platform-credentials.js +56 -0
- package/dist/server/services/platform-e2ee.js +421 -0
- package/dist/server/services/platform-envelope.js +102 -0
- package/dist/server/services/platform-heartbeat.js +88 -0
- package/dist/server/services/platform-reconnect.js +60 -0
- package/dist/server/services/platform-token-lifecycle.js +95 -0
- package/dist/server/services/platform-url.js +17 -0
- package/dist/server/services/platform.js +656 -0
- package/dist/server/services/runtime-info.js +9 -0
- package/dist/server/services/schedule/agent-schedule-store.js +232 -0
- package/dist/server/services/schedule/agent-scheduler.js +323 -0
- package/dist/server/services/schedule/daily-timing.js +105 -0
- package/dist/server/services/schedule/quality-schedule-launch.js +11 -0
- package/dist/server/services/schedule/quality-schedule-store.js +211 -0
- package/dist/server/services/schedule/quality-scheduler.js +215 -0
- package/dist/server/services/schedule/run-bootstrap.js +329 -0
- package/dist/server/services/schedule/schedule-store.js +238 -0
- package/dist/server/services/schedule/schedule-wire.js +77 -0
- package/dist/server/services/schedule/scheduler.js +310 -0
- package/dist/server/services/schedule/template-source.js +97 -0
- package/dist/server/services/sdk/agent-sessions.js +264 -0
- package/dist/server/services/sdk/agents.js +557 -0
- package/dist/server/services/sdk/app-endpoints.js +48 -0
- package/dist/server/services/sdk/app-tools.js +303 -0
- package/dist/server/services/sdk/audit.js +48 -0
- package/dist/server/services/sdk/browser-transport.js +188 -0
- package/dist/server/services/sdk/browser.js +605 -0
- package/dist/server/services/sdk/composer.js +129 -0
- package/dist/server/services/sdk/connect.js +273 -0
- package/dist/server/services/sdk/consent-cooldown.js +31 -0
- package/dist/server/services/sdk/endpoint-url.js +141 -0
- package/dist/server/services/sdk/endpoints.js +314 -0
- package/dist/server/services/sdk/file-change-notify.js +36 -0
- package/dist/server/services/sdk/files-app.js +163 -0
- package/dist/server/services/sdk/files-search.js +131 -0
- package/dist/server/services/sdk/files-transfer.js +279 -0
- package/dist/server/services/sdk/files-workspace.js +233 -0
- package/dist/server/services/sdk/git.js +520 -0
- package/dist/server/services/sdk/grant-store.js +318 -0
- package/dist/server/services/sdk/host-ops.js +84 -0
- package/dist/server/services/sdk/inference-claude.js +214 -0
- package/dist/server/services/sdk/inference.js +247 -0
- package/dist/server/services/sdk/live-registry.js +42 -0
- package/dist/server/services/sdk/local-app-bindings.js +71 -0
- package/dist/server/services/sdk/pipeline.js +190 -0
- package/dist/server/services/sdk/pm-execute.js +228 -0
- package/dist/server/services/sdk/pm-planning-tap.js +29 -0
- package/dist/server/services/sdk/pm-schedule.js +165 -0
- package/dist/server/services/sdk/pm.js +634 -0
- package/dist/server/services/sdk/quality-change-notify.js +20 -0
- package/dist/server/services/sdk/quality-schedule.js +165 -0
- package/dist/server/services/sdk/quality.js +602 -0
- package/dist/server/services/sdk/rate-limits.js +198 -0
- package/dist/server/services/sdk/registry.js +597 -0
- package/dist/server/services/sdk/revoke.js +86 -0
- package/dist/server/services/sdk/run-profile.js +41 -0
- package/dist/server/services/sdk/sandbox.js +89 -0
- package/dist/server/services/sdk/storage.js +110 -0
- package/dist/server/services/sdk/streams.js +147 -0
- package/dist/server/services/sdk/terminal.js +201 -0
- package/dist/server/services/sdk/test-utils/workshop-browser-app.js +466 -0
- package/dist/server/services/sentry.js +99 -0
- package/dist/server/services/settings.js +374 -0
- package/dist/server/services/snippets/expander.js +87 -0
- package/dist/server/services/snippets/index.js +6 -0
- package/dist/server/services/snippets/loader.js +119 -0
- package/dist/server/services/snippets/parser.js +52 -0
- package/dist/server/services/snippets/types.js +3 -0
- package/dist/server/services/snippets/watcher.js +60 -0
- package/dist/server/services/space-layout.js +80 -0
- package/dist/server/services/system-prompts.js +219 -0
- package/dist/server/services/terminal/pty-manager.js +206 -0
- package/dist/server/services/terminal/pty-utils.js +150 -0
- package/dist/server/services/timeline/assembler.js +890 -0
- package/dist/server/services/timeline/contract.js +196 -0
- package/dist/server/services/timeline/index.js +4 -0
- package/dist/server/services/websocket/agent-schedule-handlers.js +217 -0
- package/dist/server/services/websocket/apps-handlers.js +399 -0
- package/dist/server/services/websocket/ask-user-question-bridge.js +112 -0
- package/dist/server/services/websocket/autocomplete-index.js +415 -0
- package/dist/server/services/websocket/autocomplete-match.js +243 -0
- package/dist/server/services/websocket/autocomplete.js +407 -0
- package/dist/server/services/websocket/browser-agent-runtime.js +208 -0
- package/dist/server/services/websocket/browser-device-profile.js +46 -0
- package/dist/server/services/websocket/browser-handlers.js +377 -0
- package/dist/server/services/websocket/browser-host-broadcast.js +179 -0
- package/dist/server/services/websocket/browser-ice-config.js +121 -0
- package/dist/server/services/websocket/browser-payloads.js +222 -0
- package/dist/server/services/websocket/browser-viewer-lifecycle.js +84 -0
- package/dist/server/services/websocket/browser-viewer-registry.js +118 -0
- package/dist/server/services/websocket/collab-broadcast.js +11 -0
- package/dist/server/services/websocket/collab-handlers.js +116 -0
- package/dist/server/services/websocket/commit-suggestion-service.js +132 -0
- package/dist/server/services/websocket/debug-log.js +38 -0
- package/dist/server/services/websocket/dispatch-util.js +10 -0
- package/dist/server/services/websocket/engine-auth-handlers.js +323 -0
- package/dist/server/services/websocket/engine-credential-watcher.js +83 -0
- package/dist/server/services/websocket/engine-profile-handlers.js +92 -0
- package/dist/server/services/websocket/file-definition-handlers.js +180 -0
- package/dist/server/services/websocket/file-download-handler.js +291 -0
- package/dist/server/services/websocket/file-explorer-handlers.js +291 -0
- package/dist/server/services/websocket/file-search-handlers.js +267 -0
- package/dist/server/services/websocket/file-share-handlers.js +328 -0
- package/dist/server/services/websocket/file-transfer-http.js +361 -0
- package/dist/server/services/websocket/file-upload-handler.js +267 -0
- package/dist/server/services/websocket/file-utils.js +346 -0
- package/dist/server/services/websocket/git-branch-handlers.js +90 -0
- package/dist/server/services/websocket/git-diff-handlers.js +59 -0
- package/dist/server/services/websocket/git-handlers.js +212 -0
- package/dist/server/services/websocket/git-head-watcher.js +85 -0
- package/dist/server/services/websocket/git-log-handlers.js +104 -0
- package/dist/server/services/websocket/git-pr-handlers.js +56 -0
- package/dist/server/services/websocket/git-tag-handlers.js +53 -0
- package/dist/server/services/websocket/git-utils.js +11 -0
- package/dist/server/services/websocket/git-worktree-handlers.js +521 -0
- package/dist/server/services/websocket/handler-context.js +113 -0
- package/dist/server/services/websocket/handler.js +1197 -0
- package/dist/server/services/websocket/index.js +5 -0
- package/dist/server/services/websocket/movement-written-files.js +26 -0
- package/dist/server/services/websocket/msg-id-tracker.js +48 -0
- package/dist/server/services/websocket/plan-board-handlers.js +410 -0
- package/dist/server/services/websocket/plan-execution-handlers.js +244 -0
- package/dist/server/services/websocket/plan-handlers.js +67 -0
- package/dist/server/services/websocket/plan-helpers.js +161 -0
- package/dist/server/services/websocket/plan-issue-handlers.js +168 -0
- package/dist/server/services/websocket/plan-sprint-handlers.js +190 -0
- package/dist/server/services/websocket/plan-transfer-handlers.js +310 -0
- package/dist/server/services/websocket/pm-timeline-broadcast.js +28 -0
- package/dist/server/services/websocket/post-session-scan.js +132 -0
- package/dist/server/services/websocket/prompt-queue-handlers.js +96 -0
- package/dist/server/services/websocket/quality-agent-cost.js +229 -0
- package/dist/server/services/websocket/quality-agent-notes.js +113 -0
- package/dist/server/services/websocket/quality-change-activity.js +187 -0
- package/dist/server/services/websocket/quality-complexity.js +345 -0
- package/dist/server/services/websocket/quality-dependencies.js +445 -0
- package/dist/server/services/websocket/quality-duplication.js +162 -0
- package/dist/server/services/websocket/quality-eta.js +65 -0
- package/dist/server/services/websocket/quality-fingerprint.js +104 -0
- package/dist/server/services/websocket/quality-grading.js +575 -0
- package/dist/server/services/websocket/quality-handlers.js +48 -0
- package/dist/server/services/websocket/quality-linting.js +270 -0
- package/dist/server/services/websocket/quality-operations.js +54 -0
- package/dist/server/services/websocket/quality-persistence.js +410 -0
- package/dist/server/services/websocket/quality-review-agent.js +526 -0
- package/dist/server/services/websocket/quality-run.js +220 -0
- package/dist/server/services/websocket/quality-secrets.js +0 -0
- package/dist/server/services/websocket/quality-service.js +775 -0
- package/dist/server/services/websocket/quality-tools.js +383 -0
- package/dist/server/services/websocket/quality-triage-agent.js +101 -0
- package/dist/server/services/websocket/quality-types.js +149 -0
- package/dist/server/services/websocket/recommended-answers.js +28 -0
- package/dist/server/services/websocket/schedule-handlers.js +197 -0
- package/dist/server/services/websocket/sdk-agent-host.js +569 -0
- package/dist/server/services/websocket/sdk-browser-host.js +459 -0
- package/dist/server/services/websocket/sdk-composer-host.js +10 -0
- package/dist/server/services/websocket/sdk-git-host.js +115 -0
- package/dist/server/services/websocket/sdk-handlers.js +242 -0
- package/dist/server/services/websocket/sdk-pm-execution-host.js +63 -0
- package/dist/server/services/websocket/sdk-pm-schedule-host.js +21 -0
- package/dist/server/services/websocket/sdk-quality-schedule-host.js +34 -0
- package/dist/server/services/websocket/sdk-terminal-host.js +140 -0
- package/dist/server/services/websocket/session-handlers.js +565 -0
- package/dist/server/services/websocket/session-history.js +335 -0
- package/dist/server/services/websocket/session-initialization.js +315 -0
- package/dist/server/services/websocket/session-registry.js +340 -0
- package/dist/server/services/websocket/session-role-directory.js +39 -0
- package/dist/server/services/websocket/settings-handlers.js +276 -0
- package/dist/server/services/websocket/skill-handlers.js +324 -0
- package/dist/server/services/websocket/skill-watcher.js +83 -0
- package/dist/server/services/websocket/snippet-handlers.js +261 -0
- package/dist/server/services/websocket/tab-broadcast.js +35 -0
- package/dist/server/services/websocket/tab-event-buffer.js +110 -0
- package/dist/server/services/websocket/tab-event-replay.js +47 -0
- package/dist/server/services/websocket/tab-handlers.js +211 -0
- package/dist/server/services/websocket/terminal-handlers.js +268 -0
- package/dist/server/services/websocket/types.js +96 -0
- package/dist/server/types/company-messages.js +102 -0
- package/dist/server/utils/agent-manager.js +202 -0
- package/dist/server/utils/console-timestamps.js +24 -0
- package/dist/server/utils/file-store.js +112 -0
- package/dist/server/utils/paths.js +28 -0
- package/dist/server/utils/port-manager.js +43 -0
- package/dist/server/utils/port.js +204 -0
- package/electron-host/dist/agent-lease.js +141 -0
- package/electron-host/dist/capture-recovery.js +77 -0
- package/electron-host/dist/codec-policy.js +37 -0
- package/electron-host/dist/controller-channel.js +60 -0
- package/electron-host/dist/controller-handlers.js +153 -0
- package/electron-host/dist/device-emulator.js +106 -0
- package/electron-host/dist/dom-driver.js +642 -0
- package/electron-host/dist/domain-registry.js +159 -0
- package/electron-host/dist/domain-validators.js +308 -0
- package/electron-host/dist/editable-focus-reporter.js +143 -0
- package/electron-host/dist/fake-peer.test-util.js +105 -0
- package/electron-host/dist/host-log.js +31 -0
- package/electron-host/dist/host-wire.js +11 -0
- package/electron-host/dist/input-router.js +421 -0
- package/electron-host/dist/ipc-protocol.js +89 -0
- package/electron-host/dist/ipc-server.js +193 -0
- package/electron-host/dist/js-driver.js +216 -0
- package/electron-host/dist/main-guards.js +70 -0
- package/electron-host/dist/main.js +716 -0
- package/electron-host/dist/roster-sync.js +87 -0
- package/electron-host/dist/rpc-context.js +1 -0
- package/electron-host/dist/rpc-tab-methods.js +138 -0
- package/electron-host/dist/rpc-webrtc-methods.js +121 -0
- package/electron-host/dist/screen-capture-cache.js +147 -0
- package/electron-host/dist/sdk-injector.js +166 -0
- package/electron-host/dist/sdp.js +102 -0
- package/electron-host/dist/session-surface.js +78 -0
- package/electron-host/dist/surface-sizing.js +59 -0
- package/electron-host/dist/view-manager.js +254 -0
- package/electron-host/dist/viewer-registry.js +46 -0
- package/electron-host/dist/viewer-session.js +288 -0
- package/electron-host/dist/webrtc-channels.js +14 -0
- package/electron-host/dist/webrtc-controller.js +57 -0
- package/electron-host/dist/webrtc-ice-filter.js +13 -0
- package/electron-host/dist/webrtc-peer.js +45 -0
- package/electron-host/package.json +12 -0
- package/electron-host/tsconfig.json +23 -0
- package/electron-host/webrtc-controller-preload.cjs +3 -0
- package/electron-host/webrtc-controller.html +14 -0
- package/package.json +85 -0
- package/vendor/e2ee/LICENSE +14 -0
- package/vendor/e2ee/package.json +14 -0
- package/vendor/e2ee/src/index.js +310 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Minionry Commercial License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-present Minionry, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software is not open-source. It is provided under a commercial
|
|
6
|
+
license, and your rights to install, use, and (where the Minionry Terms
|
|
7
|
+
of Service expressly permit it) distribute this software are set out
|
|
8
|
+
there, together with all applicable restrictions, termination, and
|
|
9
|
+
disclaimer terms:
|
|
10
|
+
|
|
11
|
+
https://app.minionry.com/terms
|
|
12
|
+
|
|
13
|
+
If you do not agree to the Minionry Terms of Service, you may not
|
|
14
|
+
install or use this software.
|
package/PRIVACY.md
ADDED
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
# Minionry Privacy Policy
|
|
2
|
+
|
|
3
|
+
**Effective Date:** March 2026
|
|
4
|
+
**Last Updated:** September 2026
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. Introduction
|
|
9
|
+
|
|
10
|
+
Minionry, Inc. ("we", "us", "our", "Minionry") is committed to protecting your privacy and handling your personal data with transparency and care. This Privacy Policy explains how we collect, use, store, share, and protect your information when you use the Minionry platform, including the Minionry CLI, the web application at app.minionry.com, and all related services (collectively, the "Service").
|
|
11
|
+
|
|
12
|
+
We are the **data controller** for personal data processed through the Service. Our registered place of business is in the United States.
|
|
13
|
+
|
|
14
|
+
**Privacy contact:** onit@minionry.com
|
|
15
|
+
**Website:** https://minionry.com
|
|
16
|
+
|
|
17
|
+
If you have questions about how we handle your data, please contact us before using the Service.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 2. Scope and Applicability
|
|
22
|
+
|
|
23
|
+
This policy applies to:
|
|
24
|
+
|
|
25
|
+
- Users who access minionry.com from any jurisdiction, including the European Union, United Kingdom, and European Economic Area (EEA)
|
|
26
|
+
- Users who install and run the Minionry CLI on their local machines
|
|
27
|
+
- Visitors to our website
|
|
28
|
+
|
|
29
|
+
This policy does not apply to third-party services, websites, or tools that you may access through or alongside Minionry.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 3. Data We Collect and Lawful Basis
|
|
34
|
+
|
|
35
|
+
We only process personal data where we have a valid lawful basis under Article 6 of the GDPR (or equivalent applicable law). The lawful basis for each category of processing is identified below.
|
|
36
|
+
|
|
37
|
+
### 3.1 Account Information
|
|
38
|
+
|
|
39
|
+
**What we collect:**
|
|
40
|
+
- Email address
|
|
41
|
+
- Name (optional, if provided during registration)
|
|
42
|
+
- Account identifier and hashed password
|
|
43
|
+
- Device identifiers and hashed device tokens (for the device code authentication flow)
|
|
44
|
+
|
|
45
|
+
**Lawful basis:** Performance of a contract (Article 6(1)(b) GDPR) -- this data is necessary to create and maintain your account and provide the Service.
|
|
46
|
+
|
|
47
|
+
**Storage:** Neon Postgres (serverless managed database).
|
|
48
|
+
|
|
49
|
+
### 3.2 Session and Workspace Data
|
|
50
|
+
|
|
51
|
+
**What we collect:**
|
|
52
|
+
- Workspace connection settings
|
|
53
|
+
- Session metadata (connection timestamps, session identifiers, tab state)
|
|
54
|
+
- WebSocket connection state (held temporarily in Redis for active sessions)
|
|
55
|
+
|
|
56
|
+
**What we do NOT store:** File contents and source code transmitted through the WebSocket relay pass through our platform servers in transit but are **not stored** on our servers. They exist only in your active session.
|
|
57
|
+
|
|
58
|
+
**Lawful basis:** Performance of a contract (Article 6(1)(b) GDPR) -- session data is necessary to provide real-time workspace relay functionality.
|
|
59
|
+
|
|
60
|
+
**Storage:** Neon Postgres (persistent session metadata), Redis (ephemeral active-session state, not persisted beyond the session lifecycle).
|
|
61
|
+
|
|
62
|
+
### 3.3 Telemetry Data
|
|
63
|
+
|
|
64
|
+
By default, the Minionry CLI sends telemetry to improve the software. Usage analytics are keyed to a random identifier generated on your machine, not to your account. We process two categories of telemetry:
|
|
65
|
+
|
|
66
|
+
**Error Reporting (via Sentry):**
|
|
67
|
+
- Stack traces and error messages
|
|
68
|
+
- Minionry version and environment
|
|
69
|
+
- Operating system and architecture
|
|
70
|
+
- Node.js version
|
|
71
|
+
|
|
72
|
+
**Usage Analytics (via PostHog):**
|
|
73
|
+
- Feature usage patterns
|
|
74
|
+
- Session duration
|
|
75
|
+
- Command frequency
|
|
76
|
+
- Events such as the CLI starting and stopping, agent and terminal sessions, and safety-check outcomes, with timing and counts
|
|
77
|
+
- The name (not the path or contents) of the folder the CLI was started in
|
|
78
|
+
- Operating system, architecture, Node.js version, and Minionry version
|
|
79
|
+
|
|
80
|
+
**What we DO NOT collect:**
|
|
81
|
+
- File contents or source code
|
|
82
|
+
- API keys or credentials
|
|
83
|
+
- Personal identifying information in error reports
|
|
84
|
+
- IP addresses (stripped before storage)
|
|
85
|
+
|
|
86
|
+
**Lawful basis:** Legitimate interests (Article 6(1)(f) GDPR) -- we have a legitimate interest in understanding how the software is used and identifying bugs in order to improve reliability and performance. This interest is not overridden by your rights because telemetry is pseudonymised (keyed to a random device identifier), you retain the ability to opt out at any time, and we collect the minimum data necessary.
|
|
87
|
+
|
|
88
|
+
**How to opt out:**
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
export MINIONRY_TELEMETRY=0
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
or set `"telemetry": false` in `~/.minionry/config/telemetry.json`.
|
|
95
|
+
|
|
96
|
+
When telemetry is disabled:
|
|
97
|
+
- No error reports are sent to Sentry
|
|
98
|
+
- No usage analytics are sent to PostHog
|
|
99
|
+
- Core functionality remains unchanged
|
|
100
|
+
|
|
101
|
+
### 3.4 Local Audit Logs
|
|
102
|
+
|
|
103
|
+
The Minionry CLI keeps a local audit log of the actions it reviews on your machine, at:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
<workingDir>/.minionry/logs/bouncer-audit.jsonl
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Important:** These audit logs are stored **only on your local machine**. They are never transmitted to Minionry servers. However, because they may record the content of tool calls (for example, file paths, command arguments, or code snippets), they may incidentally contain personal data.
|
|
110
|
+
|
|
111
|
+
You are responsible for the security and retention of these local files. You may delete them at any time. We recommend reviewing this log periodically if you operate in a sensitive environment.
|
|
112
|
+
|
|
113
|
+
**Lawful basis:** Not applicable for platform purposes -- this data is not processed by Minionry, Inc. It is retained locally on your device and is outside our control.
|
|
114
|
+
|
|
115
|
+
### 3.5 Credentials
|
|
116
|
+
|
|
117
|
+
Authentication credentials (including device tokens and session keys) are stored locally on your machine at `~/.minionry/credentials/platform.json` with restrictive file permissions (chmod 600). These credentials are not transmitted to or stored on Minionry's platform servers beyond what is necessary for active authentication verification.
|
|
118
|
+
|
|
119
|
+
**Lawful basis:** Performance of a contract (Article 6(1)(b) GDPR) -- credentials are necessary to authenticate your access to the Service.
|
|
120
|
+
|
|
121
|
+
### 3.6 Payment and Financial Data
|
|
122
|
+
|
|
123
|
+
If you purchase paid features of the Service, we will collect and process payment information, including:
|
|
124
|
+
|
|
125
|
+
- Billing contact information (name, email, billing address)
|
|
126
|
+
- Payment method details (processed by Stripe; we do not store raw card numbers)
|
|
127
|
+
- Transaction history and subscription status
|
|
128
|
+
|
|
129
|
+
**Lawful basis:** Performance of a contract (Article 6(1)(b) GDPR) for billing and subscription management; Legal obligation (Article 6(1)(c) GDPR) for financial record-keeping and tax compliance.
|
|
130
|
+
|
|
131
|
+
**Note:** Payment processing will be handled by a third-party processor (Stripe). Its privacy policy governs the data it collects independently.
|
|
132
|
+
|
|
133
|
+
### 3.7 AI Agents and Model Providers
|
|
134
|
+
|
|
135
|
+
The Minionry CLI runs AI agent tools that you install and sign in to yourself (for example, Claude Code). When you run an agent, your prompts and the files, command output, and other content the agent reads are sent to that agent's provider under your own account or API key with that provider, and are governed by your agreement with them. The CLI also uses an AI model, through the same agent tools, to review some agent actions before they run and to assist features such as commit messages; the content under review is sent to that provider in the same way.
|
|
136
|
+
|
|
137
|
+
Some Minionry apps request AI completions through our servers. Those requests are sent to our model provider (see Section 6). We record usage (model and token counts) for each request, not its content.
|
|
138
|
+
|
|
139
|
+
**Lawful basis:** Performance of a contract (Article 6(1)(b) GDPR) -- this processing is necessary to provide the features you request.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 4. Cookies and Tracking Technologies
|
|
144
|
+
|
|
145
|
+
When you use minionry.com, we and our third-party service providers use cookies and similar tracking technologies.
|
|
146
|
+
|
|
147
|
+
### 4.1 Types of Cookies We Use
|
|
148
|
+
|
|
149
|
+
| Category | Purpose | Examples | Can be disabled? |
|
|
150
|
+
|---|---|---|---|
|
|
151
|
+
| Strictly necessary | Authentication, session management, security | Session cookies | No -- required for the Service |
|
|
152
|
+
| Analytics | Understanding how users interact with the platform | PostHog analytics cookies | Yes -- via telemetry opt-out or browser settings |
|
|
153
|
+
| Error tracking | Capturing errors for debugging | Sentry session replay (if enabled) | Yes -- via telemetry opt-out |
|
|
154
|
+
|
|
155
|
+
### 4.2 Managing Cookies
|
|
156
|
+
|
|
157
|
+
You can control cookies through:
|
|
158
|
+
|
|
159
|
+
- **Browser settings:** Most browsers allow you to block or delete cookies. Blocking strictly necessary cookies will prevent the Service from functioning.
|
|
160
|
+
- **Telemetry opt-out:** Setting `MINIONRY_TELEMETRY=0` (or `"telemetry": false` in `~/.minionry/config/telemetry.json`) disables analytics and error tracking.
|
|
161
|
+
- **Do Not Track:** We respect browser-level Do Not Track signals for analytics processing.
|
|
162
|
+
|
|
163
|
+
We do not use cookies for advertising or cross-site tracking.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 5. How We Use Your Information
|
|
168
|
+
|
|
169
|
+
We use personal data only for the purposes for which it was collected or for compatible purposes. Specifically:
|
|
170
|
+
|
|
171
|
+
- Provide, operate, and maintain the Minionry Service
|
|
172
|
+
- Authenticate your identity and manage your devices
|
|
173
|
+
- Process payments and manage subscriptions
|
|
174
|
+
- Identify and fix bugs and crashes
|
|
175
|
+
- Improve software performance and features
|
|
176
|
+
- Communicate service updates, security notices, and changes to this policy
|
|
177
|
+
- Ensure security, detect abuse, and protect against fraud
|
|
178
|
+
- Comply with applicable legal obligations
|
|
179
|
+
|
|
180
|
+
We do not use your personal data for automated decision-making or profiling that produces legal or similarly significant effects.
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## 6. Data Sharing and Processors
|
|
185
|
+
|
|
186
|
+
We do not sell your personal information. We do not share personal data with third parties for their own marketing purposes.
|
|
187
|
+
|
|
188
|
+
We engage the following data processors, each bound by data processing agreements and appropriate contractual safeguards:
|
|
189
|
+
|
|
190
|
+
| Processor | Role | Data Processed | Location |
|
|
191
|
+
|---|---|---|---|
|
|
192
|
+
| **Neon** | Managed Postgres database | Account data, session metadata, device records | United States |
|
|
193
|
+
| **Hetzner Online GmbH** | Relay server hosting (VPS) | Server-side data in transit (the relay does not persist your code) | Germany (EU) |
|
|
194
|
+
| **Cloudflare** | DNS, TLS, and edge proxy for app.minionry.com | Request metadata (IP, headers) in transit | Global edge network |
|
|
195
|
+
| **Vercel** | Web frontend hosting (minionry.com) | Web request logs, static asset delivery | United States / Global CDN |
|
|
196
|
+
| **Sentry** | Error tracking and monitoring | Error reports, stack traces | United States |
|
|
197
|
+
| **PostHog** | Product analytics | Pseudonymous usage events | United States (EU hosting option available) |
|
|
198
|
+
| **Anthropic** | AI model provider for completions requested by Minionry apps | Request content, in transit | United States |
|
|
199
|
+
| **Stripe** | Payment processing (once paid features are offered) | Billing information, payment method data | United States |
|
|
200
|
+
|
|
201
|
+
We may also disclose personal data in the following circumstances:
|
|
202
|
+
|
|
203
|
+
- **Legal requirements:** Where required by applicable law, court order, or regulatory authority, including to comply with valid legal process.
|
|
204
|
+
- **Protection of rights:** Where necessary to protect the rights, property, or safety of Minionry, our users, or the public.
|
|
205
|
+
- **Business transfers:** In connection with a merger, acquisition, or sale of all or a portion of our assets, in which case we will provide notice before personal data is transferred and becomes subject to a different privacy policy.
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## 7. International Data Transfers
|
|
210
|
+
|
|
211
|
+
Minionry, Inc. is based in the United States. If you are located in the European Union, United Kingdom, EEA, or other jurisdictions with data transfer restrictions, your personal data is transferred to and processed in the United States.
|
|
212
|
+
|
|
213
|
+
We ensure that such transfers are subject to appropriate safeguards as required by applicable law. Specifically:
|
|
214
|
+
|
|
215
|
+
- **Standard Contractual Clauses (SCCs):** We rely on the European Commission-approved Standard Contractual Clauses (including, where applicable, the UK International Data Transfer Addendum) as the transfer mechanism for personal data transferred from the EU/EEA/UK to the United States.
|
|
216
|
+
- **Processor agreements:** All third-party processors who receive personal data from EU/EEA/UK users are required to maintain SCCs or another valid transfer mechanism.
|
|
217
|
+
|
|
218
|
+
You may request a copy of the applicable transfer safeguards by contacting us at onit@minionry.com.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## 8. Data Retention
|
|
223
|
+
|
|
224
|
+
We retain personal data only for as long as necessary for the purposes for which it was collected, or as required by law.
|
|
225
|
+
|
|
226
|
+
| Data Category | Retention Period |
|
|
227
|
+
|---|---|
|
|
228
|
+
| Account data (email, name, account ID) | Retained while your account is active; deleted within 30 days of account deletion |
|
|
229
|
+
| Device records and hashed tokens | Deleted upon device deregistration or account deletion |
|
|
230
|
+
| Session metadata | Retained for up to 12 months from the session date |
|
|
231
|
+
| Redis session state | Ephemeral; purged at session end |
|
|
232
|
+
| Telemetry -- error reports (Sentry) | Up to 30 days |
|
|
233
|
+
| Telemetry -- usage analytics (PostHog) | Up to 90 days |
|
|
234
|
+
| Payment records | Retained for up to 7 years as required by applicable tax and financial regulations |
|
|
235
|
+
| Local audit logs (`bouncer-audit.jsonl`) | Stored only on your machine; not subject to our retention schedule |
|
|
236
|
+
|
|
237
|
+
When your account is deleted, we will delete or anonymise your personal data within 30 days, unless a longer retention period is required by law or legitimate business necessity (for example, for fraud investigation or to resolve outstanding disputes).
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## 9. Your Rights Under GDPR and Applicable Law
|
|
242
|
+
|
|
243
|
+
If you are located in the European Union, United Kingdom, or EEA, you have the following rights with respect to your personal data:
|
|
244
|
+
|
|
245
|
+
| Right | Description |
|
|
246
|
+
|---|---|
|
|
247
|
+
| **Right of access** | Request a copy of the personal data we hold about you |
|
|
248
|
+
| **Right to rectification** | Request correction of inaccurate or incomplete personal data |
|
|
249
|
+
| **Right to erasure** | Request deletion of your personal data ("right to be forgotten"), subject to legal retention obligations |
|
|
250
|
+
| **Right to restriction** | Request that we restrict processing of your personal data in certain circumstances |
|
|
251
|
+
| **Right to data portability** | Receive your personal data in a structured, commonly used, machine-readable format |
|
|
252
|
+
| **Right to object** | Object to processing based on legitimate interests; object to direct marketing at any time |
|
|
253
|
+
| **Right to withdraw consent** | Where processing is based on consent, withdraw it at any time without affecting prior processing |
|
|
254
|
+
| **Right not to be subject to automated decisions** | Not be subject to solely automated decisions that produce legal or similarly significant effects |
|
|
255
|
+
|
|
256
|
+
**Response timeframe:** We will respond to all valid data subject requests within **30 days** of receipt. Where requests are complex or numerous, we may extend this period by a further two months, in which case we will notify you within the initial 30-day period.
|
|
257
|
+
|
|
258
|
+
**How to exercise your rights:** Submit a request by email to onit@minionry.com. We may need to verify your identity before processing your request.
|
|
259
|
+
|
|
260
|
+
**Residents of other jurisdictions:** If you are a California resident, you may have additional rights under the CCPA/CPRA, including the right to know, delete, correct, and opt out of sale (we do not sell data). Contact us at onit@minionry.com for jurisdiction-specific requests.
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
## 10. Right to Lodge a Complaint
|
|
265
|
+
|
|
266
|
+
If you believe we have not handled your personal data in accordance with applicable law, you have the right to lodge a complaint with a supervisory authority.
|
|
267
|
+
|
|
268
|
+
- **EU:** Contact the data protection authority in your EU member state. A list of EU supervisory authorities is available at: https://edpb.europa.eu/about-edpb/about-edpb/members_en
|
|
269
|
+
- **UK:** Contact the Information Commissioner's Office (ICO) at https://ico.org.uk
|
|
270
|
+
|
|
271
|
+
We ask that you contact us first at onit@minionry.com so that we have the opportunity to address your concern before you escalate to a supervisory authority.
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## 11. Data Protection Officer
|
|
276
|
+
|
|
277
|
+
At Minionry's current scale and given the nature of our processing activities, we are not required to appoint a Data Protection Officer (DPO) under Article 37 of the GDPR. We nonetheless take privacy obligations seriously and have designated a privacy contact to handle data protection matters.
|
|
278
|
+
|
|
279
|
+
**Privacy contact:** onit@minionry.com
|
|
280
|
+
|
|
281
|
+
If our processing activities change in a way that triggers the DPO requirement, we will appoint a DPO and update this policy accordingly.
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## 12. Data Security
|
|
286
|
+
|
|
287
|
+
We implement appropriate technical and organisational measures to protect your personal data against unauthorised access, accidental loss, destruction, or disclosure:
|
|
288
|
+
|
|
289
|
+
- Encryption in transit using TLS/HTTPS for all platform communications
|
|
290
|
+
- Secure local credential storage with restrictive file permissions (chmod 600)
|
|
291
|
+
- Hashed device tokens (SHA-256) -- plaintext tokens are never stored
|
|
292
|
+
- Neon Postgres encryption at rest
|
|
293
|
+
- Regular security reviews of platform infrastructure
|
|
294
|
+
- Minimal data collection -- we do not collect what we do not need
|
|
295
|
+
- Access controls limiting personnel access to personal data on a need-to-know basis
|
|
296
|
+
|
|
297
|
+
No method of electronic transmission or storage is 100% secure. We cannot guarantee absolute security, but we are committed to maintaining industry-standard protections.
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## 13. Data Breach Notification
|
|
302
|
+
|
|
303
|
+
In the event of a personal data breach that is likely to result in a risk to the rights and freedoms of individuals, we will:
|
|
304
|
+
|
|
305
|
+
- Notify the relevant supervisory authority **within 72 hours** of becoming aware of the breach, as required by Article 33 of the GDPR
|
|
306
|
+
- Notify affected individuals **without undue delay** where the breach is likely to result in a high risk to their rights and freedoms, as required by Article 34 of the GDPR
|
|
307
|
+
- Document all data breaches in our internal breach register, regardless of whether notification is required
|
|
308
|
+
|
|
309
|
+
Breach notifications to affected users will be sent to the email address associated with your account. We recommend keeping your account email address current.
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## 14. Children's Privacy
|
|
314
|
+
|
|
315
|
+
**General use:** The Service is not directed to children under the age of **13**. We do not knowingly collect personal data from children under 13. If you believe a child under 13 has provided us with personal data, please contact us at onit@minionry.com and we will promptly delete that information.
|
|
316
|
+
|
|
317
|
+
**Payment features:** Access to paid features and any functionality involving financial transactions requires users to be at least **18 years of age** (or the age of majority in their jurisdiction, if higher). We do not knowingly permit minors to engage in payment-related activities on the platform.
|
|
318
|
+
|
|
319
|
+
If you are a parent or guardian and believe your child has used or registered for the Service in violation of this policy, please contact us.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
## 15. Software License
|
|
324
|
+
|
|
325
|
+
Your use of the Minionry CLI and the `@minionry/*` packages is governed by the license terms included with each package. This Privacy Policy applies to your use of the hosted Service (the minionry.com platform and relay server) and to any personal data processed in connection with your Minionry account, regardless of which client you use.
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## 16. Changes to This Policy
|
|
330
|
+
|
|
331
|
+
We may update this Privacy Policy from time to time to reflect changes in our practices, technology, legal requirements, or other factors.
|
|
332
|
+
|
|
333
|
+
When we make material changes, we will:
|
|
334
|
+
|
|
335
|
+
- Update the "Last Updated" date at the top of this policy
|
|
336
|
+
- Notify registered users by email at least **14 days** before the changes take effect (for material changes affecting your rights)
|
|
337
|
+
- Display a notice on minionry.com
|
|
338
|
+
|
|
339
|
+
Your continued use of the Service after the effective date of a revised policy constitutes your acknowledgment of the changes. If you do not agree to the revised policy, you should discontinue use of the Service and may request deletion of your account.
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
343
|
+
## 17. Contact Us
|
|
344
|
+
|
|
345
|
+
For privacy-related questions, data subject requests, or concerns about this policy:
|
|
346
|
+
|
|
347
|
+
**Email:** onit@minionry.com
|
|
348
|
+
**Website:** https://minionry.com
|
|
349
|
+
|
|
350
|
+
**Minionry, Inc.**
|
|
351
|
+
United States
|
|
352
|
+
|
|
353
|
+
For formal data subject requests under GDPR or applicable law, please include "Privacy Request" in the subject line of your email.
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
*Copyright (c) 2025-present Minionry, Inc. All rights reserved.*
|
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# @minionry/minion
|
|
2
|
+
|
|
3
|
+
Command-line client that connects this machine to your Minionry account.
|
|
4
|
+
|
|
5
|
+
A Minionry account is required. Accounts are currently by invitation.
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
- Node.js 20.20+ or 22.22+
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm i -g @minionry/minion
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Get started
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cd path/to/your/project
|
|
21
|
+
minion
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The first run asks you to sign in. `minion` then keeps running in the
|
|
25
|
+
background, and the folder appears at https://app.minionry.com.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
minion status # connection and sign-in status
|
|
29
|
+
minion update # update to the latest version
|
|
30
|
+
minion --help # all commands
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## What it does on this machine
|
|
34
|
+
|
|
35
|
+
- Keeps a connection to Minionry's servers open while it runs.
|
|
36
|
+
- Reads and changes files and runs commands when you ask it to from your
|
|
37
|
+
Minionry account.
|
|
38
|
+
- Checks those actions before they run and logs them locally under
|
|
39
|
+
`.minionry/logs/`.
|
|
40
|
+
- Stores settings and credentials in `~/.minionry/`.
|
|
41
|
+
|
|
42
|
+
See PRIVACY.md for what is sent where.
|
|
43
|
+
|
|
44
|
+
## Telemetry
|
|
45
|
+
|
|
46
|
+
Error reports and usage analytics are sent by default. To turn them off:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
export MINIONRY_TELEMETRY=0
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
or set `"telemetry": false` in `~/.minionry/config/telemetry.json`.
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
Proprietary. © Minionry, Inc. All rights reserved. Use is subject to the terms
|
|
57
|
+
in LICENSE.
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This package includes material from the following third-party projects, which
|
|
4
|
+
are licensed under their own terms rather than the Minionry Commercial License.
|
|
5
|
+
|
|
6
|
+
## fzf
|
|
7
|
+
|
|
8
|
+
The fuzzy file-matching scorer in `dist/server/services/websocket/` is a port
|
|
9
|
+
of the `FuzzyMatchV2` algorithm from https://github.com/junegunn/fzf.
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
The MIT License (MIT)
|
|
13
|
+
|
|
14
|
+
Copyright (c) 2013-2026 Junegunn Choi
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
in the Software without restriction, including without limitation the rights
|
|
19
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in
|
|
24
|
+
all copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
32
|
+
THE SOFTWARE.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## moby/profiles
|
|
36
|
+
|
|
37
|
+
`bin/sandbox/seccomp-userns.json` is derived from `seccomp/default.json` in
|
|
38
|
+
https://github.com/moby/profiles, with one rule group added.
|
|
39
|
+
|
|
40
|
+
Licensed under the Apache License, Version 2.0, reproduced below.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Apache License
|
|
46
|
+
Version 2.0, January 2004
|
|
47
|
+
http://www.apache.org/licenses/
|
|
48
|
+
|
|
49
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
50
|
+
|
|
51
|
+
1. Definitions.
|
|
52
|
+
|
|
53
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
54
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
55
|
+
|
|
56
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
57
|
+
the copyright owner that is granting the License.
|
|
58
|
+
|
|
59
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
60
|
+
other entities that control, are controlled by, or are under common
|
|
61
|
+
control with that entity. For the purposes of this definition,
|
|
62
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
63
|
+
direction or management of such entity, whether by contract or
|
|
64
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
65
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
66
|
+
|
|
67
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
68
|
+
exercising permissions granted by this License.
|
|
69
|
+
|
|
70
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
71
|
+
including but not limited to software source code, documentation
|
|
72
|
+
source, and configuration files.
|
|
73
|
+
|
|
74
|
+
"Object" form shall mean any form resulting from mechanical
|
|
75
|
+
transformation or translation of a Source form, including but
|
|
76
|
+
not limited to compiled object code, generated documentation,
|
|
77
|
+
and conversions to other media types.
|
|
78
|
+
|
|
79
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
80
|
+
Object form, made available under the License, as indicated by a
|
|
81
|
+
copyright notice that is included in or attached to the work
|
|
82
|
+
(an example is provided in the Appendix below).
|
|
83
|
+
|
|
84
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
85
|
+
form, that is based on (or derived from) the Work and for which the
|
|
86
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
87
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
88
|
+
of this License, Derivative Works shall not include works that remain
|
|
89
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
90
|
+
the Work and Derivative Works thereof.
|
|
91
|
+
|
|
92
|
+
"Contribution" shall mean any work of authorship, including
|
|
93
|
+
the original version of the Work and any modifications or additions
|
|
94
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
95
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
96
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
97
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
98
|
+
means any form of electronic, verbal, or written communication sent
|
|
99
|
+
to the Licensor or its representatives, including but not limited to
|
|
100
|
+
communication on electronic mailing lists, source code control systems,
|
|
101
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
102
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
103
|
+
excluding communication that is conspicuously marked or otherwise
|
|
104
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
105
|
+
|
|
106
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
107
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
108
|
+
subsequently incorporated within the Work.
|
|
109
|
+
|
|
110
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
111
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
112
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
113
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
114
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
115
|
+
Work and such Derivative Works in Source or Object form.
|
|
116
|
+
|
|
117
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
118
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
119
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
120
|
+
(except as stated in this section) patent license to make, have made,
|
|
121
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
122
|
+
where such license applies only to those patent claims licensable
|
|
123
|
+
by such Contributor that are necessarily infringed by their
|
|
124
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
125
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
126
|
+
institute patent litigation against any entity (including a
|
|
127
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
128
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
129
|
+
or contributory patent infringement, then any patent licenses
|
|
130
|
+
granted to You under this License for that Work shall terminate
|
|
131
|
+
as of the date such litigation is filed.
|
|
132
|
+
|
|
133
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
134
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
135
|
+
modifications, and in Source or Object form, provided that You
|
|
136
|
+
meet the following conditions:
|
|
137
|
+
|
|
138
|
+
(a) You must give any other recipients of the Work or
|
|
139
|
+
Derivative Works a copy of this License; and
|
|
140
|
+
|
|
141
|
+
(b) You must cause any modified files to carry prominent notices
|
|
142
|
+
stating that You changed the files; and
|
|
143
|
+
|
|
144
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
145
|
+
that You distribute, all copyright, patent, trademark, and
|
|
146
|
+
attribution notices from the Source form of the Work,
|
|
147
|
+
excluding those notices that do not pertain to any part of
|
|
148
|
+
the Derivative Works; and
|
|
149
|
+
|
|
150
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
151
|
+
distribution, then any Derivative Works that You distribute must
|
|
152
|
+
include a readable copy of the attribution notices contained
|
|
153
|
+
within such NOTICE file, excluding those notices that do not
|
|
154
|
+
pertain to any part of the Derivative Works, in at least one
|
|
155
|
+
of the following places: within a NOTICE text file distributed
|
|
156
|
+
as part of the Derivative Works; within the Source form or
|
|
157
|
+
documentation, if provided along with the Derivative Works; or,
|
|
158
|
+
within a display generated by the Derivative Works, if and
|
|
159
|
+
wherever such third-party notices normally appear. The contents
|
|
160
|
+
of the NOTICE file are for informational purposes only and
|
|
161
|
+
do not modify the License. You may add Your own attribution
|
|
162
|
+
notices within Derivative Works that You distribute, alongside
|
|
163
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
164
|
+
that such additional attribution notices cannot be construed
|
|
165
|
+
as modifying the License.
|
|
166
|
+
|
|
167
|
+
You may add Your own copyright statement to Your modifications and
|
|
168
|
+
may provide additional or different license terms and conditions
|
|
169
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
170
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
171
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
172
|
+
the conditions stated in this License.
|
|
173
|
+
|
|
174
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
175
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
176
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
177
|
+
this License, without any additional terms or conditions.
|
|
178
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
179
|
+
the terms of any separate license agreement you may have executed
|
|
180
|
+
with Licensor regarding such Contributions.
|
|
181
|
+
|
|
182
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
183
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
184
|
+
except as required for reasonable and customary use in describing the
|
|
185
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
186
|
+
|
|
187
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
188
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
189
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
190
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
191
|
+
implied, including, without limitation, any warranties or conditions
|
|
192
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
193
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
194
|
+
appropriateness of using or redistributing the Work and assume any
|
|
195
|
+
risks associated with Your exercise of permissions under this License.
|
|
196
|
+
|
|
197
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
198
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
199
|
+
unless required by applicable law (such as deliberate and grossly
|
|
200
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
201
|
+
liable to You for damages, including any direct, indirect, special,
|
|
202
|
+
incidental, or consequential damages of any character arising as a
|
|
203
|
+
result of this License or out of the use or inability to use the
|
|
204
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
205
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
206
|
+
other commercial damages or losses), even if such Contributor
|
|
207
|
+
has been advised of the possibility of such damages.
|
|
208
|
+
|
|
209
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
210
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
211
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
212
|
+
or other liability obligations and/or rights consistent with this
|
|
213
|
+
License. However, in accepting such obligations, You may act only
|
|
214
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
215
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
216
|
+
defend, and hold each Contributor harmless for any liability
|
|
217
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
218
|
+
of your accepting any such warranty or additional liability.
|
|
219
|
+
|
|
220
|
+
END OF TERMS AND CONDITIONS
|
|
221
|
+
|
|
222
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
223
|
+
|
|
224
|
+
To apply the Apache License to your work, attach the following
|
|
225
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
226
|
+
replaced with your own identifying information. (Don't include
|
|
227
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
228
|
+
comment syntax for the file format. We also recommend that a
|
|
229
|
+
file or class name and description of purpose be included on the
|
|
230
|
+
same "printed page" as the copyright notice for easier
|
|
231
|
+
identification within third-party archives.
|
|
232
|
+
|
|
233
|
+
Copyright [yyyy] [name of copyright owner]
|
|
234
|
+
|
|
235
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
236
|
+
you may not use this file except in compliance with the License.
|
|
237
|
+
You may obtain a copy of the License at
|
|
238
|
+
|
|
239
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
240
|
+
|
|
241
|
+
Unless required by applicable law or agreed to in writing, software
|
|
242
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
243
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
244
|
+
See the License for the specific language governing permissions and
|
|
245
|
+
limitations under the License.
|