@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-view.js","sourceRoot":"","sources":["../../../src/cli-tui/session/session-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAO5C,OAAO,EACN,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,GACvB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EACN,KAAK,EACL,OAAO,EACP,YAAY,EACZ,KAAK,EACL,SAAS,I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I,CAAC,EAAE,CAC9D,CAAC;QACH,CAAC;QACD,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;YACnB,OAAO,IAAI,CAAC;QACb,CAAC;QACD,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC;EACnC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;IACpB,CAAC;IAEO,OAAO,CAAC,IAAY,EAAE,KAAK,GAAG,GAAG;QACxC,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;QACpD,IAAI,UAAU,CAAC,MAAM,IAAI,KAAK,EAAE,CAAC;YAChC,OAAO,UAAU,CAAC;QACnB,CAAC;QACD,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC;IAC7C,CAAC;IAEO,uBAAuB;QAC9B,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC;QACjE,IAAI,CAAC,WAAW,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,CAAC;YAC9C,IAAI,CAAC,OAAO,CAAC,eAAe,CAC3B,qEAAqE,CACrE,CAAC;YACF,OAAO,IAAI,CAAC;QACb,CAAC;QACD,OAAO,WAAW,CAAC;IACpB,CAAC;CACD","sourcesContent":["import { existsSync } from \"node:fs\";\nimport type { Container, TUI } from \"@evalops/tui\";\nimport { Spacer, Text } from \"@evalops/tui\";\nimport type { Agent } from \"../../agent/agent.js\";\nimport type {\n\tAgentState,\n\tAppMessage,\n\tAssistantMessage,\n} from \"../../agent/types.js\";\nimport {\n\tbuildConversationModel,\n\tisRenderableAssistantMessage,\n\tisRenderableToolResultMessage,\n\tisRenderableUserMessage,\n} from \"../../conversation/render-model.js\";\nimport type { SessionManager } from \"../../session/manager.js\";\nimport {\n\tbadge,\n\theading,\n\tlabeledValue,\n\tmuted,\n\tseparator as themedSeparator,\n} from \"../../style/theme.js\";\nimport { normalizeUsage } from \"../utils/footer-utils.js\";\nimport type { SessionArtifacts, SessionContext } from \"./session-context.js\";\nimport type {\n\tSessionDataProvider,\n\tSessionItem,\n} from \"./session-data-provider.js\";\n\ninterface SessionViewOptions {\n\tagent: Agent;\n\tsessionManager: SessionManager;\n\tchatContainer: Container;\n\tui: TUI;\n\tsessionDataProvider: SessionDataProvider;\n\topenSessionSwitcher: () => void;\n\tsummarizeSession: (session: SessionItem) => Promise<void>;\n\tapplyLoadedSessionContext: () => void;\n\tshowInfoMessage: (message: string) => void;\n\tonSessionLoaded: (session: {\n\t\tid: string;\n\t\tmessageCount: number;\n\t\tresumeSummary?: string;\n\t}) => void;\n\tsessionContext: SessionContext;\n}\n\nexport class SessionView {\n\tconstructor(private readonly options: SessionViewOptions) {}\n\n\tshowSessionInfo(): void {\n\t\tconst sessionFile = this.options.sessionManager.getSessionFile();\n\t\tconst state = this.options.agent.state;\n\n\t\tconst renderables = buildConversationModel(state.messages as AppMessage[]);\n\t\tconst userMessages = renderables.filter((message) =>\n\t\t\tisRenderableUserMessage(message),\n\t\t).length;\n\t\tconst assistantMessages = renderables.filter((message) =>\n\t\t\tisRenderableAssistantMessage(message),\n\t\t).length;\n\t\tconst toolResults = renderables.filter((message) =>\n\t\t\tisRenderableToolResultMessage(message),\n\t\t).length;\n\t\tconst totalMessages = renderables.length;\n\t\tconst toolCalls = renderables\n\t\t\t.filter((message) => isRenderableAssistantMessage(message))\n\t\t\t.reduce((sum, message) => sum + message.toolCalls.length, 0);\n\n\t\tlet totalInput = 0;\n\t\tlet totalOutput = 0;\n\t\tlet totalCacheRead = 0;\n\t\tlet totalCacheWrite = 0;\n\t\tlet totalCost = 0;\n\n\t\tfor (const message of state.messages) {\n\t\t\tif (message.role === \"assistant\") {\n\t\t\t\tconst assistantMsg = message as AssistantMessage;\n\t\t\t\tconst usage = normalizeUsage(assistantMsg.usage);\n\t\t\t\ttotalInput += usage.input;\n\t\t\t\ttotalOutput += usage.output;\n\t\t\t\ttotalCacheRead += usage.cacheRead;\n\t\t\t\ttotalCacheWrite += usage.cacheWrite;\n\t\t\t\ttotalCost += usage.cost.total;\n\t\t\t}\n\t\t}\n\n\t\tconst totalTokens =\n\t\t\ttotalInput + totalOutput + totalCacheRead + totalCacheWrite;\n\n\t\tconst sessionMeta = [\n\t\t\theading(\"Session overview\"),\n\t\t\tlabeledValue(\"File\", sessionFile ?? muted(\"(not yet persisted)\")),\n\t\t\tlabeledValue(\n\t\t\t\t\"ID\",\n\t\t\t\tthis.options.sessionManager.getSessionId() ?? muted(\"(unset)\"),\n\t\t\t),\n\t\t\t\"\",\n\t\t];\n\n\t\tconst messageBlock = [\n\t\t\tbadge(\"Messages\", undefined, \"info\"),\n\t\t\t` ${labeledValue(\"User\", userMessages.toString())}`,\n\t\t\t` ${labeledValue(\"Assistant\", assistantMessages.toString())}`,\n\t\t\t` ${labeledValue(\"Tool Calls\", toolCalls.toString())}`,\n\t\t\t` ${labeledValue(\"Tool Results\", toolResults.toString())}`,\n\t\t\t` ${labeledValue(\"Total\", totalMessages.toString())}`,\n\t\t].join(\"\\n\");\n\n\t\tconst tokenLines = [\n\t\t\tbadge(\"Tokens\", undefined, \"info\"),\n\t\t\t` ${labeledValue(\"Input\", totalInput.toLocaleString())}`,\n\t\t\t` ${labeledValue(\"Output\", totalOutput.toLocaleString())}`,\n\t\t];\n\t\tif (totalCacheRead > 0) {\n\t\t\ttokenLines.push(\n\t\t\t\t` ${labeledValue(\"Cache Read\", totalCacheRead.toLocaleString())}`,\n\t\t\t);\n\t\t}\n\t\tif (totalCacheWrite > 0) {\n\t\t\ttokenLines.push(\n\t\t\t\t` ${labeledValue(\"Cache Write\", totalCacheWrite.toLocaleString())}`,\n\t\t\t);\n\t\t}\n\t\ttokenLines.push(` ${labeledValue(\"Total\", totalTokens.toLocaleString())}`);\n\n\t\tconst sections = [...sessionMeta, messageBlock, \"\", tokenLines.join(\"\\n\")];\n\t\tif (totalCost > 0) {\n\t\t\tsections.push(\n\t\t\t\t\"\",\n\t\t\t\t[\n\t\t\t\t\tbadge(\"Cost\", undefined, \"warn\"),\n\t\t\t\t\t` ${labeledValue(\"Total\", totalCost.toFixed(4))}`,\n\t\t\t\t].join(\"\\n\"),\n\t\t\t);\n\t\t}\n\n\t\tconst recentContext = this.renderRecentContext();\n\t\tif (recentContext) {\n\t\t\tsections.push(\"\", recentContext);\n\t\t}\n\n\t\tconst artifactSection = this.renderArtifacts();\n\t\tif (artifactSection) {\n\t\t\tsections.push(\"\", artifactSection);\n\t\t}\n\n\t\tconst info = sections.join(\"\\n\");\n\t\tthis.options.chatContainer.addChild(new Spacer(1));\n\t\tthis.options.chatContainer.addChild(new Text(info, 1, 0));\n\t\tthis.options.ui.requestRender();\n\t}\n\n\tshowSessionsList(\n\t\tsessions: Array<{\n\t\t\tpath: string;\n\t\t\tid: string;\n\t\t\tcreated: Date;\n\t\t\tmodified: Date;\n\t\t\tmessageCount: number;\n\t\t\tfirstMessage: string;\n\t\t\tallMessagesText: string;\n\t\t}>,\n\t): void {\n\t\tthis.options.chatContainer.addChild(new Spacer(1));\n\t\tif (sessions.length === 0) {\n\t\t\tthis.options.chatContainer.addChild(\n\t\t\t\tnew Text(muted(\"No saved sessions for this project.\"), 1, 0),\n\t\t\t);\n\t\t\tthis.options.ui.requestRender();\n\t\t\treturn;\n\t\t}\n\t\tconst lines = sessions.slice(0, 5).map((session, idx) => {\n\t\t\tconst preview = session.firstMessage\n\t\t\t\t? session.firstMessage.slice(0, 60)\n\t\t\t\t: \"(no messages)\";\n\t\t\tconst badgeLabel = badge(`#${idx + 1}`, session.id.slice(0, 8), \"info\");\n\t\t\tconst meta = `${muted(session.modified.toLocaleString())}${themedSeparator()}${muted(`${session.messageCount} msgs`)}`;\n\t\t\treturn `${badgeLabel} ${themedSeparator()} ${meta}\n\t${muted(preview)}`;\n\t\t});\n\t\tconst body = `${heading(\"Sessions\")}\n${lines.join(\"\\n\")}\n\n${muted(\"Use /sessions load <number> to switch.\")}`;\n\t\tthis.options.chatContainer.addChild(new Text(body, 1, 0));\n\t\tthis.options.ui.requestRender();\n\t}\n\n\tloadSession(index: number, sessions: SessionItem[]): boolean {\n\t\tif (!Number.isFinite(index) || index <= 0) {\n\t\t\tthis.options.showInfoMessage(\"Usage: /sessions load <number>\");\n\t\t\treturn false;\n\t\t}\n\t\tif (sessions.length === 0) {\n\t\t\tthis.options.showInfoMessage(\"No saved sessions to load.\");\n\t\t\treturn false;\n\t\t}\n\t\tconst selected = sessions[index - 1];\n\t\tif (!selected) {\n\t\t\tthis.options.showInfoMessage(`No session #${index} found.`);\n\t\t\treturn false;\n\t\t}\n\t\treturn this.loadSessionFromItem(selected);\n\t}\n\n\tloadSessionFromItem(session: SessionItem): boolean {\n\t\tif (!session?.path) {\n\t\t\tthis.options.showInfoMessage(\"Unable to load that session.\");\n\t\t\treturn false;\n\t\t}\n\t\tthis.options.sessionManager.setSessionFile(session.path);\n\t\tconst loaded = this.options.sessionManager.loadMessages() as AppMessage[];\n\t\tthis.options.agent.replaceMessages(loaded);\n\t\tthis.options.applyLoadedSessionContext();\n\t\tthis.options.onSessionLoaded({\n\t\t\tid: session.id,\n\t\t\tmessageCount: session.messageCount,\n\t\t\tresumeSummary: session.resumeSummary,\n\t\t});\n\t\treturn true;\n\t}\n\n\thandleSessionCommand(text: string): void {\n\t\tconst parts = text.trim().split(/\\s+/);\n\t\tconst action = parts[1];\n\t\tif (parts.length === 1 || action === \"info\") {\n\t\t\tthis.showSessionInfo();\n\t\t\treturn;\n\t\t}\n\n\t\tif (action && [\"favorite\", \"fav\", \"star\"].includes(action)) {\n\t\t\tconst sessionPath = this.getPersistedSessionPath();\n\t\t\tif (!sessionPath) return;\n\t\t\tthis.options.sessionManager.setSessionFavorite(sessionPath, true);\n\t\t\tthis.options.sessionDataProvider.refresh();\n\t\t\tthis.options.showInfoMessage(\"Favorited current session.\");\n\t\t\treturn;\n\t\t}\n\n\t\tif (action && [\"unfavorite\", \"unfav\", \"unstar\"].includes(action)) {\n\t\t\tconst sessionPath = this.getPersistedSessionPath();\n\t\t\tif (!sessionPath) return;\n\t\t\tthis.options.sessionManager.setSessionFavorite(sessionPath, false);\n\t\t\tthis.options.sessionDataProvider.refresh();\n\t\t\tthis.options.showInfoMessage(\"Removed favorite from current session.\");\n\t\t\treturn;\n\t\t}\n\n\t\tif (action === \"summary\") {\n\t\t\tconst summary = parts.slice(2).join(\" \").trim();\n\t\t\tif (!summary) {\n\t\t\t\tthis.options.showInfoMessage(\"Usage: /session summary <text>\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst sessionPath = this.getPersistedSessionPath();\n\t\t\tif (!sessionPath) return;\n\t\t\tthis.options.sessionManager.saveSessionSummary(summary, sessionPath);\n\t\t\tthis.options.sessionDataProvider.refresh();\n\t\t\tthis.options.showInfoMessage(\"Saved session summary.\");\n\t\t\treturn;\n\t\t}\n\n\t\tthis.options.showInfoMessage(\n\t\t\t\"Usage: /session [info|favorite|unfavorite|summary <text>]\",\n\t\t);\n\t}\n\n\thandleSessionsCommand(text: string): void {\n\t\tconst parts = text.trim().split(/\\s+/);\n\t\tconst subCommand = parts[1];\n\t\tconst arg = parts[2];\n\t\tif (parts.length === 1) {\n\t\t\tthis.options.openSessionSwitcher();\n\t\t\treturn;\n\t\t}\n\n\t\tif (subCommand === \"list\") {\n\t\t\tif (arg === \"text\") {\n\t\t\t\tconst sessions = this.options.sessionDataProvider.loadSessions();\n\t\t\t\tthis.showSessionsList(sessions);\n\t\t\t} else {\n\t\t\t\tthis.options.openSessionSwitcher();\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tconst sessions = this.options.sessionDataProvider.loadSessions();\n\n\t\tif (subCommand === \"load\" && arg) {\n\t\t\tconst index = Number.parseInt(arg, 10);\n\t\t\tif (!this.loadSession(index, sessions)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\tif (subCommand && [\"favorite\", \"fav\", \"star\"].includes(subCommand) && arg) {\n\t\t\tconst index = Number.parseInt(arg, 10);\n\t\t\tif (!Number.isFinite(index) || index <= 0) {\n\t\t\t\tthis.options.showInfoMessage(\"Usage: /sessions favorite <number>\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst target = sessions[index - 1];\n\t\t\tif (!target) {\n\t\t\t\tthis.options.showInfoMessage(`No session #${index} found.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.options.sessionDataProvider.toggleFavorite(target.path, true);\n\t\t\tthis.options.showInfoMessage(`Favorited session #${index}.`);\n\t\t\treturn;\n\t\t}\n\n\t\tif (\n\t\t\tsubCommand &&\n\t\t\t[\"unfavorite\", \"unfav\", \"unstar\"].includes(subCommand) &&\n\t\t\targ\n\t\t) {\n\t\t\tconst index = Number.parseInt(arg, 10);\n\t\t\tif (!Number.isFinite(index) || index <= 0) {\n\t\t\t\tthis.options.showInfoMessage(\"Usage: /sessions unfavorite <number>\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst target = sessions[index - 1];\n\t\t\tif (!target) {\n\t\t\t\tthis.options.showInfoMessage(`No session #${index} found.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.options.sessionDataProvider.toggleFavorite(target.path, false);\n\t\t\tthis.options.showInfoMessage(`Removed favorite for session #${index}.`);\n\t\t\treturn;\n\t\t}\n\n\t\tif (subCommand === \"summarize\" && arg) {\n\t\t\tconst index = Number.parseInt(arg, 10);\n\t\t\tif (!Number.isFinite(index) || index <= 0) {\n\t\t\t\tthis.options.showInfoMessage(\"Usage: /sessions summarize <number>\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst target = sessions[index - 1];\n\t\t\tif (!target) {\n\t\t\t\tthis.options.showInfoMessage(`No session #${index} found.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvoid this.options.summarizeSession(target);\n\t\t\treturn;\n\t\t}\n\n\t\tthis.options.showInfoMessage(\n\t\t\t\"Usage: /sessions [list|load <number>|favorite <number>|unfavorite <number>|summarize <number>]\",\n\t\t);\n\t}\n\n\tprivate renderArtifacts(): string | null {\n\t\tconst artifacts: SessionArtifacts =\n\t\t\tthis.options.sessionContext.getArtifacts();\n\t\tconst lines: string[] = [];\n\t\tif (artifacts.lastShare) {\n\t\t\tlines.push(\n\t\t\t\t`${badge(\"Share\", undefined, \"info\")} ${labeledValue(\n\t\t\t\t\t\"File\",\n\t\t\t\t\tartifacts.lastShare.filePath,\n\t\t\t\t)} ${muted(new Date(artifacts.lastShare.timestamp).toLocaleString())}`,\n\t\t\t);\n\t\t}\n\t\tif (artifacts.lastCompaction) {\n\t\t\tconst { beforeTokens, afterTokens, trigger, timestamp } =\n\t\t\t\tartifacts.lastCompaction;\n\t\t\tlines.push(\n\t\t\t\t`${badge(\"Compaction\", undefined, \"warn\")} ${labeledValue(\n\t\t\t\t\t\"Before→After\",\n\t\t\t\t\t`${beforeTokens.toLocaleString()} → ${afterTokens.toLocaleString()}`,\n\t\t\t\t)} ${labeledValue(\"Trigger\", trigger)} ${muted(\n\t\t\t\t\tnew Date(timestamp).toLocaleString(),\n\t\t\t\t)}`,\n\t\t\t);\n\t\t}\n\t\tif (artifacts.lastPasteSummary) {\n\t\t\tconst { placeholder, lineCount, charCount, summaryPreview, timestamp } =\n\t\t\t\tartifacts.lastPasteSummary;\n\t\t\tconst previewLine = summaryPreview ? `${muted(summaryPreview)}` : \"\";\n\t\t\tlines.push(\n\t\t\t\t`${badge(\"Paste\", undefined, \"info\")} ${labeledValue(\n\t\t\t\t\t\"Marker\",\n\t\t\t\t\tplaceholder,\n\t\t\t\t)} ${labeledValue(\n\t\t\t\t\t\"Size\",\n\t\t\t\t\t`~${lineCount} lines / ${charCount} chars`,\n\t\t\t\t)} ${muted(new Date(timestamp).toLocaleString())}${\n\t\t\t\t\tpreviewLine ? `\\n${previewLine}` : \"\"\n\t\t\t\t}`,\n\t\t\t);\n\t\t}\n\t\tif (!lines.length) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${heading(\"Recent artifacts\")}\n${lines.join(\"\\n\")}`;\n\t}\n\n\tprivate renderRecentContext(): string | null {\n\t\tconst lastUser = this.options.sessionContext.getLastUserMessage();\n\t\tconst lastAssistant = this.options.sessionContext.getLastAssistantMessage();\n\t\tconst lastTools = this.options.sessionContext.getLastRunToolNames();\n\t\tconst items: string[] = [];\n\t\tif (lastUser) {\n\t\t\titems.push(\n\t\t\t\t`${badge(\"User\", undefined, \"info\")} ${this.preview(lastUser)}`,\n\t\t\t);\n\t\t}\n\t\tif (lastAssistant) {\n\t\t\titems.push(\n\t\t\t\t`${badge(\"Assistant\", undefined, \"info\")} ${this.preview(lastAssistant)}`,\n\t\t\t);\n\t\t}\n\t\tif (lastTools.length) {\n\t\t\titems.push(\n\t\t\t\t`${badge(\"Tools\", undefined, \"info\")} ${lastTools.join(\", \")}`,\n\t\t\t);\n\t\t}\n\t\tif (!items.length) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${heading(\"Recent context\")}\n${items.join(\"\\n\")}`;\n\t}\n\n\tprivate preview(text: string, limit = 140): string {\n\t\tconst singleLine = text.replace(/\\s+/g, \" \").trim();\n\t\tif (singleLine.length <= limit) {\n\t\t\treturn singleLine;\n\t\t}\n\t\treturn `${singleLine.slice(0, limit - 1)}…`;\n\t}\n\n\tprivate getPersistedSessionPath(): string | null {\n\t\tconst sessionPath = this.options.sessionManager.getSessionFile();\n\t\tif (!sessionPath || !existsSync(sessionPath)) {\n\t\t\tthis.options.showInfoMessage(\n\t\t\t\t\"Session not yet persisted—send/receive a message before tagging it.\",\n\t\t\t);\n\t\t\treturn null;\n\t\t}\n\t\treturn sessionPath;\n\t}\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli-tui/slash/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,mBAAmB,EACnB,eAAe,EACf,KAAK,iBAAiB,GACtB,MAAM,4BAA4B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cli-tui/slash/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,mBAAmB,EACnB,eAAe,GAEf,MAAM,4BAA4B,CAAC","sourcesContent":["export {\n\tSlashCommandMatcher,\n\tSlashCycleState,\n\ttype SlashMatchOptions,\n} from \"./slash-command-matcher.js\";\n"]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Slash command matching and scoring logic.
|
|
3
|
-
*
|
|
4
|
-
* Extracted from TuiRenderer to provide reusable command matching
|
|
5
|
-
* with support for favorites and recents.
|
|
6
|
-
*/
|
|
7
|
-
import type { SlashCommand } from "@evalops/tui";
|
|
8
|
-
/**
|
|
9
|
-
* Options for matching slash commands.
|
|
10
|
-
*/
|
|
11
|
-
export interface SlashMatchOptions {
|
|
12
|
-
/** Commands marked as favorites get priority */
|
|
13
|
-
favorites: Set<string>;
|
|
14
|
-
/** Recently used commands get priority */
|
|
15
|
-
recents: Set<string>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Handles slash command matching and scoring.
|
|
19
|
-
*/
|
|
20
|
-
export declare class SlashCommandMatcher {
|
|
21
|
-
private readonly commands;
|
|
22
|
-
constructor(commands: SlashCommand[]);
|
|
23
|
-
/**
|
|
24
|
-
* Get commands matching a query, sorted by relevance.
|
|
25
|
-
*/
|
|
26
|
-
getMatches(query: string, options: SlashMatchOptions): SlashCommand[];
|
|
27
|
-
/**
|
|
28
|
-
* Score a command based on query match and user preferences.
|
|
29
|
-
*
|
|
30
|
-
* Scoring tiers:
|
|
31
|
-
* - Exact match: 100
|
|
32
|
-
* - Prefix match: 70 (name) / 55 (alias)
|
|
33
|
-
* - Contains match: 25 (name) / 15 (alias)
|
|
34
|
-
* - Favorite bonus: 12 (with query) / 8 (no query)
|
|
35
|
-
* - Recent bonus: 8 (with query) / 5 (no query)
|
|
36
|
-
*/
|
|
37
|
-
private scoreCommand;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Manages cycling through slash command completions.
|
|
41
|
-
*/
|
|
42
|
-
export declare class SlashCycleState {
|
|
43
|
-
private query;
|
|
44
|
-
private index;
|
|
45
|
-
/**
|
|
46
|
-
* Cycle to the next/previous match.
|
|
47
|
-
* Returns the replacement command name, or null if no matches.
|
|
48
|
-
*/
|
|
49
|
-
cycle(currentQuery: string, matches: SlashCommand[], reverse?: boolean): string | null;
|
|
50
|
-
/**
|
|
51
|
-
* Reset cycle state.
|
|
52
|
-
*/
|
|
53
|
-
reset(): void;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=slash-command-matcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slash-command-matcher.d.ts","sourceRoot":"","sources":["../../../src/cli-tui/slash/slash-command-matcher.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC,gDAAgD;IAChD,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,0CAA0C;IAC1C,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACrB;AAED;;GAEG;AACH,qBAAa,mBAAmB;IACnB,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,YAAY,EAAE;IAErD;;OAEG;IACH,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,YAAY,EAAE;IAiBrE;;;;;;;;;OASG;IACH,OAAO,CAAC,YAAY;CA4CpB;AAED;;GAEG;AACH,qBAAa,eAAe;IAC3B,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,KAAK,CAAK;IAElB;;;OAGG;IACH,KAAK,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,YAAY,EAAE,EACvB,OAAO,UAAQ,GACb,MAAM,GAAG,IAAI;IAqBhB;;OAEG;IACH,KAAK,IAAI,IAAI;CAIb"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Slash command matching and scoring logic.
|
|
3
|
-
*
|
|
4
|
-
* Extracted from TuiRenderer to provide reusable command matching
|
|
5
|
-
* with support for favorites and recents.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Handles slash command matching and scoring.
|
|
9
|
-
*/
|
|
10
|
-
export class SlashCommandMatcher {
|
|
11
|
-
constructor(commands) {
|
|
12
|
-
this.commands = commands;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Get commands matching a query, sorted by relevance.
|
|
16
|
-
*/
|
|
17
|
-
getMatches(query, options) {
|
|
18
|
-
const q = query.trim().toLowerCase();
|
|
19
|
-
const { favorites, recents } = options;
|
|
20
|
-
const scored = this.commands
|
|
21
|
-
.map((cmd) => ({
|
|
22
|
-
cmd,
|
|
23
|
-
score: this.scoreCommand(cmd, q, favorites, recents),
|
|
24
|
-
}))
|
|
25
|
-
.filter((item) => item.score > 0 || !q)
|
|
26
|
-
.sort((a, b) => b.score - a.score || a.cmd.name.localeCompare(b.cmd.name));
|
|
27
|
-
return scored.map((s) => s.cmd);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Score a command based on query match and user preferences.
|
|
31
|
-
*
|
|
32
|
-
* Scoring tiers:
|
|
33
|
-
* - Exact match: 100
|
|
34
|
-
* - Prefix match: 70 (name) / 55 (alias)
|
|
35
|
-
* - Contains match: 25 (name) / 15 (alias)
|
|
36
|
-
* - Favorite bonus: 12 (with query) / 8 (no query)
|
|
37
|
-
* - Recent bonus: 8 (with query) / 5 (no query)
|
|
38
|
-
*/
|
|
39
|
-
scoreCommand(cmd, query, favorites, recents) {
|
|
40
|
-
let score = 0;
|
|
41
|
-
const name = cmd.name.toLowerCase();
|
|
42
|
-
const aliases = (cmd.aliases ?? []).map((a) => a.toLowerCase());
|
|
43
|
-
// No query - just rank by favorites/recents
|
|
44
|
-
if (!query) {
|
|
45
|
-
score += favorites.has(cmd.name) ? 8 : 0;
|
|
46
|
-
score += recents.has(cmd.name) ? 5 : 0;
|
|
47
|
-
return score;
|
|
48
|
-
}
|
|
49
|
-
// Exact match (highest priority)
|
|
50
|
-
if (name === query || aliases.includes(query)) {
|
|
51
|
-
score += 100;
|
|
52
|
-
}
|
|
53
|
-
// Prefix match
|
|
54
|
-
if (name.startsWith(query)) {
|
|
55
|
-
score += 70;
|
|
56
|
-
}
|
|
57
|
-
if (aliases.some((a) => a.startsWith(query))) {
|
|
58
|
-
score += 55;
|
|
59
|
-
}
|
|
60
|
-
// Contains match
|
|
61
|
-
if (name.includes(query)) {
|
|
62
|
-
score += 25;
|
|
63
|
-
}
|
|
64
|
-
if (aliases.some((a) => a.includes(query))) {
|
|
65
|
-
score += 15;
|
|
66
|
-
}
|
|
67
|
-
// User preference bonuses
|
|
68
|
-
score += favorites.has(cmd.name) ? 12 : 0;
|
|
69
|
-
score += recents.has(cmd.name) ? 8 : 0;
|
|
70
|
-
return score;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Manages cycling through slash command completions.
|
|
75
|
-
*/
|
|
76
|
-
export class SlashCycleState {
|
|
77
|
-
constructor() {
|
|
78
|
-
this.query = null;
|
|
79
|
-
this.index = 0;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Cycle to the next/previous match.
|
|
83
|
-
* Returns the replacement command name, or null if no matches.
|
|
84
|
-
*/
|
|
85
|
-
cycle(currentQuery, matches, reverse = false) {
|
|
86
|
-
if (matches.length === 0) {
|
|
87
|
-
return null;
|
|
88
|
-
}
|
|
89
|
-
// Reset index if query changed
|
|
90
|
-
if (this.query !== currentQuery) {
|
|
91
|
-
this.query = currentQuery;
|
|
92
|
-
this.index = 0;
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
// Cycle through matches
|
|
96
|
-
if (reverse) {
|
|
97
|
-
this.index = (this.index - 1 + matches.length) % matches.length;
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
this.index = (this.index + 1) % matches.length;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
return matches[this.index]?.name ?? null;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Reset cycle state.
|
|
107
|
-
*/
|
|
108
|
-
reset() {
|
|
109
|
-
this.query = null;
|
|
110
|
-
this.index = 0;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
//# sourceMappingURL=slash-command-matcher.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slash-command-matcher.js","sourceRoot":"","sources":["../../../src/cli-tui/slash/slash-command-matcher.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAcH;;GAEG;AACH,MAAM,OAAO,mBAAmB;IAC/B,YAA6B,QAAwB;QAAxB,aAAQ,GAAR,QAAQ,CAAgB;IAAG,CAAC;IAEzD;;OAEG;IACH,UAAU,CAAC,KAAa,EAAE,OAA0B;QACnD,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACrC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QAEvC,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ;aAC1B,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;YACd,GAAG;YACH,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC;SACpD,CAAC,CAAC;aACF,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;aACtC,IAAI,CACJ,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC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CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;YACjE,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC;YAChD,CAAC;QACF,CAAC;QAED,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,IAAI,IAAI,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,KAAK;QACJ,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;IAChB,CAAC;CACD","sourcesContent":["/**\n * Slash command matching and scoring logic.\n *\n * Extracted from TuiRenderer to provide reusable command matching\n * with support for favorites and recents.\n */\n\nimport type { SlashCommand } from \"@evalops/tui\";\n\n/**\n * Options for matching slash commands.\n */\nexport interface SlashMatchOptions {\n\t/** Commands marked as favorites get priority */\n\tfavorites: Set<string>;\n\t/** Recently used commands get priority */\n\trecents: Set<string>;\n}\n\n/**\n * Handles slash command matching and scoring.\n */\nexport class SlashCommandMatcher {\n\tconstructor(private readonly commands: SlashCommand[]) {}\n\n\t/**\n\t * Get commands matching a query, sorted by relevance.\n\t */\n\tgetMatches(query: string, options: SlashMatchOptions): SlashCommand[] {\n\t\tconst q = query.trim().toLowerCase();\n\t\tconst { favorites, recents } = options;\n\n\t\tconst scored = this.commands\n\t\t\t.map((cmd) => ({\n\t\t\t\tcmd,\n\t\t\t\tscore: this.scoreCommand(cmd, q, favorites, recents),\n\t\t\t}))\n\t\t\t.filter((item) => item.score > 0 || !q)\n\t\t\t.sort(\n\t\t\t\t(a, b) => b.score - a.score || a.cmd.name.localeCompare(b.cmd.name),\n\t\t\t);\n\n\t\treturn scored.map((s) => s.cmd);\n\t}\n\n\t/**\n\t * Score a command based on query match and user preferences.\n\t *\n\t * Scoring tiers:\n\t * - Exact match: 100\n\t * - Prefix match: 70 (name) / 55 (alias)\n\t * - Contains match: 25 (name) / 15 (alias)\n\t * - Favorite bonus: 12 (with query) / 8 (no query)\n\t * - Recent bonus: 8 (with query) / 5 (no query)\n\t */\n\tprivate scoreCommand(\n\t\tcmd: SlashCommand,\n\t\tquery: string,\n\t\tfavorites: Set<string>,\n\t\trecents: Set<string>,\n\t): number {\n\t\tlet score = 0;\n\t\tconst name = cmd.name.toLowerCase();\n\t\tconst aliases = (cmd.aliases ?? []).map((a: string) => a.toLowerCase());\n\n\t\t// No query - just rank by favorites/recents\n\t\tif (!query) {\n\t\t\tscore += favorites.has(cmd.name) ? 8 : 0;\n\t\t\tscore += recents.has(cmd.name) ? 5 : 0;\n\t\t\treturn score;\n\t\t}\n\n\t\t// Exact match (highest priority)\n\t\tif (name === query || aliases.includes(query)) {\n\t\t\tscore += 100;\n\t\t}\n\n\t\t// Prefix match\n\t\tif (name.startsWith(query)) {\n\t\t\tscore += 70;\n\t\t}\n\t\tif (aliases.some((a) => a.startsWith(query))) {\n\t\t\tscore += 55;\n\t\t}\n\n\t\t// Contains match\n\t\tif (name.includes(query)) {\n\t\t\tscore += 25;\n\t\t}\n\t\tif (aliases.some((a) => a.includes(query))) {\n\t\t\tscore += 15;\n\t\t}\n\n\t\t// User preference bonuses\n\t\tscore += favorites.has(cmd.name) ? 12 : 0;\n\t\tscore += recents.has(cmd.name) ? 8 : 0;\n\n\t\treturn score;\n\t}\n}\n\n/**\n * Manages cycling through slash command completions.\n */\nexport class SlashCycleState {\n\tprivate query: string | null = null;\n\tprivate index = 0;\n\n\t/**\n\t * Cycle to the next/previous match.\n\t * Returns the replacement command name, or null if no matches.\n\t */\n\tcycle(\n\t\tcurrentQuery: string,\n\t\tmatches: SlashCommand[],\n\t\treverse = false,\n\t): string | null {\n\t\tif (matches.length === 0) {\n\t\t\treturn null;\n\t\t}\n\n\t\t// Reset index if query changed\n\t\tif (this.query !== currentQuery) {\n\t\t\tthis.query = currentQuery;\n\t\t\tthis.index = 0;\n\t\t} else {\n\t\t\t// Cycle through matches\n\t\t\tif (reverse) {\n\t\t\t\tthis.index = (this.index - 1 + matches.length) % matches.length;\n\t\t\t} else {\n\t\t\t\tthis.index = (this.index + 1) % matches.length;\n\t\t\t}\n\t\t}\n\n\t\treturn matches[this.index]?.name ?? null;\n\t}\n\n\t/**\n\t * Reset cycle state.\n\t */\n\treset(): void {\n\t\tthis.query = null;\n\t\tthis.index = 0;\n\t}\n}\n"]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type AutocompleteItem, CombinedAutocompleteProvider } from "@evalops/tui";
|
|
2
|
-
export declare class SmartAutocompleteProvider extends CombinedAutocompleteProvider {
|
|
3
|
-
protected getFileSuggestions(prefix: string): AutocompleteItem[];
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=smart-autocomplete-provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smart-autocomplete-provider.d.ts","sourceRoot":"","sources":["../../src/cli-tui/smart-autocomplete-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EACrB,4BAA4B,EAC5B,MAAM,cAAc,CAAC;AAGtB,qBAAa,yBAA0B,SAAQ,4BAA4B;cACvD,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,EAAE;CAwCzE"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { CombinedAutocompleteProvider, } from "@evalops/tui";
|
|
2
|
-
import { getWorkspaceFiles } from "../utils/workspace-files.js";
|
|
3
|
-
export class SmartAutocompleteProvider extends CombinedAutocompleteProvider {
|
|
4
|
-
getFileSuggestions(prefix) {
|
|
5
|
-
// Use fast workspace file search for @ mentions
|
|
6
|
-
if (prefix.startsWith("@")) {
|
|
7
|
-
const query = prefix.slice(1).toLowerCase();
|
|
8
|
-
const files = getWorkspaceFiles(); // This returns cached list of all files
|
|
9
|
-
// Handle empty query - return first files without ranking
|
|
10
|
-
if (!query) {
|
|
11
|
-
return files.slice(0, 20).map((f) => ({
|
|
12
|
-
value: `@${f}`,
|
|
13
|
-
label: f,
|
|
14
|
-
description: "file",
|
|
15
|
-
}));
|
|
16
|
-
}
|
|
17
|
-
// Rank matches: basename > prefix > substring
|
|
18
|
-
const scored = files
|
|
19
|
-
.map((f) => {
|
|
20
|
-
const lower = f.toLowerCase();
|
|
21
|
-
const basename = lower.split("/").pop() ?? lower;
|
|
22
|
-
let score = 0;
|
|
23
|
-
if (basename.startsWith(query))
|
|
24
|
-
score = 3;
|
|
25
|
-
else if (lower.startsWith(query))
|
|
26
|
-
score = 2;
|
|
27
|
-
else if (lower.includes(query))
|
|
28
|
-
score = 1;
|
|
29
|
-
return { file: f, score };
|
|
30
|
-
})
|
|
31
|
-
.filter(({ score }) => score > 0)
|
|
32
|
-
.sort((a, b) => b.score - a.score)
|
|
33
|
-
.slice(0, 20);
|
|
34
|
-
return scored.map(({ file: f }) => ({
|
|
35
|
-
value: `@${f}`,
|
|
36
|
-
label: f,
|
|
37
|
-
description: "file",
|
|
38
|
-
}));
|
|
39
|
-
}
|
|
40
|
-
// Fallback to default directory traversal for other paths (e.g. absolute or ./ or ~/)
|
|
41
|
-
return super.getFileSuggestions(prefix);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=smart-autocomplete-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"smart-autocomplete-provider.js","sourceRoot":"","sources":["../../src/cli-tui/smart-autocomplete-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,4BAA4B,GAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,OAAO,yBAA0B,SAAQ,4BAA4B;IACvD,kBAAkB,CAAC,MAAc;QACnD,gDAAgD;QAChD,IAAI,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5B,MAAM,KAAK,GAAG,MAAM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E,EAAE,CAAC,CAAC;YAEf,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;gBACnC,KAAK,EAAE,IAAI,CAAC,EAAE;gBACd,KAAK,EAAE,CAAC;gBACR,WAAW,EAAE,MAAM;aACnB,CAAC,CAAC,CAAC;QACL,CAAC;QAED,sFAAsF;QACtF,OAAO,KAAK,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;CACD","sourcesContent":["import {\n\ttype AutocompleteItem,\n\tCombinedAutocompleteProvider,\n} from \"@evalops/tui\";\nimport { getWorkspaceFiles } from \"../utils/workspace-files.js\";\n\nexport class SmartAutocompleteProvider extends CombinedAutocompleteProvider {\n\tprotected override getFileSuggestions(prefix: string): AutocompleteItem[] {\n\t\t// Use fast workspace file search for @ mentions\n\t\tif (prefix.startsWith(\"@\")) {\n\t\t\tconst query = prefix.slice(1).toLowerCase();\n\t\t\tconst files = getWorkspaceFiles(); // This returns cached list of all files\n\n\t\t\t// Handle empty query - return first files without ranking\n\t\t\tif (!query) {\n\t\t\t\treturn files.slice(0, 20).map((f) => ({\n\t\t\t\t\tvalue: `@${f}`,\n\t\t\t\t\tlabel: f,\n\t\t\t\t\tdescription: \"file\",\n\t\t\t\t}));\n\t\t\t}\n\n\t\t\t// Rank matches: basename > prefix > substring\n\t\t\tconst scored = files\n\t\t\t\t.map((f) => {\n\t\t\t\t\tconst lower = f.toLowerCase();\n\t\t\t\t\tconst basename = lower.split(\"/\").pop() ?? lower;\n\t\t\t\t\tlet score = 0;\n\t\t\t\t\tif (basename.startsWith(query)) score = 3;\n\t\t\t\t\telse if (lower.startsWith(query)) score = 2;\n\t\t\t\t\telse if (lower.includes(query)) score = 1;\n\t\t\t\t\treturn { file: f, score };\n\t\t\t\t})\n\t\t\t\t.filter(({ score }) => score > 0)\n\t\t\t\t.sort((a, b) => b.score - a.score)\n\t\t\t\t.slice(0, 20);\n\n\t\t\treturn scored.map(({ file: f }) => ({\n\t\t\t\tvalue: `@${f}`,\n\t\t\t\tlabel: f,\n\t\t\t\tdescription: \"file\",\n\t\t\t}));\n\t\t}\n\n\t\t// Fallback to default directory traversal for other paths (e.g. absolute or ./ or ~/)\n\t\treturn super.getFileSuggestions(prefix);\n\t}\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Container, type TUI } from "@evalops/tui";
|
|
2
|
-
import type { RegisteredModel } from "../models/registry.js";
|
|
3
|
-
import type { UpdateCheckResult } from "../update/check.js";
|
|
4
|
-
export type StartupAnnouncementsOptions = {
|
|
5
|
-
container: Container;
|
|
6
|
-
ui: TUI;
|
|
7
|
-
updateNotice?: UpdateCheckResult | null;
|
|
8
|
-
startupChangelog?: string | null;
|
|
9
|
-
startupChangelogSummary?: string | null;
|
|
10
|
-
modelScope: RegisteredModel[];
|
|
11
|
-
renderSuggestion?: string;
|
|
12
|
-
onLayoutChange?: () => void;
|
|
13
|
-
};
|
|
14
|
-
export declare function renderStartupAnnouncements({ container, ui, updateNotice, startupChangelog, startupChangelogSummary, modelScope, renderSuggestion, onLayoutChange, }: StartupAnnouncementsOptions): void;
|
|
15
|
-
//# sourceMappingURL=startup-announcements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"startup-announcements.d.ts","sourceRoot":"","sources":["../../src/cli-tui/startup-announcements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAU,KAAK,GAAG,EAAQ,MAAM,cAAc,CAAC;AAGtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAQ5D,MAAM,MAAM,2BAA2B,GAAG;IACzC,SAAS,EAAE,SAAS,CAAC;IACrB,EAAE,EAAE,GAAG,CAAC;IACR,YAAY,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EAC1C,SAAS,EACT,EAAE,EACF,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,UAAU,EACV,gBAAmF,EACnF,cAAc,GACd,EAAE,2BAA2B,GAAG,IAAI,CA6EpC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Spacer, Text } from "@evalops/tui";
|
|
2
|
-
import chalk from "chalk";
|
|
3
|
-
import { getGlobalInstallCommand } from "../package-metadata.js";
|
|
4
|
-
import { inspectKeybindingConfig, summarizeKeybindingConfigIssues, } from "./keybindings-config.js";
|
|
5
|
-
import { getTuiKeybindingLabel } from "./keybindings.js";
|
|
6
|
-
import { formatLink } from "./utils/links.js";
|
|
7
|
-
export function renderStartupAnnouncements({ container, ui, updateNotice, startupChangelog, startupChangelogSummary, modelScope, renderSuggestion = "/review src/cli-tui/tui-renderer.ts — summarize rendering flow", onLayoutChange, }) {
|
|
8
|
-
container.clear();
|
|
9
|
-
let announced = false;
|
|
10
|
-
if (updateNotice) {
|
|
11
|
-
const latest = updateNotice.latestVersion ?? "";
|
|
12
|
-
const current = updateNotice.currentVersion;
|
|
13
|
-
const notes = updateNotice.notes;
|
|
14
|
-
const source = updateNotice.sourceUrl;
|
|
15
|
-
const headline = chalk.hex("#f59e0b")(`Update available: v${latest || "unknown"}`);
|
|
16
|
-
const currentLine = chalk.dim(`Current version: v${current}`);
|
|
17
|
-
const installLine = `${chalk.dim("Update with")} ${chalk.cyan(getGlobalInstallCommand("npm"))}`;
|
|
18
|
-
const noteLine = notes ? chalk.dim(notes) : null;
|
|
19
|
-
const sourceLine = source
|
|
20
|
-
? chalk.dim(`Source: ${formatLink(source, "changelog")}`)
|
|
21
|
-
: null;
|
|
22
|
-
const message = [headline, currentLine, installLine, noteLine, sourceLine]
|
|
23
|
-
.filter(Boolean)
|
|
24
|
-
.join("\n");
|
|
25
|
-
container.addChild(new Spacer(1));
|
|
26
|
-
container.addChild(new Text(message, 1, 0));
|
|
27
|
-
announced = true;
|
|
28
|
-
}
|
|
29
|
-
if (startupChangelog) {
|
|
30
|
-
const header = chalk.bold.cyan("What's new");
|
|
31
|
-
container.addChild(new Spacer(1));
|
|
32
|
-
container.addChild(new Text(`${header}\n${startupChangelog}`, 1, 0));
|
|
33
|
-
announced = true;
|
|
34
|
-
}
|
|
35
|
-
else if (startupChangelogSummary) {
|
|
36
|
-
const line = `${chalk.bold.cyan("What's new")}: ${startupChangelogSummary} ${chalk.dim("(see CHANGELOG.md)")}`;
|
|
37
|
-
container.addChild(new Spacer(1));
|
|
38
|
-
container.addChild(new Text(line.trim(), 1, 0));
|
|
39
|
-
const hintLine = chalk.dim("Hints: /changelog /model /thinking");
|
|
40
|
-
container.addChild(new Text(hintLine, 1, 0));
|
|
41
|
-
announced = true;
|
|
42
|
-
}
|
|
43
|
-
else if (!announced) {
|
|
44
|
-
const example = chalk.dim(`Try: ${chalk.cyan(renderSuggestion)}`);
|
|
45
|
-
container.addChild(new Spacer(1));
|
|
46
|
-
container.addChild(new Text(example, 1, 0));
|
|
47
|
-
announced = true;
|
|
48
|
-
}
|
|
49
|
-
if (modelScope.length > 0) {
|
|
50
|
-
const names = modelScope.map((model) => model.name ?? model.id);
|
|
51
|
-
const header = chalk.bold("Model scope");
|
|
52
|
-
const scopeLines = [
|
|
53
|
-
`${header}: ${names.join(", ")}`,
|
|
54
|
-
chalk.dim(`Press ${getTuiKeybindingLabel("cycle-model")} to cycle scoped models.`),
|
|
55
|
-
];
|
|
56
|
-
container.addChild(new Spacer(1));
|
|
57
|
-
container.addChild(new Text(scopeLines.join("\n"), 1, 0));
|
|
58
|
-
announced = true;
|
|
59
|
-
}
|
|
60
|
-
const keybindingWarning = summarizeKeybindingConfigIssues(inspectKeybindingConfig());
|
|
61
|
-
if (keybindingWarning) {
|
|
62
|
-
container.addChild(new Spacer(1));
|
|
63
|
-
container.addChild(new Text(chalk.hex("#f59e0b")(keybindingWarning), 1, 0));
|
|
64
|
-
announced = true;
|
|
65
|
-
}
|
|
66
|
-
if (announced) {
|
|
67
|
-
onLayoutChange?.();
|
|
68
|
-
ui.requestRender();
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
container.clear();
|
|
72
|
-
onLayoutChange?.();
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=startup-announcements.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"startup-announcements.js","sourceRoot":"","sources":["../../src/cli-tui/startup-announcements.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,MAAM,EAAY,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EACN,uBAAuB,EACvB,+BAA+B,GAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAa9C,MAAM,UAAU,0BAA0B,CAAC,EAC1C,SAAS,EACT,EAAE,EACF,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,UAAU,EACV,gBAAgB,GAAG,gEAAgE,EACnF,cAAc,GACe;IAC7B,SAAS,CAAC,KAAK,EAAE,CAAC;IAClB,IAAI,SAAS,GAAG,KAAK,CAAC;IAEtB,IAAI,YAAY,EAAE,CAAC;QAClB,MAAM,MAAM,GAAG,YAAY,CAAC,aAAa,IAAI,EAAE,CAAC;QAChD,MAAM,OAAO,GAAG,YAAY,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n\nimport type { RegisteredModel } from \"../models/registry.js\";\nimport { getGlobalInstallCommand } from \"../package-metadata.js\";\nimport type { UpdateCheckResult } from \"../update/check.js\";\nimport {\n\tinspectKeybindingConfig,\n\tsummarizeKeybindingConfigIssues,\n} from \"./keybindings-config.js\";\nimport { getTuiKeybindingLabel } from \"./keybindings.js\";\nimport { formatLink } from \"./utils/links.js\";\n\nexport type StartupAnnouncementsOptions = {\n\tcontainer: Container;\n\tui: TUI;\n\tupdateNotice?: UpdateCheckResult | null;\n\tstartupChangelog?: string | null;\n\tstartupChangelogSummary?: string | null;\n\tmodelScope: RegisteredModel[];\n\trenderSuggestion?: string;\n\tonLayoutChange?: () => void;\n};\n\nexport function renderStartupAnnouncements({\n\tcontainer,\n\tui,\n\tupdateNotice,\n\tstartupChangelog,\n\tstartupChangelogSummary,\n\tmodelScope,\n\trenderSuggestion = \"/review src/cli-tui/tui-renderer.ts — summarize rendering flow\",\n\tonLayoutChange,\n}: StartupAnnouncementsOptions): void {\n\tcontainer.clear();\n\tlet announced = false;\n\n\tif (updateNotice) {\n\t\tconst latest = updateNotice.latestVersion ?? \"\";\n\t\tconst current = updateNotice.currentVersion;\n\t\tconst notes = updateNotice.notes;\n\t\tconst source = updateNotice.sourceUrl;\n\t\tconst headline = chalk.hex(\"#f59e0b\")(\n\t\t\t`Update available: v${latest || \"unknown\"}`,\n\t\t);\n\t\tconst currentLine = chalk.dim(`Current version: v${current}`);\n\t\tconst installLine = `${chalk.dim(\"Update with\")} ${chalk.cyan(\n\t\t\tgetGlobalInstallCommand(\"npm\"),\n\t\t)}`;\n\t\tconst noteLine = notes ? chalk.dim(notes) : null;\n\t\tconst sourceLine = source\n\t\t\t? chalk.dim(`Source: ${formatLink(source, \"changelog\")}`)\n\t\t\t: null;\n\t\tconst message = [headline, currentLine, installLine, noteLine, sourceLine]\n\t\t\t.filter(Boolean)\n\t\t\t.join(\"\\n\");\n\t\tcontainer.addChild(new Spacer(1));\n\t\tcontainer.addChild(new Text(message, 1, 0));\n\t\tannounced = true;\n\t}\n\n\tif (startupChangelog) {\n\t\tconst header = chalk.bold.cyan(\"What's new\");\n\t\tcontainer.addChild(new Spacer(1));\n\t\tcontainer.addChild(new Text(`${header}\\n${startupChangelog}`, 1, 0));\n\t\tannounced = true;\n\t} else if (startupChangelogSummary) {\n\t\tconst line = `${chalk.bold.cyan(\"What's new\")}: ${startupChangelogSummary} ${chalk.dim(\"(see CHANGELOG.md)\")}`;\n\t\tcontainer.addChild(new Spacer(1));\n\t\tcontainer.addChild(new Text(line.trim(), 1, 0));\n\t\tconst hintLine = chalk.dim(\"Hints: /changelog /model /thinking\");\n\t\tcontainer.addChild(new Text(hintLine, 1, 0));\n\t\tannounced = true;\n\t} else if (!announced) {\n\t\tconst example = chalk.dim(`Try: ${chalk.cyan(renderSuggestion)}`);\n\t\tcontainer.addChild(new Spacer(1));\n\t\tcontainer.addChild(new Text(example, 1, 0));\n\t\tannounced = true;\n\t}\n\n\tif (modelScope.length > 0) {\n\t\tconst names = modelScope.map((model) => model.name ?? model.id);\n\t\tconst header = chalk.bold(\"Model scope\");\n\t\tconst scopeLines = [\n\t\t\t`${header}: ${names.join(\", \")}`,\n\t\t\tchalk.dim(\n\t\t\t\t`Press ${getTuiKeybindingLabel(\"cycle-model\")} to cycle scoped models.`,\n\t\t\t),\n\t\t];\n\t\tcontainer.addChild(new Spacer(1));\n\t\tcontainer.addChild(new Text(scopeLines.join(\"\\n\"), 1, 0));\n\t\tannounced = true;\n\t}\n\n\tconst keybindingWarning = summarizeKeybindingConfigIssues(\n\t\tinspectKeybindingConfig(),\n\t);\n\tif (keybindingWarning) {\n\t\tcontainer.addChild(new Spacer(1));\n\t\tcontainer.addChild(new Text(chalk.hex(\"#f59e0b\")(keybindingWarning), 1, 0));\n\t\tannounced = true;\n\t}\n\n\tif (announced) {\n\t\tonLayoutChange?.();\n\t\tui.requestRender();\n\t} else {\n\t\tcontainer.clear();\n\t\tonLayoutChange?.();\n\t}\n}\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Container, TUI } from "@evalops/tui";
|
|
2
|
-
import type { CommandExecutionContext } from "../commands/types.js";
|
|
3
|
-
interface CostViewOptions {
|
|
4
|
-
chatContainer: Container;
|
|
5
|
-
ui: TUI;
|
|
6
|
-
showInfo: (message: string) => void;
|
|
7
|
-
showError: (message: string) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare class CostView {
|
|
10
|
-
private readonly options;
|
|
11
|
-
constructor(options: CostViewOptions);
|
|
12
|
-
handleCostCommand(context: CommandExecutionContext<Record<string, unknown>>): void;
|
|
13
|
-
private handleSummaryCommand;
|
|
14
|
-
private handleBreakdownCommand;
|
|
15
|
-
private handleClearCommand;
|
|
16
|
-
private renderHelp;
|
|
17
|
-
private resolvePeriod;
|
|
18
|
-
private renderSummary;
|
|
19
|
-
private buildOverview;
|
|
20
|
-
private buildProviderSection;
|
|
21
|
-
private buildModelSection;
|
|
22
|
-
private renderText;
|
|
23
|
-
private renderBreakdown;
|
|
24
|
-
private formatTokens;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=cost-view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cost-view.d.ts","sourceRoot":"","sources":["../../../src/cli-tui/status/cost-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAUnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAQpE,UAAU,eAAe;IACxB,aAAa,EAAE,SAAS,CAAC;IACzB,EAAE,EAAE,GAAG,CAAC;IACR,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAID,qBAAa,QAAQ;IACR,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,eAAe;IAErD,iBAAiB,CAChB,OAAO,EAAE,uBAAuB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GACvD,IAAI;IAuBP,OAAO,CAAC,oBAAoB;IAe5B,OAAO,CAAC,sBAAsB;IAe9B,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,aAAa;IAgCrB,OAAO,CAAC,aAAa;IAsBrB,OAAO,CAAC,aAAa;IA2BrB,OAAO,CAAC,oBAAoB;IAmB5B,OAAO,CAAC,iBAAiB;IAsBzB,OAAO,CAAC,UAAU;IAMlB,OAAO,CAAC,eAAe;IA2CvB,OAAO,CAAC,YAAY;CAKpB"}
|