@humain/terminal 0.0.1
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/CHANGELOG.md +5185 -0
- package/README.md +688 -0
- package/dist/bun/cli.d.ts +3 -0
- package/dist/bun/cli.d.ts.map +1 -0
- package/dist/bun/cli.js +11 -0
- package/dist/bun/cli.js.map +1 -0
- package/dist/bun/register-bedrock.d.ts +2 -0
- package/dist/bun/register-bedrock.d.ts.map +1 -0
- package/dist/bun/register-bedrock.js +4 -0
- package/dist/bun/register-bedrock.js.map +1 -0
- package/dist/bun/restore-sandbox-env.d.ts +17 -0
- package/dist/bun/restore-sandbox-env.d.ts.map +1 -0
- package/dist/bun/restore-sandbox-env.js +36 -0
- package/dist/bun/restore-sandbox-env.js.map +1 -0
- package/dist/cli/args.d.ts +58 -0
- package/dist/cli/args.d.ts.map +1 -0
- package/dist/cli/args.js +410 -0
- package/dist/cli/args.js.map +1 -0
- package/dist/cli/config-selector.d.ts +16 -0
- package/dist/cli/config-selector.d.ts.map +1 -0
- package/dist/cli/config-selector.js +31 -0
- package/dist/cli/config-selector.js.map +1 -0
- package/dist/cli/file-processor.d.ts +15 -0
- package/dist/cli/file-processor.d.ts.map +1 -0
- package/dist/cli/file-processor.js +70 -0
- package/dist/cli/file-processor.js.map +1 -0
- package/dist/cli/initial-message.d.ts +18 -0
- package/dist/cli/initial-message.d.ts.map +1 -0
- package/dist/cli/initial-message.js +22 -0
- package/dist/cli/initial-message.js.map +1 -0
- package/dist/cli/list-models.d.ts +9 -0
- package/dist/cli/list-models.d.ts.map +1 -0
- package/dist/cli/list-models.js +98 -0
- package/dist/cli/list-models.js.map +1 -0
- package/dist/cli/project-trust.d.ts +10 -0
- package/dist/cli/project-trust.d.ts.map +1 -0
- package/dist/cli/project-trust.js +48 -0
- package/dist/cli/project-trust.js.map +1 -0
- package/dist/cli/session-picker.d.ts +10 -0
- package/dist/cli/session-picker.d.ts.map +1 -0
- package/dist/cli/session-picker.js +36 -0
- package/dist/cli/session-picker.js.map +1 -0
- package/dist/cli/startup-ui.d.ts +26 -0
- package/dist/cli/startup-ui.d.ts.map +1 -0
- package/dist/cli/startup-ui.js +183 -0
- package/dist/cli/startup-ui.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +18 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +124 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +503 -0
- package/dist/config.js.map +1 -0
- package/dist/core/agent-session-runtime.d.ts +119 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -0
- package/dist/core/agent-session-runtime.js +306 -0
- package/dist/core/agent-session-runtime.js.map +1 -0
- package/dist/core/agent-session-services.d.ts +85 -0
- package/dist/core/agent-session-services.d.ts.map +1 -0
- package/dist/core/agent-session-services.js +133 -0
- package/dist/core/agent-session-services.js.map +1 -0
- package/dist/core/agent-session.d.ts +653 -0
- package/dist/core/agent-session.d.ts.map +1 -0
- package/dist/core/agent-session.js +2678 -0
- package/dist/core/agent-session.js.map +1 -0
- package/dist/core/auth-guidance.d.ts +5 -0
- package/dist/core/auth-guidance.d.ts.map +1 -0
- package/dist/core/auth-guidance.js +15 -0
- package/dist/core/auth-guidance.js.map +1 -0
- package/dist/core/auth-storage.d.ts +56 -0
- package/dist/core/auth-storage.d.ts.map +1 -0
- package/dist/core/auth-storage.js +229 -0
- package/dist/core/auth-storage.js.map +1 -0
- package/dist/core/bash-executor.d.ts +32 -0
- package/dist/core/bash-executor.d.ts.map +1 -0
- package/dist/core/bash-executor.js +111 -0
- package/dist/core/bash-executor.js.map +1 -0
- package/dist/core/cache-stats.d.ts +49 -0
- package/dist/core/cache-stats.d.ts.map +1 -0
- package/dist/core/cache-stats.js +101 -0
- package/dist/core/cache-stats.js.map +1 -0
- package/dist/core/compaction/branch-summarization.d.ts +98 -0
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -0
- package/dist/core/compaction/branch-summarization.js +246 -0
- package/dist/core/compaction/branch-summarization.js.map +1 -0
- package/dist/core/compaction/compaction.d.ts +137 -0
- package/dist/core/compaction/compaction.d.ts.map +1 -0
- package/dist/core/compaction/compaction.js +645 -0
- package/dist/core/compaction/compaction.js.map +1 -0
- package/dist/core/compaction/index.d.ts +7 -0
- package/dist/core/compaction/index.d.ts.map +1 -0
- package/dist/core/compaction/index.js +7 -0
- package/dist/core/compaction/index.js.map +1 -0
- package/dist/core/compaction/utils.d.ts +38 -0
- package/dist/core/compaction/utils.d.ts.map +1 -0
- package/dist/core/compaction/utils.js +142 -0
- package/dist/core/compaction/utils.js.map +1 -0
- package/dist/core/defaults.d.ts +3 -0
- package/dist/core/defaults.d.ts.map +1 -0
- package/dist/core/defaults.js +2 -0
- package/dist/core/defaults.js.map +1 -0
- package/dist/core/diagnostics.d.ts +15 -0
- package/dist/core/diagnostics.d.ts.map +1 -0
- package/dist/core/diagnostics.js +2 -0
- package/dist/core/diagnostics.js.map +1 -0
- package/dist/core/event-bus.d.ts +9 -0
- package/dist/core/event-bus.d.ts.map +1 -0
- package/dist/core/event-bus.js +25 -0
- package/dist/core/event-bus.js.map +1 -0
- package/dist/core/exec.d.ts +29 -0
- package/dist/core/exec.d.ts.map +1 -0
- package/dist/core/exec.js +75 -0
- package/dist/core/exec.js.map +1 -0
- package/dist/core/experimental.d.ts +2 -0
- package/dist/core/experimental.d.ts.map +1 -0
- package/dist/core/experimental.js +4 -0
- package/dist/core/experimental.js.map +1 -0
- package/dist/core/export-html/ansi-to-html.d.ts +22 -0
- package/dist/core/export-html/ansi-to-html.d.ts.map +1 -0
- package/dist/core/export-html/ansi-to-html.js +249 -0
- package/dist/core/export-html/ansi-to-html.js.map +1 -0
- package/dist/core/export-html/index.d.ts +37 -0
- package/dist/core/export-html/index.d.ts.map +1 -0
- package/dist/core/export-html/index.js +226 -0
- package/dist/core/export-html/index.js.map +1 -0
- package/dist/core/export-html/template.css +1066 -0
- package/dist/core/export-html/template.html +55 -0
- package/dist/core/export-html/template.js +1864 -0
- package/dist/core/export-html/tool-renderer.d.ts +34 -0
- package/dist/core/export-html/tool-renderer.d.ts.map +1 -0
- package/dist/core/export-html/tool-renderer.js +108 -0
- package/dist/core/export-html/tool-renderer.js.map +1 -0
- package/dist/core/export-html/vendor/highlight.min.js +1213 -0
- package/dist/core/export-html/vendor/marked.min.js +78 -0
- package/dist/core/extensions/index.d.ts +12 -0
- package/dist/core/extensions/index.d.ts.map +1 -0
- package/dist/core/extensions/index.js +9 -0
- package/dist/core/extensions/index.js.map +1 -0
- package/dist/core/extensions/loader.d.ts +23 -0
- package/dist/core/extensions/loader.d.ts.map +1 -0
- package/dist/core/extensions/loader.js +564 -0
- package/dist/core/extensions/loader.js.map +1 -0
- package/dist/core/extensions/runner.d.ts +173 -0
- package/dist/core/extensions/runner.d.ts.map +1 -0
- package/dist/core/extensions/runner.js +966 -0
- package/dist/core/extensions/runner.js.map +1 -0
- package/dist/core/extensions/types.d.ts +1270 -0
- package/dist/core/extensions/types.d.ts.map +1 -0
- package/dist/core/extensions/types.js +45 -0
- package/dist/core/extensions/types.js.map +1 -0
- package/dist/core/extensions/wrapper.d.ts +20 -0
- package/dist/core/extensions/wrapper.d.ts.map +1 -0
- package/dist/core/extensions/wrapper.js +41 -0
- package/dist/core/extensions/wrapper.js.map +1 -0
- package/dist/core/footer-data-provider.d.ts +54 -0
- package/dist/core/footer-data-provider.d.ts.map +1 -0
- package/dist/core/footer-data-provider.js +338 -0
- package/dist/core/footer-data-provider.js.map +1 -0
- package/dist/core/http-dispatcher.d.ts +22 -0
- package/dist/core/http-dispatcher.d.ts.map +1 -0
- package/dist/core/http-dispatcher.js +91 -0
- package/dist/core/http-dispatcher.js.map +1 -0
- package/dist/core/index.d.ts +13 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +13 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/keybindings.d.ts +358 -0
- package/dist/core/keybindings.d.ts.map +1 -0
- package/dist/core/keybindings.js +296 -0
- package/dist/core/keybindings.js.map +1 -0
- package/dist/core/messages.d.ts +77 -0
- package/dist/core/messages.d.ts.map +1 -0
- package/dist/core/messages.js +123 -0
- package/dist/core/messages.js.map +1 -0
- package/dist/core/model-config.d.ts +542 -0
- package/dist/core/model-config.d.ts.map +1 -0
- package/dist/core/model-config.js +249 -0
- package/dist/core/model-config.js.map +1 -0
- package/dist/core/model-registry.d.ts +43 -0
- package/dist/core/model-registry.d.ts.map +1 -0
- package/dist/core/model-registry.js +104 -0
- package/dist/core/model-registry.js.map +1 -0
- package/dist/core/model-resolver.d.ts +122 -0
- package/dist/core/model-resolver.d.ts.map +1 -0
- package/dist/core/model-resolver.js +551 -0
- package/dist/core/model-resolver.js.map +1 -0
- package/dist/core/model-runtime.d.ts +81 -0
- package/dist/core/model-runtime.d.ts.map +1 -0
- package/dist/core/model-runtime.js +439 -0
- package/dist/core/model-runtime.js.map +1 -0
- package/dist/core/models-store.d.ts +17 -0
- package/dist/core/models-store.d.ts.map +1 -0
- package/dist/core/models-store.js +45 -0
- package/dist/core/models-store.js.map +1 -0
- package/dist/core/output-guard.d.ts +7 -0
- package/dist/core/output-guard.d.ts.map +1 -0
- package/dist/core/output-guard.js +89 -0
- package/dist/core/output-guard.js.map +1 -0
- package/dist/core/package-manager.d.ts +213 -0
- package/dist/core/package-manager.d.ts.map +1 -0
- package/dist/core/package-manager.js +2165 -0
- package/dist/core/package-manager.js.map +1 -0
- package/dist/core/project-trust.d.ts +16 -0
- package/dist/core/project-trust.d.ts.map +1 -0
- package/dist/core/project-trust.js +59 -0
- package/dist/core/project-trust.js.map +1 -0
- package/dist/core/prompt-templates.d.ts +54 -0
- package/dist/core/prompt-templates.d.ts.map +1 -0
- package/dist/core/prompt-templates.js +236 -0
- package/dist/core/prompt-templates.js.map +1 -0
- package/dist/core/provider-attribution.d.ts +4 -0
- package/dist/core/provider-attribution.d.ts.map +1 -0
- package/dist/core/provider-attribution.js +83 -0
- package/dist/core/provider-attribution.js.map +1 -0
- package/dist/core/provider-composer.d.ts +55 -0
- package/dist/core/provider-composer.d.ts.map +1 -0
- package/dist/core/provider-composer.js +375 -0
- package/dist/core/provider-composer.js.map +1 -0
- package/dist/core/radius.d.ts +2 -0
- package/dist/core/radius.d.ts.map +1 -0
- package/dist/core/radius.js +2 -0
- package/dist/core/radius.js.map +1 -0
- package/dist/core/remote-catalog-provider.d.ts +5 -0
- package/dist/core/remote-catalog-provider.d.ts.map +1 -0
- package/dist/core/remote-catalog-provider.js +115 -0
- package/dist/core/remote-catalog-provider.js.map +1 -0
- package/dist/core/resolve-config-value.d.ts +30 -0
- package/dist/core/resolve-config-value.d.ts.map +1 -0
- package/dist/core/resolve-config-value.js +247 -0
- package/dist/core/resolve-config-value.js.map +1 -0
- package/dist/core/resource-loader.d.ts +207 -0
- package/dist/core/resource-loader.d.ts.map +1 -0
- package/dist/core/resource-loader.js +821 -0
- package/dist/core/resource-loader.js.map +1 -0
- package/dist/core/runtime-credentials.d.ts +15 -0
- package/dist/core/runtime-credentials.d.ts.map +1 -0
- package/dist/core/runtime-credentials.js +36 -0
- package/dist/core/runtime-credentials.js.map +1 -0
- package/dist/core/sdk.d.ts +106 -0
- package/dist/core/sdk.d.ts.map +1 -0
- package/dist/core/sdk.js +267 -0
- package/dist/core/sdk.js.map +1 -0
- package/dist/core/session-cwd.d.ts +19 -0
- package/dist/core/session-cwd.d.ts.map +1 -0
- package/dist/core/session-cwd.js +38 -0
- package/dist/core/session-cwd.js.map +1 -0
- package/dist/core/session-manager.d.ts +356 -0
- package/dist/core/session-manager.d.ts.map +1 -0
- package/dist/core/session-manager.js +1338 -0
- package/dist/core/session-manager.js.map +1 -0
- package/dist/core/settings-manager.d.ts +313 -0
- package/dist/core/settings-manager.d.ts.map +1 -0
- package/dist/core/settings-manager.js +921 -0
- package/dist/core/settings-manager.js.map +1 -0
- package/dist/core/skills.d.ts +60 -0
- package/dist/core/skills.d.ts.map +1 -0
- package/dist/core/skills.js +387 -0
- package/dist/core/skills.js.map +1 -0
- package/dist/core/slash-commands.d.ts +15 -0
- package/dist/core/slash-commands.d.ts.map +1 -0
- package/dist/core/slash-commands.js +26 -0
- package/dist/core/slash-commands.js.map +1 -0
- package/dist/core/source-info.d.ts +18 -0
- package/dist/core/source-info.d.ts.map +1 -0
- package/dist/core/source-info.js +19 -0
- package/dist/core/source-info.js.map +1 -0
- package/dist/core/system-prompt.d.ts +28 -0
- package/dist/core/system-prompt.d.ts.map +1 -0
- package/dist/core/system-prompt.js +110 -0
- package/dist/core/system-prompt.js.map +1 -0
- package/dist/core/telemetry.d.ts +3 -0
- package/dist/core/telemetry.d.ts.map +1 -0
- package/dist/core/telemetry.js +10 -0
- package/dist/core/telemetry.js.map +1 -0
- package/dist/core/timings.d.ts +10 -0
- package/dist/core/timings.d.ts.map +1 -0
- package/dist/core/timings.js +41 -0
- package/dist/core/timings.js.map +1 -0
- package/dist/core/tools/bash.d.ts +70 -0
- package/dist/core/tools/bash.d.ts.map +1 -0
- package/dist/core/tools/bash.js +391 -0
- package/dist/core/tools/bash.js.map +1 -0
- package/dist/core/tools/edit-diff.d.ts +106 -0
- package/dist/core/tools/edit-diff.d.ts.map +1 -0
- package/dist/core/tools/edit-diff.js +424 -0
- package/dist/core/tools/edit-diff.js.map +1 -0
- package/dist/core/tools/edit.d.ts +51 -0
- package/dist/core/tools/edit.d.ts.map +1 -0
- package/dist/core/tools/edit.js +284 -0
- package/dist/core/tools/edit.js.map +1 -0
- package/dist/core/tools/file-mutation-queue.d.ts +6 -0
- package/dist/core/tools/file-mutation-queue.d.ts.map +1 -0
- package/dist/core/tools/file-mutation-queue.js +52 -0
- package/dist/core/tools/file-mutation-queue.js.map +1 -0
- package/dist/core/tools/find.d.ts +35 -0
- package/dist/core/tools/find.d.ts.map +1 -0
- package/dist/core/tools/find.js +305 -0
- package/dist/core/tools/find.js.map +1 -0
- package/dist/core/tools/grep.d.ts +37 -0
- package/dist/core/tools/grep.d.ts.map +1 -0
- package/dist/core/tools/grep.js +304 -0
- package/dist/core/tools/grep.js.map +1 -0
- package/dist/core/tools/index.d.ts +40 -0
- package/dist/core/tools/index.d.ts.map +1 -0
- package/dist/core/tools/index.js +112 -0
- package/dist/core/tools/index.js.map +1 -0
- package/dist/core/tools/ls.d.ts +37 -0
- package/dist/core/tools/ls.d.ts.map +1 -0
- package/dist/core/tools/ls.js +167 -0
- package/dist/core/tools/ls.js.map +1 -0
- package/dist/core/tools/output-accumulator.d.ts +52 -0
- package/dist/core/tools/output-accumulator.d.ts.map +1 -0
- package/dist/core/tools/output-accumulator.js +184 -0
- package/dist/core/tools/output-accumulator.js.map +1 -0
- package/dist/core/tools/path-utils.d.ts +10 -0
- package/dist/core/tools/path-utils.d.ts.map +1 -0
- package/dist/core/tools/path-utils.js +99 -0
- package/dist/core/tools/path-utils.js.map +1 -0
- package/dist/core/tools/read.d.ts +35 -0
- package/dist/core/tools/read.d.ts.map +1 -0
- package/dist/core/tools/read.js +276 -0
- package/dist/core/tools/read.js.map +1 -0
- package/dist/core/tools/render-utils.d.ts +24 -0
- package/dist/core/tools/render-utils.d.ts.map +1 -0
- package/dist/core/tools/render-utils.js +65 -0
- package/dist/core/tools/render-utils.js.map +1 -0
- package/dist/core/tools/tool-definition-wrapper.d.ts +14 -0
- package/dist/core/tools/tool-definition-wrapper.d.ts.map +1 -0
- package/dist/core/tools/tool-definition-wrapper.js +36 -0
- package/dist/core/tools/tool-definition-wrapper.js.map +1 -0
- package/dist/core/tools/truncate.d.ts +70 -0
- package/dist/core/tools/truncate.d.ts.map +1 -0
- package/dist/core/tools/truncate.js +215 -0
- package/dist/core/tools/truncate.js.map +1 -0
- package/dist/core/tools/write.d.ts +26 -0
- package/dist/core/tools/write.d.ts.map +1 -0
- package/dist/core/tools/write.js +197 -0
- package/dist/core/tools/write.js.map +1 -0
- package/dist/core/trust-manager.d.ts +36 -0
- package/dist/core/trust-manager.d.ts.map +1 -0
- package/dist/core/trust-manager.js +202 -0
- package/dist/core/trust-manager.js.map +1 -0
- package/dist/core/usage-totals.d.ts +19 -0
- package/dist/core/usage-totals.d.ts.map +1 -0
- package/dist/core/usage-totals.js +52 -0
- package/dist/core/usage-totals.js.map +1 -0
- package/dist/extensions/index.d.ts +3 -0
- package/dist/extensions/index.d.ts.map +1 -0
- package/dist/extensions/index.js +3 -0
- package/dist/extensions/index.js.map +1 -0
- package/dist/extensions/llama/client.d.ts +61 -0
- package/dist/extensions/llama/client.d.ts.map +1 -0
- package/dist/extensions/llama/client.js +302 -0
- package/dist/extensions/llama/client.js.map +1 -0
- package/dist/extensions/llama/huggingface.d.ts +23 -0
- package/dist/extensions/llama/huggingface.d.ts.map +1 -0
- package/dist/extensions/llama/huggingface.js +141 -0
- package/dist/extensions/llama/huggingface.js.map +1 -0
- package/dist/extensions/llama/index.d.ts +3 -0
- package/dist/extensions/llama/index.d.ts.map +1 -0
- package/dist/extensions/llama/index.js +208 -0
- package/dist/extensions/llama/index.js.map +1 -0
- package/dist/extensions/llama/provider.d.ts +10 -0
- package/dist/extensions/llama/provider.d.ts.map +1 -0
- package/dist/extensions/llama/provider.js +107 -0
- package/dist/extensions/llama/provider.js.map +1 -0
- package/dist/extensions/llama/ui.d.ts +42 -0
- package/dist/extensions/llama/ui.d.ts.map +1 -0
- package/dist/extensions/llama/ui.js +416 -0
- package/dist/extensions/llama/ui.js.map +1 -0
- package/dist/humain/brand-logo.d.ts +3 -0
- package/dist/humain/brand-logo.d.ts.map +1 -0
- package/dist/humain/brand-logo.js +3 -0
- package/dist/humain/brand-logo.js.map +1 -0
- package/dist/humain/index.d.ts +11 -0
- package/dist/humain/index.d.ts.map +1 -0
- package/dist/humain/index.js +291 -0
- package/dist/humain/index.js.map +1 -0
- package/dist/humain/legacy-workflow-tiers.d.ts +3 -0
- package/dist/humain/legacy-workflow-tiers.d.ts.map +1 -0
- package/dist/humain/legacy-workflow-tiers.js +46 -0
- package/dist/humain/legacy-workflow-tiers.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +15 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +773 -0
- package/dist/main.js.map +1 -0
- package/dist/migrations.d.ts +33 -0
- package/dist/migrations.d.ts.map +1 -0
- package/dist/migrations.js +281 -0
- package/dist/migrations.js.map +1 -0
- package/dist/modes/index.d.ts +9 -0
- package/dist/modes/index.d.ts.map +1 -0
- package/dist/modes/index.js +8 -0
- package/dist/modes/index.js.map +1 -0
- package/dist/modes/interactive/assets/clankolas.png +0 -0
- package/dist/modes/interactive/components/armin.d.ts +34 -0
- package/dist/modes/interactive/components/armin.d.ts.map +1 -0
- package/dist/modes/interactive/components/armin.js +333 -0
- package/dist/modes/interactive/components/armin.js.map +1 -0
- package/dist/modes/interactive/components/assistant-message.d.ts +22 -0
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/assistant-message.js +141 -0
- package/dist/modes/interactive/components/assistant-message.js.map +1 -0
- package/dist/modes/interactive/components/bash-execution.d.ts +34 -0
- package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
- package/dist/modes/interactive/components/bash-execution.js +175 -0
- package/dist/modes/interactive/components/bash-execution.js.map +1 -0
- package/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
- package/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
- package/dist/modes/interactive/components/bordered-loader.js +54 -0
- package/dist/modes/interactive/components/bordered-loader.js.map +1 -0
- package/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
- package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/branch-summary-message.js +44 -0
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
- package/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
- package/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/compaction-summary-message.js +45 -0
- package/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
- package/dist/modes/interactive/components/config-selector.d.ts +102 -0
- package/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/config-selector.js +761 -0
- package/dist/modes/interactive/components/config-selector.js.map +1 -0
- package/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
- package/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
- package/dist/modes/interactive/components/countdown-timer.js +33 -0
- package/dist/modes/interactive/components/countdown-timer.js.map +1 -0
- package/dist/modes/interactive/components/custom-editor.d.ts +21 -0
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
- package/dist/modes/interactive/components/custom-editor.js +70 -0
- package/dist/modes/interactive/components/custom-editor.js.map +1 -0
- package/dist/modes/interactive/components/custom-entry.d.ts +19 -0
- package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -0
- package/dist/modes/interactive/components/custom-entry.js +52 -0
- package/dist/modes/interactive/components/custom-entry.js.map +1 -0
- package/dist/modes/interactive/components/custom-message.d.ts +22 -0
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/custom-message.js +87 -0
- package/dist/modes/interactive/components/custom-message.js.map +1 -0
- package/dist/modes/interactive/components/daxnuts.d.ts +23 -0
- package/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
- package/dist/modes/interactive/components/daxnuts.js +140 -0
- package/dist/modes/interactive/components/daxnuts.js.map +1 -0
- package/dist/modes/interactive/components/diff.d.ts +12 -0
- package/dist/modes/interactive/components/diff.d.ts.map +1 -0
- package/dist/modes/interactive/components/diff.js +133 -0
- package/dist/modes/interactive/components/diff.js.map +1 -0
- package/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
- package/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
- package/dist/modes/interactive/components/dynamic-border.js +21 -0
- package/dist/modes/interactive/components/dynamic-border.js.map +1 -0
- package/dist/modes/interactive/components/extension-editor.d.ts +21 -0
- package/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
- package/dist/modes/interactive/components/extension-editor.js +98 -0
- package/dist/modes/interactive/components/extension-editor.js.map +1 -0
- package/dist/modes/interactive/components/extension-input.d.ts +23 -0
- package/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
- package/dist/modes/interactive/components/extension-input.js +61 -0
- package/dist/modes/interactive/components/extension-input.js.map +1 -0
- package/dist/modes/interactive/components/extension-selector.d.ts +26 -0
- package/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/extension-selector.js +83 -0
- package/dist/modes/interactive/components/extension-selector.js.map +1 -0
- package/dist/modes/interactive/components/first-time-setup.d.ts +25 -0
- package/dist/modes/interactive/components/first-time-setup.d.ts.map +1 -0
- package/dist/modes/interactive/components/first-time-setup.js +103 -0
- package/dist/modes/interactive/components/first-time-setup.js.map +1 -0
- package/dist/modes/interactive/components/footer.d.ts +32 -0
- package/dist/modes/interactive/components/footer.d.ts.map +1 -0
- package/dist/modes/interactive/components/footer.js +222 -0
- package/dist/modes/interactive/components/footer.js.map +1 -0
- package/dist/modes/interactive/components/index.d.ts +34 -0
- package/dist/modes/interactive/components/index.d.ts.map +1 -0
- package/dist/modes/interactive/components/index.js +35 -0
- package/dist/modes/interactive/components/index.js.map +1 -0
- package/dist/modes/interactive/components/keybinding-hints.d.ts +13 -0
- package/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
- package/dist/modes/interactive/components/keybinding-hints.js +36 -0
- package/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
- package/dist/modes/interactive/components/login-dialog.d.ts +52 -0
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
- package/dist/modes/interactive/components/login-dialog.js +188 -0
- package/dist/modes/interactive/components/login-dialog.js.map +1 -0
- package/dist/modes/interactive/components/model-selector.d.ts +54 -0
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/model-selector.js +310 -0
- package/dist/modes/interactive/components/model-selector.js.map +1 -0
- package/dist/modes/interactive/components/oauth-selector.d.ts +33 -0
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/oauth-selector.js +163 -0
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -0
- package/dist/modes/interactive/components/scoped-models-selector.d.ts +42 -0
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/scoped-models-selector.js +302 -0
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
- package/dist/modes/interactive/components/session-selector-search.d.ts +23 -0
- package/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
- package/dist/modes/interactive/components/session-selector-search.js +155 -0
- package/dist/modes/interactive/components/session-selector-search.js.map +1 -0
- package/dist/modes/interactive/components/session-selector.d.ts +95 -0
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/session-selector.js +867 -0
- package/dist/modes/interactive/components/session-selector.js.map +1 -0
- package/dist/modes/interactive/components/settings-selector.d.ts +77 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/settings-selector.js +593 -0
- package/dist/modes/interactive/components/settings-selector.js.map +1 -0
- package/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
- package/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/show-images-selector.js +39 -0
- package/dist/modes/interactive/components/show-images-selector.js.map +1 -0
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
- package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/skill-invocation-message.js +47 -0
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
- package/dist/modes/interactive/components/status-indicator.d.ts +28 -0
- package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -0
- package/dist/modes/interactive/components/status-indicator.js +60 -0
- package/dist/modes/interactive/components/status-indicator.js.map +1 -0
- package/dist/modes/interactive/components/theme-selector.d.ts +11 -0
- package/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/theme-selector.js +50 -0
- package/dist/modes/interactive/components/theme-selector.js.map +1 -0
- package/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
- package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/thinking-selector.js +52 -0
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -0
- package/dist/modes/interactive/components/tool-execution.d.ts +63 -0
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
- package/dist/modes/interactive/components/tool-execution.js +317 -0
- package/dist/modes/interactive/components/tool-execution.js.map +1 -0
- package/dist/modes/interactive/components/tree-selector.d.ts +94 -0
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/tree-selector.js +1245 -0
- package/dist/modes/interactive/components/tree-selector.js.map +1 -0
- package/dist/modes/interactive/components/trust-selector.d.ts +23 -0
- package/dist/modes/interactive/components/trust-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/trust-selector.js +91 -0
- package/dist/modes/interactive/components/trust-selector.js.map +1 -0
- package/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
- package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/user-message-selector.js +114 -0
- package/dist/modes/interactive/components/user-message-selector.js.map +1 -0
- package/dist/modes/interactive/components/user-message.d.ts +14 -0
- package/dist/modes/interactive/components/user-message.d.ts.map +1 -0
- package/dist/modes/interactive/components/user-message.js +42 -0
- package/dist/modes/interactive/components/user-message.js.map +1 -0
- package/dist/modes/interactive/components/visual-truncate.d.ts +24 -0
- package/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
- package/dist/modes/interactive/components/visual-truncate.js +33 -0
- package/dist/modes/interactive/components/visual-truncate.js.map +1 -0
- package/dist/modes/interactive/external-editor.d.ts +12 -0
- package/dist/modes/interactive/external-editor.d.ts.map +1 -0
- package/dist/modes/interactive/external-editor.js +38 -0
- package/dist/modes/interactive/external-editor.js.map +1 -0
- package/dist/modes/interactive/interactive-mode.d.ts +393 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
- package/dist/modes/interactive/interactive-mode.js +5003 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -0
- package/dist/modes/interactive/model-search.d.ts +12 -0
- package/dist/modes/interactive/model-search.d.ts.map +1 -0
- package/dist/modes/interactive/model-search.js +15 -0
- package/dist/modes/interactive/model-search.js.map +1 -0
- package/dist/modes/interactive/theme/dark.json +87 -0
- package/dist/modes/interactive/theme/humain-dark.json +81 -0
- package/dist/modes/interactive/theme/humain-light.json +81 -0
- package/dist/modes/interactive/theme/light.json +86 -0
- package/dist/modes/interactive/theme/theme-controller.d.ts +29 -0
- package/dist/modes/interactive/theme/theme-controller.d.ts.map +1 -0
- package/dist/modes/interactive/theme/theme-controller.js +102 -0
- package/dist/modes/interactive/theme/theme-controller.js.map +1 -0
- package/dist/modes/interactive/theme/theme-schema.json +340 -0
- package/dist/modes/interactive/theme/theme.d.ts +120 -0
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -0
- package/dist/modes/interactive/theme/theme.js +1069 -0
- package/dist/modes/interactive/theme/theme.js.map +1 -0
- package/dist/modes/print-mode.d.ts +28 -0
- package/dist/modes/print-mode.d.ts.map +1 -0
- package/dist/modes/print-mode.js +132 -0
- package/dist/modes/print-mode.js.map +1 -0
- package/dist/modes/rpc/jsonl.d.ts +17 -0
- package/dist/modes/rpc/jsonl.d.ts.map +1 -0
- package/dist/modes/rpc/jsonl.js +49 -0
- package/dist/modes/rpc/jsonl.js.map +1 -0
- package/dist/modes/rpc/rpc-client.d.ts +248 -0
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-client.js +489 -0
- package/dist/modes/rpc/rpc-client.js.map +1 -0
- package/dist/modes/rpc/rpc-mode.d.ts +20 -0
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-mode.js +640 -0
- package/dist/modes/rpc/rpc-mode.js.map +1 -0
- package/dist/modes/rpc/rpc-types.d.ts +457 -0
- package/dist/modes/rpc/rpc-types.d.ts.map +1 -0
- package/dist/modes/rpc/rpc-types.js +8 -0
- package/dist/modes/rpc/rpc-types.js.map +1 -0
- package/dist/package-manager-cli.d.ts +8 -0
- package/dist/package-manager-cli.d.ts.map +1 -0
- package/dist/package-manager-cli.js +775 -0
- package/dist/package-manager-cli.js.map +1 -0
- package/dist/rpc-entry.d.ts +3 -0
- package/dist/rpc-entry.d.ts.map +1 -0
- package/dist/rpc-entry.js +10 -0
- package/dist/rpc-entry.js.map +1 -0
- package/dist/utils/ansi.d.ts +2 -0
- package/dist/utils/ansi.d.ts.map +1 -0
- package/dist/utils/ansi.js +52 -0
- package/dist/utils/ansi.js.map +1 -0
- package/dist/utils/changelog.d.ts +22 -0
- package/dist/utils/changelog.d.ts.map +1 -0
- package/dist/utils/changelog.js +165 -0
- package/dist/utils/changelog.js.map +1 -0
- package/dist/utils/child-process.d.ts +18 -0
- package/dist/utils/child-process.d.ts.map +1 -0
- package/dist/utils/child-process.js +106 -0
- package/dist/utils/child-process.js.map +1 -0
- package/dist/utils/clipboard-image.d.ts +11 -0
- package/dist/utils/clipboard-image.d.ts.map +1 -0
- package/dist/utils/clipboard-image.js +245 -0
- package/dist/utils/clipboard-image.js.map +1 -0
- package/dist/utils/clipboard-native.d.ts +11 -0
- package/dist/utils/clipboard-native.d.ts.map +1 -0
- package/dist/utils/clipboard-native.js +20 -0
- package/dist/utils/clipboard-native.js.map +1 -0
- package/dist/utils/clipboard.d.ts +4 -0
- package/dist/utils/clipboard.d.ts.map +1 -0
- package/dist/utils/clipboard.js +141 -0
- package/dist/utils/clipboard.js.map +1 -0
- package/dist/utils/deprecation.d.ts +4 -0
- package/dist/utils/deprecation.d.ts.map +1 -0
- package/dist/utils/deprecation.js +13 -0
- package/dist/utils/deprecation.js.map +1 -0
- package/dist/utils/exif-orientation.d.ts +5 -0
- package/dist/utils/exif-orientation.d.ts.map +1 -0
- package/dist/utils/exif-orientation.js +158 -0
- package/dist/utils/exif-orientation.js.map +1 -0
- package/dist/utils/frontmatter.d.ts +8 -0
- package/dist/utils/frontmatter.d.ts.map +1 -0
- package/dist/utils/frontmatter.js +26 -0
- package/dist/utils/frontmatter.js.map +1 -0
- package/dist/utils/fs-watch.d.ts +5 -0
- package/dist/utils/fs-watch.d.ts.map +1 -0
- package/dist/utils/fs-watch.js +25 -0
- package/dist/utils/fs-watch.js.map +1 -0
- package/dist/utils/git.d.ts +26 -0
- package/dist/utils/git.d.ts.map +1 -0
- package/dist/utils/git.js +195 -0
- package/dist/utils/git.js.map +1 -0
- package/dist/utils/html.d.ts +7 -0
- package/dist/utils/html.d.ts.map +1 -0
- package/dist/utils/html.js +40 -0
- package/dist/utils/html.js.map +1 -0
- package/dist/utils/image-convert.d.ts +10 -0
- package/dist/utils/image-convert.d.ts.map +1 -0
- package/dist/utils/image-convert.js +45 -0
- package/dist/utils/image-convert.js.map +1 -0
- package/dist/utils/image-process.d.ts +18 -0
- package/dist/utils/image-process.d.ts.map +1 -0
- package/dist/utils/image-process.js +83 -0
- package/dist/utils/image-process.js.map +1 -0
- package/dist/utils/image-resize-core.d.ts +30 -0
- package/dist/utils/image-resize-core.d.ts.map +1 -0
- package/dist/utils/image-resize-core.js +124 -0
- package/dist/utils/image-resize-core.js.map +1 -0
- package/dist/utils/image-resize-worker.d.ts +2 -0
- package/dist/utils/image-resize-worker.d.ts.map +1 -0
- package/dist/utils/image-resize-worker.js +31 -0
- package/dist/utils/image-resize-worker.js.map +1 -0
- package/dist/utils/image-resize.d.ts +16 -0
- package/dist/utils/image-resize.d.ts.map +1 -0
- package/dist/utils/image-resize.js +97 -0
- package/dist/utils/image-resize.js.map +1 -0
- package/dist/utils/json.d.ts +3 -0
- package/dist/utils/json.d.ts.map +1 -0
- package/dist/utils/json.js +7 -0
- package/dist/utils/json.js.map +1 -0
- package/dist/utils/mime.d.ts +3 -0
- package/dist/utils/mime.d.ts.map +1 -0
- package/dist/utils/mime.js +110 -0
- package/dist/utils/mime.js.map +1 -0
- package/dist/utils/open-browser.d.ts +9 -0
- package/dist/utils/open-browser.d.ts.map +1 -0
- package/dist/utils/open-browser.js +22 -0
- package/dist/utils/open-browser.js.map +1 -0
- package/dist/utils/paths.d.ts +31 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +92 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/photon.d.ts +21 -0
- package/dist/utils/photon.d.ts.map +1 -0
- package/dist/utils/photon.js +121 -0
- package/dist/utils/photon.js.map +1 -0
- package/dist/utils/pi-user-agent.d.ts +2 -0
- package/dist/utils/pi-user-agent.d.ts.map +1 -0
- package/dist/utils/pi-user-agent.js +6 -0
- package/dist/utils/pi-user-agent.js.map +1 -0
- package/dist/utils/shell.d.ts +31 -0
- package/dist/utils/shell.d.ts.map +1 -0
- package/dist/utils/shell.js +202 -0
- package/dist/utils/shell.js.map +1 -0
- package/dist/utils/sleep.d.ts +5 -0
- package/dist/utils/sleep.d.ts.map +1 -0
- package/dist/utils/sleep.js +17 -0
- package/dist/utils/sleep.js.map +1 -0
- package/dist/utils/syntax-highlight.d.ts +12 -0
- package/dist/utils/syntax-highlight.d.ts.map +1 -0
- package/dist/utils/syntax-highlight.js +118 -0
- package/dist/utils/syntax-highlight.js.map +1 -0
- package/dist/utils/tools-manager.d.ts +3 -0
- package/dist/utils/tools-manager.d.ts.map +1 -0
- package/dist/utils/tools-manager.js +345 -0
- package/dist/utils/tools-manager.js.map +1 -0
- package/dist/utils/version-check.d.ts +15 -0
- package/dist/utils/version-check.d.ts.map +1 -0
- package/dist/utils/version-check.js +61 -0
- package/dist/utils/version-check.js.map +1 -0
- package/dist/utils/windows-self-update.d.ts +3 -0
- package/dist/utils/windows-self-update.d.ts.map +1 -0
- package/dist/utils/windows-self-update.js +77 -0
- package/dist/utils/windows-self-update.js.map +1 -0
- package/docs/compaction.md +401 -0
- package/docs/containerization.md +111 -0
- package/docs/custom-provider.md +769 -0
- package/docs/development.md +72 -0
- package/docs/docs.json +172 -0
- package/docs/environment-variables.md +88 -0
- package/docs/extensions.md +2962 -0
- package/docs/humain-code-forge-architecture.md +217 -0
- package/docs/humain-code-forge-component-scorecard.md +122 -0
- package/docs/humain-code-forge-flow-walkthrough.md +414 -0
- package/docs/humain-terminal.md +102 -0
- package/docs/images/doom-extension.png +0 -0
- package/docs/images/exy.png +0 -0
- package/docs/images/interactive-mode.png +0 -0
- package/docs/images/tree-view.png +0 -0
- package/docs/index.md +82 -0
- package/docs/json.md +86 -0
- package/docs/keybindings.md +198 -0
- package/docs/llama-cpp.md +99 -0
- package/docs/models.md +544 -0
- package/docs/packages.md +228 -0
- package/docs/prompt-templates.md +96 -0
- package/docs/providers.md +308 -0
- package/docs/quickstart.md +165 -0
- package/docs/rpc.md +1576 -0
- package/docs/sdk.md +1186 -0
- package/docs/security.md +59 -0
- package/docs/session-format.md +436 -0
- package/docs/sessions.md +145 -0
- package/docs/settings.md +319 -0
- package/docs/shell-aliases.md +13 -0
- package/docs/skills.md +231 -0
- package/docs/terminal-setup.md +142 -0
- package/docs/termux.md +127 -0
- package/docs/themes.md +297 -0
- package/docs/tmux.md +63 -0
- package/docs/tui.md +942 -0
- package/docs/usage.md +316 -0
- package/docs/windows.md +17 -0
- package/examples/README.md +25 -0
- package/examples/extensions/README.md +213 -0
- package/examples/extensions/auto-commit-on-exit.ts +49 -0
- package/examples/extensions/bash-spawn-hook.ts +30 -0
- package/examples/extensions/bookmark.ts +50 -0
- package/examples/extensions/border-status-editor.ts +145 -0
- package/examples/extensions/built-in-tool-renderer.ts +249 -0
- package/examples/extensions/claude-rules.ts +86 -0
- package/examples/extensions/commands.ts +72 -0
- package/examples/extensions/confirm-destructive.ts +59 -0
- package/examples/extensions/custom-compaction.ts +132 -0
- package/examples/extensions/custom-footer.ts +64 -0
- package/examples/extensions/custom-header.ts +73 -0
- package/examples/extensions/custom-provider-anthropic/index.ts +604 -0
- package/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
- package/examples/extensions/custom-provider-anthropic/package.json +19 -0
- package/examples/extensions/custom-provider-gitlab-duo/index.ts +404 -0
- package/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
- package/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
- package/examples/extensions/dirty-repo-guard.ts +56 -0
- package/examples/extensions/doom-overlay/README.md +46 -0
- package/examples/extensions/doom-overlay/doom/build/doom.js +21 -0
- package/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
- package/examples/extensions/doom-overlay/doom/build.sh +156 -0
- package/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +72 -0
- package/examples/extensions/doom-overlay/doom-component.ts +132 -0
- package/examples/extensions/doom-overlay/doom-engine.ts +173 -0
- package/examples/extensions/doom-overlay/doom-keys.ts +104 -0
- package/examples/extensions/doom-overlay/index.ts +74 -0
- package/examples/extensions/doom-overlay/wad-finder.ts +51 -0
- package/examples/extensions/dynamic-resources/SKILL.md +8 -0
- package/examples/extensions/dynamic-resources/dynamic.json +79 -0
- package/examples/extensions/dynamic-resources/dynamic.md +5 -0
- package/examples/extensions/dynamic-resources/index.ts +15 -0
- package/examples/extensions/dynamic-tools.ts +74 -0
- package/examples/extensions/entry-renderer.ts +41 -0
- package/examples/extensions/event-bus.ts +43 -0
- package/examples/extensions/file-trigger.ts +41 -0
- package/examples/extensions/git-checkpoint.ts +53 -0
- package/examples/extensions/git-merge-and-resolve.ts +115 -0
- package/examples/extensions/github-issue-autocomplete.ts +185 -0
- package/examples/extensions/gondolin/index.ts +531 -0
- package/examples/extensions/gondolin/package-lock.json +185 -0
- package/examples/extensions/gondolin/package.json +19 -0
- package/examples/extensions/handoff.ts +199 -0
- package/examples/extensions/hello.ts +26 -0
- package/examples/extensions/hidden-thinking-label.ts +53 -0
- package/examples/extensions/inline-bash.ts +94 -0
- package/examples/extensions/input-transform-streaming.ts +39 -0
- package/examples/extensions/input-transform.ts +43 -0
- package/examples/extensions/interactive-shell.ts +196 -0
- package/examples/extensions/kimi-deferred-tools.ts +61 -0
- package/examples/extensions/mac-system-theme.ts +47 -0
- package/examples/extensions/message-renderer.ts +59 -0
- package/examples/extensions/minimal-mode.ts +426 -0
- package/examples/extensions/modal-editor.ts +85 -0
- package/examples/extensions/model-status.ts +31 -0
- package/examples/extensions/notify.ts +55 -0
- package/examples/extensions/overlay-qa-tests.ts +1450 -0
- package/examples/extensions/overlay-test.ts +153 -0
- package/examples/extensions/permission-gate.ts +34 -0
- package/examples/extensions/pirate.ts +47 -0
- package/examples/extensions/plan-mode/README.md +66 -0
- package/examples/extensions/plan-mode/index.ts +390 -0
- package/examples/extensions/plan-mode/utils.ts +168 -0
- package/examples/extensions/preset.ts +436 -0
- package/examples/extensions/project-trust.ts +64 -0
- package/examples/extensions/prompt-customizer.ts +97 -0
- package/examples/extensions/protected-paths.ts +30 -0
- package/examples/extensions/provider-payload.ts +18 -0
- package/examples/extensions/qna.ts +122 -0
- package/examples/extensions/question.ts +286 -0
- package/examples/extensions/questionnaire.ts +448 -0
- package/examples/extensions/rainbow-editor.ts +88 -0
- package/examples/extensions/reload-runtime.ts +37 -0
- package/examples/extensions/rpc-demo.ts +118 -0
- package/examples/extensions/sandbox/index.ts +321 -0
- package/examples/extensions/sandbox/package-lock.json +92 -0
- package/examples/extensions/sandbox/package.json +19 -0
- package/examples/extensions/send-user-message.ts +97 -0
- package/examples/extensions/session-name.ts +27 -0
- package/examples/extensions/shutdown-command.ts +63 -0
- package/examples/extensions/snake.ts +343 -0
- package/examples/extensions/space-invaders.ts +560 -0
- package/examples/extensions/ssh.ts +220 -0
- package/examples/extensions/status-line.ts +32 -0
- package/examples/extensions/structured-output.ts +65 -0
- package/examples/extensions/subagent/README.md +175 -0
- package/examples/extensions/subagent/agents/planner.md +37 -0
- package/examples/extensions/subagent/agents/reviewer.md +35 -0
- package/examples/extensions/subagent/agents/scout.md +50 -0
- package/examples/extensions/subagent/agents/worker.md +24 -0
- package/examples/extensions/subagent/agents.ts +126 -0
- package/examples/extensions/subagent/index.ts +1015 -0
- package/examples/extensions/subagent/prompts/implement-and-review.md +10 -0
- package/examples/extensions/subagent/prompts/implement.md +10 -0
- package/examples/extensions/subagent/prompts/scout-and-plan.md +9 -0
- package/examples/extensions/summarize.ts +210 -0
- package/examples/extensions/system-prompt-header.ts +17 -0
- package/examples/extensions/tic-tac-toe.ts +1008 -0
- package/examples/extensions/timed-confirm.ts +70 -0
- package/examples/extensions/titlebar-spinner.ts +58 -0
- package/examples/extensions/todo.ts +297 -0
- package/examples/extensions/tool-override.ts +144 -0
- package/examples/extensions/tools.ts +146 -0
- package/examples/extensions/trigger-compact.ts +50 -0
- package/examples/extensions/truncated-tool.ts +195 -0
- package/examples/extensions/widget-placement.ts +9 -0
- package/examples/extensions/with-deps/index.ts +32 -0
- package/examples/extensions/with-deps/package-lock.json +31 -0
- package/examples/extensions/with-deps/package.json +22 -0
- package/examples/extensions/working-indicator.ts +123 -0
- package/examples/extensions/working-message-test.ts +25 -0
- package/examples/rpc-extension-ui.ts +632 -0
- package/examples/sdk/01-minimal.ts +26 -0
- package/examples/sdk/02-custom-model.ts +50 -0
- package/examples/sdk/03-custom-prompt.ts +70 -0
- package/examples/sdk/04-skills.ts +55 -0
- package/examples/sdk/05-tools.ts +48 -0
- package/examples/sdk/06-extensions.ts +94 -0
- package/examples/sdk/07-context-files.ts +42 -0
- package/examples/sdk/08-prompt-templates.ts +51 -0
- package/examples/sdk/09-api-keys-and-oauth.ts +34 -0
- package/examples/sdk/10-settings.ts +53 -0
- package/examples/sdk/11-sessions.ts +52 -0
- package/examples/sdk/12-full-control.ts +72 -0
- package/examples/sdk/13-session-runtime.ts +67 -0
- package/examples/sdk/README.md +140 -0
- package/npm-shrinkwrap.json +1827 -0
- package/package.json +117 -0
package/README.md
ADDED
|
@@ -0,0 +1,688 @@
|
|
|
1
|
+
<h1 align="center">HUMAIN Terminal</h1>
|
|
2
|
+
<p align="center">The terminal companion for HUMAIN Code.</p>
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://discord.com/invite/3cU7Bz4UPx"><img alt="Discord" src="https://img.shields.io/badge/discord-community-5865F2?style=flat-square&logo=discord&logoColor=white" /></a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
> New issues and PRs from new contributors are auto-closed by default. Maintainers review auto-closed issues daily. See [CONTRIBUTING.md](../../CONTRIBUTING.md).
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
HUMAIN Terminal is a model-flexible terminal coding harness for internal HUMAIN engineering and client-facing workflows. It uses an upstream-compatible extension/runtime model under the hood, but presents HUMAIN branding, HUMAIN defaults, SSO-ready login, Forge-aware routing, local model support, and bundled productivity extensions.
|
|
12
|
+
|
|
13
|
+
Adapt HUMAIN Terminal to your workflows without forking internals. Extend it with TypeScript [Extensions](#extensions), [Skills](#skills), [Prompt Templates](#prompt-templates), [Themes](#themes), and [Packages](#packages).
|
|
14
|
+
|
|
15
|
+
HUMAIN Terminal runs in four modes: interactive, print or JSON, RPC for process integration, and an SDK for embedding in your own apps. See [openclaw/openclaw](https://github.com/openclaw/openclaw) for a real-world SDK integration.
|
|
16
|
+
|
|
17
|
+
## Share your OSS coding agent sessions
|
|
18
|
+
|
|
19
|
+
If you use HUMAIN Terminal for open source work, you can publish coding agent sessions.
|
|
20
|
+
|
|
21
|
+
Public OSS session data helps improve models, prompts, tools, and evaluations using real development workflows.
|
|
22
|
+
|
|
23
|
+
For the full explanation, see [this post on X](https://x.com/badlogicgames/status/2037811643774652911).
|
|
24
|
+
|
|
25
|
+
To publish sessions, use a HUMAIN-approved session exporter. All you need is a Hugging Face account, the Hugging Face CLI, and an exporter configured for the HUMAIN Terminal session format.
|
|
26
|
+
|
|
27
|
+
## Table of Contents
|
|
28
|
+
|
|
29
|
+
- [Quick Start](#quick-start)
|
|
30
|
+
- [Providers & Models](#providers--models)
|
|
31
|
+
- [Interactive Mode](#interactive-mode)
|
|
32
|
+
- [Editor](#editor)
|
|
33
|
+
- [Commands](#commands)
|
|
34
|
+
- [Keyboard Shortcuts](#keyboard-shortcuts)
|
|
35
|
+
- [Message Queue](#message-queue)
|
|
36
|
+
- [Sessions](#sessions)
|
|
37
|
+
- [Branching](#branching)
|
|
38
|
+
- [Compaction](#compaction)
|
|
39
|
+
- [Settings](#settings)
|
|
40
|
+
- [Context Files](#context-files)
|
|
41
|
+
- [Customization](#customization)
|
|
42
|
+
- [Prompt Templates](#prompt-templates)
|
|
43
|
+
- [Skills](#skills)
|
|
44
|
+
- [Extensions](#extensions)
|
|
45
|
+
- [Themes](#themes)
|
|
46
|
+
- [Packages](#packages)
|
|
47
|
+
- [Programmatic Usage](#programmatic-usage)
|
|
48
|
+
- [Philosophy](#philosophy)
|
|
49
|
+
- [CLI Reference](#cli-reference)
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Quick Start
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npm install -g --ignore-scripts @humain/terminal
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
`--ignore-scripts` disables dependency lifecycle scripts during install. HUMAIN Terminal does not require install scripts for normal npm installs.
|
|
60
|
+
|
|
61
|
+
Authenticate with an API key:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
65
|
+
humain-terminal
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Or use your existing subscription:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
humain-terminal
|
|
72
|
+
/login # Then select provider
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Then just talk to HUMAIN Terminal. By default, it gives the model four tools: `read`, `write`, `edit`, and `bash`. The model uses these to fulfill your requests. Add capabilities via [skills](#skills), [prompt templates](#prompt-templates), [extensions](#extensions), or [packages](#packages).
|
|
76
|
+
|
|
77
|
+
**Platform notes:** [Windows](docs/windows.md) | [Termux (Android)](docs/termux.md) | [tmux](docs/tmux.md) | [Terminal setup](docs/terminal-setup.md) | [Shell aliases](docs/shell-aliases.md)
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Providers & Models
|
|
82
|
+
|
|
83
|
+
For each built-in provider, HUMAIN Terminal maintains a list of tool-capable models. Configured provider catalogs refresh automatically; run `humain-terminal update --models` to force an immediate refresh. Authenticate via subscription (`/login`) or API key, then select any model from that provider via `/model` (or Ctrl+L).
|
|
84
|
+
|
|
85
|
+
**Subscriptions:**
|
|
86
|
+
- Anthropic Claude Pro/Max
|
|
87
|
+
- OpenAI ChatGPT Plus/Pro (Codex)
|
|
88
|
+
- GitHub Copilot
|
|
89
|
+
|
|
90
|
+
**API keys:**
|
|
91
|
+
- Anthropic
|
|
92
|
+
- Ant Ling
|
|
93
|
+
- OpenAI
|
|
94
|
+
- Azure OpenAI
|
|
95
|
+
- DeepSeek
|
|
96
|
+
- NVIDIA NIM
|
|
97
|
+
- Google Gemini
|
|
98
|
+
- Google Vertex
|
|
99
|
+
- Amazon Bedrock
|
|
100
|
+
- Mistral
|
|
101
|
+
- Groq
|
|
102
|
+
- Cerebras
|
|
103
|
+
- Cloudflare AI Gateway
|
|
104
|
+
- Cloudflare Workers AI
|
|
105
|
+
- xAI
|
|
106
|
+
- OpenRouter
|
|
107
|
+
- Vercel AI Gateway
|
|
108
|
+
- ZAI Coding Plan (Global)
|
|
109
|
+
- ZAI Coding Plan (China)
|
|
110
|
+
- OpenCode Zen
|
|
111
|
+
- OpenCode Go
|
|
112
|
+
- Hugging Face
|
|
113
|
+
- Fireworks
|
|
114
|
+
- Together AI
|
|
115
|
+
- Kimi For Coding
|
|
116
|
+
- MiniMax
|
|
117
|
+
- Xiaomi MiMo
|
|
118
|
+
- Xiaomi MiMo Token Plan (China)
|
|
119
|
+
- Xiaomi MiMo Token Plan (Amsterdam)
|
|
120
|
+
- Xiaomi MiMo Token Plan (Singapore)
|
|
121
|
+
|
|
122
|
+
Pi also supports the llama.cpp router server. Configure it with `/login llama.cpp`, manage downloads and loaded models with `/llama`, then select a loaded model with `/model`. See [docs/llama-cpp.md](docs/llama-cpp.md) for setup and usage.
|
|
123
|
+
|
|
124
|
+
See [docs/providers.md](docs/providers.md) for other provider setup instructions.
|
|
125
|
+
|
|
126
|
+
**Custom providers & models:** Add providers via `~/.humain-terminal/agent/models.json` if they speak a supported API (OpenAI, Anthropic, Google). For custom APIs or OAuth, use extensions. See [docs/models.md](docs/models.md) and [docs/custom-provider.md](docs/custom-provider.md).
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Interactive Mode
|
|
131
|
+
|
|
132
|
+
<p align="center"><img src="docs/images/interactive-mode.png" alt="Interactive Mode" width="600"></p>
|
|
133
|
+
|
|
134
|
+
The interface from top to bottom:
|
|
135
|
+
|
|
136
|
+
- **Startup header** - Shows shortcuts (`/hotkeys` for all), loaded AGENTS.md files, prompt templates, skills, and extensions
|
|
137
|
+
- **Messages** - Your messages, assistant responses, tool calls and results, notifications, errors, and extension UI
|
|
138
|
+
- **Editor** - Where you type; border color indicates thinking level
|
|
139
|
+
- **Footer** - Working directory, session name, total token/cache usage (`↑` input, `↓` output, `R` cache read, `W` cache write, `CH` latest cache hit rate), cost, context usage, current model. Totals include assistant responses, usage reported by tools, and summary generation.
|
|
140
|
+
|
|
141
|
+
The editor can be temporarily replaced by other UI, like built-in `/settings` or custom UI from extensions (e.g., a Q&A tool that lets the user answer model questions in a structured format). [Extensions](#extensions) can also replace the editor, add widgets above/below it, a status line, custom footer, or overlays.
|
|
142
|
+
|
|
143
|
+
### Editor
|
|
144
|
+
|
|
145
|
+
| Feature | How |
|
|
146
|
+
|---------|-----|
|
|
147
|
+
| File reference | Type `@` to fuzzy-search project files |
|
|
148
|
+
| Path completion | Tab to complete paths |
|
|
149
|
+
| Multi-line | Shift+Enter (or Ctrl+Enter on Windows Terminal) |
|
|
150
|
+
| External editor | Ctrl+G opens `externalEditor`, `$VISUAL`, `$EDITOR`, Notepad on Windows, or `nano` elsewhere |
|
|
151
|
+
| Clipboard | Ctrl+V to paste an image or text (Alt+V on Windows), or drag images onto terminal |
|
|
152
|
+
| Bash commands | `!command` runs and sends output to LLM, `!!command` runs without sending |
|
|
153
|
+
|
|
154
|
+
Standard editing keybindings for delete word, undo, etc. See [docs/keybindings.md](docs/keybindings.md).
|
|
155
|
+
|
|
156
|
+
### Commands
|
|
157
|
+
|
|
158
|
+
Type `/` in the editor to trigger commands. [Extensions](#extensions) can register custom commands, [skills](#skills) are available as `/skill:name`, and [prompt templates](#prompt-templates) expand via `/templatename`.
|
|
159
|
+
|
|
160
|
+
| Command | Description |
|
|
161
|
+
|---------|-------------|
|
|
162
|
+
| `/login`, `/logout` | Manage provider credentials |
|
|
163
|
+
| [`/llama`](docs/llama-cpp.md) | Download, load, and unload llama.cpp router models |
|
|
164
|
+
| `/model` | Switch models |
|
|
165
|
+
| `/scoped-models` | Enable/disable models for Ctrl+P cycling |
|
|
166
|
+
| `/settings` | Thinking level, theme, message delivery, transport |
|
|
167
|
+
| `/resume` | Pick from previous sessions |
|
|
168
|
+
| `/new` | Start a new session |
|
|
169
|
+
| `/name <name>` | Set session display name |
|
|
170
|
+
| `/session` | Show session info (file, ID, messages, tokens, cost) |
|
|
171
|
+
| `/tree` | Jump to any point in the session and continue from there |
|
|
172
|
+
| `/trust` | Save project trust decision for future sessions (restart required) |
|
|
173
|
+
| `/fork` | Create a new session from a previous user message |
|
|
174
|
+
| `/clone` | Duplicate the current active branch into a new session |
|
|
175
|
+
| `/compact [prompt]` | Manually compact context, optional custom instructions |
|
|
176
|
+
| `/copy` | Copy last assistant message to clipboard |
|
|
177
|
+
| `/export [file]` | Export session to HTML or JSONL file |
|
|
178
|
+
| `/import <file>` | Import and resume a session from a JSONL file |
|
|
179
|
+
| `/share` | Upload as private GitHub gist with shareable HTML link |
|
|
180
|
+
| `/reload` | Reload keybindings, extensions, skills, prompts, themes, and context files |
|
|
181
|
+
| `/hotkeys` | Show all keyboard shortcuts |
|
|
182
|
+
| `/changelog` | Display version history |
|
|
183
|
+
| `/quit` | Quit HUMAIN Terminal |
|
|
184
|
+
|
|
185
|
+
### Keyboard Shortcuts
|
|
186
|
+
|
|
187
|
+
See `/hotkeys` for the full list. Customize via `~/.humain-terminal/agent/keybindings.json`. See [docs/keybindings.md](docs/keybindings.md).
|
|
188
|
+
|
|
189
|
+
**Commonly used:**
|
|
190
|
+
|
|
191
|
+
| Key | Action |
|
|
192
|
+
|-----|--------|
|
|
193
|
+
| Ctrl+C | Clear editor |
|
|
194
|
+
| Ctrl+C twice | Quit |
|
|
195
|
+
| Escape | Cancel/abort |
|
|
196
|
+
| Escape twice | Open `/tree` |
|
|
197
|
+
| Ctrl+L | Open model selector |
|
|
198
|
+
| Ctrl+P / Shift+Ctrl+P | Cycle scoped models forward/backward |
|
|
199
|
+
| Shift+Tab | Cycle thinking level |
|
|
200
|
+
| Ctrl+O | Collapse/expand tool output |
|
|
201
|
+
| Ctrl+T | Collapse/expand thinking blocks |
|
|
202
|
+
| Ctrl+X | Copy the last assistant message |
|
|
203
|
+
|
|
204
|
+
### Message Queue
|
|
205
|
+
|
|
206
|
+
Submit messages while the agent is working:
|
|
207
|
+
|
|
208
|
+
- **Enter** queues a *steering* message, delivered after the current assistant turn finishes executing its tool calls
|
|
209
|
+
- **Alt+Enter** queues a *follow-up* message, delivered only after the agent finishes all work
|
|
210
|
+
- **Escape** aborts and restores queued messages to editor
|
|
211
|
+
- **Alt+Up** retrieves queued messages back to editor
|
|
212
|
+
|
|
213
|
+
On Windows Terminal, `Alt+Enter` is fullscreen by default. Remap it in [docs/terminal-setup.md](docs/terminal-setup.md) so HUMAIN Terminal can receive the follow-up shortcut.
|
|
214
|
+
|
|
215
|
+
Configure delivery in [settings](docs/settings.md): `steeringMode` and `followUpMode` can be `"one-at-a-time"` (default, waits for response) or `"all"` (delivers all queued at once). `transport` selects provider transport preference (`"sse"`, `"websocket"`, or `"auto"`) for providers that support multiple transports.
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Sessions
|
|
220
|
+
|
|
221
|
+
Sessions are stored as JSONL files with a tree structure. Each entry has an `id` and `parentId`, enabling in-place branching without creating new files. See [docs/session-format.md](docs/session-format.md) for file format.
|
|
222
|
+
|
|
223
|
+
### Management
|
|
224
|
+
|
|
225
|
+
Sessions auto-save to `~/.humain-terminal/agent/sessions/` organized by working directory.
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
humain-terminal -c # Continue most recent session
|
|
229
|
+
humain-terminal -r # Browse and select from past sessions
|
|
230
|
+
humain-terminal --no-session # Ephemeral mode (don't save)
|
|
231
|
+
humain-terminal --name "my task" # Set session display name at startup
|
|
232
|
+
humain-terminal --session <path|id> # Use specific session file or ID
|
|
233
|
+
humain-terminal --fork <path|id> # Fork specific session file or ID into a new session
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Use `/session` in interactive mode to see the current session ID before reusing it with `--session <id>` or `--fork <id>`.
|
|
237
|
+
|
|
238
|
+
### Branching
|
|
239
|
+
|
|
240
|
+
**`/tree`** - Navigate the session tree in-place. Select any previous point, continue from there, and switch between branches. All history preserved in a single file.
|
|
241
|
+
|
|
242
|
+
<p align="center"><img src="docs/images/tree-view.png" alt="Tree View" width="600"></p>
|
|
243
|
+
|
|
244
|
+
- Search by typing, fold/unfold and jump between branches with Ctrl+←/Ctrl+→ or Alt+←/Alt+→, page with ←/→
|
|
245
|
+
- Filter modes (Ctrl+O): default → no-tools → user-only → labeled-only → all
|
|
246
|
+
- Press Ctrl+X to copy the selected message
|
|
247
|
+
- Press Shift+L to label entries as bookmarks and Shift+T to toggle label timestamps
|
|
248
|
+
|
|
249
|
+
**`/fork`** - Create a new session file from a previous user message on the active branch. Opens a selector, copies the active path up to that point, and places the selected prompt in the editor for modification.
|
|
250
|
+
|
|
251
|
+
**`/clone`** - Duplicate the current active branch into a new session file at the current position. The new session keeps the full active-path history and opens with an empty editor.
|
|
252
|
+
|
|
253
|
+
**`--fork <path|id>`** - Fork an existing session file or partial session UUID directly from the CLI. This copies the full source session into a new session file in the current project.
|
|
254
|
+
|
|
255
|
+
### Compaction
|
|
256
|
+
|
|
257
|
+
Long sessions can exhaust context windows. Compaction summarizes older messages while keeping recent ones.
|
|
258
|
+
|
|
259
|
+
**Manual:** `/compact` or `/compact <custom instructions>`
|
|
260
|
+
|
|
261
|
+
**Automatic:** Enabled by default. Triggers on context overflow (recovers and retries) or when approaching the limit (proactive). Configure via `/settings` or `settings.json`.
|
|
262
|
+
|
|
263
|
+
Compaction is lossy. The full history remains in the JSONL file; use `/tree` to revisit. Customize compaction behavior via [extensions](#extensions). See [docs/compaction.md](docs/compaction.md) for internals.
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Settings
|
|
268
|
+
|
|
269
|
+
Use `/settings` to modify common options, or edit JSON files directly:
|
|
270
|
+
|
|
271
|
+
| Location | Scope |
|
|
272
|
+
|----------|-------|
|
|
273
|
+
| `~/.humain-terminal/agent/settings.json` | Global (all projects) |
|
|
274
|
+
| `.humain-terminal/settings.json` | Project (overrides global) |
|
|
275
|
+
|
|
276
|
+
See [docs/settings.md](docs/settings.md) for all options.
|
|
277
|
+
|
|
278
|
+
### Project Trust
|
|
279
|
+
|
|
280
|
+
On interactive startup, HUMAIN Terminal asks before trusting a project folder that contains project-local settings, resources, or project `.agents/skills` and has no saved decision for the folder or a parent folder in `~/.humain-terminal/agent/trust.json`. Trusting a project allows HUMAIN Terminal to load `.humain-terminal/settings.json` and `.humain-terminal` resources, install missing project packages, and execute project extensions.
|
|
281
|
+
|
|
282
|
+
Before the trust decision, HUMAIN Terminal loads only context files, user/global extensions, and CLI `-e` extensions so they can handle the `project_trust` event. Project-local extensions, project package-managed extensions, and project settings are loaded only after the project is trusted. This split also applies when switching to a session from a different cwd whose trust has not been resolved in the current process.
|
|
283
|
+
|
|
284
|
+
Non-interactive modes (`-p`, `--mode json`, and `--mode rpc`) do not show a trust prompt. Without an applicable saved trust decision, they use `defaultProjectTrust` from global settings: `ask` (default) and `never` ignore those project resources, while `always` trusts them. Pass `--approve`/`-a` or `--no-approve`/`-na` to override project trust for one run.
|
|
285
|
+
|
|
286
|
+
If no extension or saved decision applies, `defaultProjectTrust` controls the fallback behavior. Set it to `"ask"`, `"always"`, or `"never"` in `~/.humain-terminal/agent/settings.json`, or change it with `/settings`.
|
|
287
|
+
|
|
288
|
+
`humain-terminal config` and package commands use the same project trust flow, except `humain-terminal update` never prompts. Pass `--approve` to trust project-local settings for one command or `--no-approve` to ignore them.
|
|
289
|
+
|
|
290
|
+
Use `/trust` in interactive mode to save a project trust decision for future sessions, including trust for the immediate parent folder. It writes `~/.humain-terminal/agent/trust.json` only; the current session is not reloaded, so restart HUMAIN Terminal for changes to take effect.
|
|
291
|
+
|
|
292
|
+
### Telemetry and update checks
|
|
293
|
+
|
|
294
|
+
HUMAIN Terminal has two separate startup features:
|
|
295
|
+
|
|
296
|
+
- **Update check:** fetches the configured HUMAIN Terminal release endpoint to check whether a newer version exists. Disable it with `HUMAIN_TERMINAL_SKIP_VERSION_CHECK=1`. Disabling update checks only turns off this check.
|
|
297
|
+
- **Install/update telemetry:** after first install or a changelog-detected update, sends an anonymous version ping to the configured HUMAIN Terminal telemetry endpoint. This setting also controls optional provider attribution headers for OpenRouter, Cloudflare, and direct NVIDIA NIM requests. Opt out by setting `enableInstallTelemetry` to `false` in `settings.json`, or by setting `HUMAIN_TERMINAL_TELEMETRY=0`. This does not disable update checks; HUMAIN Terminal may still contact the release endpoint for the latest version unless update checks are disabled or offline mode is enabled.
|
|
298
|
+
|
|
299
|
+
Use `--offline` or `HUMAIN_TERMINAL_OFFLINE=1` to disable all startup network operations described here, including update checks, package update checks, and install/update telemetry.
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## Context Files
|
|
304
|
+
|
|
305
|
+
HUMAIN Terminal loads `AGENTS.md` (or `CLAUDE.md`) at startup from:
|
|
306
|
+
- `~/.humain-terminal/agent/AGENTS.md` (global)
|
|
307
|
+
- Parent directories (walking up from cwd)
|
|
308
|
+
- Current directory
|
|
309
|
+
|
|
310
|
+
Use for project instructions (`AGENTS.md`/`CLAUDE.md`), conventions, common commands. All matching files are concatenated.
|
|
311
|
+
|
|
312
|
+
Disable context file loading with `--no-context-files` (or `-nc`).
|
|
313
|
+
|
|
314
|
+
### System Prompt
|
|
315
|
+
|
|
316
|
+
Replace the default system prompt with `.humain-terminal/SYSTEM.md` (project) or `~/.humain-terminal/agent/SYSTEM.md` (global). Append without replacing via `APPEND_SYSTEM.md`.
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## Customization
|
|
321
|
+
|
|
322
|
+
### Prompt Templates
|
|
323
|
+
|
|
324
|
+
Reusable prompts as Markdown files. Type `/name` to expand.
|
|
325
|
+
|
|
326
|
+
```markdown
|
|
327
|
+
<!-- ~/.humain-terminal/agent/prompts/review.md -->
|
|
328
|
+
Review this code for bugs, security issues, and performance problems.
|
|
329
|
+
Focus on: {{focus}}
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
Place in `~/.humain-terminal/agent/prompts/`, `.humain-terminal/prompts/`, or a [package](#packages) to share with others. See [docs/prompt-templates.md](docs/prompt-templates.md).
|
|
333
|
+
|
|
334
|
+
### Skills
|
|
335
|
+
|
|
336
|
+
On-demand capability packages following the [Agent Skills standard](https://agentskills.io). Invoke via `/skill:name` or let the agent load them automatically.
|
|
337
|
+
|
|
338
|
+
```markdown
|
|
339
|
+
<!-- ~/.humain-terminal/agent/skills/my-skill/SKILL.md -->
|
|
340
|
+
# My Skill
|
|
341
|
+
Use this skill when the user asks about X.
|
|
342
|
+
|
|
343
|
+
## Steps
|
|
344
|
+
1. Do this
|
|
345
|
+
2. Then that
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
Place in `~/.humain-terminal/agent/skills/`, `~/.agents/skills/`, `.humain-terminal/skills/`, or `.agents/skills/` (from `cwd` up through parent directories) or a [package](#packages) to share with others. See [docs/skills.md](docs/skills.md).
|
|
349
|
+
|
|
350
|
+
### Extensions
|
|
351
|
+
|
|
352
|
+
<p align="center"><img src="docs/images/doom-extension.png" alt="Doom Extension" width="600"></p>
|
|
353
|
+
|
|
354
|
+
TypeScript modules that extend HUMAIN Terminal with custom tools, commands, keyboard shortcuts, event handlers, and UI components.
|
|
355
|
+
|
|
356
|
+
```typescript
|
|
357
|
+
export default function (terminal: ExtensionAPI) {
|
|
358
|
+
terminal.registerTool({ name: "deploy", ... });
|
|
359
|
+
terminal.registerCommand("stats", { ... });
|
|
360
|
+
terminal.on("tool_call", async (event, ctx) => { ... });
|
|
361
|
+
}
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
The default export can also be `async`. HUMAIN Terminal waits for async extension factories before startup continues, which is useful for one-time initialization such as fetching remote model lists before calling `terminal.registerProvider()`.
|
|
365
|
+
|
|
366
|
+
**What's possible:**
|
|
367
|
+
- Custom tools (or replace built-in tools entirely)
|
|
368
|
+
- Sub-agents and plan mode
|
|
369
|
+
- Custom compaction and summarization
|
|
370
|
+
- Permission gates and path protection
|
|
371
|
+
- Custom editors and UI components
|
|
372
|
+
- Status lines, headers, footers
|
|
373
|
+
- Git checkpointing and auto-commit
|
|
374
|
+
- SSH and sandbox execution
|
|
375
|
+
- MCP server integration
|
|
376
|
+
- Match another coding-terminal workflow
|
|
377
|
+
- Games while waiting (yes, Doom runs)
|
|
378
|
+
- ...anything you can dream up
|
|
379
|
+
|
|
380
|
+
Place in `~/.humain-terminal/agent/extensions/`, `.humain-terminal/extensions/`, or a [package](#packages) to share with others. See [docs/extensions.md](docs/extensions.md) and [examples/extensions/](examples/extensions/).
|
|
381
|
+
|
|
382
|
+
### Themes
|
|
383
|
+
|
|
384
|
+
Built-in: `humain-dark`, `humain-light`, `dark`, `light`. Themes hot-reload: modify the active theme file and HUMAIN Terminal immediately applies changes.
|
|
385
|
+
|
|
386
|
+
Place in `~/.humain-terminal/agent/themes/`, `.humain-terminal/themes/`, or a [package](#packages) to share with others. See [docs/themes.md](docs/themes.md).
|
|
387
|
+
|
|
388
|
+
### Packages
|
|
389
|
+
|
|
390
|
+
Bundle and share extensions, skills, prompts, and themes via npm or git.
|
|
391
|
+
|
|
392
|
+
> **Security:** HUMAIN Terminal packages run with full system access. Extensions execute arbitrary code, and skills can instruct the model to perform any action including running executables. Review source code before installing third-party packages.
|
|
393
|
+
|
|
394
|
+
```bash
|
|
395
|
+
pi install npm:@foo/pi-tools
|
|
396
|
+
pi install npm:@foo/pi-tools@1.2.3 # pinned version
|
|
397
|
+
pi install git:github.com/user/repo
|
|
398
|
+
pi install git:github.com/user/repo@v1 # tag or commit
|
|
399
|
+
pi install git:git@github.com:user/repo
|
|
400
|
+
pi install git:git@github.com:user/repo@v1 # tag or commit
|
|
401
|
+
pi install https://github.com/user/repo
|
|
402
|
+
pi install https://github.com/user/repo@v1 # tag or commit
|
|
403
|
+
pi install ssh://git@github.com/user/repo
|
|
404
|
+
pi install ssh://git@github.com/user/repo@v1 # tag or commit
|
|
405
|
+
pi remove npm:@foo/pi-tools
|
|
406
|
+
pi uninstall npm:@foo/pi-tools # alias for remove
|
|
407
|
+
pi list
|
|
408
|
+
humain-terminal update # update HUMAIN Terminal only
|
|
409
|
+
humain-terminal update --all # update HUMAIN Terminal and packages
|
|
410
|
+
humain-terminal update --extensions # update packages only
|
|
411
|
+
humain-terminal update --models # refresh model catalogs only
|
|
412
|
+
humain-terminal update --self # update HUMAIN Terminal only
|
|
413
|
+
humain-terminal update --self --force # reinstall HUMAIN Terminal even if current
|
|
414
|
+
humain-terminal update npm:@foo/pi-tools # update one package
|
|
415
|
+
pi config # enable/disable extensions, skills, prompts, themes
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
Packages install to `~/.humain-terminal/agent/git/` (git) or `~/.humain-terminal/agent/npm/` (npm). Use `-l` for project-local installs (`.humain-terminal/git/`, `.humain-terminal/npm/`). Git `@ref` values are pinned tags or commits; pinned packages are skipped by `humain-terminal update --extensions` and `humain-terminal update --all`, so use `humain-terminal install git:host/user/repo@new-ref` to move an existing package to a new ref. Git packages install dependencies with `npm install --omit=dev` by default, so runtime deps must be listed under `dependencies`; when `npmCommand` is configured, git packages use plain `install` for compatibility with wrappers. If you use a Node version manager and want package installs to reuse a stable npm context, set `npmCommand` in `settings.json`, for example `["mise", "exec", "node@20", "--", "npm"]`.
|
|
419
|
+
|
|
420
|
+
Create a package by adding a HUMAIN Terminal `humainTerminal` key to `package.json`:
|
|
421
|
+
|
|
422
|
+
```json
|
|
423
|
+
{
|
|
424
|
+
"name": "my-humain-terminal-package",
|
|
425
|
+
"keywords": ["humain-terminal-package"],
|
|
426
|
+
"humainTerminal": {
|
|
427
|
+
"extensions": ["./extensions"],
|
|
428
|
+
"skills": ["./skills"],
|
|
429
|
+
"prompts": ["./prompts"],
|
|
430
|
+
"themes": ["./themes"]
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
Without a `humainTerminal` manifest, HUMAIN Terminal auto-discovers from conventional directories (`extensions/`, `skills/`, `prompts/`, `themes/`).
|
|
436
|
+
|
|
437
|
+
See [docs/packages.md](docs/packages.md).
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
## Programmatic Usage
|
|
442
|
+
|
|
443
|
+
### SDK
|
|
444
|
+
|
|
445
|
+
```typescript
|
|
446
|
+
import { createAgentSession, ModelRuntime, SessionManager } from "@humain/terminal";
|
|
447
|
+
|
|
448
|
+
const modelRuntime = await ModelRuntime.create();
|
|
449
|
+
const { session } = await createAgentSession({
|
|
450
|
+
sessionManager: SessionManager.inMemory(),
|
|
451
|
+
modelRuntime,
|
|
452
|
+
});
|
|
453
|
+
|
|
454
|
+
await session.prompt("What files are in the current directory?");
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
For advanced multi-session runtime replacement, use `createAgentSessionRuntime()` and `AgentSessionRuntime`.
|
|
458
|
+
|
|
459
|
+
See [docs/sdk.md](docs/sdk.md) and [examples/sdk/](examples/sdk/).
|
|
460
|
+
|
|
461
|
+
### RPC Mode
|
|
462
|
+
|
|
463
|
+
For non-Node.js integrations, use RPC mode over stdin/stdout:
|
|
464
|
+
|
|
465
|
+
```bash
|
|
466
|
+
humain-terminal --mode rpc
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
RPC mode uses strict LF-delimited JSONL framing. Clients must split records on `\n` only. Do not use generic line readers like Node `readline`, which also split on Unicode separators inside JSON payloads.
|
|
470
|
+
|
|
471
|
+
See [docs/rpc.md](docs/rpc.md) for the protocol.
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## Philosophy
|
|
476
|
+
|
|
477
|
+
HUMAIN Terminal is aggressively extensible so it does not dictate your workflow. Features that other tools bake in can be built with [extensions](#extensions), [skills](#skills), or installed from third-party [packages](#packages). This keeps the core minimal while letting you shape HUMAIN Terminal to fit how you work.
|
|
478
|
+
|
|
479
|
+
**No MCP.** Build CLI tools with READMEs (see [Skills](#skills)), or build an extension that adds MCP support. [Why?](https://mariozechner.at/posts/2025-11-02-what-if-you-dont-need-mcp/)
|
|
480
|
+
|
|
481
|
+
**No sub-agents.** There's many ways to do this. Spawn HUMAIN Terminal instances via tmux, build your own with [extensions](#extensions), or install a package that does it your way.
|
|
482
|
+
|
|
483
|
+
**No permission popups.** Run in a container, or build your own confirmation flow with [extensions](#extensions) inline with your environment and security requirements.
|
|
484
|
+
|
|
485
|
+
**No plan mode.** Write plans to files, or build it with [extensions](#extensions), or install a package.
|
|
486
|
+
|
|
487
|
+
**No built-in to-dos.** They confuse models. Use a TODO.md file, or build your own with [extensions](#extensions).
|
|
488
|
+
|
|
489
|
+
**No background bash.** Use tmux. Full observability, direct interaction.
|
|
490
|
+
|
|
491
|
+
---
|
|
492
|
+
|
|
493
|
+
## CLI Reference
|
|
494
|
+
|
|
495
|
+
```bash
|
|
496
|
+
humain-terminal [options] [@files...] [messages...]
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
### Package Commands
|
|
500
|
+
|
|
501
|
+
```bash
|
|
502
|
+
pi install <source> [-l] # Install package, -l for project-local
|
|
503
|
+
pi remove <source> [-l] # Remove package
|
|
504
|
+
pi uninstall <source> [-l] # Alias for remove
|
|
505
|
+
humain-terminal update [source|self|pi] # Update pi only, or one package source
|
|
506
|
+
humain-terminal update --all # Update pi and packages
|
|
507
|
+
humain-terminal update --extensions # Update packages only
|
|
508
|
+
humain-terminal update --models # Refresh model catalogs only
|
|
509
|
+
humain-terminal update --self # Update pi only
|
|
510
|
+
humain-terminal update --self --force # Reinstall pi even if current
|
|
511
|
+
humain-terminal update --extension <src> # Update one package
|
|
512
|
+
pi list # List installed packages
|
|
513
|
+
pi config # Enable/disable package resources
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
`humain-terminal config` and project package commands accept `--approve`/`--no-approve` to trust or ignore project-local settings for one command. `humain-terminal update` never prompts for project trust.
|
|
517
|
+
|
|
518
|
+
### Modes
|
|
519
|
+
|
|
520
|
+
| Flag | Description |
|
|
521
|
+
|------|-------------|
|
|
522
|
+
| (default) | Interactive mode |
|
|
523
|
+
| `-p`, `--print` | Print response and exit |
|
|
524
|
+
| `--mode json` | Output all events as JSON lines (see [docs/json.md](docs/json.md)) |
|
|
525
|
+
| `--mode rpc` | RPC mode for process integration (see [docs/rpc.md](docs/rpc.md)) |
|
|
526
|
+
| `--export <in> [out]` | Export session to HTML |
|
|
527
|
+
|
|
528
|
+
In print mode, HUMAIN Terminal also reads piped stdin and merges it into the initial prompt:
|
|
529
|
+
|
|
530
|
+
```bash
|
|
531
|
+
cat README.md | humain-terminal -p "Summarize this text"
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
### Model Options
|
|
535
|
+
|
|
536
|
+
| Option | Description |
|
|
537
|
+
|--------|-------------|
|
|
538
|
+
| `--provider <name>` | Provider (anthropic, openai, google, etc.) |
|
|
539
|
+
| `--model <pattern>` | Model pattern or ID (supports `provider/id` and optional `:<thinking>`) |
|
|
540
|
+
| `--api-key <key>` | API key (overrides env vars) |
|
|
541
|
+
| `--thinking <level>` | `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max` |
|
|
542
|
+
| `--models <patterns>` | Comma-separated patterns for Ctrl+P cycling |
|
|
543
|
+
| `--list-models [search]` | List available models |
|
|
544
|
+
|
|
545
|
+
### Session Options
|
|
546
|
+
|
|
547
|
+
| Option | Description |
|
|
548
|
+
|--------|-------------|
|
|
549
|
+
| `-c`, `--continue` | Continue most recent session |
|
|
550
|
+
| `-r`, `--resume` | Browse and select session |
|
|
551
|
+
| `--session <path\|id>` | Use specific session file or partial UUID |
|
|
552
|
+
| `--fork <path\|id>` | Fork specific session file or partial UUID into a new session |
|
|
553
|
+
| `--session-dir <dir>` | Custom session storage directory |
|
|
554
|
+
| `--no-session` | Ephemeral mode (don't save) |
|
|
555
|
+
| `--name <name>`, `-n <name>` | Set session display name at startup |
|
|
556
|
+
|
|
557
|
+
### Tool Options
|
|
558
|
+
|
|
559
|
+
| Option | Description |
|
|
560
|
+
|--------|-------------|
|
|
561
|
+
| `--tools <list>`, `-t <list>` | Allowlist specific tool names across built-in, extension, and custom tools |
|
|
562
|
+
| `--exclude-tools <list>`, `-xt <list>` | Disable specific tool names across built-in, extension, and custom tools |
|
|
563
|
+
| `--no-builtin-tools`, `-nbt` | Disable built-in tools by default but keep extension/custom tools enabled |
|
|
564
|
+
| `--no-tools`, `-nt` | Disable all tools by default |
|
|
565
|
+
|
|
566
|
+
Available built-in tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`
|
|
567
|
+
|
|
568
|
+
### Resource Options
|
|
569
|
+
|
|
570
|
+
| Option | Description |
|
|
571
|
+
|--------|-------------|
|
|
572
|
+
| `-e`, `--extension <source>` | Load extension from path, npm, or git (repeatable) |
|
|
573
|
+
| `--no-extensions` | Disable extension discovery |
|
|
574
|
+
| `--skill <path>` | Load skill (repeatable) |
|
|
575
|
+
| `--no-skills` | Disable skill discovery |
|
|
576
|
+
| `--prompt-template <path>` | Load prompt template (repeatable) |
|
|
577
|
+
| `--no-prompt-templates` | Disable prompt template discovery |
|
|
578
|
+
| `--theme <path>` | Load theme (repeatable) |
|
|
579
|
+
| `--no-themes` | Disable theme discovery |
|
|
580
|
+
| `--no-context-files`, `-nc` | Disable AGENTS.md and CLAUDE.md context file discovery |
|
|
581
|
+
|
|
582
|
+
Combine `--no-*` with explicit flags to load exactly what you need, ignoring settings.json (e.g., `--no-extensions -e ./my-ext.ts`).
|
|
583
|
+
|
|
584
|
+
### Other Options
|
|
585
|
+
|
|
586
|
+
| Option | Description |
|
|
587
|
+
|--------|-------------|
|
|
588
|
+
| `--system-prompt <text>` | Replace default prompt (context files and skills still appended) |
|
|
589
|
+
| `--append-system-prompt <text>` | Append to system prompt |
|
|
590
|
+
| `--verbose` | Force verbose startup |
|
|
591
|
+
| `-a`, `--approve` | Trust project-local files for this run |
|
|
592
|
+
| `-na`, `--no-approve` | Ignore project-local files for this run |
|
|
593
|
+
| `-h`, `--help` | Show help |
|
|
594
|
+
| `-v`, `--version` | Show version |
|
|
595
|
+
|
|
596
|
+
### File Arguments
|
|
597
|
+
|
|
598
|
+
Prefix files with `@` to include in the message:
|
|
599
|
+
|
|
600
|
+
```bash
|
|
601
|
+
humain-terminal @prompt.md "Answer this"
|
|
602
|
+
humain-terminal -p @screenshot.png "What's in this image?"
|
|
603
|
+
humain-terminal @code.ts @test.ts "Review these files"
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
### Examples
|
|
607
|
+
|
|
608
|
+
```bash
|
|
609
|
+
# Interactive with initial prompt
|
|
610
|
+
humain-terminal "List all .ts files in src/"
|
|
611
|
+
|
|
612
|
+
# Non-interactive
|
|
613
|
+
humain-terminal -p "Summarize this codebase"
|
|
614
|
+
|
|
615
|
+
# Non-interactive with piped stdin
|
|
616
|
+
cat README.md | humain-terminal -p "Summarize this text"
|
|
617
|
+
|
|
618
|
+
# Named one-shot session
|
|
619
|
+
humain-terminal --name "release audit" -p "Audit this repository"
|
|
620
|
+
|
|
621
|
+
# Different model
|
|
622
|
+
humain-terminal --provider openai --model gpt-4o "Help me refactor"
|
|
623
|
+
|
|
624
|
+
# Model with provider prefix (no --provider needed)
|
|
625
|
+
humain-terminal --model openai/gpt-4o "Help me refactor"
|
|
626
|
+
|
|
627
|
+
# Model with thinking level shorthand
|
|
628
|
+
humain-terminal --model sonnet:high "Solve this complex problem"
|
|
629
|
+
|
|
630
|
+
# Limit model cycling
|
|
631
|
+
humain-terminal --models "claude-*,gpt-4o"
|
|
632
|
+
|
|
633
|
+
# Read-only mode
|
|
634
|
+
humain-terminal --tools read,grep,find,ls -p "Review the code"
|
|
635
|
+
|
|
636
|
+
# Disable one extension or built-in tool while keeping the rest available
|
|
637
|
+
humain-terminal --exclude-tools ask_question
|
|
638
|
+
|
|
639
|
+
# High thinking level
|
|
640
|
+
humain-terminal --thinking high "Solve this complex problem"
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### Environment Variables
|
|
644
|
+
|
|
645
|
+
| Variable | Description |
|
|
646
|
+
|----------|-------------|
|
|
647
|
+
| `HUMAIN_TERMINAL_CODING_AGENT` | Set to `true` by the CLI and RPC entry points so child processes can detect that they run inside HUMAIN Terminal |
|
|
648
|
+
| `HUMAIN_TERMINAL_CODING_AGENT_DIR` | Override config directory (default: `~/.humain-terminal/agent`) |
|
|
649
|
+
| `HUMAIN_TERMINAL_CODING_AGENT_SESSION_DIR` | Override session storage directory (overridden by `--session-dir`) |
|
|
650
|
+
| `HUMAIN_TERMINAL_PACKAGE_DIR` | Override package directory (useful for Nix/Guix where store paths tokenize poorly) |
|
|
651
|
+
| `HUMAIN_TERMINAL_OFFLINE` | Disable startup network operations, including update checks, package update checks, and install/update telemetry |
|
|
652
|
+
| `HUMAIN_TERMINAL_SKIP_VERSION_CHECK` | Skip the HUMAIN Terminal version check at startup. This prevents the configured latest-version request |
|
|
653
|
+
| `HUMAIN_TERMINAL_VERSION_CHECK_URL` | Override the latest-version endpoint |
|
|
654
|
+
| `HUMAIN_TERMINAL_TELEMETRY` | Override install/update telemetry and provider attribution headers. Use `1`/`true`/`yes` to enable or `0`/`false`/`no` to disable. This does not disable update checks |
|
|
655
|
+
| `HUMAIN_TERMINAL_INSTALL_TELEMETRY_URL` | Override the install/update telemetry endpoint |
|
|
656
|
+
| `HUMAIN_TERMINAL_CHANGELOG_URL` | Override the release changelog URL |
|
|
657
|
+
| `HUMAIN_TERMINAL_BINARY_RELEASE_URL` | Override the binary self-update fallback URL |
|
|
658
|
+
| `HUMAIN_TERMINAL_SHARE_VIEWER_URL` | Override the `/share` viewer base URL |
|
|
659
|
+
| `HUMAIN_TERMINAL_CACHE_RETENTION` | Set to `long` for extended prompt cache (Anthropic: 1h, OpenAI: 24h) |
|
|
660
|
+
| `VISUAL`, `EDITOR` | Fallback external editor for Ctrl+G when `externalEditor` is unset; defaults to Notepad on Windows and `nano` elsewhere |
|
|
661
|
+
|
|
662
|
+
Commands run by the LLM-callable bash tool also receive current session metadata:
|
|
663
|
+
|
|
664
|
+
| Variable | Description |
|
|
665
|
+
|----------|-------------|
|
|
666
|
+
| `HUMAIN_TERMINAL_SESSION_ID` | Current session ID |
|
|
667
|
+
| `HUMAIN_TERMINAL_SESSION_FILE` | Absolute session JSONL path; unset for ephemeral sessions |
|
|
668
|
+
| `HUMAIN_TERMINAL_PROVIDER` | Currently selected model provider |
|
|
669
|
+
| `HUMAIN_TERMINAL_MODEL` | Currently selected model ID |
|
|
670
|
+
| `HUMAIN_TERMINAL_REASONING_LEVEL` | Current effective reasoning level |
|
|
671
|
+
|
|
672
|
+
These values are resolved when each command starts. See [Environment Variables](docs/environment-variables.md#bash-tool-session-environment) for semantics, examples, and custom-tool opt-out.
|
|
673
|
+
|
|
674
|
+
---
|
|
675
|
+
|
|
676
|
+
## Contributing & Development
|
|
677
|
+
|
|
678
|
+
See [CONTRIBUTING.md](../../CONTRIBUTING.md) for guidelines and [docs/development.md](docs/development.md) for setup, forking, and debugging.
|
|
679
|
+
|
|
680
|
+
## License
|
|
681
|
+
|
|
682
|
+
MIT
|
|
683
|
+
|
|
684
|
+
## See Also
|
|
685
|
+
|
|
686
|
+
- [docs/index.md](docs/index.md): HUMAIN Terminal documentation
|
|
687
|
+
- [docs/development.md](docs/development.md): local development and debugging
|
|
688
|
+
- [examples/](examples/): extension and SDK examples
|