e16056b2f0
* feat(models): discover Cursor picker models from CLI Replace the generated Cursor base-model catalog with live cursor-agent models discovery on the bound runner. Normalize compound effort variants and legacy dotted Claude spellings into the base-id namespace used by launch, /model switching, and terminal mirroring. Route the discovered options through the existing session model-options cache, return retryable failures without blocking Cursor launch, and expose the same live listing to model-catalog callers. Remove the obsolete generator and eleven Cursor hardcode baseline entries. Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com> * fix(models): preserve valid Cursor picker options Carry forward round-trip protection without restoring the stale generated denylist. Skip and log reversed Claude ids that the Cursor command parser cannot inject, while retaining CLI-advertised models verified against the current agent. Keep cached picker options visible during asynchronous refreshes so model or effort changes do not transiently blank Cursor's picker. Cover both the parser guard and refresh behavior with regression tests. Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com> * fix(models): verify exact Cursor picker matches Resolve the selected model's display name from the same live CLI catalog that supplies the Web picker, then refuse to press Enter unless Cursor highlights that exact row. This prevents fuzzy matching from silently selecting another model without restoring release-specific denylist entries. Keep default/current tags unique in catalog order and limit stale-option retention to Cursor refreshes, preserving the existing drop-on-refresh behavior for Codex and other runner-backed pickers. Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com> * fix(cursor): reuse live model metadata when switching Cache Cursor model display names when the runner serves the live picker catalog and pass the selected label into the TUI bridge. This avoids spawning cursor-agent models a second time for the same selection while retaining live discovery as a cold-cache fallback. Also require the highlighted picker row to match the complete normalized display label or one of its suffixed variants, preventing similarly prefixed models from being accepted. Clear the cache with the existing session and agent lifecycle caches and cover cached, cold-cache, and fuzzy-match behavior. Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com> * refactor(cursor): drop unused parser binding Keep the model-option setdefault call for deduplication without assigning its return value before the later result loop. This addresses the code-quality finding without changing parser behavior. Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com> * fix(cursor): handle missing CLI during model switch Catch click.ClickException while refreshing a cold Cursor model catalog so a missing cursor-agent executable becomes the existing handled RuntimeError instead of escaping the runner endpoint as a 500. Add bridge-level regression coverage for the preserved exception cause. The focused Cursor/native-event suite passes 122 tests and full pre-commit passes. Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com> --------- Signed-off-by: Pat Sukprasert <pat.sukprasert@databricks.com>
43 lines
2.3 KiB
Plaintext
43 lines
2.3 KiB
Plaintext
# Curated baseline for dev/lint/lint_no_hardcoded_models.py.
|
|
# Format: <path> <model-id> <allowed-count>
|
|
# Keep counts minimal; new model pins should move behind provider/catalog resolution.
|
|
.github/actions/integration-run/action.yml databricks-gpt-5-4-mini 1
|
|
.github/actions/integration-run/action.yml databricks-gpt-5-5 1
|
|
.github/actions/run-omnigent-agent/action.yml databricks-claude-opus-4-8 1
|
|
.github/scripts/ci/backcompat-pairwise-matrix.sh databricks-gpt-5-4-mini 1
|
|
.github/scripts/ci/integration-matrix.sh databricks-gpt-5-4-mini 1
|
|
.github/workflows/auto-assign-reviewer.yml databricks-claude-sonnet-4-6 1
|
|
.github/workflows/doc-sync.yml databricks-claude-opus-4-8 1
|
|
.github/workflows/e2e-ui-required.yml databricks-gpt-5-4 1
|
|
.github/workflows/feature-blog.yml databricks-gemini-3-pro-image 1
|
|
.github/workflows/flake-stress-e2e.yml databricks-gpt-5-4-mini 1
|
|
.github/workflows/flake-stress-e2e.yml databricks-gpt-5-5 1
|
|
.github/workflows/issue-triage.yml databricks-claude-sonnet-4-6 1
|
|
.github/workflows/polly-review.yml databricks-claude-opus-4-8 1
|
|
.github/workflows/polly-review.yml databricks-gpt-5-5 1
|
|
.github/workflows/security-triage.yml databricks-claude-sonnet-4-6 1
|
|
.github/workflows/vscode-release-pr.yml databricks-claude-sonnet-4-6 1
|
|
omnigent/cli_config.py claude-opus-4-5-20251101-v1:0 1
|
|
omnigent/inner/pi_executor.py databricks-claude-opus-4-8 1
|
|
omnigent/inner/pi_executor.py databricks-claude-sonnet-4-5 1
|
|
omnigent/inner/pi_executor.py databricks-claude-sonnet-4-6 1
|
|
omnigent/inner/pi_executor.py databricks-gpt-5-4 1
|
|
omnigent/inner/pi_executor.py databricks-gpt-5-4-mini 1
|
|
omnigent/inner/pi_executor.py databricks-gpt-5-5 1
|
|
omnigent/inner/pi_executor.py databricks-gpt-5-5-pro 1
|
|
omnigent/model_catalog.py claude-fable-5 1
|
|
omnigent/model_catalog.py claude-haiku-4-5 1
|
|
omnigent/model_catalog.py claude-opus-4-8 1
|
|
omnigent/model_catalog.py claude-opus-5 1
|
|
omnigent/model_catalog.py claude-sonnet-4-6 1
|
|
omnigent/model_catalog.py claude-sonnet-5 1
|
|
omnigent/model_catalog.py gpt-5.4 1
|
|
omnigent/model_catalog.py gpt-5.4-mini 1
|
|
omnigent/model_catalog.py gpt-5.5 1
|
|
omnigent/onboarding/wizard.py databricks-gpt-5-4 1
|
|
omnigent/onboarding/wizard.py gpt-4o 1
|
|
omnigent/policies/builtins/routing.py databricks-claude-opus-4-6 1
|
|
omnigent/policies/builtins/routing.py o3 1
|
|
omnigent/tools/builtins/spawn.py databricks-claude-opus-4-8 1
|
|
omnigent/tools/builtins/spawn.py system.ai.glm-5-2 1
|