task-o-matic-core 0.1.1-beta.15 → 0.1.1-beta.17

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.
@@ -1 +1 @@
1
- {"version":3,"file":"better-t-stack-cli.d.ts","sourceRoot":"","sources":["../../src/lib/better-t-stack-cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,WAAW,EAAE,MAAM,UAAU,CAAC;AAO/D,qBAAa,mBAAmB;IACxB,aAAa,CACjB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,SAAS,EACjB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC;QACT,OAAO,EAAE,OAAO,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IAwFF,OAAO,CAAC,kBAAkB;YAqCZ,aAAa;YAiCb,mBAAmB;YAiCnB,iBAAiB;CA+ChC;AAGD,qBAAa,uBAAuB;IAClC,OAAO,CAAC,UAAU,CAAsB;;IAMxC;;OAEG;IACH,OAAO,CAAC,cAAc;IAoBtB;;OAEG;IACH,OAAO,CAAC,cAAc;IAYtB;;OAEG;IACG,aAAa,CACjB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,EACpB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAuEvE;;OAEG;YACW,4BAA4B;IAwD1C;;OAEG;YACW,eAAe;IAiC7B;;OAEG;YACW,kBAAkB;CAkCjC;AAGD,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,WAAW,EACpB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAOtE"}
1
+ {"version":3,"file":"better-t-stack-cli.d.ts","sourceRoot":"","sources":["../../src/lib/better-t-stack-cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAe,WAAW,EAAE,MAAM,UAAU,CAAC;AAO/D,qBAAa,mBAAmB;IACxB,aAAa,CACjB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,SAAS,EACjB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC;QACT,OAAO,EAAE,OAAO,CAAC;QACjB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IA2FF,OAAO,CAAC,kBAAkB;YAqCZ,aAAa;YAiCb,mBAAmB;YAiCnB,iBAAiB;CA+ChC;AAGD,qBAAa,uBAAuB;IAClC,OAAO,CAAC,UAAU,CAAsB;;IAMxC;;OAEG;IACH,OAAO,CAAC,cAAc;IAoBtB;;OAEG;IACH,OAAO,CAAC,cAAc;IAYtB;;OAEG;IACG,aAAa,CACjB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,EACpB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAuEvE;;OAEG;YACW,4BAA4B;IA0D1C;;OAEG;YACW,eAAe;IAiC7B;;OAEG;YACW,kBAAkB;CAkCjC;AAGD,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,WAAW,EACpB,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAOtE"}
@@ -339,16 +339,18 @@ class BetterTStackIntegration {
339
339
  database: isConvex
340
340
  ? "none"
341
341
  : options.database || "sqlite",
342
- auth: options.noAuth
342
+ auth: (options.noAuth || options.backend === "none"
343
343
  ? "none"
344
- : options.auth || "better-auth",
344
+ : options.auth || "better-auth"),
345
345
  addons: options.addons || ["turborepo"],
346
346
  runtime: (isConvex || backend === "self"
347
347
  ? "none"
348
348
  : options.runtime || "node"),
349
349
  api: options.api || "none",
350
350
  payments: options.payment || "none",
351
- orm: (isConvex ? "none" : options.orm || "drizzle"),
351
+ orm: (isConvex || options.database === "none"
352
+ ? "none"
353
+ : options.orm || "drizzle"),
352
354
  dbSetup: (isConvex
353
355
  ? "none"
354
356
  : options.dbSetup || "none"),
@@ -22,7 +22,7 @@ export declare const AIConfigSchema: z.ZodObject<{
22
22
  maxTokens?: number | undefined;
23
23
  }>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- provider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai";
25
+ provider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai";
26
26
  model: string;
27
27
  apiKey?: string | undefined;
28
28
  baseURL?: string | undefined;
@@ -33,7 +33,7 @@ export declare const AIConfigSchema: z.ZodObject<{
33
33
  maxTokens?: number | undefined;
34
34
  } | undefined;
35
35
  }, {
36
- provider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai";
36
+ provider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai";
37
37
  model: string;
38
38
  apiKey?: string | undefined;
39
39
  baseURL?: string | undefined;
@@ -64,7 +64,7 @@ export declare const ConfigSchema: z.ZodObject<{
64
64
  maxTokens?: number | undefined;
65
65
  }>>;
66
66
  }, "strip", z.ZodTypeAny, {
67
- provider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai";
67
+ provider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai";
68
68
  model: string;
69
69
  apiKey?: string | undefined;
70
70
  baseURL?: string | undefined;
@@ -75,7 +75,7 @@ export declare const ConfigSchema: z.ZodObject<{
75
75
  maxTokens?: number | undefined;
76
76
  } | undefined;
77
77
  }, {
78
- provider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai";
78
+ provider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai";
79
79
  model: string;
80
80
  apiKey?: string | undefined;
81
81
  baseURL?: string | undefined;
@@ -89,7 +89,7 @@ export declare const ConfigSchema: z.ZodObject<{
89
89
  workingDirectory: z.ZodOptional<z.ZodString>;
90
90
  }, "strip", z.ZodTypeAny, {
91
91
  ai: {
92
- provider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai";
92
+ provider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai";
93
93
  model: string;
94
94
  apiKey?: string | undefined;
95
95
  baseURL?: string | undefined;
@@ -103,7 +103,7 @@ export declare const ConfigSchema: z.ZodObject<{
103
103
  workingDirectory?: string | undefined;
104
104
  }, {
105
105
  ai: {
106
- provider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai";
106
+ provider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai";
107
107
  model: string;
108
108
  apiKey?: string | undefined;
109
109
  baseURL?: string | undefined;
@@ -33,7 +33,7 @@ export declare function createBaseAIMetadata(taskId: string, aiConfig: Partial<A
33
33
  aiGenerated: boolean;
34
34
  aiPrompt: string;
35
35
  confidence: number;
36
- aiProvider: "openai" | "anthropic" | "openrouter" | "custom" | "gemini" | "zai" | undefined;
36
+ aiProvider: "custom" | "openai" | "anthropic" | "openrouter" | "gemini" | "zai" | undefined;
37
37
  aiModel: string | undefined;
38
38
  generatedAt: number;
39
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-o-matic-core",
3
- "version": "0.1.1-beta.15",
3
+ "version": "0.1.1-beta.17",
4
4
  "description": "Core logic for Task-O-Matic",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",