ugcinc 4.5.38 → 4.5.40

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.
@@ -24,7 +24,7 @@ const definition = (0, types_1.defineNode)({
24
24
  selectionModes: null,
25
25
  defaults: {
26
26
  provider: 'claude',
27
- model: 'claude-sonnet-4-5',
27
+ model: 'claude-sonnet-4.5',
28
28
  temperature: 0.7,
29
29
  maxTokens: undefined,
30
30
  systemPrompt: '',
package/dist/cli.js CHANGED
@@ -192,7 +192,7 @@ async function runTool(toolName, rawParams) {
192
192
  }
193
193
  const config = loadConfig();
194
194
  const isAdmin = config.admin === 'true';
195
- const client = new client_1.UGCClient({ apiKey, orgId, admin: isAdmin });
195
+ const client = new client_1.UGCClient({ apiKey, orgId: orgId ?? config.orgId, admin: isAdmin });
196
196
  let params = undefined;
197
197
  if (parsed) {
198
198
  const parseResult = tool.schema.safeParse(parsed);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "4.5.38",
3
+ "version": "4.5.40",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",