@rallycry/conveyor-agent 10.7.1 → 10.7.3
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/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rallycry/conveyor-agent",
|
|
3
|
-
"version": "10.7.
|
|
3
|
+
"version": "10.7.3",
|
|
4
4
|
"description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
package/runtime/entrypoint.sh
CHANGED
|
@@ -308,12 +308,19 @@ export CONVEYOR_USER_ID
|
|
|
308
308
|
seed_claude_json() {
|
|
309
309
|
SEED_TARGET="$1"
|
|
310
310
|
SEED_GATES='{"hasCompletedOnboarding":true,"bypassPermissionsModeAccepted":true,"projects":{"/workspaces/repo":{"hasTrustDialogAccepted":true}}}'
|
|
311
|
+
# Fable is entitlement-gated in the CLI's /model picker via
|
|
312
|
+
# additionalModelOptionsCache, normally populated by a bootstrap fetch the
|
|
313
|
+
# pods' synthesized credentials don't satisfy — without this row the picker
|
|
314
|
+
# never offers Fable in a pod. Appended only when no fable-valued entry
|
|
315
|
+
# exists, so a CLI-written entitlement cache is never clobbered.
|
|
316
|
+
SEED_FABLE_OPTION='{"value":"claude-fable-5[1m]","label":"Fable","description":"Fable 5 - most capable for your hardest and longest-running tasks"}'
|
|
317
|
+
SEED_FABLE_FILTER='if ([.additionalModelOptionsCache[]? | .value? | strings | ascii_downcase | select(contains("fable"))] | length) > 0 then . else .additionalModelOptionsCache = ((.additionalModelOptionsCache // []) + [$fable]) end'
|
|
311
318
|
if [ -f "${SEED_TARGET}" ] && jq -e . "${SEED_TARGET}" >/dev/null 2>&1; then
|
|
312
|
-
if SEED_MERGED="$(jq -c --argjson gates "${SEED_GATES}"
|
|
319
|
+
if SEED_MERGED="$(jq -c --argjson gates "${SEED_GATES}" --argjson fable "${SEED_FABLE_OPTION}" ". * \$gates | ${SEED_FABLE_FILTER}" "${SEED_TARGET}" 2>/dev/null)" && [ -n "${SEED_MERGED}" ]; then
|
|
313
320
|
printf '%s' "${SEED_MERGED}" > "${SEED_TARGET}" 2>/dev/null || true
|
|
314
321
|
fi
|
|
315
322
|
else
|
|
316
|
-
printf '%s' "${SEED_GATES}" | jq -c '. + {theme:"dark"}' > "${SEED_TARGET}" 2>/dev/null || true
|
|
323
|
+
printf '%s' "${SEED_GATES}" | jq -c --argjson fable "${SEED_FABLE_OPTION}" '. + {theme:"dark", additionalModelOptionsCache: [$fable]}' > "${SEED_TARGET}" 2>/dev/null || true
|
|
317
324
|
fi
|
|
318
325
|
}
|
|
319
326
|
|