@apralabs/apra-fleet 0.2.2
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 +182 -0
- package/README.md +324 -0
- package/dist/cli/auth.d.ts +2 -0
- package/dist/cli/auth.d.ts.map +1 -0
- package/dist/cli/auth.js +210 -0
- package/dist/cli/auth.js.map +1 -0
- package/dist/cli/config.d.ts +30 -0
- package/dist/cli/config.d.ts.map +1 -0
- package/dist/cli/config.js +157 -0
- package/dist/cli/config.js.map +1 -0
- package/dist/cli/install.d.ts +37 -0
- package/dist/cli/install.d.ts.map +1 -0
- package/dist/cli/install.js +630 -0
- package/dist/cli/install.js.map +1 -0
- package/dist/cli/secret.d.ts +2 -0
- package/dist/cli/secret.d.ts.map +1 -0
- package/dist/cli/secret.js +366 -0
- package/dist/cli/secret.js.map +1 -0
- package/dist/cli/uninstall.d.ts +2 -0
- package/dist/cli/uninstall.d.ts.map +1 -0
- package/dist/cli/uninstall.js +312 -0
- package/dist/cli/uninstall.js.map +1 -0
- package/dist/cli/update.d.ts +2 -0
- package/dist/cli/update.d.ts.map +1 -0
- package/dist/cli/update.js +105 -0
- package/dist/cli/update.js.map +1 -0
- package/dist/delivery-mode.d.ts +19 -0
- package/dist/delivery-mode.d.ts.map +1 -0
- package/dist/delivery-mode.js +26 -0
- package/dist/delivery-mode.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +272 -0
- package/dist/index.js.map +1 -0
- package/dist/onboarding/text.d.ts +83 -0
- package/dist/onboarding/text.d.ts.map +1 -0
- package/dist/onboarding/text.js +126 -0
- package/dist/onboarding/text.js.map +1 -0
- package/dist/os/index.d.ts +9 -0
- package/dist/os/index.d.ts.map +1 -0
- package/dist/os/index.js +16 -0
- package/dist/os/index.js.map +1 -0
- package/dist/os/linux.d.ts +50 -0
- package/dist/os/linux.d.ts.map +1 -0
- package/dist/os/linux.js +244 -0
- package/dist/os/linux.js.map +1 -0
- package/dist/os/macos.d.ts +12 -0
- package/dist/os/macos.d.ts.map +1 -0
- package/dist/os/macos.js +41 -0
- package/dist/os/macos.js.map +1 -0
- package/dist/os/os-commands.d.ts +47 -0
- package/dist/os/os-commands.d.ts.map +1 -0
- package/dist/os/os-commands.js +3 -0
- package/dist/os/os-commands.js.map +1 -0
- package/dist/os/windows-wrapper.d.ts +6 -0
- package/dist/os/windows-wrapper.d.ts.map +1 -0
- package/dist/os/windows-wrapper.js +9 -0
- package/dist/os/windows-wrapper.js.map +1 -0
- package/dist/os/windows.d.ts +44 -0
- package/dist/os/windows.d.ts.map +1 -0
- package/dist/os/windows.js +269 -0
- package/dist/os/windows.js.map +1 -0
- package/dist/paths.d.ts +2 -0
- package/dist/paths.d.ts.map +1 -0
- package/dist/paths.js +4 -0
- package/dist/paths.js.map +1 -0
- package/dist/providers/agy.d.ts +41 -0
- package/dist/providers/agy.d.ts.map +1 -0
- package/dist/providers/agy.js +208 -0
- package/dist/providers/agy.js.map +1 -0
- package/dist/providers/claude.d.ts +40 -0
- package/dist/providers/claude.d.ts.map +1 -0
- package/dist/providers/claude.js +178 -0
- package/dist/providers/claude.js.map +1 -0
- package/dist/providers/codex.d.ts +44 -0
- package/dist/providers/codex.d.ts.map +1 -0
- package/dist/providers/codex.js +173 -0
- package/dist/providers/codex.js.map +1 -0
- package/dist/providers/copilot.d.ts +40 -0
- package/dist/providers/copilot.d.ts.map +1 -0
- package/dist/providers/copilot.js +172 -0
- package/dist/providers/copilot.js.map +1 -0
- package/dist/providers/gemini.d.ts +41 -0
- package/dist/providers/gemini.d.ts.map +1 -0
- package/dist/providers/gemini.js +192 -0
- package/dist/providers/gemini.js.map +1 -0
- package/dist/providers/index.d.ts +10 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +27 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/provider.d.ts +85 -0
- package/dist/providers/provider.d.ts.map +1 -0
- package/dist/providers/provider.js +21 -0
- package/dist/providers/provider.js.map +1 -0
- package/dist/services/auth-socket.d.ts +87 -0
- package/dist/services/auth-socket.d.ts.map +1 -0
- package/dist/services/auth-socket.js +684 -0
- package/dist/services/auth-socket.js.map +1 -0
- package/dist/services/auth-web.d.ts +31 -0
- package/dist/services/auth-web.d.ts.map +1 -0
- package/dist/services/auth-web.js +202 -0
- package/dist/services/auth-web.js.map +1 -0
- package/dist/services/cloud/activity.d.ts +16 -0
- package/dist/services/cloud/activity.d.ts.map +1 -0
- package/dist/services/cloud/activity.js +61 -0
- package/dist/services/cloud/activity.js.map +1 -0
- package/dist/services/cloud/aws.d.ts +24 -0
- package/dist/services/cloud/aws.d.ts.map +1 -0
- package/dist/services/cloud/aws.js +114 -0
- package/dist/services/cloud/aws.js.map +1 -0
- package/dist/services/cloud/cost.d.ts +46 -0
- package/dist/services/cloud/cost.d.ts.map +1 -0
- package/dist/services/cloud/cost.js +161 -0
- package/dist/services/cloud/cost.js.map +1 -0
- package/dist/services/cloud/idle-manager.d.ts +20 -0
- package/dist/services/cloud/idle-manager.d.ts.map +1 -0
- package/dist/services/cloud/idle-manager.js +103 -0
- package/dist/services/cloud/idle-manager.js.map +1 -0
- package/dist/services/cloud/lifecycle.d.ts +14 -0
- package/dist/services/cloud/lifecycle.d.ts.map +1 -0
- package/dist/services/cloud/lifecycle.js +128 -0
- package/dist/services/cloud/lifecycle.js.map +1 -0
- package/dist/services/cloud/task-wrapper.d.ts +30 -0
- package/dist/services/cloud/task-wrapper.d.ts.map +1 -0
- package/dist/services/cloud/task-wrapper.js +116 -0
- package/dist/services/cloud/task-wrapper.js.map +1 -0
- package/dist/services/cloud/types.d.ts +26 -0
- package/dist/services/cloud/types.d.ts.map +1 -0
- package/dist/services/cloud/types.js +2 -0
- package/dist/services/cloud/types.js.map +1 -0
- package/dist/services/credential-cleanup.d.ts +4 -0
- package/dist/services/credential-cleanup.d.ts.map +1 -0
- package/dist/services/credential-cleanup.js +61 -0
- package/dist/services/credential-cleanup.js.map +1 -0
- package/dist/services/credential-store.d.ts +56 -0
- package/dist/services/credential-store.d.ts.map +1 -0
- package/dist/services/credential-store.js +280 -0
- package/dist/services/credential-store.js.map +1 -0
- package/dist/services/file-transfer.d.ts +22 -0
- package/dist/services/file-transfer.d.ts.map +1 -0
- package/dist/services/file-transfer.js +14 -0
- package/dist/services/file-transfer.js.map +1 -0
- package/dist/services/git-config.d.ts +6 -0
- package/dist/services/git-config.d.ts.map +1 -0
- package/dist/services/git-config.js +31 -0
- package/dist/services/git-config.js.map +1 -0
- package/dist/services/github-app.d.ts +30 -0
- package/dist/services/github-app.d.ts.map +1 -0
- package/dist/services/github-app.js +96 -0
- package/dist/services/github-app.js.map +1 -0
- package/dist/services/icons.d.ts +16 -0
- package/dist/services/icons.d.ts.map +1 -0
- package/dist/services/icons.js +67 -0
- package/dist/services/icons.js.map +1 -0
- package/dist/services/known-hosts.d.ts +23 -0
- package/dist/services/known-hosts.d.ts.map +1 -0
- package/dist/services/known-hosts.js +86 -0
- package/dist/services/known-hosts.js.map +1 -0
- package/dist/services/onboarding.d.ts +68 -0
- package/dist/services/onboarding.d.ts.map +1 -0
- package/dist/services/onboarding.js +205 -0
- package/dist/services/onboarding.js.map +1 -0
- package/dist/services/registry.d.ts +16 -0
- package/dist/services/registry.d.ts.map +1 -0
- package/dist/services/registry.js +156 -0
- package/dist/services/registry.js.map +1 -0
- package/dist/services/sftp.d.ts +16 -0
- package/dist/services/sftp.d.ts.map +1 -0
- package/dist/services/sftp.js +104 -0
- package/dist/services/sftp.js.map +1 -0
- package/dist/services/ssh.d.ts +29 -0
- package/dist/services/ssh.d.ts.map +1 -0
- package/dist/services/ssh.js +297 -0
- package/dist/services/ssh.js.map +1 -0
- package/dist/services/stall/find-log-file.d.ts +2 -0
- package/dist/services/stall/find-log-file.d.ts.map +1 -0
- package/dist/services/stall/find-log-file.js +153 -0
- package/dist/services/stall/find-log-file.js.map +1 -0
- package/dist/services/stall/index.d.ts +4 -0
- package/dist/services/stall/index.d.ts.map +1 -0
- package/dist/services/stall/index.js +4 -0
- package/dist/services/stall/index.js.map +1 -0
- package/dist/services/stall/log-path-resolver.d.ts +4 -0
- package/dist/services/stall/log-path-resolver.d.ts.map +1 -0
- package/dist/services/stall/log-path-resolver.js +32 -0
- package/dist/services/stall/log-path-resolver.js.map +1 -0
- package/dist/services/stall/log-path-resolver.test.d.ts +2 -0
- package/dist/services/stall/log-path-resolver.test.d.ts.map +1 -0
- package/dist/services/stall/log-path-resolver.test.js +76 -0
- package/dist/services/stall/log-path-resolver.test.js.map +1 -0
- package/dist/services/stall/read-log-tail.d.ts +6 -0
- package/dist/services/stall/read-log-tail.d.ts.map +1 -0
- package/dist/services/stall/read-log-tail.js +44 -0
- package/dist/services/stall/read-log-tail.js.map +1 -0
- package/dist/services/stall/stall-detector.d.ts +25 -0
- package/dist/services/stall/stall-detector.d.ts.map +1 -0
- package/dist/services/stall/stall-detector.js +153 -0
- package/dist/services/stall/stall-detector.js.map +1 -0
- package/dist/services/stall/stall-poller.d.ts +6 -0
- package/dist/services/stall/stall-poller.d.ts.map +1 -0
- package/dist/services/stall/stall-poller.js +75 -0
- package/dist/services/stall/stall-poller.js.map +1 -0
- package/dist/services/stall/time-utils.d.ts +4 -0
- package/dist/services/stall/time-utils.d.ts.map +1 -0
- package/dist/services/stall/time-utils.js +22 -0
- package/dist/services/stall/time-utils.js.map +1 -0
- package/dist/services/statusline.d.ts +10 -0
- package/dist/services/statusline.d.ts.map +1 -0
- package/dist/services/statusline.js +84 -0
- package/dist/services/statusline.js.map +1 -0
- package/dist/services/strategy.d.ts +16 -0
- package/dist/services/strategy.d.ts.map +1 -0
- package/dist/services/strategy.js +241 -0
- package/dist/services/strategy.js.map +1 -0
- package/dist/services/task-cleanup.d.ts +3 -0
- package/dist/services/task-cleanup.d.ts.map +1 -0
- package/dist/services/task-cleanup.js +81 -0
- package/dist/services/task-cleanup.js.map +1 -0
- package/dist/services/update-check.d.ts +15 -0
- package/dist/services/update-check.d.ts.map +1 -0
- package/dist/services/update-check.js +67 -0
- package/dist/services/update-check.js.map +1 -0
- package/dist/services/user-config.d.ts +12 -0
- package/dist/services/user-config.d.ts.map +1 -0
- package/dist/services/user-config.js +73 -0
- package/dist/services/user-config.js.map +1 -0
- package/dist/services/vcs/azure-devops.d.ts +7 -0
- package/dist/services/vcs/azure-devops.d.ts.map +1 -0
- package/dist/services/vcs/azure-devops.js +38 -0
- package/dist/services/vcs/azure-devops.js.map +1 -0
- package/dist/services/vcs/bitbucket.d.ts +6 -0
- package/dist/services/vcs/bitbucket.d.ts.map +1 -0
- package/dist/services/vcs/bitbucket.js +31 -0
- package/dist/services/vcs/bitbucket.js.map +1 -0
- package/dist/services/vcs/constants.d.ts +2 -0
- package/dist/services/vcs/constants.d.ts.map +1 -0
- package/dist/services/vcs/constants.js +6 -0
- package/dist/services/vcs/constants.js.map +1 -0
- package/dist/services/vcs/github.d.ts +6 -0
- package/dist/services/vcs/github.d.ts.map +1 -0
- package/dist/services/vcs/github.js +81 -0
- package/dist/services/vcs/github.js.map +1 -0
- package/dist/services/vcs/types.d.ts +52 -0
- package/dist/services/vcs/types.d.ts.map +1 -0
- package/dist/services/vcs/types.js +8 -0
- package/dist/services/vcs/types.js.map +1 -0
- package/dist/smoke-test.d.ts +10 -0
- package/dist/smoke-test.d.ts.map +1 -0
- package/dist/smoke-test.js +102 -0
- package/dist/smoke-test.js.map +1 -0
- package/dist/tools/check-status.d.ts +11 -0
- package/dist/tools/check-status.d.ts.map +1 -0
- package/dist/tools/check-status.js +247 -0
- package/dist/tools/check-status.js.map +1 -0
- package/dist/tools/cloud-control.d.ts +17 -0
- package/dist/tools/cloud-control.d.ts.map +1 -0
- package/dist/tools/cloud-control.js +102 -0
- package/dist/tools/cloud-control.js.map +1 -0
- package/dist/tools/compose-permissions.d.ts +26 -0
- package/dist/tools/compose-permissions.d.ts.map +1 -0
- package/dist/tools/compose-permissions.js +217 -0
- package/dist/tools/compose-permissions.js.map +1 -0
- package/dist/tools/credential-store-delete.d.ts +11 -0
- package/dist/tools/credential-store-delete.d.ts.map +1 -0
- package/dist/tools/credential-store-delete.js +15 -0
- package/dist/tools/credential-store-delete.js.map +1 -0
- package/dist/tools/credential-store-list.d.ts +4 -0
- package/dist/tools/credential-store-list.d.ts.map +1 -0
- package/dist/tools/credential-store-list.js +30 -0
- package/dist/tools/credential-store-list.js.map +1 -0
- package/dist/tools/credential-store-set.d.ts +26 -0
- package/dist/tools/credential-store-set.d.ts.map +1 -0
- package/dist/tools/credential-store-set.js +28 -0
- package/dist/tools/credential-store-set.js.map +1 -0
- package/dist/tools/credential-store-update.d.ts +20 -0
- package/dist/tools/credential-store-update.d.ts.map +1 -0
- package/dist/tools/credential-store-update.js +38 -0
- package/dist/tools/credential-store-update.js.map +1 -0
- package/dist/tools/execute-command.d.ts +33 -0
- package/dist/tools/execute-command.d.ts.map +1 -0
- package/dist/tools/execute-command.js +231 -0
- package/dist/tools/execute-command.js.map +1 -0
- package/dist/tools/execute-prompt.d.ts +36 -0
- package/dist/tools/execute-prompt.d.ts.map +1 -0
- package/dist/tools/execute-prompt.js +310 -0
- package/dist/tools/execute-prompt.js.map +1 -0
- package/dist/tools/list-members.d.ts +11 -0
- package/dist/tools/list-members.d.ts.map +1 -0
- package/dist/tools/list-members.js +108 -0
- package/dist/tools/list-members.js.map +1 -0
- package/dist/tools/member-detail.d.ts +17 -0
- package/dist/tools/member-detail.d.ts.map +1 -0
- package/dist/tools/member-detail.js +263 -0
- package/dist/tools/member-detail.js.map +1 -0
- package/dist/tools/monitor-task.d.ts +20 -0
- package/dist/tools/monitor-task.d.ts.map +1 -0
- package/dist/tools/monitor-task.js +89 -0
- package/dist/tools/monitor-task.js.map +1 -0
- package/dist/tools/provision-auth.d.ts +17 -0
- package/dist/tools/provision-auth.d.ts.map +1 -0
- package/dist/tools/provision-auth.js +256 -0
- package/dist/tools/provision-auth.js.map +1 -0
- package/dist/tools/provision-vcs-auth.d.ts +50 -0
- package/dist/tools/provision-vcs-auth.d.ts.map +1 -0
- package/dist/tools/provision-vcs-auth.js +187 -0
- package/dist/tools/provision-vcs-auth.js.map +1 -0
- package/dist/tools/receive-files.d.ts +20 -0
- package/dist/tools/receive-files.d.ts.map +1 -0
- package/dist/tools/receive-files.js +82 -0
- package/dist/tools/receive-files.js.map +1 -0
- package/dist/tools/register-member.d.ts +74 -0
- package/dist/tools/register-member.d.ts.map +1 -0
- package/dist/tools/register-member.js +310 -0
- package/dist/tools/register-member.js.map +1 -0
- package/dist/tools/remove-member.d.ts +17 -0
- package/dist/tools/remove-member.d.ts.map +1 -0
- package/dist/tools/remove-member.js +126 -0
- package/dist/tools/remove-member.js.map +1 -0
- package/dist/tools/revoke-vcs-auth.d.ts +23 -0
- package/dist/tools/revoke-vcs-auth.d.ts.map +1 -0
- package/dist/tools/revoke-vcs-auth.js +55 -0
- package/dist/tools/revoke-vcs-auth.js.map +1 -0
- package/dist/tools/send-files.d.ts +20 -0
- package/dist/tools/send-files.d.ts.map +1 -0
- package/dist/tools/send-files.js +103 -0
- package/dist/tools/send-files.js.map +1 -0
- package/dist/tools/setup-git-app.d.ts +17 -0
- package/dist/tools/setup-git-app.d.ts.map +1 -0
- package/dist/tools/setup-git-app.js +89 -0
- package/dist/tools/setup-git-app.js.map +1 -0
- package/dist/tools/setup-ssh-key.d.ts +14 -0
- package/dist/tools/setup-ssh-key.d.ts.map +1 -0
- package/dist/tools/setup-ssh-key.js +119 -0
- package/dist/tools/setup-ssh-key.js.map +1 -0
- package/dist/tools/shutdown-server.d.ts +4 -0
- package/dist/tools/shutdown-server.d.ts.map +1 -0
- package/dist/tools/shutdown-server.js +9 -0
- package/dist/tools/shutdown-server.js.map +1 -0
- package/dist/tools/stop-prompt.d.ts +14 -0
- package/dist/tools/stop-prompt.d.ts.map +1 -0
- package/dist/tools/stop-prompt.js +44 -0
- package/dist/tools/stop-prompt.js.map +1 -0
- package/dist/tools/update-agent-cli.d.ts +17 -0
- package/dist/tools/update-agent-cli.d.ts.map +1 -0
- package/dist/tools/update-agent-cli.js +110 -0
- package/dist/tools/update-agent-cli.js.map +1 -0
- package/dist/tools/update-member.d.ts +77 -0
- package/dist/tools/update-member.d.ts.map +1 -0
- package/dist/tools/update-member.js +202 -0
- package/dist/tools/update-member.js.map +1 -0
- package/dist/tools/version.d.ts +4 -0
- package/dist/tools/version.d.ts.map +1 -0
- package/dist/tools/version.js +7 -0
- package/dist/tools/version.js.map +1 -0
- package/dist/types.d.ts +70 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/agent-helpers.d.ts +41 -0
- package/dist/utils/agent-helpers.d.ts.map +1 -0
- package/dist/utils/agent-helpers.js +84 -0
- package/dist/utils/agent-helpers.js.map +1 -0
- package/dist/utils/ansi.d.ts +6 -0
- package/dist/utils/ansi.d.ts.map +1 -0
- package/dist/utils/ansi.js +20 -0
- package/dist/utils/ansi.js.map +1 -0
- package/dist/utils/auth-env.d.ts +8 -0
- package/dist/utils/auth-env.d.ts.map +1 -0
- package/dist/utils/auth-env.js +30 -0
- package/dist/utils/auth-env.js.map +1 -0
- package/dist/utils/collect-secret.d.ts +2 -0
- package/dist/utils/collect-secret.d.ts.map +1 -0
- package/dist/utils/collect-secret.js +80 -0
- package/dist/utils/collect-secret.js.map +1 -0
- package/dist/utils/credential-validation.d.ts +13 -0
- package/dist/utils/credential-validation.d.ts.map +1 -0
- package/dist/utils/credential-validation.js +35 -0
- package/dist/utils/credential-validation.js.map +1 -0
- package/dist/utils/crypto.d.ts +3 -0
- package/dist/utils/crypto.d.ts.map +1 -0
- package/dist/utils/crypto.js +61 -0
- package/dist/utils/crypto.js.map +1 -0
- package/dist/utils/deep-merge.d.ts +3 -0
- package/dist/utils/deep-merge.d.ts.map +1 -0
- package/dist/utils/deep-merge.js +23 -0
- package/dist/utils/deep-merge.js.map +1 -0
- package/dist/utils/file-permissions.d.ts +8 -0
- package/dist/utils/file-permissions.d.ts.map +1 -0
- package/dist/utils/file-permissions.js +13 -0
- package/dist/utils/file-permissions.js.map +1 -0
- package/dist/utils/gpu-parser.d.ts +6 -0
- package/dist/utils/gpu-parser.d.ts.map +1 -0
- package/dist/utils/gpu-parser.js +15 -0
- package/dist/utils/gpu-parser.js.map +1 -0
- package/dist/utils/log-helpers.d.ts +29 -0
- package/dist/utils/log-helpers.d.ts.map +1 -0
- package/dist/utils/log-helpers.js +128 -0
- package/dist/utils/log-helpers.js.map +1 -0
- package/dist/utils/oob-timeout.d.ts +2 -0
- package/dist/utils/oob-timeout.d.ts.map +1 -0
- package/dist/utils/oob-timeout.js +2 -0
- package/dist/utils/oob-timeout.js.map +1 -0
- package/dist/utils/pid-helpers.d.ts +11 -0
- package/dist/utils/pid-helpers.d.ts.map +1 -0
- package/dist/utils/pid-helpers.js +21 -0
- package/dist/utils/pid-helpers.js.map +1 -0
- package/dist/utils/platform.d.ts +13 -0
- package/dist/utils/platform.d.ts.map +1 -0
- package/dist/utils/platform.js +60 -0
- package/dist/utils/platform.js.map +1 -0
- package/dist/utils/prompt-errors.d.ts +5 -0
- package/dist/utils/prompt-errors.d.ts.map +1 -0
- package/dist/utils/prompt-errors.js +15 -0
- package/dist/utils/prompt-errors.js.map +1 -0
- package/dist/utils/resolve-member.d.ts +18 -0
- package/dist/utils/resolve-member.d.ts.map +1 -0
- package/dist/utils/resolve-member.js +23 -0
- package/dist/utils/resolve-member.js.map +1 -0
- package/dist/utils/secure-input.d.ts +6 -0
- package/dist/utils/secure-input.d.ts.map +1 -0
- package/dist/utils/secure-input.js +60 -0
- package/dist/utils/secure-input.js.map +1 -0
- package/dist/utils/shell-escape.d.ts +43 -0
- package/dist/utils/shell-escape.d.ts.map +1 -0
- package/dist/utils/shell-escape.js +67 -0
- package/dist/utils/shell-escape.js.map +1 -0
- package/dist/utils/ssh-error-messages.d.ts +5 -0
- package/dist/utils/ssh-error-messages.d.ts.map +1 -0
- package/dist/utils/ssh-error-messages.js +20 -0
- package/dist/utils/ssh-error-messages.js.map +1 -0
- package/dist/version.d.ts +18 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +101 -0
- package/dist/version.js.map +1 -0
- package/hooks/hooks-config.json +15 -0
- package/hooks/post-register-member.sh +10 -0
- package/package.json +82 -0
- package/scripts/agy-settings-merge.js +27 -0
- package/scripts/agy-transcript-reader.js +62 -0
- package/scripts/fleet-statusline.sh +43 -0
- package/skills/fleet/SKILL.md +262 -0
- package/skills/fleet/auth-azdevops.md +72 -0
- package/skills/fleet/auth-bitbucket.md +65 -0
- package/skills/fleet/auth-github.md +86 -0
- package/skills/fleet/beads.md +90 -0
- package/skills/fleet/onboarding.md +92 -0
- package/skills/fleet/permissions.md +23 -0
- package/skills/fleet/profiles/base-dev.json +18 -0
- package/skills/fleet/profiles/base-reviewer.json +14 -0
- package/skills/fleet/profiles/cpp.json +4 -0
- package/skills/fleet/profiles/dotnet.json +4 -0
- package/skills/fleet/profiles/go.json +4 -0
- package/skills/fleet/profiles/jvm.json +4 -0
- package/skills/fleet/profiles/node.json +4 -0
- package/skills/fleet/profiles/python.json +4 -0
- package/skills/fleet/profiles/rust.json +4 -0
- package/skills/fleet/profiles/tpl-permissions.json +5 -0
- package/skills/fleet/skill-matrix.md +34 -0
- package/skills/fleet/troubleshooting.md +13 -0
- package/skills/pm/SKILL.md +110 -0
- package/skills/pm/backlog-item.md +65 -0
- package/skills/pm/beads.md +192 -0
- package/skills/pm/cleanup.md +15 -0
- package/skills/pm/context-file.md +40 -0
- package/skills/pm/doer-reviewer.md +123 -0
- package/skills/pm/init.md +25 -0
- package/skills/pm/multi-pair-sprint.md +64 -0
- package/skills/pm/plan-prompt.md +94 -0
- package/skills/pm/simple-sprint.md +42 -0
- package/skills/pm/single-pair-sprint.md +178 -0
- package/skills/pm/tpl-deploy.md +24 -0
- package/skills/pm/tpl-design.md +29 -0
- package/skills/pm/tpl-doer.md +43 -0
- package/skills/pm/tpl-plan.md +72 -0
- package/skills/pm/tpl-pm.md +2 -0
- package/skills/pm/tpl-progress.json +28 -0
- package/skills/pm/tpl-projects.md +4 -0
- package/skills/pm/tpl-requirements.md +21 -0
- package/skills/pm/tpl-reviewer-plan.md +53 -0
- package/skills/pm/tpl-reviewer.md +72 -0
- package/skills/pm/tpl-status.md +29 -0
- package/version.json +3 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship made available under
|
|
36
|
+
the License, as indicated by a copyright notice that is included in
|
|
37
|
+
or attached to the work (an example is provided in the Appendix below).
|
|
38
|
+
|
|
39
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
40
|
+
form, that is based on (or derived from) the Work and for which the
|
|
41
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
42
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
43
|
+
of this License, Derivative Works shall not include works that remain
|
|
44
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
45
|
+
the Work and Derivative Works thereof.
|
|
46
|
+
|
|
47
|
+
"Contribution" shall mean, as submitted to the Licensor for inclusion
|
|
48
|
+
in the Work by the copyright owner or by an individual or Legal Entity
|
|
49
|
+
authorized to submit on behalf of the copyright owner. For the purposes
|
|
50
|
+
of this definition, "submitted" means any form of electronic, verbal,
|
|
51
|
+
or written communication sent to the Licensor or its representatives,
|
|
52
|
+
including but not limited to communication on electronic mailing lists,
|
|
53
|
+
source code control systems, and issue tracking systems that are managed
|
|
54
|
+
by, or on behalf of, the Licensor for the purpose of discussing and
|
|
55
|
+
improving the Work, but excluding communication that is conspicuously
|
|
56
|
+
marked or otherwise designated in writing by the copyright owner as
|
|
57
|
+
"Not a Contribution."
|
|
58
|
+
|
|
59
|
+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
|
|
60
|
+
whom a Contribution has been received by the Licensor and subsequently
|
|
61
|
+
incorporated within the Work.
|
|
62
|
+
|
|
63
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
64
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
65
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
66
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
67
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
68
|
+
Work and such Derivative Works in Source or Object form.
|
|
69
|
+
|
|
70
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
71
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
72
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
73
|
+
(except as stated in this section) patent license to make, have made,
|
|
74
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
75
|
+
where such license applies only to those patent claims licensable
|
|
76
|
+
by such Contributor that are necessarily infringed by their
|
|
77
|
+
Contribution(s) alone or by the combination of their Contribution(s)
|
|
78
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
79
|
+
institute patent litigation against any entity (including a cross-claim
|
|
80
|
+
or counterclaim in a lawsuit) alleging that the Work or any Contribution
|
|
81
|
+
incorporated within the Work constitutes direct or contributory patent
|
|
82
|
+
infringement, then any patent licenses granted to You under this License
|
|
83
|
+
for that Work shall terminate as of the date such litigation is filed.
|
|
84
|
+
|
|
85
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
86
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
87
|
+
modifications, and in Source or Object form, provided that You
|
|
88
|
+
meet the following conditions:
|
|
89
|
+
|
|
90
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
91
|
+
Works a copy of this License; and
|
|
92
|
+
|
|
93
|
+
(b) You must cause any modified files to carry prominent notices
|
|
94
|
+
stating that You changed the files; and
|
|
95
|
+
|
|
96
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
97
|
+
that You distribute, all copyright, patent, trademark, and
|
|
98
|
+
attribution notices from the Source form of the Work,
|
|
99
|
+
excluding those notices that do not pertain to any part of
|
|
100
|
+
the Derivative Works; and
|
|
101
|
+
|
|
102
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
103
|
+
distribution, You must include a readable copy of the
|
|
104
|
+
attribution notices contained within such NOTICE file, in
|
|
105
|
+
at least one of the following places: within a NOTICE text
|
|
106
|
+
file distributed as part of the Derivative Works; within
|
|
107
|
+
the Source form or documentation, if provided along with the
|
|
108
|
+
Derivative Works; or, within a display generated by the
|
|
109
|
+
Derivative Works, if and wherever such third-party notices
|
|
110
|
+
normally appear. The contents of the NOTICE file are for
|
|
111
|
+
informational purposes only and do not modify the License.
|
|
112
|
+
You may add Your own attribution notices within Derivative
|
|
113
|
+
Works that You distribute, alongside or as an addendum to
|
|
114
|
+
the NOTICE text from the Work, provided that such additional
|
|
115
|
+
attribution notices cannot be construed as modifying the License.
|
|
116
|
+
|
|
117
|
+
You may add Your own license statement for Your modifications and
|
|
118
|
+
may provide additional grant of rights to use, copy, modify, merge,
|
|
119
|
+
publish, distribute, sublicense, and/or sell copies of the
|
|
120
|
+
Contribution, either on its own or as part of the Work.
|
|
121
|
+
|
|
122
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
123
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
124
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
125
|
+
this License, without any additional terms or conditions.
|
|
126
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
127
|
+
the terms of any separate license agreement you may have executed
|
|
128
|
+
with Licensor regarding such Contributions.
|
|
129
|
+
|
|
130
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
131
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
132
|
+
except as required for reasonable and customary use in describing the
|
|
133
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
134
|
+
|
|
135
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
136
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
137
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
138
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
139
|
+
implied, including, without limitation, any warranties or conditions
|
|
140
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
141
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
142
|
+
appropriateness of using or reproducing the Work and assume any
|
|
143
|
+
risks associated with Your exercise of permissions under this License.
|
|
144
|
+
|
|
145
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
146
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
147
|
+
unless required by applicable law (such as deliberate and grossly
|
|
148
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
149
|
+
liable to You for damages, including any direct, indirect, special,
|
|
150
|
+
incidental, or exemplary damages of any character arising as a
|
|
151
|
+
result of this License or out of the use or inability to use the
|
|
152
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
153
|
+
work stoppage, computer failure or malfunction, or all other
|
|
154
|
+
commercial damages or losses), even if such Contributor has been
|
|
155
|
+
advised of the possibility of such damages.
|
|
156
|
+
|
|
157
|
+
9. Accepting Warranty or Liability. While redistributing the Work or
|
|
158
|
+
Derivative Works thereof, You may choose to offer, and charge a fee
|
|
159
|
+
for, acceptance of support, warranty, indemnity, or other liability
|
|
160
|
+
obligations and/or rights consistent with this License. However, in
|
|
161
|
+
accepting such obligations, You may offer such obligations only on
|
|
162
|
+
Your own behalf and on Your sole responsibility, not on behalf of
|
|
163
|
+
any other Contributor, and only if You agree to indemnify, defend,
|
|
164
|
+
and hold each Contributor harmless for any liability incurred by,
|
|
165
|
+
or claims asserted against, such Contributor by reason of your
|
|
166
|
+
accepting any such warranty or additional liability.
|
|
167
|
+
|
|
168
|
+
END OF TERMS AND CONDITIONS
|
|
169
|
+
|
|
170
|
+
Copyright 2026 Apra Labs
|
|
171
|
+
|
|
172
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
173
|
+
you may not use this file except in compliance with the License.
|
|
174
|
+
You may obtain a copy of the License at
|
|
175
|
+
|
|
176
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
177
|
+
|
|
178
|
+
Unless required by applicable law or agreed to in writing, software
|
|
179
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
180
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
181
|
+
See the License for the specific language governing permissions and
|
|
182
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
# Apra Fleet
|
|
2
|
+
|
|
3
|
+
[](https://github.com/Apra-Labs/apra-fleet/actions/workflows/ci.yml)
|
|
4
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
5
|
+
[](https://github.com/Apra-Labs/apra-fleet/releases)
|
|
6
|
+
[](https://modelcontextprotocol.io)
|
|
7
|
+
|
|
8
|
+
### One goal. A team of AI agents that plan, execute, and review each other's work, and run across every machine you own.
|
|
9
|
+
|
|
10
|
+
Apra Fleet is an open-source **MCP server** that turns AI agents (Claude
|
|
11
|
+
Code, Antigravity, Codex, Copilot, Gemini) into a coordinated team instead of a lone
|
|
12
|
+
assistant. Any job that needs more than one agent -- software sprints,
|
|
13
|
+
customer-support triage, cost and operations-efficiency analysis,
|
|
14
|
+
infrastructure surveys -- becomes a fleet you direct in plain conversation.
|
|
15
|
+
Need more horsepower? Fleet reaches across every machine on your network
|
|
16
|
+
over SSH -- no dashboards, no orchestration YAML.
|
|
17
|
+
|
|
18
|
+
**The agents need not share a vendor.** A Claude agent and an Antigravity agent can
|
|
19
|
+
work the same sprint -- one writes, the other reviews -- so a different model,
|
|
20
|
+
with different blind spots, checks every change. Cross-provider collaboration is
|
|
21
|
+
a built-in quality mechanism, not an afterthought.
|
|
22
|
+
|
|
23
|
+
> A *member* is one working folder plus one LLM CLI -- local or remote.
|
|
24
|
+
> A fleet is however many of those you register, working in concert.
|
|
25
|
+
|
|
26
|
+
### Watch a real run (3 min)
|
|
27
|
+
|
|
28
|
+
[](https://youtu.be/SGdHvIkSbY8)
|
|
29
|
+
|
|
30
|
+
Two agents ship a feature end to end: one plans and writes, the other reviews,
|
|
31
|
+
findings loop back, and a clean diff lands -- driven by the **PM skill**. That is
|
|
32
|
+
*one* of the workflows Fleet makes possible; the rest are below.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## See it in one example
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
/pm add 2 local members at c:\projects cloned from <git-url> -- a developer and a reviewer -- and pair them
|
|
40
|
+
/pm init project_icarus
|
|
41
|
+
/pm plan ./feature.md
|
|
42
|
+
/pm start the implementation sprint
|
|
43
|
+
/pm status
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
You describe the goal, approve the plan once, and Fleet runs the doer-reviewer loop to a reviewed PR.
|
|
47
|
+
|
|
48
|
+
## Quick start
|
|
49
|
+
|
|
50
|
+
### Option A -- npm (all platforms, requires Node.js 22+)
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g @apralabs/apra-fleet
|
|
54
|
+
apra-fleet install # Claude Code (default)
|
|
55
|
+
apra-fleet install --llm agy # Google Antigravity CLI
|
|
56
|
+
apra-fleet install --llm gemini # Gemini CLI
|
|
57
|
+
apra-fleet install --llm codex # OpenAI Codex CLI
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Run `install` once per provider you want to support. After install, load the
|
|
61
|
+
server in Claude Code using `/mcp`, or restart your CLI for other providers.
|
|
62
|
+
|
|
63
|
+
### Option B -- standalone binary (no Node.js required)
|
|
64
|
+
|
|
65
|
+
Copy-paste the one-liner for your platform:
|
|
66
|
+
|
|
67
|
+
**macOS (Apple Silicon)**
|
|
68
|
+
```bash
|
|
69
|
+
curl -fsSL https://github.com/Apra-Labs/apra-fleet/releases/latest/download/apra-fleet-installer-darwin-arm64 -o apra-fleet-installer && chmod +x apra-fleet-installer && ./apra-fleet-installer install
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**Linux (x64)**
|
|
73
|
+
```bash
|
|
74
|
+
curl -fsSL https://github.com/Apra-Labs/apra-fleet/releases/latest/download/apra-fleet-installer-linux-x64 -o apra-fleet-installer && chmod +x apra-fleet-installer && ./apra-fleet-installer install
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Windows (x64)** -- run in PowerShell:
|
|
78
|
+
```powershell
|
|
79
|
+
Invoke-WebRequest -Uri https://github.com/Apra-Labs/apra-fleet/releases/latest/download/apra-fleet-installer-win-x64.exe -OutFile apra-fleet-installer.exe; .\apra-fleet-installer.exe install
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
> Installing for **Antigravity**, Codex, Copilot, or Gemini instead of Claude? Add the
|
|
83
|
+
> `--llm` flag -- see
|
|
84
|
+
> [Install for other providers](docs/install.md#install-for-other-providers-antigravity-codex-copilot-gemini).
|
|
85
|
+
|
|
86
|
+
Then load it in your favorite LLM CLI (claude, agy, gemini, ...) using `/mcp`.
|
|
87
|
+
|
|
88
|
+
Now register your first members:
|
|
89
|
+
|
|
90
|
+
> "Register a local member called `doer`. Register another called `reviewer`.
|
|
91
|
+
> Pair them."
|
|
92
|
+
|
|
93
|
+
Verify it worked:
|
|
94
|
+
|
|
95
|
+
> "Show me fleet status."
|
|
96
|
+
|
|
97
|
+
You should see both members listed with status online or idle.
|
|
98
|
+
|
|
99
|
+
Add remote machines whenever you are ready:
|
|
100
|
+
|
|
101
|
+
> "Register 192.168.1.10 as `build-server`. Username akhil, work folder
|
|
102
|
+
> `/home/akhil/projects/myapp`."
|
|
103
|
+
|
|
104
|
+
Fleet securely collects the machine's password out-of-band -- you type it into a
|
|
105
|
+
separate terminal, never the chat -- uses it once to set up SSH key-based auth,
|
|
106
|
+
then forgets it. Every connection after that is key-based.
|
|
107
|
+
|
|
108
|
+
Intel Mac users: build from source -- see [Development](#development).
|
|
109
|
+
Install details (what it writes, the `--skill` flag, uninstall) are in
|
|
110
|
+
[docs/install.md](docs/install.md).
|
|
111
|
+
|
|
112
|
+
**Staying current is one command.** `apra-fleet update` checks GitHub for the
|
|
113
|
+
latest release and installs it in place -- or tells you that you are already up
|
|
114
|
+
to date. See [keeping Fleet updated](docs/features/update.md).
|
|
115
|
+
|
|
116
|
+
## How it works
|
|
117
|
+
|
|
118
|
+
```mermaid
|
|
119
|
+
sequenceDiagram
|
|
120
|
+
actor You
|
|
121
|
+
participant PM as PM (orchestrator)
|
|
122
|
+
participant Doer
|
|
123
|
+
participant Reviewer
|
|
124
|
+
You->>PM: "Add a note sharing system, have it reviewed"
|
|
125
|
+
loop Plan: revise until the reviewer signs off
|
|
126
|
+
PM->>Doer: draft / revise the plan
|
|
127
|
+
Doer-->>PM: plan
|
|
128
|
+
PM->>Reviewer: review the plan
|
|
129
|
+
Reviewer-->>PM: rejected with fixes, or signed off
|
|
130
|
+
end
|
|
131
|
+
PM-->>You: plan for approval
|
|
132
|
+
You-->>PM: approved
|
|
133
|
+
loop Build: revise until the review is clean
|
|
134
|
+
PM->>Doer: execute / fix the task
|
|
135
|
+
Doer->>Doer: write code, commit, reach checkpoint
|
|
136
|
+
PM->>Reviewer: review the changes
|
|
137
|
+
Reviewer-->>PM: findings, or signed off
|
|
138
|
+
end
|
|
139
|
+
PM-->>You: reviewed code + PR
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
A sprint runs in two reviewed phases: the **plan** is drafted, reviewed, and
|
|
143
|
+
approved by you before any code is written; then the **build** is executed and
|
|
144
|
+
every phase of development is reviewed against all the project documents
|
|
145
|
+
(requirements, plan, design, etc.). The PM orchestrator talks to members through Fleet's MCP
|
|
146
|
+
tools; Fleet carries the work to each member -- locally as a child process, or
|
|
147
|
+
remotely over SSH. Agents sync state through git (`PLAN.md`, `progress.json`,
|
|
148
|
+
`feedback.md`), so progress survives restarts.
|
|
149
|
+
|
|
150
|
+
## What you can build on top
|
|
151
|
+
|
|
152
|
+
Fleet is a coordination layer. The **PM skill** is its reference workflow library
|
|
153
|
+
and ships today; the rest are recipes you assemble with the same tools.
|
|
154
|
+
|
|
155
|
+
| Workflow | What it does | Status |
|
|
156
|
+
|----------|--------------|--------|
|
|
157
|
+
| **Doer / Reviewer** | Two agents pair: one writes, one reviews against a quality bar. | Ships (PM skill) |
|
|
158
|
+
| **Plan / execute / verify** | Break work into steps, approve the plan, agents pause at checkpoints. | Ships (PM skill) |
|
|
159
|
+
| **Pipeline** | Agent A extracts, B transforms, C ships -- handoff by file. | Recipe |
|
|
160
|
+
| **Specialist routing** | Route Python work to a py-agent, Rust to a rust-agent. | Recipe |
|
|
161
|
+
| **Parallel exploration** | Three agents try three approaches; you merge the winner. | Recipe |
|
|
162
|
+
| **Cross-machine** | Build on Linux, test on Windows, deploy from a Mac. | Recipe |
|
|
163
|
+
|
|
164
|
+
To write your own skill, see [docs/writing-skills.md](docs/writing-skills.md).
|
|
165
|
+
|
|
166
|
+
## Use cases
|
|
167
|
+
|
|
168
|
+
- Run your test suite on a Linux box while you develop on macOS.
|
|
169
|
+
- Have one agent build the frontend, another the backend, a third running tests
|
|
170
|
+
-- all in parallel.
|
|
171
|
+
- Use a beefy cloud VM for compilation while coding from your laptop.
|
|
172
|
+
- Spin up isolated workspaces on one machine without them stepping on each other.
|
|
173
|
+
- Customer-support triage: agents classify, draft replies, and escalate
|
|
174
|
+
tickets in parallel.
|
|
175
|
+
- Cost and operations-efficiency analysis: fan out data gathering across
|
|
176
|
+
sources, consolidate findings.
|
|
177
|
+
- Infrastructure surveys, log triage, and patch fan-out across many
|
|
178
|
+
machines.
|
|
179
|
+
|
|
180
|
+
## Cost
|
|
181
|
+
|
|
182
|
+
Multi-agent tooling raises one question first: does coordinating several agents
|
|
183
|
+
burn more tokens? In practice Fleet works to keep usage down -- and the core
|
|
184
|
+
idea is the one Fleet was built on: **match the model to the task.**
|
|
185
|
+
|
|
186
|
+
A plan is a list of tasks of widely varying difficulty. Running every one of
|
|
187
|
+
them on a single premium model is the waste. Instead, Fleet assigns each task a
|
|
188
|
+
model tier commensurate with its complexity:
|
|
189
|
+
|
|
190
|
+
- **cheap** -- boilerplate, status checks, running tests, deploys
|
|
191
|
+
- **standard** -- routine feature work, code, configuration
|
|
192
|
+
- **premium** -- planning, review, hard architectural reasoning
|
|
193
|
+
|
|
194
|
+
Only the work that genuinely needs a frontier model gets one; everything else
|
|
195
|
+
runs on a lighter, cheaper tier. Two more mechanisms compound the savings:
|
|
196
|
+
|
|
197
|
+
- **Shell over prompts** -- routine steps run through `execute_command` as plain
|
|
198
|
+
shell commands, which cost zero LLM tokens.
|
|
199
|
+
- **Smart sessions** -- Fleet decides whether to resume an existing session
|
|
200
|
+
(reusing cached context) or start fresh, rather than re-sending history.
|
|
201
|
+
|
|
202
|
+
**Token spend is measured, not estimated.** Fleet records token usage per
|
|
203
|
+
member and per role -- PM, doer, reviewer -- so a team can see and analyze
|
|
204
|
+
where their spend actually goes. Fleet's end-to-end CI suite exercises this
|
|
205
|
+
in full: a complete reviewed sprint -- discover issues, plan, doer-reviewer
|
|
206
|
+
loop, PR raised with green CI -- emits a per-role token breakdown (in one
|
|
207
|
+
such run: PM ~6K, doer ~191K, reviewer ~19K, ~215K total). Those toy-repo
|
|
208
|
+
figures are not a benchmark -- they show the measurement method works end
|
|
209
|
+
to end. The point is the instrument: Fleet makes token cost something you
|
|
210
|
+
can attribute and reason about, not guess at.
|
|
211
|
+
|
|
212
|
+
Setup is a one-time cost; the recurring cost is the work itself. See the
|
|
213
|
+
[FAQ](docs/FAQ.md) for the full breakdown.
|
|
214
|
+
|
|
215
|
+
## Compare to alternatives
|
|
216
|
+
|
|
217
|
+
| Tool | Overlap | Where Fleet differs |
|
|
218
|
+
|------|---------|---------------------|
|
|
219
|
+
| Single-agent coding assistants | AI writes code | Fleet adds a second agent that reviews before you do. |
|
|
220
|
+
| CI self-hosted runners | Runs work on other machines | Fleet is conversational and stateful, not pipeline-triggered. |
|
|
221
|
+
| SkyPilot / dstack | Multi-machine compute | Fleet coordinates *agents and their context*, not just jobs. |
|
|
222
|
+
| Google A2A | Agent-to-agent messaging | Fleet is an opinionated workflow layer, not just a transport. |
|
|
223
|
+
|
|
224
|
+
When *not* to use Fleet: a one-off single-file change needs no second agent.
|
|
225
|
+
|
|
226
|
+
## Mix providers in one fleet
|
|
227
|
+
|
|
228
|
+
Every member runs its own LLM backend, and they collaborate across vendors. Put
|
|
229
|
+
a Claude doer with an Antigravity reviewer, or the reverse - the reviewer's model
|
|
230
|
+
disagrees with the doer's by construction, so it catches issues a same-model
|
|
231
|
+
review would wave through. Mix by role:
|
|
232
|
+
|
|
233
|
+
| Role | Recommended | Why |
|
|
234
|
+
|------|-------------|-----|
|
|
235
|
+
| PM (orchestrator) | Claude Code or Antigravity (agy) | Both plan and orchestrate well - both support planning, background tasks, and premium models (e.g., Opus / premium-tier). |
|
|
236
|
+
| Doer | Any provider | Sonnet, Antigravity, Codex, Copilot, Gemini - mix freely. |
|
|
237
|
+
| Reviewer | Premium-tier models | Catches subtle issues smaller models miss. |
|
|
238
|
+
|
|
239
|
+
A fleet that has run in production:
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
pm-1 Opus 4.7 orchestrator
|
|
243
|
+
doer-1 Sonnet 4.6 feature work
|
|
244
|
+
doer-2 Antigravity large-context tasks
|
|
245
|
+
reviewer Opus 4.7 final review
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Provider strengths, role recommendations, and gotchas:
|
|
249
|
+
[docs/provider-guide.md](docs/provider-guide.md).
|
|
250
|
+
|
|
251
|
+
## The PM skill
|
|
252
|
+
|
|
253
|
+
The **PM skill** is Fleet's reference workflow for **software development**
|
|
254
|
+
-- it ships today, fully built out. It is one skill on a general
|
|
255
|
+
substrate: the same primitives -- members, tasks, git/SSH transport,
|
|
256
|
+
doer-reviewer pairing -- coordinate agents for support triage, cost
|
|
257
|
+
analysis, ops surveys, or any multi-agent job. PM is the worked example;
|
|
258
|
+
the platform is the point.
|
|
259
|
+
|
|
260
|
+
The Project Manager skill is installed by default and drives structured,
|
|
261
|
+
multi-step work: planning with your approval, doer-reviewer loops, verification
|
|
262
|
+
checkpoints, and git-synced progress. Task state persists across sessions via
|
|
263
|
+
[**Beads**](docs/beads.md), the bundled open-source issue tracker (`bd` CLI, installed alongside Fleet) -- run `bd ready` any time to see
|
|
264
|
+
what is in flight.
|
|
265
|
+
|
|
266
|
+
| Command | Does |
|
|
267
|
+
|---------|------|
|
|
268
|
+
| `/pm init <project>` | Initialize a project folder and templates. |
|
|
269
|
+
| `/pm pair <member> <member>` | Pair a doer with a reviewer. |
|
|
270
|
+
| `/pm plan <requirement>` | Draft a plan for your approval. |
|
|
271
|
+
| `/pm start <member>` | Begin execution; dispatches doer with plan and task harness. |
|
|
272
|
+
| `/pm status <member>` | Check in-flight tasks, progress, and git log. |
|
|
273
|
+
| `/pm resume <member>` | Resume after a verification checkpoint. |
|
|
274
|
+
| `/pm deploy <member>` | Execute the project deployment runbook. |
|
|
275
|
+
| `/pm recover <project>` | Re-orient after a PM restart; reads in-flight tasks and member state. |
|
|
276
|
+
| `/pm cleanup <project>` | Finish the sprint, close tasks, and raise a PR. |
|
|
277
|
+
| `/pm backlog` | Query and manage deferred items via Beads. |
|
|
278
|
+
| `/pm tasks` | Show the current sprint task tree. |
|
|
279
|
+
|
|
280
|
+
See [skills/pm/SKILL.md](skills/pm/SKILL.md) for the full command reference.
|
|
281
|
+
|
|
282
|
+
Want to build your own skill on top of Fleet? See [docs/writing-skills.md](docs/writing-skills.md).
|
|
283
|
+
|
|
284
|
+
## Documentation
|
|
285
|
+
|
|
286
|
+
| Topic | Link |
|
|
287
|
+
|-------|------|
|
|
288
|
+
| Codebase wiki (architecture, internals, AI Q&A) | [DeepWiki](https://deepwiki.com/Apra-Labs/apra-fleet) |
|
|
289
|
+
| Install, uninstall, the `--llm` flag | [docs/install.md](docs/install.md) |
|
|
290
|
+
| Choosing a provider | [docs/provider-guide.md](docs/provider-guide.md) |
|
|
291
|
+
| FAQ | [docs/FAQ.md](docs/FAQ.md) |
|
|
292
|
+
| Troubleshooting | [docs/troubleshooting.md](docs/troubleshooting.md) |
|
|
293
|
+
| Keeping Fleet updated (`apra-fleet update`) | [docs/features/update.md](docs/features/update.md) |
|
|
294
|
+
| Secure credentials and passwords | [docs/features/oob-auth.md](docs/features/oob-auth.md) |
|
|
295
|
+
| Enabling SSH on a remote machine (if it does not have it yet) | [docs/ssh-setup.md](docs/ssh-setup.md) |
|
|
296
|
+
| Git authentication | [docs/design-git-auth.md](docs/design-git-auth.md) |
|
|
297
|
+
| Cloud compute | [docs/cloud-compute.md](docs/cloud-compute.md) |
|
|
298
|
+
| Architecture | [docs/architecture.md](docs/architecture.md) |
|
|
299
|
+
|
|
300
|
+
## Community
|
|
301
|
+
|
|
302
|
+
- Questions and ideas: [GitHub Discussions](https://github.com/Apra-Labs/apra-fleet/discussions)
|
|
303
|
+
- Releases: [GitHub Releases](https://github.com/Apra-Labs/apra-fleet/releases)
|
|
304
|
+
- Issues: [GitHub Issues](https://github.com/Apra-Labs/apra-fleet/issues)
|
|
305
|
+
- What is planned next: [ROADMAP.md](ROADMAP.md)
|
|
306
|
+
|
|
307
|
+
If Apra Fleet helped you ship faster with better quality, please
|
|
308
|
+
[star the repo](https://github.com/Apra-Labs/apra-fleet) -- it helps others
|
|
309
|
+
find it.
|
|
310
|
+
|
|
311
|
+
## Development
|
|
312
|
+
|
|
313
|
+
Build from source (also the path for Intel Macs):
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
git clone https://github.com/Apra-Labs/apra-fleet && cd apra-fleet
|
|
317
|
+
npm install && npm run build && npm test
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) to contribute.
|
|
321
|
+
|
|
322
|
+
## License
|
|
323
|
+
|
|
324
|
+
Apache 2.0 -- see [LICENSE](LICENSE).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/cli/auth.ts"],"names":[],"mappings":"AAcA,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAY3D"}
|