@conto_finance/create-conto-agent 0.5.0 → 0.5.1

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.
@@ -11,10 +11,9 @@ import {
11
11
  maskSecret,
12
12
  missingSdkKeyMessage,
13
13
  saveGlobalConfig,
14
- writeContoConfig,
15
14
  writeEnvLocal,
16
15
  writeSandboxSetupEnv
17
- } from "./chunk-XWUWB3FT.js";
16
+ } from "./chunk-RQ4PUBL7.js";
18
17
  export {
19
18
  SANDBOX_SETUP_ENV_FILE,
20
19
  clearGlobalConfig,
@@ -28,7 +27,6 @@ export {
28
27
  maskSecret,
29
28
  missingSdkKeyMessage,
30
29
  saveGlobalConfig,
31
- writeContoConfig,
32
30
  writeEnvLocal,
33
31
  writeSandboxSetupEnv
34
32
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  runInit
3
- } from "./chunk-HDSRGTWB.js";
3
+ } from "./chunk-YWVIBVYN.js";
4
+ import "./chunk-RQ4PUBL7.js";
4
5
  import {
5
6
  isJsonMode,
6
7
  printJson,
7
8
  setJsonMode
8
- } from "./chunk-K4LBO234.js";
9
- import "./chunk-XWUWB3FT.js";
9
+ } from "./chunk-DT5NOLBD.js";
10
10
 
11
11
  // src/index.ts
12
12
  var CLI_COMMANDS = /* @__PURE__ */ new Set([
@@ -73,6 +73,8 @@ if (delegatedCommand) {
73
73
  options.resume = true;
74
74
  } else if (arg === "--restart") {
75
75
  options.restart = true;
76
+ } else if (arg === "--overwrite") {
77
+ options.overwrite = true;
76
78
  }
77
79
  }
78
80
  if (options.json) {
@@ -95,7 +97,8 @@ if (delegatedCommand) {
95
97
  apiKey: options.apiKey,
96
98
  confirmMainnet: options.confirmMainnet === true,
97
99
  resume: options.resume === true,
98
- restart: options.restart === true
100
+ restart: options.restart === true,
101
+ overwrite: options.overwrite === true
99
102
  }).catch((err) => {
100
103
  const error = err instanceof Error ? err.message : String(err);
101
104
  if (isJsonMode()) printJson({ ok: false, error });
@@ -13,7 +13,7 @@ import {
13
13
  printWarning,
14
14
  setJsonMode,
15
15
  truncateAddress
16
- } from "./chunk-K4LBO234.js";
16
+ } from "./chunk-DT5NOLBD.js";
17
17
  export {
18
18
  isJsonMode,
19
19
  printAmount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conto_finance/create-conto-agent",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Set up an AI agent with Conto spending controls",
5
5
  "bin": {
6
6
  "create-conto-agent": "bin/create-conto-agent.js",