@odla-ai/cli 0.28.0 → 0.28.2
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/bin.cjs +2 -1
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-HCNESRIA.js → chunk-STJCWZJU.js} +3 -2
- package/dist/{chunk-HCNESRIA.js.map → chunk-STJCWZJU.js.map} +1 -1
- package/dist/{cli-DDOFM47D.js → cli-2WZIFXA6.js} +2 -2
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- /package/dist/{cli-DDOFM47D.js.map → cli-2WZIFXA6.js.map} +0 -0
package/dist/bin.cjs
CHANGED
|
@@ -599,11 +599,12 @@ async function resumePendingHandshake(ctx, waitMs) {
|
|
|
599
599
|
async function freshHandshake(ctx, waitMs) {
|
|
600
600
|
let started;
|
|
601
601
|
let stopReminder;
|
|
602
|
+
const provisioning = ctx.grantIntent.optionalProjectCapabilities.includes("app.manage");
|
|
602
603
|
try {
|
|
603
604
|
return await (0, import_db.requestToken)({
|
|
604
605
|
endpoint: ctx.cfg.platformUrl,
|
|
605
606
|
email: ctx.email,
|
|
606
|
-
label: `${ctx.cfg.app.id} provisioner`,
|
|
607
|
+
label: `${ctx.cfg.app.id} ${provisioning ? "provisioner" : "agent"}`,
|
|
607
608
|
agentHandle: projectAgentHandle(ctx.cfg.app.id),
|
|
608
609
|
projectIds: [ctx.cfg.app.id],
|
|
609
610
|
optionalProjectCapabilities: ctx.grantIntent.optionalProjectCapabilities,
|