dexto 1.6.24 → 1.6.26
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/auth/api-client.d.ts +19 -1
- package/dist/cli/auth/api-client.d.ts.map +1 -1
- package/dist/cli/auth/api-client.js +92 -1
- package/dist/cli/auth/billing.d.ts +14 -0
- package/dist/cli/auth/billing.d.ts.map +1 -0
- package/dist/cli/auth/billing.js +35 -0
- package/dist/cli/auth/browser-launch.d.ts +1 -0
- package/dist/cli/auth/browser-launch.d.ts.map +1 -1
- package/dist/cli/auth/browser-launch.js +7 -0
- package/dist/cli/auth/constants.d.ts.map +1 -1
- package/dist/cli/auth/constants.js +1 -1
- package/dist/cli/auth/dexto-api-key.d.ts +2 -2
- package/dist/cli/auth/dexto-api-key.d.ts.map +1 -1
- package/dist/cli/auth/dexto-api-key.js +3 -7
- package/dist/cli/auth/index.d.ts +2 -1
- package/dist/cli/auth/index.d.ts.map +1 -1
- package/dist/cli/auth/index.js +2 -1
- package/dist/cli/auth/login-persistence.d.ts.map +1 -1
- package/dist/cli/auth/login-persistence.js +33 -3
- package/dist/cli/auth/service.d.ts +1 -0
- package/dist/cli/auth/service.d.ts.map +1 -1
- package/dist/cli/auth/service.js +16 -4
- package/dist/cli/cloud-chat.d.ts.map +1 -1
- package/dist/cli/cloud-chat.js +4 -3
- package/dist/cli/commands/auth/login.d.ts.map +1 -1
- package/dist/cli/commands/auth/login.js +7 -18
- package/dist/cli/commands/billing/status.d.ts.map +1 -1
- package/dist/cli/commands/billing/status.js +2 -3
- package/dist/cli/commands/setup.js +3 -8
- package/dist/cli/modes/cli.d.ts.map +1 -1
- package/dist/cli/modes/cli.js +3 -1
- package/dist/index-main.js +2 -0
- package/dist/webui/assets/{index-MAdBaUdd.js → index-XTyP16n-.js} +75 -75
- package/dist/webui/assets/tanstack-CdDcRpJz.js +1 -0
- package/dist/webui/index.html +2 -2
- package/package.json +13 -13
- package/dist/webui/assets/tanstack-BL5ags_d.js +0 -1
package/dist/cli/modes/cli.js
CHANGED
|
@@ -166,7 +166,7 @@ export async function runCliMode(context) {
|
|
|
166
166
|
console.info = noOp;
|
|
167
167
|
let inkError = undefined;
|
|
168
168
|
try {
|
|
169
|
-
const [{ startInkCliRefactored, setTuiRuntimeServices }, { registerGracefulShutdown }, { applyLayeredEnvironmentLoading }, { getProviderDisplayName, isValidApiKeyFormat, getProviderInstructions }, { performDeviceCodeLogin, persistOAuthLoginResult, ensureDextoApiKeyForAuthToken, loadAuth, storeAuth, removeAuth, removeDextoApiKeyFromEnv, }, { isUsingDextoCredits }, { canUseDextoProvider }, { capture },] = await Promise.all([
|
|
169
|
+
const [{ startInkCliRefactored, setTuiRuntimeServices }, { registerGracefulShutdown }, { applyLayeredEnvironmentLoading }, { getProviderDisplayName, isValidApiKeyFormat, getProviderInstructions }, { performDeviceCodeLogin, persistOAuthLoginResult, ensureDextoApiKeyForAuthToken, loadAuth, storeAuth, removeAuth, removeDextoApiKeyFromEnv, buildDextoBillingUrl, openDextoBillingPage, }, { isUsingDextoCredits }, { canUseDextoProvider }, { capture },] = await Promise.all([
|
|
170
170
|
import('@dexto/tui'),
|
|
171
171
|
import('../../utils/graceful-shutdown.js'),
|
|
172
172
|
import('../../utils/env.js'),
|
|
@@ -194,6 +194,8 @@ export async function runCliMode(context) {
|
|
|
194
194
|
removeDextoApiKeyFromEnv,
|
|
195
195
|
isUsingDextoCredits,
|
|
196
196
|
canUseDextoProvider,
|
|
197
|
+
buildDextoBillingUrl,
|
|
198
|
+
openDextoBillingPage,
|
|
197
199
|
});
|
|
198
200
|
await startInkCliRefactored(agent, cliSessionId, {
|
|
199
201
|
updateInfo: cliUpdateInfo ?? undefined,
|
package/dist/index-main.js
CHANGED
|
@@ -354,6 +354,7 @@ async function bootstrapAgentFromGlobalOpts(options) {
|
|
|
354
354
|
const agent = new DextoAgent(toDextoAgentOptions({
|
|
355
355
|
config: validatedConfig,
|
|
356
356
|
services,
|
|
357
|
+
image,
|
|
357
358
|
}));
|
|
358
359
|
await agent.start();
|
|
359
360
|
await (await import('./utils/workspace.js')).applyWorkspaceToAgent(agent, workspaceRoot);
|
|
@@ -832,6 +833,7 @@ program
|
|
|
832
833
|
agent = new DextoAgent(toDextoAgentOptions({
|
|
833
834
|
config: validatedConfig,
|
|
834
835
|
services,
|
|
836
|
+
image,
|
|
835
837
|
overrides: {
|
|
836
838
|
sessionLoggerFactory,
|
|
837
839
|
mcpAuthProviderFactory,
|