@hasna/accounts 0.1.14 → 0.1.16

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/types.d.ts CHANGED
@@ -14,6 +14,8 @@ export declare const toolDefSchema: z.ZodObject<{
14
14
  resumeArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
15
  /** Tool-specific permission presets exposed through `--permissions <preset>`. */
16
16
  permissionArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
17
+ /** Tool args prepended for launch/login/run; supports {profileDir}, {profileName}, {toolId}. */
18
+ launchArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
19
  accountFile: z.ZodOptional<z.ZodString>;
18
20
  emailPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
21
  }, "strip", z.ZodTypeAny, {
@@ -27,6 +29,7 @@ export declare const toolDefSchema: z.ZodObject<{
27
29
  loginHint?: string | undefined;
28
30
  resumeArgs?: string[] | undefined;
29
31
  permissionArgs?: Record<string, string[]> | undefined;
32
+ launchArgs?: string[] | undefined;
30
33
  accountFile?: string | undefined;
31
34
  emailPath?: string[] | undefined;
32
35
  }, {
@@ -40,6 +43,7 @@ export declare const toolDefSchema: z.ZodObject<{
40
43
  loginHint?: string | undefined;
41
44
  resumeArgs?: string[] | undefined;
42
45
  permissionArgs?: Record<string, string[]> | undefined;
46
+ launchArgs?: string[] | undefined;
43
47
  accountFile?: string | undefined;
44
48
  emailPath?: string[] | undefined;
45
49
  }>;
@@ -123,6 +127,8 @@ export declare const storeSchema: z.ZodObject<{
123
127
  resumeArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
128
  /** Tool-specific permission presets exposed through `--permissions <preset>`. */
125
129
  permissionArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
130
+ /** Tool args prepended for launch/login/run; supports {profileDir}, {profileName}, {toolId}. */
131
+ launchArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
132
  accountFile: z.ZodOptional<z.ZodString>;
127
133
  emailPath: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
128
134
  }, "strip", z.ZodTypeAny, {
@@ -136,6 +142,7 @@ export declare const storeSchema: z.ZodObject<{
136
142
  loginHint?: string | undefined;
137
143
  resumeArgs?: string[] | undefined;
138
144
  permissionArgs?: Record<string, string[]> | undefined;
145
+ launchArgs?: string[] | undefined;
139
146
  accountFile?: string | undefined;
140
147
  emailPath?: string[] | undefined;
141
148
  }, {
@@ -149,6 +156,7 @@ export declare const storeSchema: z.ZodObject<{
149
156
  loginHint?: string | undefined;
150
157
  resumeArgs?: string[] | undefined;
151
158
  permissionArgs?: Record<string, string[]> | undefined;
159
+ launchArgs?: string[] | undefined;
152
160
  accountFile?: string | undefined;
153
161
  emailPath?: string[] | undefined;
154
162
  }>, "many">>;
@@ -176,6 +184,7 @@ export declare const storeSchema: z.ZodObject<{
176
184
  loginHint?: string | undefined;
177
185
  resumeArgs?: string[] | undefined;
178
186
  permissionArgs?: Record<string, string[]> | undefined;
187
+ launchArgs?: string[] | undefined;
179
188
  accountFile?: string | undefined;
180
189
  emailPath?: string[] | undefined;
181
190
  }[];
@@ -203,6 +212,7 @@ export declare const storeSchema: z.ZodObject<{
203
212
  loginHint?: string | undefined;
204
213
  resumeArgs?: string[] | undefined;
205
214
  permissionArgs?: Record<string, string[]> | undefined;
215
+ launchArgs?: string[] | undefined;
206
216
  accountFile?: string | undefined;
207
217
  emailPath?: string[] | undefined;
208
218
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,8BAA8B;AAC9B,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,uEAAuE;AACvE,eAAO,MAAM,aAAa;;;;;;;;;;IAUxB,iFAAi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AAO,MAAM,WAAW;;IAEtB,mEAAmE;;IAEnE;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGH,0EAA0E;;;;;;;;;;;QAtC1E,iFAAiF;;QAEjF,gGAAgG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsChG,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,qBAAa,aAAc,SAAQ,KAAK;gBAC1B,OAAO,EAAE,MAAM;CAI5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/accounts",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Manage and switch between multiple Claude Code (and other AI coding tool) profiles/accounts locally — isolated config dirs, per-account email, one-command switching.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",