pi-cursor-sdk 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -1
- package/README.md +62 -795
- package/dist/context.js +13 -7
- package/dist/cursor-agents-context.js +6 -6
- package/dist/cursor-api-key.js +1 -1
- package/dist/cursor-bridge-contract.js +1 -13
- package/dist/cursor-cloud-local-state.js +0 -1
- package/dist/cursor-config.js +1 -17
- package/dist/cursor-custom-subagent-definitions.js +1 -1
- package/dist/cursor-fallback-models.generated.js +665 -1
- package/dist/cursor-live-run-coordinator.js +1 -0
- package/dist/cursor-local-agent-ownership.js +17 -0
- package/dist/cursor-mcp-timeout-override.js +7 -18
- package/dist/cursor-native-tool-display-replay.js +5 -5
- package/dist/cursor-native-tools.js +11 -0
- package/dist/cursor-pi-tool-bridge-diagnostics.js +4 -0
- package/dist/cursor-pi-tool-bridge-env.js +25 -2
- package/dist/cursor-pi-tool-bridge-run.js +10 -3
- package/dist/cursor-pi-tool-bridge-server.js +98 -48
- package/dist/cursor-pi-tool-bridge-snapshot.js +1 -1
- package/dist/cursor-pi-tool-bridge.js +4 -12
- package/dist/cursor-provider-errors.js +2 -8
- package/dist/cursor-provider-live-run-drain.js +8 -3
- package/dist/cursor-provider-overflow.js +7 -21
- package/dist/cursor-provider-turn-prepare.js +8 -1
- package/dist/cursor-provider-turn-runner.js +17 -6
- package/dist/cursor-provider-turn-summary.js +1 -1
- package/dist/cursor-provider.js +1 -4
- package/dist/cursor-runtime-state.js +3 -3
- package/dist/cursor-sdk-event-debug.js +2 -2
- package/dist/cursor-sdk-output-filter.js +1 -1
- package/dist/cursor-sdk-process-error-guard.js +1 -2
- package/dist/cursor-session-agent-cleanup.js +10 -1
- package/dist/cursor-session-agent-lifecycle.js +2 -2
- package/dist/cursor-session-agent-lineage.js +11 -7
- package/dist/cursor-session-agent-resume.js +15 -9
- package/dist/cursor-session-agent.js +28 -15
- package/dist/cursor-session-scope.js +28 -21
- package/dist/cursor-session-settings.js +3 -3
- package/dist/cursor-session-store.js +2 -2
- package/dist/cursor-state.js +26 -29
- package/dist/cursor-tool-lifecycle.js +0 -3
- package/dist/cursor-tool-manifest.js +3 -1
- package/dist/cursor-tool-presentation-registry.js +2 -4
- package/dist/cursor-tool-visibility.js +0 -3
- package/dist/cursor-transcript-tool-specs.js +1 -2
- package/dist/index.js +21 -0
- package/dist/model-discovery.js +8 -10
- package/dist/model-list-cache.js +4 -9
- package/docs/cursor-live-smoke-checklist.md +4 -4
- package/docs/cursor-model-ux-spec.md +36 -19
- package/docs/cursor-native-tool-replay.md +8 -5
- package/docs/cursor-native-tool-visual-audit.md +1 -1
- package/docs/cursor-testing-lessons.md +39 -9
- package/docs/cursor-tool-surfaces.md +48 -4
- package/docs/development.md +93 -0
- package/docs/platform-smoke-implementation.md +3 -2
- package/docs/reference.md +806 -0
- package/package.json +13 -11
- package/scripts/platform-smoke/artifact-secrets.mjs +13 -4
- package/scripts/platform-smoke/local-resume-runner.mjs +0 -1
- package/scripts/platform-smoke/target-runtime.mjs +4 -2
- package/scripts/platform-smoke/targets.mjs +0 -1
- package/shared/cursor-sdk-output-filter.d.mts +2 -0
- package/shared/cursor-sdk-output-filter.mjs +92 -28
- package/shared/cursor-sensitive-text.d.mts +1 -0
- package/shared/cursor-sensitive-text.mjs +7 -0
- package/src/context.ts +18 -11
- package/src/cursor-agents-context.ts +6 -6
- package/src/cursor-api-key.ts +1 -1
- package/src/cursor-bridge-contract.ts +1 -15
- package/src/cursor-cloud-local-state.ts +0 -2
- package/src/cursor-config.ts +1 -24
- package/src/cursor-custom-subagent-definitions.ts +1 -1
- package/src/cursor-fallback-models.generated.ts +665 -1
- package/src/cursor-live-run-coordinator.ts +5 -0
- package/src/cursor-local-agent-ownership.ts +18 -0
- package/src/cursor-mcp-timeout-override.ts +7 -31
- package/src/cursor-native-tool-display-replay.ts +4 -6
- package/src/cursor-native-tools.ts +14 -0
- package/src/cursor-pi-tool-bridge-diagnostics.ts +17 -0
- package/src/cursor-pi-tool-bridge-env.ts +31 -2
- package/src/cursor-pi-tool-bridge-run.ts +10 -3
- package/src/cursor-pi-tool-bridge-server.ts +89 -45
- package/src/cursor-pi-tool-bridge-snapshot.ts +0 -1
- package/src/cursor-pi-tool-bridge.ts +2 -18
- package/src/cursor-provider-errors.ts +2 -10
- package/src/cursor-provider-live-run-drain.ts +8 -2
- package/src/cursor-provider-overflow.ts +6 -24
- package/src/cursor-provider-turn-prepare.ts +10 -1
- package/src/cursor-provider-turn-runner.ts +17 -6
- package/src/cursor-provider-turn-summary.ts +1 -1
- package/src/cursor-provider.ts +0 -5
- package/src/cursor-runtime-state.ts +3 -3
- package/src/cursor-sdk-event-debug.ts +2 -2
- package/src/cursor-sdk-output-filter.ts +2 -1
- package/src/cursor-sdk-process-error-guard.ts +1 -3
- package/src/cursor-session-agent-cleanup.ts +6 -1
- package/src/cursor-session-agent-lifecycle.ts +2 -2
- package/src/cursor-session-agent-lineage.ts +10 -5
- package/src/cursor-session-agent-resume.ts +14 -7
- package/src/cursor-session-agent.ts +31 -15
- package/src/cursor-session-scope.ts +34 -20
- package/src/cursor-session-settings.ts +3 -3
- package/src/cursor-session-store.ts +2 -2
- package/src/cursor-state.ts +34 -41
- package/src/cursor-tool-lifecycle.ts +0 -4
- package/src/cursor-tool-manifest.ts +4 -1
- package/src/cursor-tool-presentation-registry.ts +3 -5
- package/src/cursor-tool-visibility.ts +0 -4
- package/src/cursor-transcript-tool-specs.ts +0 -3
- package/src/index.ts +18 -0
- package/src/model-discovery.ts +7 -9
- package/src/model-list-cache.ts +4 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated with @cursor/sdk@1.0.
|
|
1
|
+
// Generated with @cursor/sdk@1.0.37 from 48 Cursor models.
|
|
2
2
|
// Refresh with: npm run refresh:cursor-snapshots -- --write
|
|
3
3
|
// Do not add secrets; this file stores public model metadata only.
|
|
4
4
|
export const FALLBACK_MODEL_ITEMS = [
|
|
@@ -911,6 +911,407 @@ export const FALLBACK_MODEL_ITEMS = [
|
|
|
911
911
|
}
|
|
912
912
|
]
|
|
913
913
|
},
|
|
914
|
+
{
|
|
915
|
+
id: "claude-haiku-5-5",
|
|
916
|
+
displayName: "Claude Haiku 5.5",
|
|
917
|
+
parameters: [
|
|
918
|
+
{
|
|
919
|
+
id: "thinking",
|
|
920
|
+
displayName: "Thinking",
|
|
921
|
+
values: [
|
|
922
|
+
{
|
|
923
|
+
value: "false"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
value: "true"
|
|
927
|
+
}
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
id: "context",
|
|
932
|
+
displayName: "Context",
|
|
933
|
+
values: [
|
|
934
|
+
{
|
|
935
|
+
value: "300k",
|
|
936
|
+
displayName: "300K"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
value: "1m",
|
|
940
|
+
displayName: "1M"
|
|
941
|
+
}
|
|
942
|
+
]
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
id: "reasoning_effort",
|
|
946
|
+
displayName: "Effort",
|
|
947
|
+
values: [
|
|
948
|
+
{
|
|
949
|
+
value: "low",
|
|
950
|
+
displayName: "Low"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
value: "medium",
|
|
954
|
+
displayName: "Medium"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
value: "high",
|
|
958
|
+
displayName: "High"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
value: "xhigh",
|
|
962
|
+
displayName: "Extra High"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
value: "max",
|
|
966
|
+
displayName: "Max"
|
|
967
|
+
}
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
],
|
|
971
|
+
variants: [
|
|
972
|
+
{
|
|
973
|
+
params: [
|
|
974
|
+
{
|
|
975
|
+
id: "thinking",
|
|
976
|
+
value: "false"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
id: "context",
|
|
980
|
+
value: "300k"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
id: "reasoning_effort",
|
|
984
|
+
value: "low"
|
|
985
|
+
}
|
|
986
|
+
],
|
|
987
|
+
displayName: "Claude Haiku 5.5 Low No Thinking"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
params: [
|
|
991
|
+
{
|
|
992
|
+
id: "thinking",
|
|
993
|
+
value: "false"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
id: "context",
|
|
997
|
+
value: "300k"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
id: "reasoning_effort",
|
|
1001
|
+
value: "medium"
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
displayName: "Claude Haiku 5.5 Medium No Thinking"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
params: [
|
|
1008
|
+
{
|
|
1009
|
+
id: "thinking",
|
|
1010
|
+
value: "false"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
id: "context",
|
|
1014
|
+
value: "300k"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
id: "reasoning_effort",
|
|
1018
|
+
value: "high"
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
displayName: "Claude Haiku 5.5 High No Thinking"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
params: [
|
|
1025
|
+
{
|
|
1026
|
+
id: "thinking",
|
|
1027
|
+
value: "false"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
id: "context",
|
|
1031
|
+
value: "300k"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
id: "reasoning_effort",
|
|
1035
|
+
value: "xhigh"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
displayName: "Claude Haiku 5.5 Extra High No Thinking"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
params: [
|
|
1042
|
+
{
|
|
1043
|
+
id: "thinking",
|
|
1044
|
+
value: "false"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
id: "context",
|
|
1048
|
+
value: "300k"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
id: "reasoning_effort",
|
|
1052
|
+
value: "max"
|
|
1053
|
+
}
|
|
1054
|
+
],
|
|
1055
|
+
displayName: "Claude Haiku 5.5 Max No Thinking"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
params: [
|
|
1059
|
+
{
|
|
1060
|
+
id: "thinking",
|
|
1061
|
+
value: "false"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
id: "context",
|
|
1065
|
+
value: "1m"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
id: "reasoning_effort",
|
|
1069
|
+
value: "low"
|
|
1070
|
+
}
|
|
1071
|
+
],
|
|
1072
|
+
displayName: "Claude Haiku 5.5 1M Low No Thinking"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
params: [
|
|
1076
|
+
{
|
|
1077
|
+
id: "thinking",
|
|
1078
|
+
value: "false"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
id: "context",
|
|
1082
|
+
value: "1m"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
id: "reasoning_effort",
|
|
1086
|
+
value: "medium"
|
|
1087
|
+
}
|
|
1088
|
+
],
|
|
1089
|
+
displayName: "Claude Haiku 5.5 1M Medium No Thinking"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
params: [
|
|
1093
|
+
{
|
|
1094
|
+
id: "thinking",
|
|
1095
|
+
value: "false"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
id: "context",
|
|
1099
|
+
value: "1m"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
id: "reasoning_effort",
|
|
1103
|
+
value: "high"
|
|
1104
|
+
}
|
|
1105
|
+
],
|
|
1106
|
+
displayName: "Claude Haiku 5.5 1M High No Thinking"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
params: [
|
|
1110
|
+
{
|
|
1111
|
+
id: "thinking",
|
|
1112
|
+
value: "false"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
id: "context",
|
|
1116
|
+
value: "1m"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
id: "reasoning_effort",
|
|
1120
|
+
value: "xhigh"
|
|
1121
|
+
}
|
|
1122
|
+
],
|
|
1123
|
+
displayName: "Claude Haiku 5.5 1M Extra High No Thinking"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
params: [
|
|
1127
|
+
{
|
|
1128
|
+
id: "thinking",
|
|
1129
|
+
value: "false"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
id: "context",
|
|
1133
|
+
value: "1m"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
id: "reasoning_effort",
|
|
1137
|
+
value: "max"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
displayName: "Claude Haiku 5.5 1M Max No Thinking"
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
params: [
|
|
1144
|
+
{
|
|
1145
|
+
id: "thinking",
|
|
1146
|
+
value: "true"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
id: "context",
|
|
1150
|
+
value: "300k"
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
id: "reasoning_effort",
|
|
1154
|
+
value: "low"
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
displayName: "Claude Haiku 5.5 Low"
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
params: [
|
|
1161
|
+
{
|
|
1162
|
+
id: "thinking",
|
|
1163
|
+
value: "true"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
id: "context",
|
|
1167
|
+
value: "300k"
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
id: "reasoning_effort",
|
|
1171
|
+
value: "medium"
|
|
1172
|
+
}
|
|
1173
|
+
],
|
|
1174
|
+
displayName: "Claude Haiku 5.5 Medium"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
params: [
|
|
1178
|
+
{
|
|
1179
|
+
id: "thinking",
|
|
1180
|
+
value: "true"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
id: "context",
|
|
1184
|
+
value: "300k"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
id: "reasoning_effort",
|
|
1188
|
+
value: "high"
|
|
1189
|
+
}
|
|
1190
|
+
],
|
|
1191
|
+
displayName: "Claude Haiku 5.5 High"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
params: [
|
|
1195
|
+
{
|
|
1196
|
+
id: "thinking",
|
|
1197
|
+
value: "true"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
id: "context",
|
|
1201
|
+
value: "300k"
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
id: "reasoning_effort",
|
|
1205
|
+
value: "xhigh"
|
|
1206
|
+
}
|
|
1207
|
+
],
|
|
1208
|
+
displayName: "Claude Haiku 5.5 Extra High"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
params: [
|
|
1212
|
+
{
|
|
1213
|
+
id: "thinking",
|
|
1214
|
+
value: "true"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
id: "context",
|
|
1218
|
+
value: "300k"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
id: "reasoning_effort",
|
|
1222
|
+
value: "max"
|
|
1223
|
+
}
|
|
1224
|
+
],
|
|
1225
|
+
displayName: "Claude Haiku 5.5 Max"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
params: [
|
|
1229
|
+
{
|
|
1230
|
+
id: "thinking",
|
|
1231
|
+
value: "true"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
id: "context",
|
|
1235
|
+
value: "1m"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
id: "reasoning_effort",
|
|
1239
|
+
value: "low"
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
displayName: "Claude Haiku 5.5 1M Low"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
params: [
|
|
1246
|
+
{
|
|
1247
|
+
id: "thinking",
|
|
1248
|
+
value: "true"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
id: "context",
|
|
1252
|
+
value: "1m"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
id: "reasoning_effort",
|
|
1256
|
+
value: "medium"
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
displayName: "Claude Haiku 5.5 1M Medium"
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
params: [
|
|
1263
|
+
{
|
|
1264
|
+
id: "thinking",
|
|
1265
|
+
value: "true"
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
id: "context",
|
|
1269
|
+
value: "1m"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
id: "reasoning_effort",
|
|
1273
|
+
value: "high"
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
displayName: "Claude Haiku 5.5 1M High",
|
|
1277
|
+
isDefault: true
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
params: [
|
|
1281
|
+
{
|
|
1282
|
+
id: "thinking",
|
|
1283
|
+
value: "true"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
id: "context",
|
|
1287
|
+
value: "1m"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
id: "reasoning_effort",
|
|
1291
|
+
value: "xhigh"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
displayName: "Claude Haiku 5.5 1M Extra High"
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
params: [
|
|
1298
|
+
{
|
|
1299
|
+
id: "thinking",
|
|
1300
|
+
value: "true"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
id: "context",
|
|
1304
|
+
value: "1m"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
id: "reasoning_effort",
|
|
1308
|
+
value: "max"
|
|
1309
|
+
}
|
|
1310
|
+
],
|
|
1311
|
+
displayName: "Claude Haiku 5.5 1M Max"
|
|
1312
|
+
}
|
|
1313
|
+
]
|
|
1314
|
+
},
|
|
914
1315
|
{
|
|
915
1316
|
id: "claude-opus-4-5",
|
|
916
1317
|
displayName: "Claude Opus 4.5",
|
|
@@ -6115,6 +6516,60 @@ export const FALLBACK_MODEL_ITEMS = [
|
|
|
6115
6516
|
}
|
|
6116
6517
|
]
|
|
6117
6518
|
},
|
|
6519
|
+
{
|
|
6520
|
+
id: "gemini-4-argon",
|
|
6521
|
+
displayName: "Gemini 4 Argon",
|
|
6522
|
+
parameters: [
|
|
6523
|
+
{
|
|
6524
|
+
id: "reasoning_effort",
|
|
6525
|
+
displayName: "Effort",
|
|
6526
|
+
values: [
|
|
6527
|
+
{
|
|
6528
|
+
value: "low",
|
|
6529
|
+
displayName: "Low"
|
|
6530
|
+
},
|
|
6531
|
+
{
|
|
6532
|
+
value: "medium",
|
|
6533
|
+
displayName: "Medium"
|
|
6534
|
+
},
|
|
6535
|
+
{
|
|
6536
|
+
value: "high",
|
|
6537
|
+
displayName: "High"
|
|
6538
|
+
}
|
|
6539
|
+
]
|
|
6540
|
+
}
|
|
6541
|
+
],
|
|
6542
|
+
variants: [
|
|
6543
|
+
{
|
|
6544
|
+
params: [
|
|
6545
|
+
{
|
|
6546
|
+
id: "reasoning_effort",
|
|
6547
|
+
value: "low"
|
|
6548
|
+
}
|
|
6549
|
+
],
|
|
6550
|
+
displayName: "Gemini 4 Argon Low"
|
|
6551
|
+
},
|
|
6552
|
+
{
|
|
6553
|
+
params: [
|
|
6554
|
+
{
|
|
6555
|
+
id: "reasoning_effort",
|
|
6556
|
+
value: "medium"
|
|
6557
|
+
}
|
|
6558
|
+
],
|
|
6559
|
+
displayName: "Gemini 4 Argon Medium",
|
|
6560
|
+
isDefault: true
|
|
6561
|
+
},
|
|
6562
|
+
{
|
|
6563
|
+
params: [
|
|
6564
|
+
{
|
|
6565
|
+
id: "reasoning_effort",
|
|
6566
|
+
value: "high"
|
|
6567
|
+
}
|
|
6568
|
+
],
|
|
6569
|
+
displayName: "Gemini 4 Argon High"
|
|
6570
|
+
}
|
|
6571
|
+
]
|
|
6572
|
+
},
|
|
6118
6573
|
{
|
|
6119
6574
|
id: "glm-5.2",
|
|
6120
6575
|
displayName: "GLM 5.2",
|
|
@@ -9754,5 +10209,214 @@ export const FALLBACK_MODEL_ITEMS = [
|
|
|
9754
10209
|
displayName: "Muse Spark 1.3"
|
|
9755
10210
|
}
|
|
9756
10211
|
]
|
|
10212
|
+
},
|
|
10213
|
+
{
|
|
10214
|
+
id: "muse-wonder-1.0",
|
|
10215
|
+
displayName: "Muse Wonder",
|
|
10216
|
+
parameters: [
|
|
10217
|
+
{
|
|
10218
|
+
id: "context",
|
|
10219
|
+
displayName: "Context",
|
|
10220
|
+
values: [
|
|
10221
|
+
{
|
|
10222
|
+
value: "300k",
|
|
10223
|
+
displayName: "300K"
|
|
10224
|
+
},
|
|
10225
|
+
{
|
|
10226
|
+
value: "1m",
|
|
10227
|
+
displayName: "1M"
|
|
10228
|
+
}
|
|
10229
|
+
]
|
|
10230
|
+
},
|
|
10231
|
+
{
|
|
10232
|
+
id: "reasoning_effort",
|
|
10233
|
+
displayName: "Reasoning",
|
|
10234
|
+
values: [
|
|
10235
|
+
{
|
|
10236
|
+
value: "minimal",
|
|
10237
|
+
displayName: "Minimal"
|
|
10238
|
+
},
|
|
10239
|
+
{
|
|
10240
|
+
value: "low",
|
|
10241
|
+
displayName: "Low"
|
|
10242
|
+
},
|
|
10243
|
+
{
|
|
10244
|
+
value: "medium",
|
|
10245
|
+
displayName: "Medium"
|
|
10246
|
+
},
|
|
10247
|
+
{
|
|
10248
|
+
value: "high",
|
|
10249
|
+
displayName: "High"
|
|
10250
|
+
},
|
|
10251
|
+
{
|
|
10252
|
+
value: "xhigh",
|
|
10253
|
+
displayName: "Extra High"
|
|
10254
|
+
},
|
|
10255
|
+
{
|
|
10256
|
+
value: "max",
|
|
10257
|
+
displayName: "Max"
|
|
10258
|
+
}
|
|
10259
|
+
]
|
|
10260
|
+
}
|
|
10261
|
+
],
|
|
10262
|
+
variants: [
|
|
10263
|
+
{
|
|
10264
|
+
params: [
|
|
10265
|
+
{
|
|
10266
|
+
id: "context",
|
|
10267
|
+
value: "300k"
|
|
10268
|
+
},
|
|
10269
|
+
{
|
|
10270
|
+
id: "reasoning_effort",
|
|
10271
|
+
value: "minimal"
|
|
10272
|
+
}
|
|
10273
|
+
],
|
|
10274
|
+
displayName: "Muse Wonder Minimal"
|
|
10275
|
+
},
|
|
10276
|
+
{
|
|
10277
|
+
params: [
|
|
10278
|
+
{
|
|
10279
|
+
id: "context",
|
|
10280
|
+
value: "300k"
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
id: "reasoning_effort",
|
|
10284
|
+
value: "low"
|
|
10285
|
+
}
|
|
10286
|
+
],
|
|
10287
|
+
displayName: "Muse Wonder Low"
|
|
10288
|
+
},
|
|
10289
|
+
{
|
|
10290
|
+
params: [
|
|
10291
|
+
{
|
|
10292
|
+
id: "context",
|
|
10293
|
+
value: "300k"
|
|
10294
|
+
},
|
|
10295
|
+
{
|
|
10296
|
+
id: "reasoning_effort",
|
|
10297
|
+
value: "medium"
|
|
10298
|
+
}
|
|
10299
|
+
],
|
|
10300
|
+
displayName: "Muse Wonder Medium"
|
|
10301
|
+
},
|
|
10302
|
+
{
|
|
10303
|
+
params: [
|
|
10304
|
+
{
|
|
10305
|
+
id: "context",
|
|
10306
|
+
value: "300k"
|
|
10307
|
+
},
|
|
10308
|
+
{
|
|
10309
|
+
id: "reasoning_effort",
|
|
10310
|
+
value: "high"
|
|
10311
|
+
}
|
|
10312
|
+
],
|
|
10313
|
+
displayName: "Muse Wonder High"
|
|
10314
|
+
},
|
|
10315
|
+
{
|
|
10316
|
+
params: [
|
|
10317
|
+
{
|
|
10318
|
+
id: "context",
|
|
10319
|
+
value: "300k"
|
|
10320
|
+
},
|
|
10321
|
+
{
|
|
10322
|
+
id: "reasoning_effort",
|
|
10323
|
+
value: "xhigh"
|
|
10324
|
+
}
|
|
10325
|
+
],
|
|
10326
|
+
displayName: "Muse Wonder Extra High"
|
|
10327
|
+
},
|
|
10328
|
+
{
|
|
10329
|
+
params: [
|
|
10330
|
+
{
|
|
10331
|
+
id: "context",
|
|
10332
|
+
value: "300k"
|
|
10333
|
+
},
|
|
10334
|
+
{
|
|
10335
|
+
id: "reasoning_effort",
|
|
10336
|
+
value: "max"
|
|
10337
|
+
}
|
|
10338
|
+
],
|
|
10339
|
+
displayName: "Muse Wonder Max"
|
|
10340
|
+
},
|
|
10341
|
+
{
|
|
10342
|
+
params: [
|
|
10343
|
+
{
|
|
10344
|
+
id: "context",
|
|
10345
|
+
value: "1m"
|
|
10346
|
+
},
|
|
10347
|
+
{
|
|
10348
|
+
id: "reasoning_effort",
|
|
10349
|
+
value: "minimal"
|
|
10350
|
+
}
|
|
10351
|
+
],
|
|
10352
|
+
displayName: "Muse Wonder 1M Minimal"
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
params: [
|
|
10356
|
+
{
|
|
10357
|
+
id: "context",
|
|
10358
|
+
value: "1m"
|
|
10359
|
+
},
|
|
10360
|
+
{
|
|
10361
|
+
id: "reasoning_effort",
|
|
10362
|
+
value: "low"
|
|
10363
|
+
}
|
|
10364
|
+
],
|
|
10365
|
+
displayName: "Muse Wonder 1M Low"
|
|
10366
|
+
},
|
|
10367
|
+
{
|
|
10368
|
+
params: [
|
|
10369
|
+
{
|
|
10370
|
+
id: "context",
|
|
10371
|
+
value: "1m"
|
|
10372
|
+
},
|
|
10373
|
+
{
|
|
10374
|
+
id: "reasoning_effort",
|
|
10375
|
+
value: "medium"
|
|
10376
|
+
}
|
|
10377
|
+
],
|
|
10378
|
+
displayName: "Muse Wonder 1M Medium"
|
|
10379
|
+
},
|
|
10380
|
+
{
|
|
10381
|
+
params: [
|
|
10382
|
+
{
|
|
10383
|
+
id: "context",
|
|
10384
|
+
value: "1m"
|
|
10385
|
+
},
|
|
10386
|
+
{
|
|
10387
|
+
id: "reasoning_effort",
|
|
10388
|
+
value: "high"
|
|
10389
|
+
}
|
|
10390
|
+
],
|
|
10391
|
+
displayName: "Muse Wonder 1M High"
|
|
10392
|
+
},
|
|
10393
|
+
{
|
|
10394
|
+
params: [
|
|
10395
|
+
{
|
|
10396
|
+
id: "context",
|
|
10397
|
+
value: "1m"
|
|
10398
|
+
},
|
|
10399
|
+
{
|
|
10400
|
+
id: "reasoning_effort",
|
|
10401
|
+
value: "xhigh"
|
|
10402
|
+
}
|
|
10403
|
+
],
|
|
10404
|
+
displayName: "Muse Wonder 1M Extra High",
|
|
10405
|
+
isDefault: true
|
|
10406
|
+
},
|
|
10407
|
+
{
|
|
10408
|
+
params: [
|
|
10409
|
+
{
|
|
10410
|
+
id: "context",
|
|
10411
|
+
value: "1m"
|
|
10412
|
+
},
|
|
10413
|
+
{
|
|
10414
|
+
id: "reasoning_effort",
|
|
10415
|
+
value: "max"
|
|
10416
|
+
}
|
|
10417
|
+
],
|
|
10418
|
+
displayName: "Muse Wonder 1M Max"
|
|
10419
|
+
}
|
|
10420
|
+
]
|
|
9757
10421
|
}
|
|
9758
10422
|
];
|
|
@@ -150,6 +150,7 @@ export function createCursorLiveRunCoordinator(deps) {
|
|
|
150
150
|
const run = {
|
|
151
151
|
id: params.id,
|
|
152
152
|
agent: params.agent,
|
|
153
|
+
nativeToolsEnabled: params.nativeToolsEnabled !== false,
|
|
153
154
|
bridgeRun: params.bridgeRun,
|
|
154
155
|
sessionBridgeRun: params.sessionBridgeRun,
|
|
155
156
|
sessionAgentScopeKey,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// ponytail: process-local claims protect extension-owned handles and cleanup.
|
|
2
|
+
// Cross-process SDK ownership requires an upstream store/agent lease contract.
|
|
3
|
+
// Unproven disposal retains the exact handle claim until process exit.
|
|
4
|
+
const claims = new Set();
|
|
5
|
+
export function claimCursorLocalAgent(identity, agentId) {
|
|
6
|
+
const key = JSON.stringify([identity.stateRoot, agentId]);
|
|
7
|
+
if (claims.has(key))
|
|
8
|
+
return undefined;
|
|
9
|
+
claims.add(key);
|
|
10
|
+
let released = false;
|
|
11
|
+
return () => {
|
|
12
|
+
if (released)
|
|
13
|
+
return;
|
|
14
|
+
released = true;
|
|
15
|
+
claims.delete(key);
|
|
16
|
+
};
|
|
17
|
+
}
|