@capybara-hq/plugin-sdk 0.1.0-rc.65 → 0.1.0-rc.66
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/device-operation.d.ts +8 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -224,7 +224,11 @@ export interface SandboxBrowseScope extends SandboxOperationRef {
|
|
|
224
224
|
}
|
|
225
225
|
/** Browsing exposes metadata only: no file contents, writes, preparation or execution. */
|
|
226
226
|
export type SandboxBrowse = Pick<SandboxOperation, "stat"> & Required<Pick<SandboxOperation, "list" | "scan">>;
|
|
227
|
-
/**
|
|
227
|
+
/**
|
|
228
|
+
* An opaque locator over authenticated transport; validate generation before status, tail or stop.
|
|
229
|
+
* `instanceGeneration` is the provider's own generation of the instance (the kernel's when the
|
|
230
|
+
* provider keeps none); the kernel stores the ref as returned and never compares it with its own.
|
|
231
|
+
*/
|
|
228
232
|
export interface SandboxExecutionRef {
|
|
229
233
|
readonly executionId: string;
|
|
230
234
|
readonly operationId: string;
|
|
@@ -261,7 +265,9 @@ export interface SandboxBackground {
|
|
|
261
265
|
* Validate outputPath inside the scope. retainUntilMs bounds status/output record retention.
|
|
262
266
|
* instanceGeneration is the kernel's generation of the held instance `h` (the kernel always
|
|
263
267
|
* passes it, and allocates it only after `create` returns): a provider that keeps no generation
|
|
264
|
-
* of its own (a cloud provider) returns it in the reference and keys start idempotency by it
|
|
268
|
+
* of its own (a cloud provider) returns it in the reference and keys start idempotency by it; one
|
|
269
|
+
* that keeps its own (device-local's bound machine generation) returns that one instead. The
|
|
270
|
+
* kernel pins the task to its own generation and the held handle's id, not the ref's generation.
|
|
265
271
|
*/
|
|
266
272
|
start(h: SandboxHandle, scope: SandboxOperationScope, args: SandboxExecOptions & {
|
|
267
273
|
taskId: string;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED