@lumerahq/ui 0.19.2 → 0.19.3

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/README.md CHANGED
@@ -201,7 +201,8 @@ const url = await getDownloadUrl(record.attachment.object_key);
201
201
  import { createRun, pollRun } from '@lumerahq/ui/lib';
202
202
 
203
203
  const run = await createRun({
204
- automationId: 'my-automation-id',
204
+ // Bare external ID; the current project scope is resolved automatically.
205
+ automationId: 'process-data',
205
206
  inputs: { param: 'value' },
206
207
  });
207
208
 
@@ -96,7 +96,7 @@ export type PollOptions = {
96
96
  *
97
97
  * @example
98
98
  * // Clear specific entry
99
- * clearAutomationCache('my_app:process_data');
99
+ * clearAutomationCache('process_data');
100
100
  *
101
101
  * // Clear entire cache
102
102
  * clearAutomationCache();
@@ -111,7 +111,7 @@ export declare function getAutomationByExternalId(externalId: string): Promise<s
111
111
  *
112
112
  * @example
113
113
  * const run = await createRun({
114
- * automationId: 'my_app:process_data',
114
+ * automationId: 'process_data',
115
115
  * inputs: { file_id: 'abc123' },
116
116
  * });
117
117
  * console.log(`Started run: ${run.id}`);
@@ -136,7 +136,7 @@ export declare function getRun(runId: string): Promise<AutomationRun>;
136
136
  *
137
137
  * @example
138
138
  * const runs = await listRuns({
139
- * automationId: 'my_app:process_data',
139
+ * automationId: 'process_data',
140
140
  * limit: 10,
141
141
  * });
142
142
  */
@@ -187,7 +187,7 @@ export declare function pollRun(runId: string, options?: PollOptions): Promise<A
187
187
  * @example
188
188
  * // Idempotent run - safe to call multiple times
189
189
  * const run = await ensureRun({
190
- * automationId: 'my_app:process_data',
190
+ * automationId: 'process_data',
191
191
  * inputs: { batch_id: 'batch_123' },
192
192
  * externalId: 'batch_123_processing',
193
193
  * });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumerahq/ui",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css"