@evalops/maestro 0.10.51 → 0.10.53
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/README.md +1 -3
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/compaction.d.ts.map +1 -1
- package/dist/agent/compaction.js +1 -1
- package/dist/agent/compaction.js.map +1 -1
- package/dist/agent/context-handoff.d.ts.map +1 -1
- package/dist/agent/context-handoff.js +2 -1
- package/dist/agent/context-handoff.js.map +1 -1
- package/dist/agent/index.d.ts +8 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +8 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/modes.d.ts +1 -1
- package/dist/agent/modes.d.ts.map +1 -1
- package/dist/agent/modes.js +56 -0
- package/dist/agent/modes.js.map +1 -1
- package/dist/agent/oracle-consultation-policy.d.ts +22 -0
- package/dist/agent/oracle-consultation-policy.d.ts.map +1 -0
- package/dist/agent/oracle-consultation-policy.js +72 -0
- package/dist/agent/oracle-consultation-policy.js.map +1 -0
- package/dist/agent/oracle-policy-experiment.d.ts +27 -0
- package/dist/agent/oracle-policy-experiment.d.ts.map +1 -0
- package/dist/agent/oracle-policy-experiment.js +59 -0
- package/dist/agent/oracle-policy-experiment.js.map +1 -0
- package/dist/agent/oracle-policy-rollout.d.ts +42 -0
- package/dist/agent/oracle-policy-rollout.d.ts.map +1 -0
- package/dist/agent/oracle-policy-rollout.js +80 -0
- package/dist/agent/oracle-policy-rollout.js.map +1 -0
- package/dist/agent/plugin-agent-api.d.ts +13 -0
- package/dist/agent/plugin-agent-api.d.ts.map +1 -0
- package/dist/agent/plugin-agent-api.js +11 -0
- package/dist/agent/plugin-agent-api.js.map +1 -0
- package/dist/agent/plugin-agent-loader.d.ts +17 -0
- package/dist/agent/plugin-agent-loader.d.ts.map +1 -0
- package/dist/agent/plugin-agent-loader.js +81 -0
- package/dist/agent/plugin-agent-loader.js.map +1 -0
- package/dist/agent/plugin-agent-registry.d.ts +62 -0
- package/dist/agent/plugin-agent-registry.d.ts.map +1 -0
- package/dist/agent/plugin-agent-registry.js +109 -0
- package/dist/agent/plugin-agent-registry.js.map +1 -0
- package/dist/agent/profile-loader.d.ts +7 -0
- package/dist/agent/profile-loader.d.ts.map +1 -0
- package/dist/agent/profile-loader.js +115 -0
- package/dist/agent/profile-loader.js.map +1 -0
- package/dist/agent/profiles.d.ts +30 -0
- package/dist/agent/profiles.d.ts.map +1 -0
- package/dist/agent/profiles.js +146 -0
- package/dist/agent/profiles.js.map +1 -0
- package/dist/agent/prompt-cache.d.ts +0 -4
- package/dist/agent/prompt-cache.d.ts.map +1 -1
- package/dist/agent/prompt-cache.js +1 -7
- package/dist/agent/prompt-cache.js.map +1 -1
- package/dist/agent/providers/google-gemini-cli.js +1 -0
- package/dist/agent/providers/google.js +1 -0
- package/dist/agent/providers/vertex.js +1 -0
- package/dist/agent/routing-receipt.d.ts +34 -0
- package/dist/agent/routing-receipt.d.ts.map +1 -0
- package/dist/agent/routing-receipt.js +55 -0
- package/dist/agent/routing-receipt.js.map +1 -0
- package/dist/{skills/artifact-metadata.d.ts → agent/skill-artifact-metadata.d.ts} +2 -4
- package/dist/agent/skill-artifact-metadata.d.ts.map +1 -0
- package/dist/{skills/artifact-metadata.js → agent/skill-artifact-metadata.js} +1 -38
- package/dist/agent/skill-artifact-metadata.js.map +1 -0
- package/dist/agent/subagent-specs.d.ts +1 -1
- package/dist/agent/subagent-specs.js +2 -2
- package/dist/agent/subagent-specs.js.map +1 -1
- package/dist/agent/token-counter.d.ts +40 -0
- package/dist/agent/token-counter.d.ts.map +1 -0
- package/dist/agent/token-counter.js +74 -0
- package/dist/agent/token-counter.js.map +1 -0
- package/dist/agent/transport/events.d.ts +1 -1
- package/dist/agent/transport/events.d.ts.map +1 -1
- package/dist/agent/transport/events.js +1 -1
- package/dist/agent/transport/events.js.map +1 -1
- package/dist/agent/types.d.ts +4 -2
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent/types.js.map +1 -1
- package/dist/app-server/plugin-bundle-api.d.ts.map +1 -1
- package/dist/app-server/plugin-bundle-api.js +1 -0
- package/dist/app-server/plugin-bundle-api.js.map +1 -1
- package/dist/app-server/session-api.d.ts.map +1 -1
- package/dist/app-server/session-api.js +15 -2
- package/dist/app-server/session-api.js.map +1 -1
- package/dist/audit/logger.d.ts +5 -5
- package/dist/cli/args.d.ts +2 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +18 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/direct-runtime-command.d.ts +1 -0
- package/dist/cli/direct-runtime-command.d.ts.map +1 -1
- package/dist/cli/direct-runtime-command.js +25 -3
- package/dist/cli/direct-runtime-command.js.map +1 -1
- package/dist/cli/headless.d.ts +3 -19
- package/dist/cli/headless.d.ts.map +1 -1
- package/dist/cli/headless.js +8 -619
- package/dist/cli/headless.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +3 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/native-tui-launcher.d.ts +126 -0
- package/dist/cli/native-tui-launcher.d.ts.map +1 -0
- package/dist/cli/native-tui-launcher.js +425 -0
- package/dist/cli/native-tui-launcher.js.map +1 -0
- package/dist/cli/rpc-mode.d.ts +3 -27
- package/dist/cli/rpc-mode.d.ts.map +1 -1
- package/dist/cli/rpc-mode.js +8 -177
- package/dist/cli/rpc-mode.js.map +1 -1
- package/dist/cli/session.d.ts +11 -19
- package/dist/cli/session.d.ts.map +1 -1
- package/dist/cli/session.js +6 -64
- package/dist/cli/session.js.map +1 -1
- package/dist/cli-command-runtime.d.ts.map +1 -1
- package/dist/cli-command-runtime.js +26 -24
- package/dist/cli-command-runtime.js.map +1 -1
- package/dist/cli-runtime.js +52529 -137615
- package/dist/config/env-vars.d.ts +12 -0
- package/dist/config/env-vars.d.ts.map +1 -1
- package/dist/config/env-vars.js +12 -0
- package/dist/config/env-vars.js.map +1 -1
- package/dist/{cli-tui → config}/ui-state.d.ts +6 -1
- package/dist/config/ui-state.d.ts.map +1 -0
- package/dist/{cli-tui → config}/ui-state.js +1 -1
- package/dist/config/ui-state.js.map +1 -0
- package/dist/context/repo-map.d.ts.map +1 -1
- package/dist/context/repo-map.js +1 -7
- package/dist/context/repo-map.js.map +1 -1
- package/dist/context/token-optimizer.d.ts.map +1 -1
- package/dist/context/token-optimizer.js +1 -8
- package/dist/context/token-optimizer.js.map +1 -1
- package/dist/db/schema.d.ts +2 -2
- package/dist/hooks/notification-hooks.d.ts +1 -1
- package/dist/hooks/notification-hooks.d.ts.map +1 -1
- package/dist/hooks/notification-hooks.js.map +1 -1
- package/dist/hooks/tui-surface.d.ts +35 -0
- package/dist/hooks/tui-surface.d.ts.map +1 -0
- package/dist/hooks/tui-surface.js +11 -0
- package/dist/hooks/tui-surface.js.map +1 -0
- package/dist/hooks/types.d.ts +2 -1
- package/dist/hooks/types.d.ts.map +1 -1
- package/dist/hooks/types.js.map +1 -1
- package/dist/hooks/typescript-loader.d.ts.map +1 -1
- package/dist/hooks/typescript-loader.js.map +1 -1
- package/dist/hooks/ui-context.d.ts.map +1 -1
- package/dist/hooks/ui-context.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +154 -882
- package/dist/main.js.map +1 -1
- package/dist/models/config-loader.d.ts +5 -5
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts +45 -0
- package/dist/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/index.js +2 -0
- package/dist/node_modules/@evalops/contracts/dist/index.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts +284 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js +41 -0
- package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts +986 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/schemas.js +49 -0
- package/dist/node_modules/@evalops/contracts/dist/schemas.js.map +1 -1
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.d.ts +56 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.d.ts.map +1 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.js +86 -0
- package/dist/node_modules/@evalops/contracts/dist/token-estimation.js.map +1 -0
- package/dist/node_modules/@evalops/contracts/package.json +1 -1
- package/dist/packages/discovery.d.ts.map +1 -1
- package/dist/packages/discovery.js +1 -0
- package/dist/packages/discovery.js.map +1 -1
- package/dist/packages/inspection.d.ts.map +1 -1
- package/dist/packages/inspection.js +7 -1
- package/dist/packages/inspection.js.map +1 -1
- package/dist/packages/loader.d.ts.map +1 -1
- package/dist/packages/loader.js +8 -1
- package/dist/packages/loader.js.map +1 -1
- package/dist/packages/runtime.d.ts +1 -0
- package/dist/packages/runtime.d.ts.map +1 -1
- package/dist/packages/runtime.js +9 -1
- package/dist/packages/runtime.js.map +1 -1
- package/dist/packages/types.d.ts +6 -0
- package/dist/packages/types.d.ts.map +1 -1
- package/dist/packages/types.js.map +1 -1
- package/dist/runtime/agent-runtime.d.ts +22 -6
- package/dist/runtime/agent-runtime.d.ts.map +1 -1
- package/dist/runtime/agent-runtime.js +1 -1
- package/dist/runtime/agent-runtime.js.map +1 -1
- package/dist/runtime/env.d.ts +1 -0
- package/dist/runtime/env.d.ts.map +1 -1
- package/dist/runtime/env.js +1 -0
- package/dist/runtime/env.js.map +1 -1
- package/dist/{cli-tui → runtime}/prompt-queue.d.ts.map +1 -1
- package/dist/{cli-tui → runtime}/prompt-queue.js.map +1 -1
- package/dist/server/handlers/chat-ws.d.ts +2 -1
- package/dist/server/handlers/chat-ws.d.ts.map +1 -1
- package/dist/server/handlers/chat-ws.js +150 -5
- package/dist/server/handlers/chat-ws.js.map +1 -1
- package/dist/server/handlers/chat.d.ts.map +1 -1
- package/dist/server/handlers/chat.js +78 -5
- package/dist/server/handlers/chat.js.map +1 -1
- package/dist/server/handlers/package.d.ts.map +1 -1
- package/dist/server/handlers/package.js +1 -0
- package/dist/server/handlers/package.js.map +1 -1
- package/dist/server/handlers/queue.js +1 -1
- package/dist/server/handlers/queue.js.map +1 -1
- package/dist/server/handlers/ui.js +1 -1
- package/dist/server/handlers/ui.js.map +1 -1
- package/dist/server/handlers/zen.js +1 -1
- package/dist/server/handlers/zen.js.map +1 -1
- package/dist/server/hosted-session-manager.d.ts +3 -0
- package/dist/server/hosted-session-manager.d.ts.map +1 -1
- package/dist/server/hosted-session-manager.js +26 -0
- package/dist/server/hosted-session-manager.js.map +1 -1
- package/dist/server/model-selection.d.ts +1 -0
- package/dist/server/model-selection.d.ts.map +1 -1
- package/dist/server/model-selection.js +4 -0
- package/dist/server/model-selection.js.map +1 -1
- package/dist/server/session-serialization.d.ts.map +1 -1
- package/dist/server/session-serialization.js +3 -0
- package/dist/server/session-serialization.js.map +1 -1
- package/dist/server/session-timeline.d.ts.map +1 -1
- package/dist/server/session-timeline.js +1 -1
- package/dist/server/session-timeline.js.map +1 -1
- package/dist/server/sse-session.d.ts +2 -0
- package/dist/server/sse-session.d.ts.map +1 -1
- package/dist/server/sse-session.js +3 -0
- package/dist/server/sse-session.js.map +1 -1
- package/dist/server/stores/ui-store.d.ts +1 -1
- package/dist/server/stores/ui-store.d.ts.map +1 -1
- package/dist/server/stores/ui-store.js.map +1 -1
- package/dist/server/utils/token-estimator.d.ts +2 -2
- package/dist/server/utils/token-estimator.d.ts.map +1 -1
- package/dist/server/utils/token-estimator.js +2 -12
- package/dist/server/utils/token-estimator.js.map +1 -1
- package/dist/server/validation.d.ts +54 -0
- package/dist/server/validation.d.ts.map +1 -1
- package/dist/services/image-providers/cost.d.ts +70 -0
- package/dist/services/image-providers/cost.d.ts.map +1 -0
- package/dist/services/image-providers/cost.js +164 -0
- package/dist/services/image-providers/cost.js.map +1 -0
- package/dist/services/image-providers/flux.d.ts +40 -0
- package/dist/services/image-providers/flux.d.ts.map +1 -0
- package/dist/services/image-providers/flux.js +99 -0
- package/dist/services/image-providers/flux.js.map +1 -0
- package/dist/services/image-providers/index.d.ts +24 -0
- package/dist/services/image-providers/index.d.ts.map +1 -0
- package/dist/services/image-providers/index.js +27 -0
- package/dist/services/image-providers/index.js.map +1 -0
- package/dist/services/image-providers/masks.d.ts +51 -0
- package/dist/services/image-providers/masks.d.ts.map +1 -0
- package/dist/services/image-providers/masks.js +132 -0
- package/dist/services/image-providers/masks.js.map +1 -0
- package/dist/services/image-providers/openai.d.ts +35 -0
- package/dist/services/image-providers/openai.d.ts.map +1 -0
- package/dist/services/image-providers/openai.js +93 -0
- package/dist/services/image-providers/openai.js.map +1 -0
- package/dist/services/image-providers/types.d.ts +61 -0
- package/dist/services/image-providers/types.d.ts.map +1 -0
- package/dist/services/image-providers/types.js +17 -0
- package/dist/services/image-providers/types.js.map +1 -0
- package/dist/services/intelligent-router/index.d.ts +1 -0
- package/dist/services/intelligent-router/index.d.ts.map +1 -1
- package/dist/services/intelligent-router/index.js +1 -0
- package/dist/services/intelligent-router/index.js.map +1 -1
- package/dist/services/intelligent-router/normalize.d.ts +1 -0
- package/dist/services/intelligent-router/normalize.d.ts.map +1 -1
- package/dist/services/intelligent-router/normalize.js +17 -0
- package/dist/services/intelligent-router/normalize.js.map +1 -1
- package/dist/services/intelligent-router/outcome.d.ts +19 -0
- package/dist/services/intelligent-router/outcome.d.ts.map +1 -0
- package/dist/services/intelligent-router/outcome.js +51 -0
- package/dist/services/intelligent-router/outcome.js.map +1 -0
- package/dist/services/intelligent-router/recorder.d.ts +2 -0
- package/dist/services/intelligent-router/recorder.d.ts.map +1 -1
- package/dist/services/intelligent-router/recorder.js +72 -1
- package/dist/services/intelligent-router/recorder.js.map +1 -1
- package/dist/services/intelligent-router/service.d.ts +1 -0
- package/dist/services/intelligent-router/service.d.ts.map +1 -1
- package/dist/services/intelligent-router/service.js +60 -11
- package/dist/services/intelligent-router/service.js.map +1 -1
- package/dist/services/intelligent-router/types.d.ts +18 -0
- package/dist/services/intelligent-router/types.d.ts.map +1 -1
- package/dist/services/intelligent-router/types.js.map +1 -1
- package/dist/services/workspace-config/middleware.d.ts +2 -0
- package/dist/services/workspace-config/middleware.d.ts.map +1 -1
- package/dist/services/workspace-config/middleware.js +25 -28
- package/dist/services/workspace-config/middleware.js.map +1 -1
- package/dist/session/agent-lineage-projection.d.ts +30 -0
- package/dist/session/agent-lineage-projection.d.ts.map +1 -0
- package/dist/session/agent-lineage-projection.js +109 -0
- package/dist/session/agent-lineage-projection.js.map +1 -0
- package/dist/session/manager.d.ts +3 -0
- package/dist/session/manager.d.ts.map +1 -1
- package/dist/session/manager.js +24 -0
- package/dist/session/manager.js.map +1 -1
- package/dist/session/session-graph-projection.d.ts +11 -0
- package/dist/session/session-graph-projection.d.ts.map +1 -1
- package/dist/session/session-graph-projection.js +28 -0
- package/dist/session/session-graph-projection.js.map +1 -1
- package/dist/session/types.d.ts +2 -0
- package/dist/session/types.d.ts.map +1 -1
- package/dist/session/types.js.map +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts +1 -1
- package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
- package/dist/telemetry/maestro-event-bus.js.map +1 -1
- package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -1
- package/dist/telemetry/oracle-policy.d.ts +6 -0
- package/dist/telemetry/oracle-policy.d.ts.map +1 -0
- package/dist/telemetry/oracle-policy.js +17 -0
- package/dist/telemetry/oracle-policy.js.map +1 -0
- package/dist/telemetry/wide-events.d.ts +1 -1
- package/dist/telemetry/wide-events.d.ts.map +1 -1
- package/dist/telemetry/wide-events.js.map +1 -1
- package/dist/theme/theme.d.ts +2 -8
- package/dist/theme/theme.d.ts.map +1 -1
- package/dist/theme/theme.js +7 -0
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/tui-theme-helpers.d.ts +2 -1
- package/dist/theme/tui-theme-helpers.d.ts.map +1 -1
- package/dist/theme/tui-theme-helpers.js.map +1 -1
- package/dist/theme/tui-theme-types.d.ts +39 -0
- package/dist/theme/tui-theme-types.d.ts.map +1 -0
- package/dist/theme/tui-theme-types.js +10 -0
- package/dist/theme/tui-theme-types.js.map +1 -0
- package/dist/tools/index.d.ts +199 -160
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lazy-registry.d.ts.map +1 -1
- package/dist/tools/lazy-registry.js +1 -0
- package/dist/tools/lazy-registry.js.map +1 -1
- package/dist/tools/oracle.d.ts +9 -0
- package/dist/tools/oracle.d.ts.map +1 -1
- package/dist/tools/oracle.js +26 -24
- package/dist/tools/oracle.js.map +1 -1
- package/dist/tools/painter.d.ts +73 -0
- package/dist/tools/painter.d.ts.map +1 -0
- package/dist/tools/painter.js +283 -0
- package/dist/tools/painter.js.map +1 -0
- package/dist/tools/typebox-tool.d.ts.map +1 -1
- package/dist/tools/typebox-tool.js +1 -1
- package/dist/tools/typebox-tool.js.map +1 -1
- package/dist/utils/terminal-image.d.ts +52 -0
- package/dist/utils/terminal-image.d.ts.map +1 -0
- package/dist/utils/terminal-image.js +95 -0
- package/dist/utils/terminal-image.js.map +1 -0
- package/dist/utils/terminal-text.d.ts +11 -0
- package/dist/utils/terminal-text.d.ts.map +1 -0
- package/dist/utils/terminal-text.js +21 -0
- package/dist/utils/terminal-text.js.map +1 -0
- package/dist/version.json +2 -2
- package/dist/web-server.d.ts.map +1 -1
- package/dist/web-server.js +24 -2
- package/dist/web-server.js.map +1 -1
- package/package.json +13 -11
- package/skills/incident-triage/SKILL.md +4 -3
- package/dist/cli/commands/agents.d.ts +0 -24
- package/dist/cli/commands/agents.d.ts.map +0 -1
- package/dist/cli/commands/agents.js +0 -429
- package/dist/cli/commands/agents.js.map +0 -1
- package/dist/cli/commands/anthropic.d.ts +0 -2
- package/dist/cli/commands/anthropic.d.ts.map +0 -1
- package/dist/cli/commands/anthropic.js +0 -6
- package/dist/cli/commands/anthropic.js.map +0 -1
- package/dist/cli/commands/cost.d.ts +0 -13
- package/dist/cli/commands/cost.d.ts.map +0 -1
- package/dist/cli/commands/cost.js +0 -143
- package/dist/cli/commands/cost.js.map +0 -1
- package/dist/cli/commands/exec-constants.d.ts +0 -3
- package/dist/cli/commands/exec-constants.d.ts.map +0 -1
- package/dist/cli/commands/exec-constants.js +0 -3
- package/dist/cli/commands/exec-constants.js.map +0 -1
- package/dist/cli/commands/exec.d.ts +0 -19
- package/dist/cli/commands/exec.d.ts.map +0 -1
- package/dist/cli/commands/exec.js +0 -207
- package/dist/cli/commands/exec.js.map +0 -1
- package/dist/cli/commands/hooks.d.ts +0 -2
- package/dist/cli/commands/hooks.d.ts.map +0 -1
- package/dist/cli/commands/hooks.js +0 -25
- package/dist/cli/commands/hooks.js.map +0 -1
- package/dist/cli/commands/hosted-runner.d.ts +0 -25
- package/dist/cli/commands/hosted-runner.d.ts.map +0 -1
- package/dist/cli/commands/hosted-runner.js +0 -278
- package/dist/cli/commands/hosted-runner.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -2
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -208
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/models.d.ts +0 -3
- package/dist/cli/commands/models.d.ts.map +0 -1
- package/dist/cli/commands/models.js +0 -154
- package/dist/cli/commands/models.js.map +0 -1
- package/dist/cli/commands/modes.d.ts +0 -8
- package/dist/cli/commands/modes.d.ts.map +0 -1
- package/dist/cli/commands/modes.js +0 -151
- package/dist/cli/commands/modes.js.map +0 -1
- package/dist/cli/commands/openai.d.ts +0 -2
- package/dist/cli/commands/openai.d.ts.map +0 -1
- package/dist/cli/commands/openai.js +0 -116
- package/dist/cli/commands/openai.js.map +0 -1
- package/dist/cli/commands/session-transfer.d.ts +0 -5
- package/dist/cli/commands/session-transfer.d.ts.map +0 -1
- package/dist/cli/commands/session-transfer.js +0 -43
- package/dist/cli/commands/session-transfer.js.map +0 -1
- package/dist/cli/commands/sessions.d.ts +0 -8
- package/dist/cli/commands/sessions.d.ts.map +0 -1
- package/dist/cli/commands/sessions.js +0 -152
- package/dist/cli/commands/sessions.js.map +0 -1
- package/dist/cli/commands/skill.d.ts +0 -10
- package/dist/cli/commands/skill.d.ts.map +0 -1
- package/dist/cli/commands/skill.js +0 -303
- package/dist/cli/commands/skill.js.map +0 -1
- package/dist/cli/commands/stats.d.ts +0 -7
- package/dist/cli/commands/stats.d.ts.map +0 -1
- package/dist/cli/commands/stats.js +0 -167
- package/dist/cli/commands/stats.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -2
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -11
- package/dist/cli/commands/status.js.map +0 -1
- package/dist/cli/commands/update.d.ts +0 -12
- package/dist/cli/commands/update.d.ts.map +0 -1
- package/dist/cli/commands/update.js +0 -148
- package/dist/cli/commands/update.js.map +0 -1
- package/dist/cli-tui/about-view.d.ts +0 -48
- package/dist/cli-tui/about-view.d.ts.map +0 -1
- package/dist/cli-tui/about-view.js +0 -206
- package/dist/cli-tui/about-view.js.map +0 -1
- package/dist/cli-tui/agent-event-router.d.ts +0 -28
- package/dist/cli-tui/agent-event-router.d.ts.map +0 -1
- package/dist/cli-tui/agent-event-router.js +0 -126
- package/dist/cli-tui/agent-event-router.js.map +0 -1
- package/dist/cli-tui/approval/approval-controller.d.ts +0 -28
- package/dist/cli-tui/approval/approval-controller.d.ts.map +0 -1
- package/dist/cli-tui/approval/approval-controller.js +0 -99
- package/dist/cli-tui/approval/approval-controller.js.map +0 -1
- package/dist/cli-tui/approval/approval-modal.d.ts +0 -26
- package/dist/cli-tui/approval/approval-modal.d.ts.map +0 -1
- package/dist/cli-tui/approval/approval-modal.js +0 -143
- package/dist/cli-tui/approval/approval-modal.js.map +0 -1
- package/dist/cli-tui/assistant-message.d.ts +0 -41
- package/dist/cli-tui/assistant-message.d.ts.map +0 -1
- package/dist/cli-tui/assistant-message.js +0 -236
- package/dist/cli-tui/assistant-message.js.map +0 -1
- package/dist/cli-tui/auth-state.d.ts +0 -7
- package/dist/cli-tui/auth-state.d.ts.map +0 -1
- package/dist/cli-tui/auth-state.js +0 -46
- package/dist/cli-tui/auth-state.js.map +0 -1
- package/dist/cli-tui/background/background-tasks-controller.d.ts +0 -31
- package/dist/cli-tui/background/background-tasks-controller.d.ts.map +0 -1
- package/dist/cli-tui/background/background-tasks-controller.js +0 -84
- package/dist/cli-tui/background/background-tasks-controller.js.map +0 -1
- package/dist/cli-tui/base-view.d.ts +0 -111
- package/dist/cli-tui/base-view.d.ts.map +0 -1
- package/dist/cli-tui/base-view.js +0 -145
- package/dist/cli-tui/base-view.js.map +0 -1
- package/dist/cli-tui/bash/background-launcher.d.ts +0 -14
- package/dist/cli-tui/bash/background-launcher.d.ts.map +0 -1
- package/dist/cli-tui/bash/background-launcher.js +0 -50
- package/dist/cli-tui/bash/background-launcher.js.map +0 -1
- package/dist/cli-tui/bash/bash-autocomplete.d.ts +0 -40
- package/dist/cli-tui/bash/bash-autocomplete.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-autocomplete.js +0 -347
- package/dist/cli-tui/bash/bash-autocomplete.js.map +0 -1
- package/dist/cli-tui/bash/bash-history.d.ts +0 -21
- package/dist/cli-tui/bash/bash-history.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-history.js +0 -72
- package/dist/cli-tui/bash/bash-history.js.map +0 -1
- package/dist/cli-tui/bash/bash-syntax.d.ts +0 -5
- package/dist/cli-tui/bash/bash-syntax.d.ts.map +0 -1
- package/dist/cli-tui/bash/bash-syntax.js +0 -176
- package/dist/cli-tui/bash/bash-syntax.js.map +0 -1
- package/dist/cli-tui/bash/index.d.ts +0 -4
- package/dist/cli-tui/bash/index.d.ts.map +0 -1
- package/dist/cli-tui/bash/index.js +0 -4
- package/dist/cli-tui/bash/index.js.map +0 -1
- package/dist/cli-tui/bash-mode-view.d.ts +0 -86
- package/dist/cli-tui/bash-mode-view.d.ts.map +0 -1
- package/dist/cli-tui/bash-mode-view.js +0 -560
- package/dist/cli-tui/bash-mode-view.js.map +0 -1
- package/dist/cli-tui/bash-shell-block.d.ts +0 -50
- package/dist/cli-tui/bash-shell-block.d.ts.map +0 -1
- package/dist/cli-tui/bash-shell-block.js +0 -119
- package/dist/cli-tui/bash-shell-block.js.map +0 -1
- package/dist/cli-tui/changelog-view.d.ts +0 -13
- package/dist/cli-tui/changelog-view.d.ts.map +0 -1
- package/dist/cli-tui/changelog-view.js +0 -34
- package/dist/cli-tui/changelog-view.js.map +0 -1
- package/dist/cli-tui/clean-mode.d.ts +0 -13
- package/dist/cli-tui/clean-mode.d.ts.map +0 -1
- package/dist/cli-tui/clean-mode.js +0 -32
- package/dist/cli-tui/clean-mode.js.map +0 -1
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts +0 -41
- package/dist/cli-tui/client-tools/client-tool-controller.d.ts.map +0 -1
- package/dist/cli-tui/client-tools/client-tool-controller.js +0 -860
- package/dist/cli-tui/client-tools/client-tool-controller.js.map +0 -1
- package/dist/cli-tui/client-tools/local-client-tool-service.d.ts +0 -33
- package/dist/cli-tui/client-tools/local-client-tool-service.d.ts.map +0 -1
- package/dist/cli-tui/client-tools/local-client-tool-service.js +0 -94
- package/dist/cli-tui/client-tools/local-client-tool-service.js.map +0 -1
- package/dist/cli-tui/commands/a2a-handlers.d.ts +0 -7
- package/dist/cli-tui/commands/a2a-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/a2a-handlers.js +0 -215
- package/dist/cli-tui/commands/a2a-handlers.js.map +0 -1
- package/dist/cli-tui/commands/access-command.d.ts +0 -3
- package/dist/cli-tui/commands/access-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/access-command.js +0 -89
- package/dist/cli-tui/commands/access-command.js.map +0 -1
- package/dist/cli-tui/commands/argument-parser.d.ts +0 -12
- package/dist/cli-tui/commands/argument-parser.d.ts.map +0 -1
- package/dist/cli-tui/commands/argument-parser.js +0 -135
- package/dist/cli-tui/commands/argument-parser.js.map +0 -1
- package/dist/cli-tui/commands/audit-command.d.ts +0 -5
- package/dist/cli-tui/commands/audit-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/audit-command.js +0 -35
- package/dist/cli-tui/commands/audit-command.js.map +0 -1
- package/dist/cli-tui/commands/background-handlers.d.ts +0 -14
- package/dist/cli-tui/commands/background-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/background-handlers.js +0 -115
- package/dist/cli-tui/commands/background-handlers.js.map +0 -1
- package/dist/cli-tui/commands/command-catalog.d.ts +0 -29
- package/dist/cli-tui/commands/command-catalog.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-catalog.js +0 -666
- package/dist/cli-tui/commands/command-catalog.js.map +0 -1
- package/dist/cli-tui/commands/command-registry-adapter.d.ts +0 -12
- package/dist/cli-tui/commands/command-registry-adapter.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-registry-adapter.js +0 -129
- package/dist/cli-tui/commands/command-registry-adapter.js.map +0 -1
- package/dist/cli-tui/commands/command-suite-catalog.d.ts +0 -14
- package/dist/cli-tui/commands/command-suite-catalog.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-suite-catalog.js +0 -147
- package/dist/cli-tui/commands/command-suite-catalog.js.map +0 -1
- package/dist/cli-tui/commands/command-suite-handlers.d.ts +0 -111
- package/dist/cli-tui/commands/command-suite-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/command-suite-handlers.js +0 -110
- package/dist/cli-tui/commands/command-suite-handlers.js.map +0 -1
- package/dist/cli-tui/commands/composer-handlers.d.ts +0 -8
- package/dist/cli-tui/commands/composer-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/composer-handlers.js +0 -90
- package/dist/cli-tui/commands/composer-handlers.js.map +0 -1
- package/dist/cli-tui/commands/framework-handlers.d.ts +0 -18
- package/dist/cli-tui/commands/framework-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/framework-handlers.js +0 -57
- package/dist/cli-tui/commands/framework-handlers.js.map +0 -1
- package/dist/cli-tui/commands/guardian-handlers.d.ts +0 -20
- package/dist/cli-tui/commands/guardian-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/guardian-handlers.js +0 -48
- package/dist/cli-tui/commands/guardian-handlers.js.map +0 -1
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts +0 -32
- package/dist/cli-tui/commands/handlers/mode-handler.d.ts.map +0 -1
- package/dist/cli-tui/commands/handlers/mode-handler.js +0 -153
- package/dist/cli-tui/commands/handlers/mode-handler.js.map +0 -1
- package/dist/cli-tui/commands/hotkeys-command.d.ts +0 -8
- package/dist/cli-tui/commands/hotkeys-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/hotkeys-command.js +0 -61
- package/dist/cli-tui/commands/hotkeys-command.js.map +0 -1
- package/dist/cli-tui/commands/limits-command.d.ts +0 -3
- package/dist/cli-tui/commands/limits-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/limits-command.js +0 -88
- package/dist/cli-tui/commands/limits-command.js.map +0 -1
- package/dist/cli-tui/commands/mcp-handlers.d.ts +0 -12
- package/dist/cli-tui/commands/mcp-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/mcp-handlers.js +0 -1306
- package/dist/cli-tui/commands/mcp-handlers.js.map +0 -1
- package/dist/cli-tui/commands/memory-handlers.d.ts +0 -28
- package/dist/cli-tui/commands/memory-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/memory-handlers.js +0 -414
- package/dist/cli-tui/commands/memory-handlers.js.map +0 -1
- package/dist/cli-tui/commands/otel-handlers.d.ts +0 -11
- package/dist/cli-tui/commands/otel-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/otel-handlers.js +0 -20
- package/dist/cli-tui/commands/otel-handlers.js.map +0 -1
- package/dist/cli-tui/commands/package-handlers.d.ts +0 -30
- package/dist/cli-tui/commands/package-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/package-handlers.js +0 -499
- package/dist/cli-tui/commands/package-handlers.js.map +0 -1
- package/dist/cli-tui/commands/pii-command.d.ts +0 -3
- package/dist/cli-tui/commands/pii-command.d.ts.map +0 -1
- package/dist/cli-tui/commands/pii-command.js +0 -54
- package/dist/cli-tui/commands/pii-command.js.map +0 -1
- package/dist/cli-tui/commands/registry.d.ts +0 -3
- package/dist/cli-tui/commands/registry.d.ts.map +0 -1
- package/dist/cli-tui/commands/registry.js +0 -36
- package/dist/cli-tui/commands/registry.js.map +0 -1
- package/dist/cli-tui/commands/safety-handlers.d.ts +0 -36
- package/dist/cli-tui/commands/safety-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/safety-handlers.js +0 -62
- package/dist/cli-tui/commands/safety-handlers.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts +0 -26
- package/dist/cli-tui/commands/subcommands/auth-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/auth-commands.js +0 -79
- package/dist/cli-tui/commands/subcommands/auth-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts +0 -23
- package/dist/cli-tui/commands/subcommands/config-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/config-commands.js +0 -61
- package/dist/cli-tui/commands/subcommands/config-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts +0 -46
- package/dist/cli-tui/commands/subcommands/diag-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/diag-commands.js +0 -163
- package/dist/cli-tui/commands/subcommands/diag-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts +0 -18
- package/dist/cli-tui/commands/subcommands/git-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/git-commands.js +0 -50
- package/dist/cli-tui/commands/subcommands/git-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/index.d.ts +0 -18
- package/dist/cli-tui/commands/subcommands/index.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/index.js +0 -18
- package/dist/cli-tui/commands/subcommands/index.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts +0 -26
- package/dist/cli-tui/commands/subcommands/safety-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/safety-commands.js +0 -149
- package/dist/cli-tui/commands/subcommands/safety-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts +0 -36
- package/dist/cli-tui/commands/subcommands/session-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/session-commands.js +0 -112
- package/dist/cli-tui/commands/subcommands/session-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts +0 -27
- package/dist/cli-tui/commands/subcommands/tools-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/tools-commands.js +0 -80
- package/dist/cli-tui/commands/subcommands/tools-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts +0 -30
- package/dist/cli-tui/commands/subcommands/ui-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/ui-commands.js +0 -74
- package/dist/cli-tui/commands/subcommands/ui-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts +0 -25
- package/dist/cli-tui/commands/subcommands/undo-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/undo-commands.js +0 -74
- package/dist/cli-tui/commands/subcommands/undo-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts +0 -19
- package/dist/cli-tui/commands/subcommands/usage-commands.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/usage-commands.js +0 -63
- package/dist/cli-tui/commands/subcommands/usage-commands.js.map +0 -1
- package/dist/cli-tui/commands/subcommands/utils.d.ts +0 -127
- package/dist/cli-tui/commands/subcommands/utils.d.ts.map +0 -1
- package/dist/cli-tui/commands/subcommands/utils.js +0 -395
- package/dist/cli-tui/commands/subcommands/utils.js.map +0 -1
- package/dist/cli-tui/commands/types.d.ts +0 -105
- package/dist/cli-tui/commands/types.d.ts.map +0 -1
- package/dist/cli-tui/commands/types.js +0 -2
- package/dist/cli-tui/commands/types.js.map +0 -1
- package/dist/cli-tui/commands/undo-handlers.d.ts +0 -29
- package/dist/cli-tui/commands/undo-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/undo-handlers.js +0 -305
- package/dist/cli-tui/commands/undo-handlers.js.map +0 -1
- package/dist/cli-tui/commands/utility-handlers.d.ts +0 -55
- package/dist/cli-tui/commands/utility-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/utility-handlers.js +0 -137
- package/dist/cli-tui/commands/utility-handlers.js.map +0 -1
- package/dist/cli-tui/commands/workflow-handlers.d.ts +0 -22
- package/dist/cli-tui/commands/workflow-handlers.d.ts.map +0 -1
- package/dist/cli-tui/commands/workflow-handlers.js +0 -227
- package/dist/cli-tui/commands/workflow-handlers.js.map +0 -1
- package/dist/cli-tui/compact-boundary-message.d.ts +0 -9
- package/dist/cli-tui/compact-boundary-message.d.ts.map +0 -1
- package/dist/cli-tui/compact-boundary-message.js +0 -18
- package/dist/cli-tui/compact-boundary-message.js.map +0 -1
- package/dist/cli-tui/compaction-recovery.d.ts +0 -6
- package/dist/cli-tui/compaction-recovery.d.ts.map +0 -1
- package/dist/cli-tui/compaction-recovery.js +0 -13
- package/dist/cli-tui/compaction-recovery.js.map +0 -1
- package/dist/cli-tui/config-view.d.ts +0 -30
- package/dist/cli-tui/config-view.d.ts.map +0 -1
- package/dist/cli-tui/config-view.js +0 -255
- package/dist/cli-tui/config-view.js.map +0 -1
- package/dist/cli-tui/context-view.d.ts +0 -20
- package/dist/cli-tui/context-view.d.ts.map +0 -1
- package/dist/cli-tui/context-view.js +0 -191
- package/dist/cli-tui/context-view.js.map +0 -1
- package/dist/cli-tui/custom-editor.d.ts +0 -25
- package/dist/cli-tui/custom-editor.d.ts.map +0 -1
- package/dist/cli-tui/custom-editor.js +0 -241
- package/dist/cli-tui/custom-editor.js.map +0 -1
- package/dist/cli-tui/editor-view.d.ts +0 -34
- package/dist/cli-tui/editor-view.d.ts.map +0 -1
- package/dist/cli-tui/editor-view.js +0 -102
- package/dist/cli-tui/editor-view.js.map +0 -1
- package/dist/cli-tui/feedback-view.d.ts +0 -35
- package/dist/cli-tui/feedback-view.d.ts.map +0 -1
- package/dist/cli-tui/feedback-view.js +0 -271
- package/dist/cli-tui/feedback-view.js.map +0 -1
- package/dist/cli-tui/footer.d.ts +0 -56
- package/dist/cli-tui/footer.d.ts.map +0 -1
- package/dist/cli-tui/footer.js +0 -228
- package/dist/cli-tui/footer.js.map +0 -1
- package/dist/cli-tui/git/commit-modal.d.ts +0 -14
- package/dist/cli-tui/git/commit-modal.d.ts.map +0 -1
- package/dist/cli-tui/git/commit-modal.js +0 -56
- package/dist/cli-tui/git/commit-modal.js.map +0 -1
- package/dist/cli-tui/git/git-preview-modal.d.ts +0 -40
- package/dist/cli-tui/git/git-preview-modal.d.ts.map +0 -1
- package/dist/cli-tui/git/git-preview-modal.js +0 -123
- package/dist/cli-tui/git/git-preview-modal.js.map +0 -1
- package/dist/cli-tui/git/git-view.d.ts +0 -65
- package/dist/cli-tui/git/git-view.d.ts.map +0 -1
- package/dist/cli-tui/git/git-view.js +0 -529
- package/dist/cli-tui/git/git-view.js.map +0 -1
- package/dist/cli-tui/history/history-config.d.ts +0 -7
- package/dist/cli-tui/history/history-config.d.ts.map +0 -1
- package/dist/cli-tui/history/history-config.js +0 -49
- package/dist/cli-tui/history/history-config.js.map +0 -1
- package/dist/cli-tui/history/prompt-history.d.ts +0 -33
- package/dist/cli-tui/history/prompt-history.d.ts.map +0 -1
- package/dist/cli-tui/history/prompt-history.js +0 -185
- package/dist/cli-tui/history/prompt-history.js.map +0 -1
- package/dist/cli-tui/history/tool-history.d.ts +0 -50
- package/dist/cli-tui/history/tool-history.d.ts.map +0 -1
- package/dist/cli-tui/history/tool-history.js +0 -253
- package/dist/cli-tui/history/tool-history.js.map +0 -1
- package/dist/cli-tui/hook-message.d.ts +0 -13
- package/dist/cli-tui/hook-message.d.ts.map +0 -1
- package/dist/cli-tui/hook-message.js +0 -56
- package/dist/cli-tui/hook-message.js.map +0 -1
- package/dist/cli-tui/hooks/hook-input-modal.d.ts +0 -22
- package/dist/cli-tui/hooks/hook-input-modal.d.ts.map +0 -1
- package/dist/cli-tui/hooks/hook-input-modal.js +0 -63
- package/dist/cli-tui/hooks/hook-input-modal.js.map +0 -1
- package/dist/cli-tui/hotkeys-view.d.ts +0 -13
- package/dist/cli-tui/hotkeys-view.d.ts.map +0 -1
- package/dist/cli-tui/hotkeys-view.js +0 -96
- package/dist/cli-tui/hotkeys-view.js.map +0 -1
- package/dist/cli-tui/import-view.d.ts +0 -28
- package/dist/cli-tui/import-view.d.ts.map +0 -1
- package/dist/cli-tui/import-view.js +0 -184
- package/dist/cli-tui/import-view.js.map +0 -1
- package/dist/cli-tui/info-view.d.ts +0 -18
- package/dist/cli-tui/info-view.d.ts.map +0 -1
- package/dist/cli-tui/info-view.js +0 -107
- package/dist/cli-tui/info-view.js.map +0 -1
- package/dist/cli-tui/instruction-panel.d.ts +0 -11
- package/dist/cli-tui/instruction-panel.d.ts.map +0 -1
- package/dist/cli-tui/instruction-panel.js +0 -86
- package/dist/cli-tui/instruction-panel.js.map +0 -1
- package/dist/cli-tui/interrupt-controller.d.ts +0 -78
- package/dist/cli-tui/interrupt-controller.d.ts.map +0 -1
- package/dist/cli-tui/interrupt-controller.js +0 -104
- package/dist/cli-tui/interrupt-controller.js.map +0 -1
- package/dist/cli-tui/keybindings-config.d.ts +0 -27
- package/dist/cli-tui/keybindings-config.d.ts.map +0 -1
- package/dist/cli-tui/keybindings-config.js +0 -372
- package/dist/cli-tui/keybindings-config.js.map +0 -1
- package/dist/cli-tui/keybindings-watcher.d.ts +0 -8
- package/dist/cli-tui/keybindings-watcher.d.ts.map +0 -1
- package/dist/cli-tui/keybindings-watcher.js +0 -56
- package/dist/cli-tui/keybindings-watcher.js.map +0 -1
- package/dist/cli-tui/keybindings.d.ts +0 -13
- package/dist/cli-tui/keybindings.d.ts.map +0 -1
- package/dist/cli-tui/keybindings.js +0 -223
- package/dist/cli-tui/keybindings.js.map +0 -1
- package/dist/cli-tui/loader/loader-stage-manager.d.ts +0 -43
- package/dist/cli-tui/loader/loader-stage-manager.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-stage-manager.js +0 -241
- package/dist/cli-tui/loader/loader-stage-manager.js.map +0 -1
- package/dist/cli-tui/loader/loader-stage-telemetry.d.ts +0 -14
- package/dist/cli-tui/loader/loader-stage-telemetry.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-stage-telemetry.js +0 -34
- package/dist/cli-tui/loader/loader-stage-telemetry.js.map +0 -1
- package/dist/cli-tui/loader/loader-view.d.ts +0 -41
- package/dist/cli-tui/loader/loader-view.d.ts.map +0 -1
- package/dist/cli-tui/loader/loader-view.js +0 -162
- package/dist/cli-tui/loader/loader-view.js.map +0 -1
- package/dist/cli-tui/lsp-view.d.ts +0 -21
- package/dist/cli-tui/lsp-view.d.ts.map +0 -1
- package/dist/cli-tui/lsp-view.js +0 -183
- package/dist/cli-tui/lsp-view.js.map +0 -1
- package/dist/cli-tui/mermaid-renderer.d.ts +0 -2
- package/dist/cli-tui/mermaid-renderer.d.ts.map +0 -1
- package/dist/cli-tui/mermaid-renderer.js +0 -391
- package/dist/cli-tui/mermaid-renderer.js.map +0 -1
- package/dist/cli-tui/message-view.d.ts +0 -27
- package/dist/cli-tui/message-view.d.ts.map +0 -1
- package/dist/cli-tui/message-view.js +0 -169
- package/dist/cli-tui/message-view.js.map +0 -1
- package/dist/cli-tui/modal-manager.d.ts +0 -77
- package/dist/cli-tui/modal-manager.d.ts.map +0 -1
- package/dist/cli-tui/modal-manager.js +0 -131
- package/dist/cli-tui/modal-manager.js.map +0 -1
- package/dist/cli-tui/notification-view.d.ts +0 -16
- package/dist/cli-tui/notification-view.d.ts.map +0 -1
- package/dist/cli-tui/notification-view.js +0 -53
- package/dist/cli-tui/notification-view.js.map +0 -1
- package/dist/cli-tui/oauth/index.d.ts +0 -2
- package/dist/cli-tui/oauth/index.d.ts.map +0 -1
- package/dist/cli-tui/oauth/index.js +0 -2
- package/dist/cli-tui/oauth/index.js.map +0 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts +0 -65
- package/dist/cli-tui/oauth/oauth-flow-controller.d.ts.map +0 -1
- package/dist/cli-tui/oauth/oauth-flow-controller.js +0 -400
- package/dist/cli-tui/oauth/oauth-flow-controller.js.map +0 -1
- package/dist/cli-tui/ollama-view.d.ts +0 -38
- package/dist/cli-tui/ollama-view.d.ts.map +0 -1
- package/dist/cli-tui/ollama-view.js +0 -395
- package/dist/cli-tui/ollama-view.js.map +0 -1
- package/dist/cli-tui/paste/index.d.ts +0 -2
- package/dist/cli-tui/paste/index.d.ts.map +0 -1
- package/dist/cli-tui/paste/index.js +0 -2
- package/dist/cli-tui/paste/index.js.map +0 -1
- package/dist/cli-tui/paste/paste-handler.d.ts +0 -54
- package/dist/cli-tui/paste/paste-handler.d.ts.map +0 -1
- package/dist/cli-tui/paste/paste-handler.js +0 -128
- package/dist/cli-tui/paste/paste-handler.js.map +0 -1
- package/dist/cli-tui/plan/plan-controller.d.ts +0 -28
- package/dist/cli-tui/plan/plan-controller.d.ts.map +0 -1
- package/dist/cli-tui/plan/plan-controller.js +0 -66
- package/dist/cli-tui/plan/plan-controller.js.map +0 -1
- package/dist/cli-tui/plan-panel-modal.d.ts +0 -28
- package/dist/cli-tui/plan-panel-modal.d.ts.map +0 -1
- package/dist/cli-tui/plan-panel-modal.js +0 -193
- package/dist/cli-tui/plan-panel-modal.js.map +0 -1
- package/dist/cli-tui/plan-view.d.ts +0 -57
- package/dist/cli-tui/plan-view.d.ts.map +0 -1
- package/dist/cli-tui/plan-view.js +0 -404
- package/dist/cli-tui/plan-view.js.map +0 -1
- package/dist/cli-tui/queue/follow-up-shortcut.d.ts +0 -6
- package/dist/cli-tui/queue/follow-up-shortcut.d.ts.map +0 -1
- package/dist/cli-tui/queue/follow-up-shortcut.js +0 -12
- package/dist/cli-tui/queue/follow-up-shortcut.js.map +0 -1
- package/dist/cli-tui/queue/index.d.ts +0 -3
- package/dist/cli-tui/queue/index.d.ts.map +0 -1
- package/dist/cli-tui/queue/index.js +0 -3
- package/dist/cli-tui/queue/index.js.map +0 -1
- package/dist/cli-tui/queue/queue-controller.d.ts +0 -109
- package/dist/cli-tui/queue/queue-controller.d.ts.map +0 -1
- package/dist/cli-tui/queue/queue-controller.js +0 -327
- package/dist/cli-tui/queue/queue-controller.js.map +0 -1
- package/dist/cli-tui/queue/queue-panel-controller.d.ts +0 -34
- package/dist/cli-tui/queue/queue-panel-controller.d.ts.map +0 -1
- package/dist/cli-tui/queue/queue-panel-controller.js +0 -163
- package/dist/cli-tui/queue/queue-panel-controller.js.map +0 -1
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.d.ts +0 -7
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.d.ts.map +0 -1
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.js +0 -14
- package/dist/cli-tui/queue/queued-follow-up-edit-binding.js.map +0 -1
- package/dist/cli-tui/queue-panel-modal.d.ts +0 -26
- package/dist/cli-tui/queue-panel-modal.d.ts.map +0 -1
- package/dist/cli-tui/queue-panel-modal.js +0 -159
- package/dist/cli-tui/queue-panel-modal.js.map +0 -1
- package/dist/cli-tui/run/run-command-view.d.ts +0 -17
- package/dist/cli-tui/run/run-command-view.d.ts.map +0 -1
- package/dist/cli-tui/run/run-command-view.js +0 -62
- package/dist/cli-tui/run/run-command-view.js.map +0 -1
- package/dist/cli-tui/run/run-controller.d.ts +0 -24
- package/dist/cli-tui/run/run-controller.d.ts.map +0 -1
- package/dist/cli-tui/run/run-controller.js +0 -38
- package/dist/cli-tui/run/run-controller.js.map +0 -1
- package/dist/cli-tui/run/run-shell-command.d.ts +0 -13
- package/dist/cli-tui/run/run-shell-command.d.ts.map +0 -1
- package/dist/cli-tui/run/run-shell-command.js +0 -51
- package/dist/cli-tui/run/run-shell-command.js.map +0 -1
- package/dist/cli-tui/run/streaming-shell-command.d.ts +0 -19
- package/dist/cli-tui/run/streaming-shell-command.d.ts.map +0 -1
- package/dist/cli-tui/run/streaming-shell-command.js +0 -107
- package/dist/cli-tui/run/streaming-shell-command.js.map +0 -1
- package/dist/cli-tui/search/file-search-view.d.ts +0 -22
- package/dist/cli-tui/search/file-search-view.d.ts.map +0 -1
- package/dist/cli-tui/search/file-search-view.js +0 -68
- package/dist/cli-tui/search/file-search-view.js.map +0 -1
- package/dist/cli-tui/search/file-search.d.ts +0 -13
- package/dist/cli-tui/search/file-search.d.ts.map +0 -1
- package/dist/cli-tui/search/file-search.js +0 -52
- package/dist/cli-tui/search/file-search.js.map +0 -1
- package/dist/cli-tui/security-status.d.ts +0 -83
- package/dist/cli-tui/security-status.d.ts.map +0 -1
- package/dist/cli-tui/security-status.js +0 -214
- package/dist/cli-tui/security-status.js.map +0 -1
- package/dist/cli-tui/selectors/base-selector.d.ts +0 -27
- package/dist/cli-tui/selectors/base-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/base-selector.js +0 -47
- package/dist/cli-tui/selectors/base-selector.js.map +0 -1
- package/dist/cli-tui/selectors/branch-summary-modal.d.ts +0 -18
- package/dist/cli-tui/selectors/branch-summary-modal.d.ts.map +0 -1
- package/dist/cli-tui/selectors/branch-summary-modal.js +0 -24
- package/dist/cli-tui/selectors/branch-summary-modal.js.map +0 -1
- package/dist/cli-tui/selectors/model-selector-view.d.ts +0 -22
- package/dist/cli-tui/selectors/model-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/model-selector-view.js +0 -31
- package/dist/cli-tui/selectors/model-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/model-selector.d.ts +0 -30
- package/dist/cli-tui/selectors/model-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/model-selector.js +0 -218
- package/dist/cli-tui/selectors/model-selector.js.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector-view.d.ts +0 -20
- package/dist/cli-tui/selectors/oauth-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector-view.js +0 -28
- package/dist/cli-tui/selectors/oauth-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector.d.ts +0 -19
- package/dist/cli-tui/selectors/oauth-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/oauth-selector.js +0 -120
- package/dist/cli-tui/selectors/oauth-selector.js.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector-view.d.ts +0 -19
- package/dist/cli-tui/selectors/queue-mode-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector-view.js +0 -29
- package/dist/cli-tui/selectors/queue-mode-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector.d.ts +0 -5
- package/dist/cli-tui/selectors/queue-mode-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/queue-mode-selector.js +0 -34
- package/dist/cli-tui/selectors/queue-mode-selector.js.map +0 -1
- package/dist/cli-tui/selectors/report-selector-view.d.ts +0 -17
- package/dist/cli-tui/selectors/report-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/report-selector-view.js +0 -29
- package/dist/cli-tui/selectors/report-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/report-selector.d.ts +0 -7
- package/dist/cli-tui/selectors/report-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/report-selector.js +0 -31
- package/dist/cli-tui/selectors/report-selector.js.map +0 -1
- package/dist/cli-tui/selectors/theme-selector-view.d.ts +0 -19
- package/dist/cli-tui/selectors/theme-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/theme-selector-view.js +0 -41
- package/dist/cli-tui/selectors/theme-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/theme-selector.d.ts +0 -14
- package/dist/cli-tui/selectors/theme-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/theme-selector.js +0 -46
- package/dist/cli-tui/selectors/theme-selector.js.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector-view.d.ts +0 -20
- package/dist/cli-tui/selectors/thinking-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector-view.js +0 -31
- package/dist/cli-tui/selectors/thinking-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector.d.ts +0 -9
- package/dist/cli-tui/selectors/thinking-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/thinking-selector.js +0 -47
- package/dist/cli-tui/selectors/thinking-selector.js.map +0 -1
- package/dist/cli-tui/selectors/tree-selector-view.d.ts +0 -32
- package/dist/cli-tui/selectors/tree-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/tree-selector-view.js +0 -407
- package/dist/cli-tui/selectors/tree-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/tree-selector.d.ts +0 -27
- package/dist/cli-tui/selectors/tree-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/tree-selector.js +0 -194
- package/dist/cli-tui/selectors/tree-selector.js.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector-view.d.ts +0 -25
- package/dist/cli-tui/selectors/user-message-selector-view.d.ts.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector-view.js +0 -101
- package/dist/cli-tui/selectors/user-message-selector-view.js.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector.d.ts +0 -30
- package/dist/cli-tui/selectors/user-message-selector.d.ts.map +0 -1
- package/dist/cli-tui/selectors/user-message-selector.js +0 -114
- package/dist/cli-tui/selectors/user-message-selector.js.map +0 -1
- package/dist/cli-tui/session/branch-controller.d.ts +0 -65
- package/dist/cli-tui/session/branch-controller.d.ts.map +0 -1
- package/dist/cli-tui/session/branch-controller.js +0 -125
- package/dist/cli-tui/session/branch-controller.js.map +0 -1
- package/dist/cli-tui/session/conversation-compactor.d.ts +0 -64
- package/dist/cli-tui/session/conversation-compactor.d.ts.map +0 -1
- package/dist/cli-tui/session/conversation-compactor.js +0 -77
- package/dist/cli-tui/session/conversation-compactor.js.map +0 -1
- package/dist/cli-tui/session/session-context.d.ts +0 -59
- package/dist/cli-tui/session/session-context.d.ts.map +0 -1
- package/dist/cli-tui/session/session-context.js +0 -79
- package/dist/cli-tui/session/session-context.js.map +0 -1
- package/dist/cli-tui/session/session-data-provider.d.ts +0 -23
- package/dist/cli-tui/session/session-data-provider.d.ts.map +0 -1
- package/dist/cli-tui/session/session-data-provider.js +0 -22
- package/dist/cli-tui/session/session-data-provider.js.map +0 -1
- package/dist/cli-tui/session/session-list.d.ts +0 -18
- package/dist/cli-tui/session/session-list.d.ts.map +0 -1
- package/dist/cli-tui/session/session-list.js +0 -103
- package/dist/cli-tui/session/session-list.js.map +0 -1
- package/dist/cli-tui/session/session-selector.d.ts +0 -12
- package/dist/cli-tui/session/session-selector.d.ts.map +0 -1
- package/dist/cli-tui/session/session-selector.js +0 -37
- package/dist/cli-tui/session/session-selector.js.map +0 -1
- package/dist/cli-tui/session/session-summary-controller.d.ts +0 -24
- package/dist/cli-tui/session/session-summary-controller.d.ts.map +0 -1
- package/dist/cli-tui/session/session-summary-controller.js +0 -96
- package/dist/cli-tui/session/session-summary-controller.js.map +0 -1
- package/dist/cli-tui/session/session-switcher-view.d.ts +0 -20
- package/dist/cli-tui/session/session-switcher-view.d.ts.map +0 -1
- package/dist/cli-tui/session/session-switcher-view.js +0 -43
- package/dist/cli-tui/session/session-switcher-view.js.map +0 -1
- package/dist/cli-tui/session/session-switcher.d.ts +0 -38
- package/dist/cli-tui/session/session-switcher.d.ts.map +0 -1
- package/dist/cli-tui/session/session-switcher.js +0 -204
- package/dist/cli-tui/session/session-switcher.js.map +0 -1
- package/dist/cli-tui/session/session-view.d.ts +0 -46
- package/dist/cli-tui/session/session-view.d.ts.map +0 -1
- package/dist/cli-tui/session/session-view.js +0 -311
- package/dist/cli-tui/session/session-view.js.map +0 -1
- package/dist/cli-tui/slash/index.d.ts +0 -2
- package/dist/cli-tui/slash/index.d.ts.map +0 -1
- package/dist/cli-tui/slash/index.js +0 -2
- package/dist/cli-tui/slash/index.js.map +0 -1
- package/dist/cli-tui/slash/slash-command-matcher.d.ts +0 -55
- package/dist/cli-tui/slash/slash-command-matcher.d.ts.map +0 -1
- package/dist/cli-tui/slash/slash-command-matcher.js +0 -113
- package/dist/cli-tui/slash/slash-command-matcher.js.map +0 -1
- package/dist/cli-tui/smart-autocomplete-provider.d.ts +0 -5
- package/dist/cli-tui/smart-autocomplete-provider.d.ts.map +0 -1
- package/dist/cli-tui/smart-autocomplete-provider.js +0 -44
- package/dist/cli-tui/smart-autocomplete-provider.js.map +0 -1
- package/dist/cli-tui/startup-announcements.d.ts +0 -15
- package/dist/cli-tui/startup-announcements.d.ts.map +0 -1
- package/dist/cli-tui/startup-announcements.js +0 -75
- package/dist/cli-tui/startup-announcements.js.map +0 -1
- package/dist/cli-tui/status/cost-view.d.ts +0 -27
- package/dist/cli-tui/status/cost-view.d.ts.map +0 -1
- package/dist/cli-tui/status/cost-view.js +0 -212
- package/dist/cli-tui/status/cost-view.js.map +0 -1
- package/dist/cli-tui/status/diagnostics-templates.d.ts +0 -34
- package/dist/cli-tui/status/diagnostics-templates.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics-templates.js +0 -167
- package/dist/cli-tui/status/diagnostics-templates.js.map +0 -1
- package/dist/cli-tui/status/diagnostics-view.d.ts +0 -48
- package/dist/cli-tui/status/diagnostics-view.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics-view.js +0 -249
- package/dist/cli-tui/status/diagnostics-view.js.map +0 -1
- package/dist/cli-tui/status/diagnostics.d.ts +0 -39
- package/dist/cli-tui/status/diagnostics.d.ts.map +0 -1
- package/dist/cli-tui/status/diagnostics.js +0 -286
- package/dist/cli-tui/status/diagnostics.js.map +0 -1
- package/dist/cli-tui/status/health-snapshot.d.ts +0 -17
- package/dist/cli-tui/status/health-snapshot.d.ts.map +0 -1
- package/dist/cli-tui/status/health-snapshot.js +0 -28
- package/dist/cli-tui/status/health-snapshot.js.map +0 -1
- package/dist/cli-tui/status/quota-view.d.ts +0 -37
- package/dist/cli-tui/status/quota-view.d.ts.map +0 -1
- package/dist/cli-tui/status/quota-view.js +0 -309
- package/dist/cli-tui/status/quota-view.js.map +0 -1
- package/dist/cli-tui/status/telemetry-view.d.ts +0 -23
- package/dist/cli-tui/status/telemetry-view.d.ts.map +0 -1
- package/dist/cli-tui/status/telemetry-view.js +0 -77
- package/dist/cli-tui/status/telemetry-view.js.map +0 -1
- package/dist/cli-tui/status/training-view.d.ts +0 -23
- package/dist/cli-tui/status/training-view.d.ts.map +0 -1
- package/dist/cli-tui/status/training-view.js +0 -71
- package/dist/cli-tui/status/training-view.js.map +0 -1
- package/dist/cli-tui/streaming-view.d.ts +0 -43
- package/dist/cli-tui/streaming-view.d.ts.map +0 -1
- package/dist/cli-tui/streaming-view.js +0 -176
- package/dist/cli-tui/streaming-view.js.map +0 -1
- package/dist/cli-tui/terminal/index.d.ts +0 -2
- package/dist/cli-tui/terminal/index.d.ts.map +0 -1
- package/dist/cli-tui/terminal/index.js +0 -2
- package/dist/cli-tui/terminal/index.js.map +0 -1
- package/dist/cli-tui/terminal/terminal-utils.d.ts +0 -44
- package/dist/cli-tui/terminal/terminal-utils.d.ts.map +0 -1
- package/dist/cli-tui/terminal/terminal-utils.js +0 -145
- package/dist/cli-tui/terminal/terminal-utils.js.map +0 -1
- package/dist/cli-tui/tips/tip-scheduler.d.ts +0 -19
- package/dist/cli-tui/tips/tip-scheduler.d.ts.map +0 -1
- package/dist/cli-tui/tips/tip-scheduler.js +0 -135
- package/dist/cli-tui/tips/tip-scheduler.js.map +0 -1
- package/dist/cli-tui/tool-execution.d.ts +0 -76
- package/dist/cli-tui/tool-execution.d.ts.map +0 -1
- package/dist/cli-tui/tool-execution.js +0 -217
- package/dist/cli-tui/tool-execution.js.map +0 -1
- package/dist/cli-tui/tool-output-view.d.ts +0 -22
- package/dist/cli-tui/tool-output-view.d.ts.map +0 -1
- package/dist/cli-tui/tool-output-view.js +0 -71
- package/dist/cli-tui/tool-output-view.js.map +0 -1
- package/dist/cli-tui/tool-renderers/index.d.ts +0 -4
- package/dist/cli-tui/tool-renderers/index.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/index.js +0 -19
- package/dist/cli-tui/tool-renderers/index.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-bash.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-bash.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-bash.js +0 -90
- package/dist/cli-tui/tool-renderers/render-bash.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-batch.d.ts +0 -12
- package/dist/cli-tui/tool-renderers/render-batch.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-batch.js +0 -133
- package/dist/cli-tui/tool-renderers/render-batch.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-edit.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-edit.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-edit.js +0 -125
- package/dist/cli-tui/tool-renderers/render-edit.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-generic.d.ts +0 -6
- package/dist/cli-tui/tool-renderers/render-generic.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-generic.js +0 -66
- package/dist/cli-tui/tool-renderers/render-generic.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-read.d.ts +0 -9
- package/dist/cli-tui/tool-renderers/render-read.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-read.js +0 -108
- package/dist/cli-tui/tool-renderers/render-read.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-style.d.ts +0 -21
- package/dist/cli-tui/tool-renderers/render-style.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-style.js +0 -51
- package/dist/cli-tui/tool-renderers/render-style.js.map +0 -1
- package/dist/cli-tui/tool-renderers/render-write.d.ts +0 -5
- package/dist/cli-tui/tool-renderers/render-write.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/render-write.js +0 -60
- package/dist/cli-tui/tool-renderers/render-write.js.map +0 -1
- package/dist/cli-tui/tool-renderers/types.d.ts +0 -20
- package/dist/cli-tui/tool-renderers/types.d.ts.map +0 -1
- package/dist/cli-tui/tool-renderers/types.js +0 -2
- package/dist/cli-tui/tool-renderers/types.js.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-controller.d.ts +0 -29
- package/dist/cli-tui/tool-retry/tool-retry-controller.d.ts.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-controller.js +0 -110
- package/dist/cli-tui/tool-retry/tool-retry-controller.js.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-modal.d.ts +0 -27
- package/dist/cli-tui/tool-retry/tool-retry-modal.d.ts.map +0 -1
- package/dist/cli-tui/tool-retry/tool-retry-modal.js +0 -118
- package/dist/cli-tui/tool-retry/tool-retry-modal.js.map +0 -1
- package/dist/cli-tui/tool-status-view.d.ts +0 -32
- package/dist/cli-tui/tool-status-view.d.ts.map +0 -1
- package/dist/cli-tui/tool-status-view.js +0 -86
- package/dist/cli-tui/tool-status-view.js.map +0 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts +0 -59
- package/dist/cli-tui/tui-renderer/agent-event-bridge.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js +0 -129
- package/dist/cli-tui/tui-renderer/agent-event-bridge.js.map +0 -1
- package/dist/cli-tui/tui-renderer/approval-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/approval-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/approval-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/approval-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/attachment-controller.d.ts +0 -54
- package/dist/cli-tui/tui-renderer/attachment-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/attachment-controller.js +0 -160
- package/dist/cli-tui/tui-renderer/attachment-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/background-tasks-setup.d.ts +0 -9
- package/dist/cli-tui/tui-renderer/background-tasks-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/background-tasks-setup.js +0 -7
- package/dist/cli-tui/tui-renderer/background-tasks-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/branch-controller.d.ts +0 -41
- package/dist/cli-tui/tui-renderer/branch-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/branch-controller.js +0 -102
- package/dist/cli-tui/tui-renderer/branch-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/clear-controller.d.ts +0 -75
- package/dist/cli-tui/tui-renderer/clear-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/clear-controller.js +0 -75
- package/dist/cli-tui/tui-renderer/clear-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/client-tools-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/client-tools-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/client-tools-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/client-tools-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts +0 -111
- package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry-options.js +0 -163
- package/dist/cli-tui/tui-renderer/command-registry-options.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry.d.ts +0 -16
- package/dist/cli-tui/tui-renderer/command-registry.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-registry.js +0 -23
- package/dist/cli-tui/tui-renderer/command-registry.js.map +0 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts +0 -29
- package/dist/cli-tui/tui-renderer/command-suite-wiring.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js +0 -108
- package/dist/cli-tui/tui-renderer/command-suite-wiring.js.map +0 -1
- package/dist/cli-tui/tui-renderer/compaction-controller.d.ts +0 -100
- package/dist/cli-tui/tui-renderer/compaction-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/compaction-controller.js +0 -160
- package/dist/cli-tui/tui-renderer/compaction-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/custom-commands-controller.d.ts +0 -42
- package/dist/cli-tui/tui-renderer/custom-commands-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/custom-commands-controller.js +0 -106
- package/dist/cli-tui/tui-renderer/custom-commands-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.d.ts +0 -37
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.js +0 -139
- package/dist/cli-tui/tui-renderer/delegating-command-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/editor-bindings.d.ts +0 -21
- package/dist/cli-tui/tui-renderer/editor-bindings.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/editor-bindings.js +0 -76
- package/dist/cli-tui/tui-renderer/editor-bindings.js.map +0 -1
- package/dist/cli-tui/tui-renderer/footer-hints-controller.d.ts +0 -90
- package/dist/cli-tui/tui-renderer/footer-hints-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/footer-hints-controller.js +0 -152
- package/dist/cli-tui/tui-renderer/footer-hints-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/history-controller.d.ts +0 -35
- package/dist/cli-tui/tui-renderer/history-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/history-controller.js +0 -153
- package/dist/cli-tui/tui-renderer/history-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/hook-ui-controller.d.ts +0 -83
- package/dist/cli-tui/tui-renderer/hook-ui-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/hook-ui-controller.js +0 -309
- package/dist/cli-tui/tui-renderer/hook-ui-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/initial-preferences.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/initial-preferences.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/initial-preferences.js +0 -54
- package/dist/cli-tui/tui-renderer/initial-preferences.js.map +0 -1
- package/dist/cli-tui/tui-renderer/input-controller.d.ts +0 -56
- package/dist/cli-tui/tui-renderer/input-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/input-controller.js +0 -104
- package/dist/cli-tui/tui-renderer/input-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/interrupt-setup.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/interrupt-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/interrupt-setup.js +0 -18
- package/dist/cli-tui/tui-renderer/interrupt-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/loader-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/loader-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/loader-setup.js +0 -13
- package/dist/cli-tui/tui-renderer/loader-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/mcp-events-setup.d.ts +0 -55
- package/dist/cli-tui/tui-renderer/mcp-events-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/mcp-events-setup.js +0 -143
- package/dist/cli-tui/tui-renderer/mcp-events-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/misc-handlers.d.ts +0 -59
- package/dist/cli-tui/tui-renderer/misc-handlers.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/misc-handlers.js +0 -143
- package/dist/cli-tui/tui-renderer/misc-handlers.js.map +0 -1
- package/dist/cli-tui/tui-renderer/oauth-setup.d.ts +0 -14
- package/dist/cli-tui/tui-renderer/oauth-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/oauth-setup.js +0 -26
- package/dist/cli-tui/tui-renderer/oauth-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/plan-setup.d.ts +0 -19
- package/dist/cli-tui/tui-renderer/plan-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/plan-setup.js +0 -23
- package/dist/cli-tui/tui-renderer/plan-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.d.ts +0 -21
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.js +0 -64
- package/dist/cli-tui/tui-renderer/prompt-template-slash-commands.js.map +0 -1
- package/dist/cli-tui/tui-renderer/queue-setup.d.ts +0 -18
- package/dist/cli-tui/tui-renderer/queue-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/queue-setup.js +0 -42
- package/dist/cli-tui/tui-renderer/queue-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/quick-settings-controller.d.ts +0 -53
- package/dist/cli-tui/tui-renderer/quick-settings-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/quick-settings-controller.js +0 -100
- package/dist/cli-tui/tui-renderer/quick-settings-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/session-setup.d.ts +0 -31
- package/dist/cli-tui/tui-renderer/session-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/session-setup.js +0 -45
- package/dist/cli-tui/tui-renderer/session-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/session-state-controller.d.ts +0 -66
- package/dist/cli-tui/tui-renderer/session-state-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/session-state-controller.js +0 -139
- package/dist/cli-tui/tui-renderer/session-state-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/skills-controller.d.ts +0 -73
- package/dist/cli-tui/tui-renderer/skills-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/skills-controller.js +0 -455
- package/dist/cli-tui/tui-renderer/skills-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/slash-hint-controller.d.ts +0 -90
- package/dist/cli-tui/tui-renderer/slash-hint-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/slash-hint-controller.js +0 -131
- package/dist/cli-tui/tui-renderer/slash-hint-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/tool-retry-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/tool-retry-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/tool-retry-setup.js +0 -5
- package/dist/cli-tui/tui-renderer/tool-retry-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/tooling-views-setup.d.ts +0 -38
- package/dist/cli-tui/tui-renderer/tooling-views-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/tooling-views-setup.js +0 -48
- package/dist/cli-tui/tui-renderer/tooling-views-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts +0 -70
- package/dist/cli-tui/tui-renderer/ui-state-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-controller.js +0 -184
- package/dist/cli-tui/tui-renderer/ui-state-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-setup.d.ts +0 -13
- package/dist/cli-tui/tui-renderer/ui-state-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/ui-state-setup.js +0 -11
- package/dist/cli-tui/tui-renderer/ui-state-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/utility-views-setup.d.ts +0 -26
- package/dist/cli-tui/tui-renderer/utility-views-setup.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/utility-views-setup.js +0 -23
- package/dist/cli-tui/tui-renderer/utility-views-setup.js.map +0 -1
- package/dist/cli-tui/tui-renderer/viewport-controller.d.ts +0 -33
- package/dist/cli-tui/tui-renderer/viewport-controller.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer/viewport-controller.js +0 -98
- package/dist/cli-tui/tui-renderer/viewport-controller.js.map +0 -1
- package/dist/cli-tui/tui-renderer.d.ts +0 -268
- package/dist/cli-tui/tui-renderer.d.ts.map +0 -1
- package/dist/cli-tui/tui-renderer.js +0 -2131
- package/dist/cli-tui/tui-renderer.js.map +0 -1
- package/dist/cli-tui/ui-state.d.ts.map +0 -1
- package/dist/cli-tui/ui-state.js.map +0 -1
- package/dist/cli-tui/update-view.d.ts +0 -16
- package/dist/cli-tui/update-view.d.ts.map +0 -1
- package/dist/cli-tui/update-view.js +0 -45
- package/dist/cli-tui/update-view.js.map +0 -1
- package/dist/cli-tui/user-message.d.ts +0 -17
- package/dist/cli-tui/user-message.d.ts.map +0 -1
- package/dist/cli-tui/user-message.js +0 -83
- package/dist/cli-tui/user-message.js.map +0 -1
- package/dist/cli-tui/utils/borders.d.ts +0 -131
- package/dist/cli-tui/utils/borders.d.ts.map +0 -1
- package/dist/cli-tui/utils/borders.js +0 -254
- package/dist/cli-tui/utils/borders.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette-view.d.ts +0 -22
- package/dist/cli-tui/utils/commands/command-palette-view.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette-view.js +0 -31
- package/dist/cli-tui/utils/commands/command-palette-view.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette.d.ts +0 -29
- package/dist/cli-tui/utils/commands/command-palette.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-palette.js +0 -213
- package/dist/cli-tui/utils/commands/command-palette.js.map +0 -1
- package/dist/cli-tui/utils/commands/command-registry-builder.d.ts +0 -8
- package/dist/cli-tui/utils/commands/command-registry-builder.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/command-registry-builder.js +0 -9
- package/dist/cli-tui/utils/commands/command-registry-builder.js.map +0 -1
- package/dist/cli-tui/utils/commands/review-prompt.d.ts +0 -10
- package/dist/cli-tui/utils/commands/review-prompt.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/review-prompt.js +0 -90
- package/dist/cli-tui/utils/commands/review-prompt.js.map +0 -1
- package/dist/cli-tui/utils/commands/slash-hint-bar.d.ts +0 -15
- package/dist/cli-tui/utils/commands/slash-hint-bar.d.ts.map +0 -1
- package/dist/cli-tui/utils/commands/slash-hint-bar.js +0 -106
- package/dist/cli-tui/utils/commands/slash-hint-bar.js.map +0 -1
- package/dist/cli-tui/utils/env-detect.d.ts +0 -11
- package/dist/cli-tui/utils/env-detect.d.ts.map +0 -1
- package/dist/cli-tui/utils/env-detect.js +0 -107
- package/dist/cli-tui/utils/env-detect.js.map +0 -1
- package/dist/cli-tui/utils/external-editor.d.ts +0 -7
- package/dist/cli-tui/utils/external-editor.d.ts.map +0 -1
- package/dist/cli-tui/utils/external-editor.js +0 -53
- package/dist/cli-tui/utils/external-editor.js.map +0 -1
- package/dist/cli-tui/utils/footer-utils.d.ts +0 -169
- package/dist/cli-tui/utils/footer-utils.d.ts.map +0 -1
- package/dist/cli-tui/utils/footer-utils.js +0 -716
- package/dist/cli-tui/utils/footer-utils.js.map +0 -1
- package/dist/cli-tui/utils/footer-visual-widgets.d.ts +0 -38
- package/dist/cli-tui/utils/footer-visual-widgets.d.ts.map +0 -1
- package/dist/cli-tui/utils/footer-visual-widgets.js +0 -141
- package/dist/cli-tui/utils/footer-visual-widgets.js.map +0 -1
- package/dist/cli-tui/utils/git-branch-tracker.d.ts +0 -38
- package/dist/cli-tui/utils/git-branch-tracker.d.ts.map +0 -1
- package/dist/cli-tui/utils/git-branch-tracker.js +0 -90
- package/dist/cli-tui/utils/git-branch-tracker.js.map +0 -1
- package/dist/cli-tui/utils/glyphs.d.ts +0 -207
- package/dist/cli-tui/utils/glyphs.d.ts.map +0 -1
- package/dist/cli-tui/utils/glyphs.js +0 -249
- package/dist/cli-tui/utils/glyphs.js.map +0 -1
- package/dist/cli-tui/utils/layout.d.ts +0 -77
- package/dist/cli-tui/utils/layout.d.ts.map +0 -1
- package/dist/cli-tui/utils/layout.js +0 -83
- package/dist/cli-tui/utils/layout.js.map +0 -1
- package/dist/cli-tui/utils/links.d.ts +0 -2
- package/dist/cli-tui/utils/links.d.ts.map +0 -1
- package/dist/cli-tui/utils/links.js +0 -14
- package/dist/cli-tui/utils/links.js.map +0 -1
- package/dist/cli-tui/utils/motion.d.ts +0 -4
- package/dist/cli-tui/utils/motion.d.ts.map +0 -1
- package/dist/cli-tui/utils/motion.js +0 -28
- package/dist/cli-tui/utils/motion.js.map +0 -1
- package/dist/cli-tui/utils/runtime-badges.d.ts +0 -26
- package/dist/cli-tui/utils/runtime-badges.d.ts.map +0 -1
- package/dist/cli-tui/utils/runtime-badges.js +0 -178
- package/dist/cli-tui/utils/runtime-badges.js.map +0 -1
- package/dist/cli-tui/utils/shimmer.d.ts +0 -12
- package/dist/cli-tui/utils/shimmer.d.ts.map +0 -1
- package/dist/cli-tui/utils/shimmer.js +0 -57
- package/dist/cli-tui/utils/shimmer.js.map +0 -1
- package/dist/cli-tui/utils/stage-labels.d.ts +0 -9
- package/dist/cli-tui/utils/stage-labels.d.ts.map +0 -1
- package/dist/cli-tui/utils/stage-labels.js +0 -65
- package/dist/cli-tui/utils/stage-labels.js.map +0 -1
- package/dist/cli-tui/utils/text-formatting.d.ts +0 -13
- package/dist/cli-tui/utils/text-formatting.d.ts.map +0 -1
- package/dist/cli-tui/utils/text-formatting.js +0 -109
- package/dist/cli-tui/utils/text-formatting.js.map +0 -1
- package/dist/cli-tui/utils/text-preview.d.ts +0 -10
- package/dist/cli-tui/utils/text-preview.d.ts.map +0 -1
- package/dist/cli-tui/utils/text-preview.js +0 -26
- package/dist/cli-tui/utils/text-preview.js.map +0 -1
- package/dist/cli-tui/utils/tool-text-utils.d.ts +0 -42
- package/dist/cli-tui/utils/tool-text-utils.d.ts.map +0 -1
- package/dist/cli-tui/utils/tool-text-utils.js +0 -361
- package/dist/cli-tui/utils/tool-text-utils.js.map +0 -1
- package/dist/cli-tui/welcome-animation.d.ts +0 -24
- package/dist/cli-tui/welcome-animation.d.ts.map +0 -1
- package/dist/cli-tui/welcome-animation.js +0 -99
- package/dist/cli-tui/welcome-animation.js.map +0 -1
- package/dist/cli-tui/welcome-colors.d.ts +0 -3
- package/dist/cli-tui/welcome-colors.d.ts.map +0 -1
- package/dist/cli-tui/welcome-colors.js +0 -39
- package/dist/cli-tui/welcome-colors.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/autocomplete.d.ts +0 -304
- package/dist/node_modules/@evalops/tui/dist/autocomplete.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/autocomplete.js +0 -712
- package/dist/node_modules/@evalops/tui/dist/autocomplete.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/editor.d.ts +0 -185
- package/dist/node_modules/@evalops/tui/dist/components/editor.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/editor.js +0 -1460
- package/dist/node_modules/@evalops/tui/dist/components/editor.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/input.d.ts +0 -117
- package/dist/node_modules/@evalops/tui/dist/components/input.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/input.js +0 -391
- package/dist/node_modules/@evalops/tui/dist/components/input.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/layout.d.ts +0 -256
- package/dist/node_modules/@evalops/tui/dist/components/layout.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/layout.js +0 -478
- package/dist/node_modules/@evalops/tui/dist/components/layout.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/loader.d.ts +0 -199
- package/dist/node_modules/@evalops/tui/dist/components/loader.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/loader.js +0 -374
- package/dist/node_modules/@evalops/tui/dist/components/loader.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/markdown.d.ts +0 -65
- package/dist/node_modules/@evalops/tui/dist/components/markdown.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/markdown.js +0 -562
- package/dist/node_modules/@evalops/tui/dist/components/markdown.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.d.ts +0 -262
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.js +0 -575
- package/dist/node_modules/@evalops/tui/dist/components/scroll-container.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/select-list.d.ts +0 -131
- package/dist/node_modules/@evalops/tui/dist/components/select-list.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/select-list.js +0 -257
- package/dist/node_modules/@evalops/tui/dist/components/select-list.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/spacer.d.ts +0 -11
- package/dist/node_modules/@evalops/tui/dist/components/spacer.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/spacer.js +0 -19
- package/dist/node_modules/@evalops/tui/dist/components/spacer.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.d.ts +0 -22
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.js +0 -44
- package/dist/node_modules/@evalops/tui/dist/components/status-bar.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/text.d.ts +0 -26
- package/dist/node_modules/@evalops/tui/dist/components/text.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/text.js +0 -181
- package/dist/node_modules/@evalops/tui/dist/components/text.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.d.ts +0 -15
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.js +0 -84
- package/dist/node_modules/@evalops/tui/dist/components/truncated-text.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/index.d.ts +0 -87
- package/dist/node_modules/@evalops/tui/dist/index.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/index.js +0 -85
- package/dist/node_modules/@evalops/tui/dist/index.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/keymap.d.ts +0 -189
- package/dist/node_modules/@evalops/tui/dist/keymap.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/keymap.js +0 -363
- package/dist/node_modules/@evalops/tui/dist/keymap.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.d.ts +0 -25
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.js +0 -828
- package/dist/node_modules/@evalops/tui/dist/mermaid-renderer.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.d.ts +0 -40
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.js +0 -474
- package/dist/node_modules/@evalops/tui/dist/style/code-highlighter.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/terminal.d.ts +0 -201
- package/dist/node_modules/@evalops/tui/dist/terminal.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/terminal.js +0 -241
- package/dist/node_modules/@evalops/tui/dist/terminal.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/tui.d.ts +0 -263
- package/dist/node_modules/@evalops/tui/dist/tui.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/tui.js +0 -694
- package/dist/node_modules/@evalops/tui/dist/tui.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.d.ts +0 -14
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.js +0 -44
- package/dist/node_modules/@evalops/tui/dist/utils/terminal-features.js.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils.d.ts +0 -32
- package/dist/node_modules/@evalops/tui/dist/utils.d.ts.map +0 -1
- package/dist/node_modules/@evalops/tui/dist/utils.js +0 -556
- package/dist/node_modules/@evalops/tui/dist/utils.js.map +0 -1
- package/dist/node_modules/@evalops/tui/package.json +0 -58
- package/dist/skills/artifact-metadata.d.ts.map +0 -1
- package/dist/skills/artifact-metadata.js.map +0 -1
- package/dist/skills/composer-diagnostics.d.ts +0 -69
- package/dist/skills/composer-diagnostics.d.ts.map +0 -1
- package/dist/skills/composer-diagnostics.js +0 -78
- package/dist/skills/composer-diagnostics.js.map +0 -1
- package/dist/skills/composer.d.ts +0 -19
- package/dist/skills/composer.d.ts.map +0 -1
- package/dist/skills/composer.js +0 -64
- package/dist/skills/composer.js.map +0 -1
- package/dist/skills/eval-harness.d.ts +0 -38
- package/dist/skills/eval-harness.d.ts.map +0 -1
- package/dist/skills/eval-harness.js +0 -112
- package/dist/skills/eval-harness.js.map +0 -1
- package/dist/skills/index.d.ts +0 -41
- package/dist/skills/index.d.ts.map +0 -1
- package/dist/skills/index.js +0 -41
- package/dist/skills/index.js.map +0 -1
- package/dist/skills/learned-guidelines.d.ts +0 -33
- package/dist/skills/learned-guidelines.d.ts.map +0 -1
- package/dist/skills/learned-guidelines.js +0 -291
- package/dist/skills/learned-guidelines.js.map +0 -1
- package/dist/skills/linter.d.ts +0 -36
- package/dist/skills/linter.d.ts.map +0 -1
- package/dist/skills/linter.js +0 -397
- package/dist/skills/linter.js.map +0 -1
- package/dist/skills/loader.d.ts +0 -252
- package/dist/skills/loader.d.ts.map +0 -1
- package/dist/skills/loader.js +0 -957
- package/dist/skills/loader.js.map +0 -1
- package/dist/skills/package-contract.d.ts +0 -45
- package/dist/skills/package-contract.d.ts.map +0 -1
- package/dist/skills/package-contract.js +0 -153
- package/dist/skills/package-contract.js.map +0 -1
- package/dist/skills/runtime-activation.d.ts +0 -69
- package/dist/skills/runtime-activation.d.ts.map +0 -1
- package/dist/skills/runtime-activation.js +0 -227
- package/dist/skills/runtime-activation.js.map +0 -1
- package/dist/skills/scaffold-from-template.d.ts +0 -58
- package/dist/skills/scaffold-from-template.d.ts.map +0 -1
- package/dist/skills/scaffold-from-template.js +0 -72
- package/dist/skills/scaffold-from-template.js.map +0 -1
- package/dist/skills/scaffolder.d.ts +0 -65
- package/dist/skills/scaffolder.d.ts.map +0 -1
- package/dist/skills/scaffolder.js +0 -167
- package/dist/skills/scaffolder.js.map +0 -1
- package/dist/skills/service-client.d.ts +0 -56
- package/dist/skills/service-client.d.ts.map +0 -1
- package/dist/skills/service-client.js +0 -266
- package/dist/skills/service-client.js.map +0 -1
- package/dist/skills/skill-templates.d.ts +0 -70
- package/dist/skills/skill-templates.d.ts.map +0 -1
- package/dist/skills/skill-templates.js +0 -154
- package/dist/skills/skill-templates.js.map +0 -1
- package/dist/skills/tool.d.ts +0 -21
- package/dist/skills/tool.d.ts.map +0 -1
- package/dist/skills/tool.js +0 -339
- package/dist/skills/tool.js.map +0 -1
- package/dist/skills/trust-cache.d.ts +0 -65
- package/dist/skills/trust-cache.d.ts.map +0 -1
- package/dist/skills/trust-cache.js +0 -146
- package/dist/skills/trust-cache.js.map +0 -1
- package/dist/skills/types.d.ts +0 -91
- package/dist/skills/types.d.ts.map +0 -1
- package/dist/skills/types.js +0 -8
- package/dist/skills/types.js.map +0 -1
- /package/dist/{cli-tui → runtime}/prompt-queue.d.ts +0 -0
- /package/dist/{cli-tui → runtime}/prompt-queue.js +0 -0
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Declarative keymap system for terminal keyboard handling.
|
|
3
|
-
*
|
|
4
|
-
* ## Kitty Keyboard Protocol Support
|
|
5
|
-
*
|
|
6
|
-
* The Kitty keyboard protocol sends enhanced escape sequences in the format:
|
|
7
|
-
* \x1b[<codepoint>;<modifier>u
|
|
8
|
-
*
|
|
9
|
-
* Modifier values (added to 1):
|
|
10
|
-
* - Shift: 1 (value 2)
|
|
11
|
-
* - Alt: 2 (value 3)
|
|
12
|
-
* - Ctrl: 4 (value 5)
|
|
13
|
-
* - Super: 8 (value 9)
|
|
14
|
-
*
|
|
15
|
-
* See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
|
16
|
-
*/
|
|
17
|
-
export interface KeyBinding<TContext = unknown> {
|
|
18
|
-
keys: string[];
|
|
19
|
-
handler: (context: TContext) => void;
|
|
20
|
-
description: string;
|
|
21
|
-
when?: (context: TContext) => boolean;
|
|
22
|
-
priority?: number;
|
|
23
|
-
}
|
|
24
|
-
export declare const ControlCodes: {
|
|
25
|
-
readonly CTRL_A: 1;
|
|
26
|
-
readonly CTRL_B: 2;
|
|
27
|
-
readonly CTRL_C: 3;
|
|
28
|
-
readonly CTRL_D: 4;
|
|
29
|
-
readonly CTRL_E: 5;
|
|
30
|
-
readonly CTRL_F: 6;
|
|
31
|
-
readonly CTRL_G: 7;
|
|
32
|
-
readonly CTRL_H: 8;
|
|
33
|
-
readonly CTRL_I: 9;
|
|
34
|
-
readonly CTRL_J: 10;
|
|
35
|
-
readonly CTRL_K: 11;
|
|
36
|
-
readonly CTRL_L: 12;
|
|
37
|
-
readonly CTRL_M: 13;
|
|
38
|
-
readonly CTRL_N: 14;
|
|
39
|
-
readonly CTRL_O: 15;
|
|
40
|
-
readonly CTRL_P: 16;
|
|
41
|
-
readonly CTRL_Q: 17;
|
|
42
|
-
readonly CTRL_R: 18;
|
|
43
|
-
readonly CTRL_S: 19;
|
|
44
|
-
readonly CTRL_T: 20;
|
|
45
|
-
readonly CTRL_U: 21;
|
|
46
|
-
readonly CTRL_V: 22;
|
|
47
|
-
readonly CTRL_W: 23;
|
|
48
|
-
readonly CTRL_X: 24;
|
|
49
|
-
readonly CTRL_Y: 25;
|
|
50
|
-
readonly CTRL_Z: 26;
|
|
51
|
-
readonly ESCAPE: 27;
|
|
52
|
-
readonly BACKSPACE: 127;
|
|
53
|
-
};
|
|
54
|
-
export declare const AnsiKeys: {
|
|
55
|
-
readonly UP: "\u001B[A";
|
|
56
|
-
readonly DOWN: "\u001B[B";
|
|
57
|
-
readonly RIGHT: "\u001B[C";
|
|
58
|
-
readonly LEFT: "\u001B[D";
|
|
59
|
-
readonly UP_SS3: "\u001BOA";
|
|
60
|
-
readonly DOWN_SS3: "\u001BOB";
|
|
61
|
-
readonly RIGHT_SS3: "\u001BOC";
|
|
62
|
-
readonly LEFT_SS3: "\u001BOD";
|
|
63
|
-
readonly CTRL_LEFT: "\u001B[1;5D";
|
|
64
|
-
readonly CTRL_RIGHT: "\u001B[1;5C";
|
|
65
|
-
readonly CTRL_LEFT_ALT: "\u001B[5D";
|
|
66
|
-
readonly CTRL_RIGHT_ALT: "\u001B[5C";
|
|
67
|
-
readonly ALT_LEFT: "\u001B[1;3D";
|
|
68
|
-
readonly ALT_RIGHT: "\u001B[1;3C";
|
|
69
|
-
readonly HOME: "\u001B[H";
|
|
70
|
-
readonly HOME_ALT1: "\u001B[1~";
|
|
71
|
-
readonly HOME_ALT2: "\u001B[7~";
|
|
72
|
-
readonly END: "\u001B[F";
|
|
73
|
-
readonly END_ALT1: "\u001B[4~";
|
|
74
|
-
readonly END_ALT2: "\u001B[8~";
|
|
75
|
-
readonly DELETE: "\u001B[3~";
|
|
76
|
-
readonly ALT_B: "\u001Bb";
|
|
77
|
-
readonly ALT_F: "\u001Bf";
|
|
78
|
-
readonly ALT_Y: "\u001By";
|
|
79
|
-
readonly ALT_BACKSPACE: "\u001B";
|
|
80
|
-
readonly PASTE_START: "\u001B[200~";
|
|
81
|
-
readonly PASTE_END: "\u001B[201~";
|
|
82
|
-
readonly SHIFT_TAB: "\u001B[Z";
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Kitty keyboard protocol sequences for modern terminals.
|
|
86
|
-
* These are the enhanced escape sequences that terminals like Kitty, WezTerm,
|
|
87
|
-
* and others send when the Kitty keyboard protocol is enabled.
|
|
88
|
-
*/
|
|
89
|
-
export declare const KittyKeys: {
|
|
90
|
-
readonly CTRL_A: string;
|
|
91
|
-
readonly CTRL_C: string;
|
|
92
|
-
readonly CTRL_D: string;
|
|
93
|
-
readonly CTRL_E: string;
|
|
94
|
-
readonly CTRL_K: string;
|
|
95
|
-
readonly CTRL_O: string;
|
|
96
|
-
readonly CTRL_P: string;
|
|
97
|
-
readonly CTRL_T: string;
|
|
98
|
-
readonly CTRL_U: string;
|
|
99
|
-
readonly CTRL_W: string;
|
|
100
|
-
readonly SHIFT_ENTER: string;
|
|
101
|
-
readonly ALT_ENTER: string;
|
|
102
|
-
readonly CTRL_ENTER: string;
|
|
103
|
-
readonly SHIFT_TAB: string;
|
|
104
|
-
readonly ALT_BACKSPACE: string;
|
|
105
|
-
readonly SHIFT_CTRL_D: string;
|
|
106
|
-
readonly SHIFT_CTRL_O: string;
|
|
107
|
-
};
|
|
108
|
-
/**
|
|
109
|
-
* Check if input matches Ctrl+A (raw byte or Kitty protocol).
|
|
110
|
-
*/
|
|
111
|
-
export declare function isCtrlA(data: string): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Check if input matches Ctrl+C (raw byte or Kitty protocol).
|
|
114
|
-
*/
|
|
115
|
-
export declare function isCtrlC(data: string): boolean;
|
|
116
|
-
/**
|
|
117
|
-
* Check if input matches Ctrl+D (raw byte or Kitty protocol).
|
|
118
|
-
*/
|
|
119
|
-
export declare function isCtrlD(data: string): boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Check if input matches Ctrl+E (raw byte or Kitty protocol).
|
|
122
|
-
*/
|
|
123
|
-
export declare function isCtrlE(data: string): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Check if input matches Ctrl+K (raw byte or Kitty protocol).
|
|
126
|
-
*/
|
|
127
|
-
export declare function isCtrlK(data: string): boolean;
|
|
128
|
-
/**
|
|
129
|
-
* Check if input matches Ctrl+O (raw byte or Kitty protocol).
|
|
130
|
-
*/
|
|
131
|
-
export declare function isCtrlO(data: string): boolean;
|
|
132
|
-
/**
|
|
133
|
-
* Check if input matches Ctrl+P (raw byte or Kitty protocol).
|
|
134
|
-
*/
|
|
135
|
-
export declare function isCtrlP(data: string): boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Check if input matches Ctrl+T (raw byte or Kitty protocol).
|
|
138
|
-
*/
|
|
139
|
-
export declare function isCtrlT(data: string): boolean;
|
|
140
|
-
/**
|
|
141
|
-
* Check if input matches Ctrl+U (raw byte or Kitty protocol).
|
|
142
|
-
*/
|
|
143
|
-
export declare function isCtrlU(data: string): boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Check if input matches Ctrl+W (raw byte or Kitty protocol).
|
|
146
|
-
*/
|
|
147
|
-
export declare function isCtrlW(data: string): boolean;
|
|
148
|
-
/**
|
|
149
|
-
* Check if input matches Alt+Backspace (legacy or Kitty protocol).
|
|
150
|
-
*/
|
|
151
|
-
export declare function isAltBackspace(data: string): boolean;
|
|
152
|
-
/**
|
|
153
|
-
* Check if input matches Shift+Tab (legacy or Kitty protocol).
|
|
154
|
-
*/
|
|
155
|
-
export declare function isShiftTab(data: string): boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Check if input matches Shift+Enter (Kitty protocol only).
|
|
158
|
-
*/
|
|
159
|
-
export declare function isShiftEnter(data: string): boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Check if input matches Alt+Enter (Kitty protocol only).
|
|
162
|
-
*/
|
|
163
|
-
export declare function isAltEnter(data: string): boolean;
|
|
164
|
-
export declare function isEnter(data: string): boolean;
|
|
165
|
-
export declare function isBackspace(data: string): boolean;
|
|
166
|
-
export declare function isDelete(data: string): boolean;
|
|
167
|
-
export declare function isArrowLeft(data: string): boolean;
|
|
168
|
-
export declare function isArrowRight(data: string): boolean;
|
|
169
|
-
export declare function isArrowUp(data: string): boolean;
|
|
170
|
-
export declare function isArrowDown(data: string): boolean;
|
|
171
|
-
export declare function isCtrlLeft(data: string): boolean;
|
|
172
|
-
export declare function isCtrlRight(data: string): boolean;
|
|
173
|
-
export declare function isAltLeft(data: string): boolean;
|
|
174
|
-
export declare function isAltRight(data: string): boolean;
|
|
175
|
-
export declare function isShiftCtrlD(data: string): boolean;
|
|
176
|
-
export declare function isShiftCtrlO(data: string): boolean;
|
|
177
|
-
export declare class Keymap<TContext = unknown> {
|
|
178
|
-
private bindings;
|
|
179
|
-
private sortedBindings;
|
|
180
|
-
register(binding: KeyBinding<TContext>): this;
|
|
181
|
-
registerAll(bindings: KeyBinding<TContext>[]): this;
|
|
182
|
-
getBindings(): KeyBinding<TContext>[];
|
|
183
|
-
handle(key: string, context: TContext): boolean;
|
|
184
|
-
findMatching(key: string, context: TContext): KeyBinding<TContext>[];
|
|
185
|
-
getActiveBindings(context: TContext): KeyBinding<TContext>[];
|
|
186
|
-
generateHelp(context?: TContext): string[];
|
|
187
|
-
}
|
|
188
|
-
export declare function ctrl(code: number): string;
|
|
189
|
-
//# sourceMappingURL=keymap.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keymap.d.ts","sourceRoot":"","sources":["../src/keymap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,WAAW,UAAU,CAAC,QAAQ,GAAG,OAAO;IAC7C,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,KAAK,OAAO,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Bf,CAAC;AAEX,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BX,CAAC;AAsCX;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;CA+BZ,CAAC;AAkBX;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE7C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAA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-
* Declarative keymap system for terminal keyboard handling.
|
|
3
|
-
*
|
|
4
|
-
* ## Kitty Keyboard Protocol Support
|
|
5
|
-
*
|
|
6
|
-
* The Kitty keyboard protocol sends enhanced escape sequences in the format:
|
|
7
|
-
* \x1b[<codepoint>;<modifier>u
|
|
8
|
-
*
|
|
9
|
-
* Modifier values (added to 1):
|
|
10
|
-
* - Shift: 1 (value 2)
|
|
11
|
-
* - Alt: 2 (value 3)
|
|
12
|
-
* - Ctrl: 4 (value 5)
|
|
13
|
-
* - Super: 8 (value 9)
|
|
14
|
-
*
|
|
15
|
-
* See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
|
16
|
-
*/
|
|
17
|
-
export const ControlCodes = {
|
|
18
|
-
CTRL_A: 1,
|
|
19
|
-
CTRL_B: 2,
|
|
20
|
-
CTRL_C: 3,
|
|
21
|
-
CTRL_D: 4,
|
|
22
|
-
CTRL_E: 5,
|
|
23
|
-
CTRL_F: 6,
|
|
24
|
-
CTRL_G: 7,
|
|
25
|
-
CTRL_H: 8,
|
|
26
|
-
CTRL_I: 9,
|
|
27
|
-
CTRL_J: 10,
|
|
28
|
-
CTRL_K: 11,
|
|
29
|
-
CTRL_L: 12,
|
|
30
|
-
CTRL_M: 13,
|
|
31
|
-
CTRL_N: 14,
|
|
32
|
-
CTRL_O: 15,
|
|
33
|
-
CTRL_P: 16,
|
|
34
|
-
CTRL_Q: 17,
|
|
35
|
-
CTRL_R: 18,
|
|
36
|
-
CTRL_S: 19,
|
|
37
|
-
CTRL_T: 20,
|
|
38
|
-
CTRL_U: 21,
|
|
39
|
-
CTRL_V: 22,
|
|
40
|
-
CTRL_W: 23,
|
|
41
|
-
CTRL_X: 24,
|
|
42
|
-
CTRL_Y: 25,
|
|
43
|
-
CTRL_Z: 26,
|
|
44
|
-
ESCAPE: 27,
|
|
45
|
-
BACKSPACE: 127,
|
|
46
|
-
};
|
|
47
|
-
export const AnsiKeys = {
|
|
48
|
-
UP: "\x1b[A",
|
|
49
|
-
DOWN: "\x1b[B",
|
|
50
|
-
RIGHT: "\x1b[C",
|
|
51
|
-
LEFT: "\x1b[D",
|
|
52
|
-
UP_SS3: "\x1bOA",
|
|
53
|
-
DOWN_SS3: "\x1bOB",
|
|
54
|
-
RIGHT_SS3: "\x1bOC",
|
|
55
|
-
LEFT_SS3: "\x1bOD",
|
|
56
|
-
CTRL_LEFT: "\x1b[1;5D",
|
|
57
|
-
CTRL_RIGHT: "\x1b[1;5C",
|
|
58
|
-
CTRL_LEFT_ALT: "\x1b[5D",
|
|
59
|
-
CTRL_RIGHT_ALT: "\x1b[5C",
|
|
60
|
-
ALT_LEFT: "\x1b[1;3D",
|
|
61
|
-
ALT_RIGHT: "\x1b[1;3C",
|
|
62
|
-
HOME: "\x1b[H",
|
|
63
|
-
HOME_ALT1: "\x1b[1~",
|
|
64
|
-
HOME_ALT2: "\x1b[7~",
|
|
65
|
-
END: "\x1b[F",
|
|
66
|
-
END_ALT1: "\x1b[4~",
|
|
67
|
-
END_ALT2: "\x1b[8~",
|
|
68
|
-
DELETE: "\x1b[3~",
|
|
69
|
-
ALT_B: "\x1bb",
|
|
70
|
-
ALT_F: "\x1bf",
|
|
71
|
-
ALT_Y: "\x1by",
|
|
72
|
-
ALT_BACKSPACE: "\x1b\x7f",
|
|
73
|
-
PASTE_START: "\x1b[200~",
|
|
74
|
-
PASTE_END: "\x1b[201~",
|
|
75
|
-
SHIFT_TAB: "\x1b[Z",
|
|
76
|
-
};
|
|
77
|
-
// =============================================================================
|
|
78
|
-
// Kitty Keyboard Protocol
|
|
79
|
-
// =============================================================================
|
|
80
|
-
// Codepoints for common keys
|
|
81
|
-
const KITTY_CODEPOINTS = {
|
|
82
|
-
a: 97,
|
|
83
|
-
c: 99,
|
|
84
|
-
d: 100,
|
|
85
|
-
e: 101,
|
|
86
|
-
k: 107,
|
|
87
|
-
o: 111,
|
|
88
|
-
p: 112,
|
|
89
|
-
t: 116,
|
|
90
|
-
u: 117,
|
|
91
|
-
w: 119,
|
|
92
|
-
tab: 9,
|
|
93
|
-
enter: 13,
|
|
94
|
-
backspace: 127,
|
|
95
|
-
};
|
|
96
|
-
// Modifier bits (before adding 1 per Kitty protocol spec)
|
|
97
|
-
const KITTY_MODIFIERS = {
|
|
98
|
-
shift: 1,
|
|
99
|
-
alt: 2,
|
|
100
|
-
ctrl: 4,
|
|
101
|
-
super: 8,
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Build a Kitty keyboard protocol sequence for a key with modifier.
|
|
105
|
-
*/
|
|
106
|
-
function kittySequence(codepoint, modifier) {
|
|
107
|
-
return `\x1b[${codepoint};${modifier + 1}u`;
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* Kitty keyboard protocol sequences for modern terminals.
|
|
111
|
-
* These are the enhanced escape sequences that terminals like Kitty, WezTerm,
|
|
112
|
-
* and others send when the Kitty keyboard protocol is enabled.
|
|
113
|
-
*/
|
|
114
|
-
export const KittyKeys = {
|
|
115
|
-
// Ctrl+<letter> combinations
|
|
116
|
-
CTRL_A: kittySequence(KITTY_CODEPOINTS.a, KITTY_MODIFIERS.ctrl),
|
|
117
|
-
CTRL_C: kittySequence(KITTY_CODEPOINTS.c, KITTY_MODIFIERS.ctrl),
|
|
118
|
-
CTRL_D: kittySequence(KITTY_CODEPOINTS.d, KITTY_MODIFIERS.ctrl),
|
|
119
|
-
CTRL_E: kittySequence(KITTY_CODEPOINTS.e, KITTY_MODIFIERS.ctrl),
|
|
120
|
-
CTRL_K: kittySequence(KITTY_CODEPOINTS.k, KITTY_MODIFIERS.ctrl),
|
|
121
|
-
CTRL_O: kittySequence(KITTY_CODEPOINTS.o, KITTY_MODIFIERS.ctrl),
|
|
122
|
-
CTRL_P: kittySequence(KITTY_CODEPOINTS.p, KITTY_MODIFIERS.ctrl),
|
|
123
|
-
CTRL_T: kittySequence(KITTY_CODEPOINTS.t, KITTY_MODIFIERS.ctrl),
|
|
124
|
-
CTRL_U: kittySequence(KITTY_CODEPOINTS.u, KITTY_MODIFIERS.ctrl),
|
|
125
|
-
CTRL_W: kittySequence(KITTY_CODEPOINTS.w, KITTY_MODIFIERS.ctrl),
|
|
126
|
-
// Enter combinations
|
|
127
|
-
SHIFT_ENTER: kittySequence(KITTY_CODEPOINTS.enter, KITTY_MODIFIERS.shift),
|
|
128
|
-
ALT_ENTER: kittySequence(KITTY_CODEPOINTS.enter, KITTY_MODIFIERS.alt),
|
|
129
|
-
CTRL_ENTER: kittySequence(KITTY_CODEPOINTS.enter, KITTY_MODIFIERS.ctrl),
|
|
130
|
-
// Tab combinations
|
|
131
|
-
SHIFT_TAB: kittySequence(KITTY_CODEPOINTS.tab, KITTY_MODIFIERS.shift),
|
|
132
|
-
// Backspace combinations
|
|
133
|
-
ALT_BACKSPACE: kittySequence(KITTY_CODEPOINTS.backspace, KITTY_MODIFIERS.alt),
|
|
134
|
-
SHIFT_CTRL_D: kittySequence(KITTY_CODEPOINTS.d, KITTY_MODIFIERS.shift | KITTY_MODIFIERS.ctrl),
|
|
135
|
-
SHIFT_CTRL_O: kittySequence(KITTY_CODEPOINTS.o, KITTY_MODIFIERS.shift | KITTY_MODIFIERS.ctrl),
|
|
136
|
-
};
|
|
137
|
-
// Raw control character codes (for comparison with KittyKeys)
|
|
138
|
-
const RAW_KEYS = {
|
|
139
|
-
CTRL_A: "\x01",
|
|
140
|
-
CTRL_C: "\x03",
|
|
141
|
-
CTRL_D: "\x04",
|
|
142
|
-
CTRL_E: "\x05",
|
|
143
|
-
CTRL_K: "\x0b",
|
|
144
|
-
CTRL_O: "\x0f",
|
|
145
|
-
CTRL_P: "\x10",
|
|
146
|
-
CTRL_T: "\x14",
|
|
147
|
-
CTRL_U: "\x15",
|
|
148
|
-
CTRL_W: "\x17",
|
|
149
|
-
ALT_BACKSPACE: "\x1b\x7f",
|
|
150
|
-
SHIFT_TAB: "\x1b[Z",
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* Check if input matches Ctrl+A (raw byte or Kitty protocol).
|
|
154
|
-
*/
|
|
155
|
-
export function isCtrlA(data) {
|
|
156
|
-
return data === RAW_KEYS.CTRL_A || data === KittyKeys.CTRL_A;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Check if input matches Ctrl+C (raw byte or Kitty protocol).
|
|
160
|
-
*/
|
|
161
|
-
export function isCtrlC(data) {
|
|
162
|
-
return data === RAW_KEYS.CTRL_C || data === KittyKeys.CTRL_C;
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Check if input matches Ctrl+D (raw byte or Kitty protocol).
|
|
166
|
-
*/
|
|
167
|
-
export function isCtrlD(data) {
|
|
168
|
-
return data === RAW_KEYS.CTRL_D || data === KittyKeys.CTRL_D;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Check if input matches Ctrl+E (raw byte or Kitty protocol).
|
|
172
|
-
*/
|
|
173
|
-
export function isCtrlE(data) {
|
|
174
|
-
return data === RAW_KEYS.CTRL_E || data === KittyKeys.CTRL_E;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Check if input matches Ctrl+K (raw byte or Kitty protocol).
|
|
178
|
-
*/
|
|
179
|
-
export function isCtrlK(data) {
|
|
180
|
-
return data === RAW_KEYS.CTRL_K || data === KittyKeys.CTRL_K;
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Check if input matches Ctrl+O (raw byte or Kitty protocol).
|
|
184
|
-
*/
|
|
185
|
-
export function isCtrlO(data) {
|
|
186
|
-
return data === RAW_KEYS.CTRL_O || data === KittyKeys.CTRL_O;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Check if input matches Ctrl+P (raw byte or Kitty protocol).
|
|
190
|
-
*/
|
|
191
|
-
export function isCtrlP(data) {
|
|
192
|
-
return data === RAW_KEYS.CTRL_P || data === KittyKeys.CTRL_P;
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Check if input matches Ctrl+T (raw byte or Kitty protocol).
|
|
196
|
-
*/
|
|
197
|
-
export function isCtrlT(data) {
|
|
198
|
-
return data === RAW_KEYS.CTRL_T || data === KittyKeys.CTRL_T;
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* Check if input matches Ctrl+U (raw byte or Kitty protocol).
|
|
202
|
-
*/
|
|
203
|
-
export function isCtrlU(data) {
|
|
204
|
-
return data === RAW_KEYS.CTRL_U || data === KittyKeys.CTRL_U;
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* Check if input matches Ctrl+W (raw byte or Kitty protocol).
|
|
208
|
-
*/
|
|
209
|
-
export function isCtrlW(data) {
|
|
210
|
-
return data === RAW_KEYS.CTRL_W || data === KittyKeys.CTRL_W;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Check if input matches Alt+Backspace (legacy or Kitty protocol).
|
|
214
|
-
*/
|
|
215
|
-
export function isAltBackspace(data) {
|
|
216
|
-
return data === RAW_KEYS.ALT_BACKSPACE || data === KittyKeys.ALT_BACKSPACE;
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* Check if input matches Shift+Tab (legacy or Kitty protocol).
|
|
220
|
-
*/
|
|
221
|
-
export function isShiftTab(data) {
|
|
222
|
-
return data === RAW_KEYS.SHIFT_TAB || data === KittyKeys.SHIFT_TAB;
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* Check if input matches Shift+Enter (Kitty protocol only).
|
|
226
|
-
*/
|
|
227
|
-
export function isShiftEnter(data) {
|
|
228
|
-
return data === KittyKeys.SHIFT_ENTER;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* Check if input matches Alt+Enter (Kitty protocol only).
|
|
232
|
-
*/
|
|
233
|
-
export function isAltEnter(data) {
|
|
234
|
-
return data === KittyKeys.ALT_ENTER;
|
|
235
|
-
}
|
|
236
|
-
export function isEnter(data) {
|
|
237
|
-
return data === "\r" || data === "\n";
|
|
238
|
-
}
|
|
239
|
-
export function isBackspace(data) {
|
|
240
|
-
return data === "\x7f" || data === "\x08";
|
|
241
|
-
}
|
|
242
|
-
export function isDelete(data) {
|
|
243
|
-
return data === AnsiKeys.DELETE;
|
|
244
|
-
}
|
|
245
|
-
export function isArrowLeft(data) {
|
|
246
|
-
return data === AnsiKeys.LEFT || data === AnsiKeys.LEFT_SS3;
|
|
247
|
-
}
|
|
248
|
-
export function isArrowRight(data) {
|
|
249
|
-
return data === AnsiKeys.RIGHT || data === AnsiKeys.RIGHT_SS3;
|
|
250
|
-
}
|
|
251
|
-
export function isArrowUp(data) {
|
|
252
|
-
return data === AnsiKeys.UP || data === AnsiKeys.UP_SS3;
|
|
253
|
-
}
|
|
254
|
-
export function isArrowDown(data) {
|
|
255
|
-
return data === AnsiKeys.DOWN || data === AnsiKeys.DOWN_SS3;
|
|
256
|
-
}
|
|
257
|
-
export function isCtrlLeft(data) {
|
|
258
|
-
return data === AnsiKeys.CTRL_LEFT || data === AnsiKeys.CTRL_LEFT_ALT;
|
|
259
|
-
}
|
|
260
|
-
export function isCtrlRight(data) {
|
|
261
|
-
return data === AnsiKeys.CTRL_RIGHT || data === AnsiKeys.CTRL_RIGHT_ALT;
|
|
262
|
-
}
|
|
263
|
-
export function isAltLeft(data) {
|
|
264
|
-
return data === AnsiKeys.ALT_LEFT;
|
|
265
|
-
}
|
|
266
|
-
export function isAltRight(data) {
|
|
267
|
-
return data === AnsiKeys.ALT_RIGHT;
|
|
268
|
-
}
|
|
269
|
-
export function isShiftCtrlD(data) {
|
|
270
|
-
return data === KittyKeys.SHIFT_CTRL_D;
|
|
271
|
-
}
|
|
272
|
-
export function isShiftCtrlO(data) {
|
|
273
|
-
return data === KittyKeys.SHIFT_CTRL_O;
|
|
274
|
-
}
|
|
275
|
-
export class Keymap {
|
|
276
|
-
constructor() {
|
|
277
|
-
this.bindings = [];
|
|
278
|
-
this.sortedBindings = null;
|
|
279
|
-
}
|
|
280
|
-
register(binding) {
|
|
281
|
-
this.bindings.push(binding);
|
|
282
|
-
this.sortedBindings = null;
|
|
283
|
-
return this;
|
|
284
|
-
}
|
|
285
|
-
registerAll(bindings) {
|
|
286
|
-
for (const binding of bindings)
|
|
287
|
-
this.register(binding);
|
|
288
|
-
return this;
|
|
289
|
-
}
|
|
290
|
-
getBindings() {
|
|
291
|
-
if (!this.sortedBindings) {
|
|
292
|
-
this.sortedBindings = [...this.bindings].sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));
|
|
293
|
-
}
|
|
294
|
-
return this.sortedBindings;
|
|
295
|
-
}
|
|
296
|
-
handle(key, context) {
|
|
297
|
-
for (const binding of this.getBindings()) {
|
|
298
|
-
if (binding.when && !binding.when(context))
|
|
299
|
-
continue;
|
|
300
|
-
for (const pattern of binding.keys) {
|
|
301
|
-
if (key === pattern ||
|
|
302
|
-
(key.length === 1 &&
|
|
303
|
-
pattern.length === 1 &&
|
|
304
|
-
key.charCodeAt(0) === pattern.charCodeAt(0))) {
|
|
305
|
-
binding.handler(context);
|
|
306
|
-
return true;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
return false;
|
|
311
|
-
}
|
|
312
|
-
findMatching(key, context) {
|
|
313
|
-
return this.getBindings().filter((binding) => {
|
|
314
|
-
if (binding.when && !binding.when(context))
|
|
315
|
-
return false;
|
|
316
|
-
return binding.keys.some((pattern) => key === pattern);
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
getActiveBindings(context) {
|
|
320
|
-
return this.getBindings().filter((b) => !b.when || b.when(context));
|
|
321
|
-
}
|
|
322
|
-
generateHelp(context) {
|
|
323
|
-
const bindings = context
|
|
324
|
-
? this.getActiveBindings(context)
|
|
325
|
-
: this.getBindings();
|
|
326
|
-
return bindings.map((b) => {
|
|
327
|
-
const keys = b.keys.map((k) => formatKey(k)).join(", ");
|
|
328
|
-
return `${keys.padEnd(20)} ${b.description}`;
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
export function ctrl(code) {
|
|
333
|
-
return String.fromCharCode(code);
|
|
334
|
-
}
|
|
335
|
-
function formatKey(key) {
|
|
336
|
-
if (key.length === 1) {
|
|
337
|
-
const code = key.charCodeAt(0);
|
|
338
|
-
if (code >= 1 && code <= 26)
|
|
339
|
-
return `Ctrl+${String.fromCharCode(code + 64)}`;
|
|
340
|
-
if (code === 27)
|
|
341
|
-
return "Escape";
|
|
342
|
-
if (code === 127)
|
|
343
|
-
return "Backspace";
|
|
344
|
-
if (code === 13)
|
|
345
|
-
return "Enter";
|
|
346
|
-
if (code === 9)
|
|
347
|
-
return "Tab";
|
|
348
|
-
}
|
|
349
|
-
const names = {
|
|
350
|
-
[AnsiKeys.UP]: "Up",
|
|
351
|
-
[AnsiKeys.DOWN]: "Down",
|
|
352
|
-
[AnsiKeys.LEFT]: "Left",
|
|
353
|
-
[AnsiKeys.RIGHT]: "Right",
|
|
354
|
-
[AnsiKeys.HOME]: "Home",
|
|
355
|
-
[AnsiKeys.END]: "End",
|
|
356
|
-
[AnsiKeys.DELETE]: "Delete",
|
|
357
|
-
[AnsiKeys.ALT_B]: "Alt+B",
|
|
358
|
-
[AnsiKeys.ALT_F]: "Alt+F",
|
|
359
|
-
[AnsiKeys.ALT_Y]: "Alt+Y",
|
|
360
|
-
};
|
|
361
|
-
return names[key] ?? (key.startsWith("\x1b") ? `ESC+${key.slice(1)}` : key);
|
|
362
|
-
}
|
|
363
|
-
//# sourceMappingURL=keymap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keymap.js","sourceRoot":"","sources":["../src/keymap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAUH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;IACT,MAAM,EAA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n * ## Kitty Keyboard Protocol Support\n *\n * The Kitty keyboard protocol sends enhanced escape sequences in the format:\n * \\x1b[<codepoint>;<modifier>u\n *\n * Modifier values (added to 1):\n * - Shift: 1 (value 2)\n * - Alt: 2 (value 3)\n * - Ctrl: 4 (value 5)\n * - Super: 8 (value 9)\n *\n * See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/\n */\n\nexport interface KeyBinding<TContext = unknown> {\n\tkeys: string[];\n\thandler: (context: TContext) => void;\n\tdescription: string;\n\twhen?: (context: TContext) => boolean;\n\tpriority?: number;\n}\n\nexport const ControlCodes = {\n\tCTRL_A: 1,\n\tCTRL_B: 2,\n\tCTRL_C: 3,\n\tCTRL_D: 4,\n\tCTRL_E: 5,\n\tCTRL_F: 6,\n\tCTRL_G: 7,\n\tCTRL_H: 8,\n\tCTRL_I: 9,\n\tCTRL_J: 10,\n\tCTRL_K: 11,\n\tCTRL_L: 12,\n\tCTRL_M: 13,\n\tCTRL_N: 14,\n\tCTRL_O: 15,\n\tCTRL_P: 16,\n\tCTRL_Q: 17,\n\tCTRL_R: 18,\n\tCTRL_S: 19,\n\tCTRL_T: 20,\n\tCTRL_U: 21,\n\tCTRL_V: 22,\n\tCTRL_W: 23,\n\tCTRL_X: 24,\n\tCTRL_Y: 25,\n\tCTRL_Z: 26,\n\tESCAPE: 27,\n\tBACKSPACE: 127,\n} as const;\n\nexport const AnsiKeys = {\n\tUP: \"\\x1b[A\",\n\tDOWN: \"\\x1b[B\",\n\tRIGHT: \"\\x1b[C\",\n\tLEFT: \"\\x1b[D\",\n\tUP_SS3: \"\\x1bOA\",\n\tDOWN_SS3: \"\\x1bOB\",\n\tRIGHT_SS3: \"\\x1bOC\",\n\tLEFT_SS3: \"\\x1bOD\",\n\tCTRL_LEFT: \"\\x1b[1;5D\",\n\tCTRL_RIGHT: \"\\x1b[1;5C\",\n\tCTRL_LEFT_ALT: \"\\x1b[5D\",\n\tCTRL_RIGHT_ALT: \"\\x1b[5C\",\n\tALT_LEFT: \"\\x1b[1;3D\",\n\tALT_RIGHT: \"\\x1b[1;3C\",\n\tHOME: \"\\x1b[H\",\n\tHOME_ALT1: \"\\x1b[1~\",\n\tHOME_ALT2: \"\\x1b[7~\",\n\tEND: \"\\x1b[F\",\n\tEND_ALT1: \"\\x1b[4~\",\n\tEND_ALT2: \"\\x1b[8~\",\n\tDELETE: \"\\x1b[3~\",\n\tALT_B: \"\\x1bb\",\n\tALT_F: \"\\x1bf\",\n\tALT_Y: \"\\x1by\",\n\tALT_BACKSPACE: \"\\x1b\\x7f\",\n\tPASTE_START: \"\\x1b[200~\",\n\tPASTE_END: \"\\x1b[201~\",\n\tSHIFT_TAB: \"\\x1b[Z\",\n} as const;\n\n// =============================================================================\n// Kitty Keyboard Protocol\n// =============================================================================\n\n// Codepoints for common keys\nconst KITTY_CODEPOINTS = {\n\ta: 97,\n\tc: 99,\n\td: 100,\n\te: 101,\n\tk: 107,\n\to: 111,\n\tp: 112,\n\tt: 116,\n\tu: 117,\n\tw: 119,\n\ttab: 9,\n\tenter: 13,\n\tbackspace: 127,\n} as const;\n\n// Modifier bits (before adding 1 per Kitty protocol spec)\nconst KITTY_MODIFIERS = {\n\tshift: 1,\n\talt: 2,\n\tctrl: 4,\n\tsuper: 8,\n} as const;\n\n/**\n * Build a Kitty keyboard protocol sequence for a key with modifier.\n */\nfunction kittySequence(codepoint: number, modifier: number): string {\n\treturn `\\x1b[${codepoint};${modifier + 1}u`;\n}\n\n/**\n * Kitty keyboard protocol sequences for modern terminals.\n * These are the enhanced escape sequences that terminals like Kitty, WezTerm,\n * and others send when the Kitty keyboard protocol is enabled.\n */\nexport const KittyKeys = {\n\t// Ctrl+<letter> combinations\n\tCTRL_A: kittySequence(KITTY_CODEPOINTS.a, KITTY_MODIFIERS.ctrl),\n\tCTRL_C: kittySequence(KITTY_CODEPOINTS.c, KITTY_MODIFIERS.ctrl),\n\tCTRL_D: kittySequence(KITTY_CODEPOINTS.d, KITTY_MODIFIERS.ctrl),\n\tCTRL_E: kittySequence(KITTY_CODEPOINTS.e, KITTY_MODIFIERS.ctrl),\n\tCTRL_K: kittySequence(KITTY_CODEPOINTS.k, KITTY_MODIFIERS.ctrl),\n\tCTRL_O: kittySequence(KITTY_CODEPOINTS.o, KITTY_MODIFIERS.ctrl),\n\tCTRL_P: kittySequence(KITTY_CODEPOINTS.p, KITTY_MODIFIERS.ctrl),\n\tCTRL_T: kittySequence(KITTY_CODEPOINTS.t, KITTY_MODIFIERS.ctrl),\n\tCTRL_U: kittySequence(KITTY_CODEPOINTS.u, KITTY_MODIFIERS.ctrl),\n\tCTRL_W: kittySequence(KITTY_CODEPOINTS.w, KITTY_MODIFIERS.ctrl),\n\n\t// Enter combinations\n\tSHIFT_ENTER: kittySequence(KITTY_CODEPOINTS.enter, KITTY_MODIFIERS.shift),\n\tALT_ENTER: kittySequence(KITTY_CODEPOINTS.enter, KITTY_MODIFIERS.alt),\n\tCTRL_ENTER: kittySequence(KITTY_CODEPOINTS.enter, KITTY_MODIFIERS.ctrl),\n\n\t// Tab combinations\n\tSHIFT_TAB: kittySequence(KITTY_CODEPOINTS.tab, KITTY_MODIFIERS.shift),\n\n\t// Backspace combinations\n\tALT_BACKSPACE: kittySequence(KITTY_CODEPOINTS.backspace, KITTY_MODIFIERS.alt),\n\tSHIFT_CTRL_D: kittySequence(\n\t\tKITTY_CODEPOINTS.d,\n\t\tKITTY_MODIFIERS.shift | KITTY_MODIFIERS.ctrl,\n\t),\n\tSHIFT_CTRL_O: kittySequence(\n\t\tKITTY_CODEPOINTS.o,\n\t\tKITTY_MODIFIERS.shift | KITTY_MODIFIERS.ctrl,\n\t),\n} as const;\n\n// Raw control character codes (for comparison with KittyKeys)\nconst RAW_KEYS = {\n\tCTRL_A: \"\\x01\",\n\tCTRL_C: \"\\x03\",\n\tCTRL_D: \"\\x04\",\n\tCTRL_E: \"\\x05\",\n\tCTRL_K: \"\\x0b\",\n\tCTRL_O: \"\\x0f\",\n\tCTRL_P: \"\\x10\",\n\tCTRL_T: \"\\x14\",\n\tCTRL_U: \"\\x15\",\n\tCTRL_W: \"\\x17\",\n\tALT_BACKSPACE: \"\\x1b\\x7f\",\n\tSHIFT_TAB: \"\\x1b[Z\",\n} as const;\n\n/**\n * Check if input matches Ctrl+A (raw byte or Kitty protocol).\n */\nexport function isCtrlA(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_A || data === KittyKeys.CTRL_A;\n}\n\n/**\n * Check if input matches Ctrl+C (raw byte or Kitty protocol).\n */\nexport function isCtrlC(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_C || data === KittyKeys.CTRL_C;\n}\n\n/**\n * Check if input matches Ctrl+D (raw byte or Kitty protocol).\n */\nexport function isCtrlD(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_D || data === KittyKeys.CTRL_D;\n}\n\n/**\n * Check if input matches Ctrl+E (raw byte or Kitty protocol).\n */\nexport function isCtrlE(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_E || data === KittyKeys.CTRL_E;\n}\n\n/**\n * Check if input matches Ctrl+K (raw byte or Kitty protocol).\n */\nexport function isCtrlK(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_K || data === KittyKeys.CTRL_K;\n}\n\n/**\n * Check if input matches Ctrl+O (raw byte or Kitty protocol).\n */\nexport function isCtrlO(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_O || data === KittyKeys.CTRL_O;\n}\n\n/**\n * Check if input matches Ctrl+P (raw byte or Kitty protocol).\n */\nexport function isCtrlP(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_P || data === KittyKeys.CTRL_P;\n}\n\n/**\n * Check if input matches Ctrl+T (raw byte or Kitty protocol).\n */\nexport function isCtrlT(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_T || data === KittyKeys.CTRL_T;\n}\n\n/**\n * Check if input matches Ctrl+U (raw byte or Kitty protocol).\n */\nexport function isCtrlU(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_U || data === KittyKeys.CTRL_U;\n}\n\n/**\n * Check if input matches Ctrl+W (raw byte or Kitty protocol).\n */\nexport function isCtrlW(data: string): boolean {\n\treturn data === RAW_KEYS.CTRL_W || data === KittyKeys.CTRL_W;\n}\n\n/**\n * Check if input matches Alt+Backspace (legacy or Kitty protocol).\n */\nexport function isAltBackspace(data: string): boolean {\n\treturn data === RAW_KEYS.ALT_BACKSPACE || data === KittyKeys.ALT_BACKSPACE;\n}\n\n/**\n * Check if input matches Shift+Tab (legacy or Kitty protocol).\n */\nexport function isShiftTab(data: string): boolean {\n\treturn data === RAW_KEYS.SHIFT_TAB || data === KittyKeys.SHIFT_TAB;\n}\n\n/**\n * Check if input matches Shift+Enter (Kitty protocol only).\n */\nexport function isShiftEnter(data: string): boolean {\n\treturn data === KittyKeys.SHIFT_ENTER;\n}\n\n/**\n * Check if input matches Alt+Enter (Kitty protocol only).\n */\nexport function isAltEnter(data: string): boolean {\n\treturn data === KittyKeys.ALT_ENTER;\n}\n\nexport function isEnter(data: string): boolean {\n\treturn data === \"\\r\" || data === \"\\n\";\n}\n\nexport function isBackspace(data: string): boolean {\n\treturn data === \"\\x7f\" || data === \"\\x08\";\n}\n\nexport function isDelete(data: string): boolean {\n\treturn data === AnsiKeys.DELETE;\n}\n\nexport function isArrowLeft(data: string): boolean {\n\treturn data === AnsiKeys.LEFT || data === AnsiKeys.LEFT_SS3;\n}\n\nexport function isArrowRight(data: string): boolean {\n\treturn data === AnsiKeys.RIGHT || data === AnsiKeys.RIGHT_SS3;\n}\n\nexport function isArrowUp(data: string): boolean {\n\treturn data === AnsiKeys.UP || data === AnsiKeys.UP_SS3;\n}\n\nexport function isArrowDown(data: string): boolean {\n\treturn data === AnsiKeys.DOWN || data === AnsiKeys.DOWN_SS3;\n}\n\nexport function isCtrlLeft(data: string): boolean {\n\treturn data === AnsiKeys.CTRL_LEFT || data === AnsiKeys.CTRL_LEFT_ALT;\n}\n\nexport function isCtrlRight(data: string): boolean {\n\treturn data === AnsiKeys.CTRL_RIGHT || data === AnsiKeys.CTRL_RIGHT_ALT;\n}\n\nexport function isAltLeft(data: string): boolean {\n\treturn data === AnsiKeys.ALT_LEFT;\n}\n\nexport function isAltRight(data: string): boolean {\n\treturn data === AnsiKeys.ALT_RIGHT;\n}\n\nexport function isShiftCtrlD(data: string): boolean {\n\treturn data === KittyKeys.SHIFT_CTRL_D;\n}\n\nexport function isShiftCtrlO(data: string): boolean {\n\treturn data === KittyKeys.SHIFT_CTRL_O;\n}\n\nexport class Keymap<TContext = unknown> {\n\tprivate bindings: KeyBinding<TContext>[] = [];\n\tprivate sortedBindings: KeyBinding<TContext>[] | null = null;\n\n\tregister(binding: KeyBinding<TContext>): this {\n\t\tthis.bindings.push(binding);\n\t\tthis.sortedBindings = null;\n\t\treturn this;\n\t}\n\n\tregisterAll(bindings: KeyBinding<TContext>[]): this {\n\t\tfor (const binding of bindings) this.register(binding);\n\t\treturn this;\n\t}\n\n\tgetBindings(): KeyBinding<TContext>[] {\n\t\tif (!this.sortedBindings) {\n\t\t\tthis.sortedBindings = [...this.bindings].sort(\n\t\t\t\t(a, b) => (b.priority ?? 0) - (a.priority ?? 0),\n\t\t\t);\n\t\t}\n\t\treturn this.sortedBindings;\n\t}\n\n\thandle(key: string, context: TContext): boolean {\n\t\tfor (const binding of this.getBindings()) {\n\t\t\tif (binding.when && !binding.when(context)) continue;\n\t\t\tfor (const pattern of binding.keys) {\n\t\t\t\tif (\n\t\t\t\t\tkey === pattern ||\n\t\t\t\t\t(key.length === 1 &&\n\t\t\t\t\t\tpattern.length === 1 &&\n\t\t\t\t\t\tkey.charCodeAt(0) === pattern.charCodeAt(0))\n\t\t\t\t) {\n\t\t\t\t\tbinding.handler(context);\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}\n\n\tfindMatching(key: string, context: TContext): KeyBinding<TContext>[] {\n\t\treturn this.getBindings().filter((binding) => {\n\t\t\tif (binding.when && !binding.when(context)) return false;\n\t\t\treturn binding.keys.some((pattern) => key === pattern);\n\t\t});\n\t}\n\n\tgetActiveBindings(context: TContext): KeyBinding<TContext>[] {\n\t\treturn this.getBindings().filter((b) => !b.when || b.when(context));\n\t}\n\n\tgenerateHelp(context?: TContext): string[] {\n\t\tconst bindings = context\n\t\t\t? this.getActiveBindings(context)\n\t\t\t: this.getBindings();\n\t\treturn bindings.map((b) => {\n\t\t\tconst keys = b.keys.map((k) => formatKey(k)).join(\", \");\n\t\t\treturn `${keys.padEnd(20)} ${b.description}`;\n\t\t});\n\t}\n}\n\nexport function ctrl(code: number): string {\n\treturn String.fromCharCode(code);\n}\n\nfunction formatKey(key: string): string {\n\tif (key.length === 1) {\n\t\tconst code = key.charCodeAt(0);\n\t\tif (code >= 1 && code <= 26)\n\t\t\treturn `Ctrl+${String.fromCharCode(code + 64)}`;\n\t\tif (code === 27) return \"Escape\";\n\t\tif (code === 127) return \"Backspace\";\n\t\tif (code === 13) return \"Enter\";\n\t\tif (code === 9) return \"Tab\";\n\t}\n\tconst names: Record<string, string> = {\n\t\t[AnsiKeys.UP]: \"Up\",\n\t\t[AnsiKeys.DOWN]: \"Down\",\n\t\t[AnsiKeys.LEFT]: \"Left\",\n\t\t[AnsiKeys.RIGHT]: \"Right\",\n\t\t[AnsiKeys.HOME]: \"Home\",\n\t\t[AnsiKeys.END]: \"End\",\n\t\t[AnsiKeys.DELETE]: \"Delete\",\n\t\t[AnsiKeys.ALT_B]: \"Alt+B\",\n\t\t[AnsiKeys.ALT_F]: \"Alt+F\",\n\t\t[AnsiKeys.ALT_Y]: \"Alt+Y\",\n\t};\n\treturn names[key] ?? (key.startsWith(\"\\x1b\") ? `ESC+${key.slice(1)}` : key);\n}\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Main entry point for rendering Mermaid diagrams to ASCII art.
|
|
3
|
-
*
|
|
4
|
-
* This function handles caching and orchestrates the parsing and rendering
|
|
5
|
-
* pipeline. It returns null for diagrams that cannot be rendered (invalid
|
|
6
|
-
* syntax, unsupported features, or insufficient width).
|
|
7
|
-
*
|
|
8
|
-
* @param source - Raw Mermaid diagram source code
|
|
9
|
-
* @param width - Available terminal width in characters
|
|
10
|
-
* @returns Array of rendered lines, or null if rendering fails
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* const lines = renderMermaidDiagram(`
|
|
15
|
-
* graph TD
|
|
16
|
-
* A[Start] --> B[Process]
|
|
17
|
-
* B --> C[End]
|
|
18
|
-
* `, 80);
|
|
19
|
-
* if (lines) {
|
|
20
|
-
* lines.forEach(line => console.log(line));
|
|
21
|
-
* }
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare function renderMermaidDiagram(source: string, width: number): string[] | null;
|
|
25
|
-
//# sourceMappingURL=mermaid-renderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mermaid-renderer.d.ts","sourceRoot":"","sources":["../src/mermaid-renderer.ts"],"names":[],"mappings":"AA4JA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oBAAoB,CACnC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACX,MAAM,EAAE,GAAG,IAAI,CAmBjB"}
|