@soederpop/luca 0.0.21 → 0.0.22

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.
@@ -32,6 +32,7 @@ export const GoogleSheetsStateSchema = FeatureStateSchema.extend({
32
32
  export type GoogleSheetsState = z.infer<typeof GoogleSheetsStateSchema>
33
33
 
34
34
  export const GoogleSheetsOptionsSchema = FeatureOptionsSchema.extend({
35
+ auth: z.any().describe('An authorized instance of the googleAuth feature').optional(),
35
36
  defaultSpreadsheetId: z.string().optional()
36
37
  .describe('Default spreadsheet ID for operations'),
37
38
  })
@@ -84,9 +85,14 @@ export class GoogleSheets extends Feature<GoogleSheetsState, GoogleSheetsOptions
84
85
 
85
86
  /** Access the google-auth feature lazily. */
86
87
  get auth(): GoogleAuth {
88
+ if (this.options.auth) {
89
+ return this.options.auth as GoogleAuth
90
+ }
91
+
87
92
  return this.container.feature('googleAuth') as unknown as GoogleAuth
88
93
  }
89
94
 
95
+
90
96
  /** Get or create the Sheets v4 API client. */
91
97
  private async getSheets(): Promise<sheets_v4.Sheets> {
92
98
  if (this._sheets) return this._sheets
@@ -1,5 +1,5 @@
1
1
  // Auto-generated scaffold and MCP readme content
2
- // Generated at: 2026-03-21T05:24:16.045Z
2
+ // Generated at: 2026-03-21T05:25:03.287Z
3
3
  // Source: docs/scaffolds/*.md, docs/examples/assistant/, and docs/mcp/readme.md
4
4
  //
5
5
  // Do not edit manually. Run: luca build-scaffolds