@pstdio/sdk 0.22.0 → 0.22.1

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.
@@ -214,6 +214,11 @@ var WEBVIEW_HOST_CAPABILITIES = [
214
214
  ...WEBVIEW_SCOPED_DECLARABLE_CAPABILITIES,
215
215
  ...ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES
216
216
  ];
217
+ // package.json
218
+ var version = "0.22.1";
219
+
220
+ // src/version.ts
221
+ var SDK_VERSION = version;
217
222
  // src/extensions/command-outcome.ts
218
223
  var unwrapCommandOutcome = (response, fallbackReason = "Command failed.") => {
219
224
  const { outcome } = response;
@@ -574,6 +579,7 @@ export {
574
579
  WEBVIEW_HOST_CAPABILITY_VERSION,
575
580
  WEBVIEW_HOST_CAPABILITIES,
576
581
  WEBVIEW_DECLARABLE_CAPABILITIES,
582
+ SDK_VERSION,
577
583
  EXTENSION_API_VERSION,
578
584
  ALWAYS_AVAILABLE_WEBVIEW_CAPABILITIES
579
585
  };
@@ -1028,6 +1028,11 @@ export declare const extensionPanelRegions: readonly ["main", "secondary", "side
1028
1028
  export declare interface ExtensionProcessApi {
1029
1029
  run(input: ProcessRunInput): Promise<ProcessRunResult>;
1030
1030
  runOrThrow(input: ProcessRunInput): Promise<ProcessRunResult>;
1031
+ /**
1032
+ * Starts an independent process with no attached standard streams.
1033
+ * It survives runtime and desktop shutdown and does not delay host exit.
1034
+ * The extension owns the child's lifetime and must arrange its cleanup.
1035
+ */
1031
1036
  spawnDetached(input: {
1032
1037
  command: string[];
1033
1038
  cwd?: string;
@@ -2507,6 +2512,8 @@ export declare type ScheduleExpression = string;
2507
2512
 
2508
2513
  declare type SchemaParams<TSchema extends ParamObjectSchema | undefined> = TSchema extends ParamObjectSchema ? ParamsOf<TSchema> : Record<string, never>;
2509
2514
 
2515
+ export declare const SDK_VERSION: string;
2516
+
2510
2517
  /** Mutually-exclusive mode control rendered as a segmented button group. */
2511
2518
  export declare interface SegmentedControl extends BaseControl {
2512
2519
  type: "segmented";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pstdio/sdk",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/pufflyai/prompt-studio"