@tryarcanist/cli 0.1.208 → 0.1.210
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/dist/index.js +25 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -907,7 +907,7 @@ async function agentSubscriptionLoginCommand(config, options, command) {
|
|
|
907
907
|
console.log(`Run \`arcanist ${config.harness} use on\` to start using it.`);
|
|
908
908
|
}
|
|
909
909
|
console.log(
|
|
910
|
-
|
|
910
|
+
`${config.displayName} sessions will use your subscription auth while the selector is on; run \`arcanist ${config.harness} use off\` to switch back.`
|
|
911
911
|
);
|
|
912
912
|
if (captureViaKeychain) {
|
|
913
913
|
console.log(
|
|
@@ -1532,9 +1532,12 @@ var MODEL_REGISTRY = [
|
|
|
1532
1532
|
contextWindow: 5e5,
|
|
1533
1533
|
costTracked: false,
|
|
1534
1534
|
sessionStart: { eligible: true, isDefault: true },
|
|
1535
|
-
// Internal probe (ARC-1704): hidden from the public model picker
|
|
1536
|
-
//
|
|
1537
|
-
|
|
1535
|
+
// Internal probe (ARC-1704): hidden from the public model picker except
|
|
1536
|
+
// for users with an active Grok subscription (Codex Spark precedent);
|
|
1537
|
+
// CLI/API-selectable and session-startable by internal Arcanist
|
|
1538
|
+
// businesses only.
|
|
1539
|
+
visibility: "internal_probe",
|
|
1540
|
+
requiresGrokSubscriptionAuth: true
|
|
1538
1541
|
},
|
|
1539
1542
|
{
|
|
1540
1543
|
id: GrokBuildModel.GrokComposer25Fast,
|
|
@@ -1548,7 +1551,8 @@ var MODEL_REGISTRY = [
|
|
|
1548
1551
|
// recorded. Subscription-billed, not metered by Arcanist.
|
|
1549
1552
|
costTracked: false,
|
|
1550
1553
|
sessionStart: { eligible: true },
|
|
1551
|
-
visibility: "internal_probe"
|
|
1554
|
+
visibility: "internal_probe",
|
|
1555
|
+
requiresGrokSubscriptionAuth: true
|
|
1552
1556
|
}
|
|
1553
1557
|
];
|
|
1554
1558
|
var MODEL_PROVIDER_NAMES = {
|
|
@@ -1720,6 +1724,19 @@ var CODEX_SUBSCRIPTION_SESSION_START_MODEL_PROVIDER_GROUPS = buildModelProviderG
|
|
|
1720
1724
|
(model) => SESSION_START_MODEL_ID_SET_ANY_BACKEND.has(model.id) && (model.visibility !== "internal_probe" || model.requiresCodexSubscriptionAuth === true)
|
|
1721
1725
|
)
|
|
1722
1726
|
);
|
|
1727
|
+
function buildSubscriptionAwareGroups(include) {
|
|
1728
|
+
return buildModelProviderGroups(
|
|
1729
|
+
MODEL_REGISTRY.filter(
|
|
1730
|
+
(model) => SESSION_START_MODEL_ID_SET_ANY_BACKEND.has(model.id) && (model.visibility !== "internal_probe" || include.codexSubscription && model.requiresCodexSubscriptionAuth === true || include.grokSubscription && model.requiresGrokSubscriptionAuth === true)
|
|
1731
|
+
)
|
|
1732
|
+
);
|
|
1733
|
+
}
|
|
1734
|
+
var SESSION_START_MODEL_PROVIDER_GROUPS_BY_SUBSCRIPTIONS = {
|
|
1735
|
+
"false:false": PUBLIC_SESSION_START_MODEL_PROVIDER_GROUPS,
|
|
1736
|
+
"false:true": buildSubscriptionAwareGroups({ codexSubscription: false, grokSubscription: true }),
|
|
1737
|
+
"true:false": CODEX_SUBSCRIPTION_SESSION_START_MODEL_PROVIDER_GROUPS,
|
|
1738
|
+
"true:true": buildSubscriptionAwareGroups({ codexSubscription: true, grokSubscription: true })
|
|
1739
|
+
};
|
|
1723
1740
|
|
|
1724
1741
|
// ../../shared/github/repo-url.ts
|
|
1725
1742
|
function parseGithubRepoFullName(value) {
|
|
@@ -6235,7 +6252,7 @@ grok.command("login").description("Authenticate a Grok (xAI) subscription and st
|
|
|
6235
6252
|
Runs the Grok CLI device-authorization login locally under a temporary HOME, then uploads the
|
|
6236
6253
|
resulting auth.json to Arcanist (encrypted, per user) and activates the selector. Your workspace
|
|
6237
6254
|
must have Grok subscription auth enabled. The credential is never written to your default ~/.grok.
|
|
6238
|
-
|
|
6255
|
+
While the selector is on, Grok Build sessions run on your subscription auth.
|
|
6239
6256
|
If the grok CLI is not installed, you will be offered its official install script ([y/N] prompt,
|
|
6240
6257
|
interactive terminals only).
|
|
6241
6258
|
|
|
@@ -6261,8 +6278,8 @@ cursor.command("login").description("Authenticate a Cursor subscription and stor
|
|
|
6261
6278
|
Runs the Cursor CLI login locally under a temporary HOME/CURSOR_CONFIG_DIR, then uploads the
|
|
6262
6279
|
captured auth credential to Arcanist (encrypted, per user) and activates the selector. Your
|
|
6263
6280
|
workspace must have Cursor subscription auth enabled. Cursor's login-token location is not
|
|
6264
|
-
formally documented; if capture fails, use a Cursor API key in Settings instead.
|
|
6265
|
-
|
|
6281
|
+
formally documented; if capture fails, use a Cursor API key in Settings instead. While the
|
|
6282
|
+
selector is on, Cursor sessions run on your subscription auth instead of a Cursor API key.
|
|
6266
6283
|
If the cursor-agent CLI is not installed, you will be offered its official install script
|
|
6267
6284
|
([y/N] prompt, interactive terminals only).
|
|
6268
6285
|
|