deepline 0.1.123 → 0.1.124

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/index.d.mts CHANGED
@@ -697,6 +697,7 @@ interface PlayListItem {
697
697
  reference?: string;
698
698
  name: string;
699
699
  displayName?: string;
700
+ description?: string | null;
700
701
  origin?: 'prebuilt' | 'owned';
701
702
  ownerType?: 'deepline' | 'org';
702
703
  ownerSlug?: string;
@@ -722,6 +723,7 @@ interface PlayDescription {
722
723
  name: string;
723
724
  reference?: string;
724
725
  displayName?: string;
726
+ description?: string | null;
725
727
  origin?: 'prebuilt' | 'owned';
726
728
  ownerType?: 'deepline' | 'org';
727
729
  canEdit?: boolean;
@@ -873,6 +875,8 @@ interface StartPlayRunRequest {
873
875
  sourceCode?: string;
874
876
  /** Source graph snapshots for local helper files included in cloud preflight. */
875
877
  sourceFiles?: Record<string, string>;
878
+ /** Human-readable one-line description for the revision created by file-backed runs. */
879
+ description?: string;
876
880
  /** Static pipeline already produced while registering this artifact. */
877
881
  staticPipeline?: unknown;
878
882
  /** Artifact content hash already validated while registering this artifact. */
@@ -1512,6 +1516,7 @@ declare class DeeplineClient {
1512
1516
  name: string;
1513
1517
  sourceCode: string;
1514
1518
  sourceFiles?: Record<string, string>;
1519
+ description?: string;
1515
1520
  artifact: Record<string, unknown>;
1516
1521
  compilerManifest?: PlayCompilerManifest;
1517
1522
  publish?: boolean;
@@ -1541,6 +1546,7 @@ declare class DeeplineClient {
1541
1546
  name: string;
1542
1547
  sourceCode: string;
1543
1548
  sourceFiles?: Record<string, string>;
1549
+ description?: string;
1544
1550
  artifact: Record<string, unknown>;
1545
1551
  compilerManifest?: PlayCompilerManifest;
1546
1552
  publish?: boolean;
@@ -1588,6 +1594,7 @@ declare class DeeplineClient {
1588
1594
  name?: string;
1589
1595
  sourceCode: string;
1590
1596
  sourceFiles?: Record<string, string>;
1597
+ description?: string;
1591
1598
  artifact: Record<string, unknown>;
1592
1599
  }): Promise<PlayCheckResult>;
1593
1600
  /**
@@ -1613,6 +1620,7 @@ declare class DeeplineClient {
1613
1620
  name: string;
1614
1621
  sourceCode: string;
1615
1622
  sourceFiles?: Record<string, string>;
1623
+ description?: string;
1616
1624
  artifact: Record<string, unknown>;
1617
1625
  compilerManifest?: PlayCompilerManifest;
1618
1626
  input?: Record<string, unknown>;
@@ -1647,6 +1655,7 @@ declare class DeeplineClient {
1647
1655
  submitPlay(code: string, csvPath: string | null, name?: string, options?: {
1648
1656
  sourceCode?: string;
1649
1657
  sourceFiles?: Record<string, string>;
1658
+ description?: string;
1650
1659
  artifact?: Record<string, unknown>;
1651
1660
  compilerManifest?: PlayCompilerManifest;
1652
1661
  input?: Record<string, unknown>;
@@ -2740,6 +2749,14 @@ type PreviousCell<Value = unknown> = {
2740
2749
  * @sdkReference runtime 030
2741
2750
  */
2742
2751
  type PlayBindings = {
2752
+ /**
2753
+ * Human-readable one-line description of what this play does.
2754
+ *
2755
+ * New SDK-authored file workflows require this in `plays check`, `plays run
2756
+ * --file`, and `plays publish <file>`. The server API keeps it optional so
2757
+ * older clients can continue to register revisions during the migration.
2758
+ */
2759
+ description?: string;
2743
2760
  /** Optional per-run billing controls enforced by the runtime. */
2744
2761
  billing?: {
2745
2762
  /** Stop the run before a billed action would push total run credits above this cap. */
@@ -3547,6 +3564,8 @@ type PlayInputContract<TInput> = {
3547
3564
  type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = {
3548
3565
  /** Play id/name. */
3549
3566
  id: string;
3567
+ /** Human-readable one-line description of what this play does. */
3568
+ description?: string;
3550
3569
  /** Input schema. */
3551
3570
  input: PlayInputContract<TInput>;
3552
3571
  /** Play function. */
@@ -3600,6 +3619,7 @@ type DefinedPlay<TInput, TOutput extends PlayReturnObject> = ((ctx: DeeplinePlay
3600
3619
  };
3601
3620
  type PlayMetadata = {
3602
3621
  name: string;
3622
+ description?: string;
3603
3623
  bindings?: PlayBindings;
3604
3624
  inputSchema?: Record<string, unknown>;
3605
3625
  billing?: PlayBindings['billing'];
package/dist/index.d.ts CHANGED
@@ -697,6 +697,7 @@ interface PlayListItem {
697
697
  reference?: string;
698
698
  name: string;
699
699
  displayName?: string;
700
+ description?: string | null;
700
701
  origin?: 'prebuilt' | 'owned';
701
702
  ownerType?: 'deepline' | 'org';
702
703
  ownerSlug?: string;
@@ -722,6 +723,7 @@ interface PlayDescription {
722
723
  name: string;
723
724
  reference?: string;
724
725
  displayName?: string;
726
+ description?: string | null;
725
727
  origin?: 'prebuilt' | 'owned';
726
728
  ownerType?: 'deepline' | 'org';
727
729
  canEdit?: boolean;
@@ -873,6 +875,8 @@ interface StartPlayRunRequest {
873
875
  sourceCode?: string;
874
876
  /** Source graph snapshots for local helper files included in cloud preflight. */
875
877
  sourceFiles?: Record<string, string>;
878
+ /** Human-readable one-line description for the revision created by file-backed runs. */
879
+ description?: string;
876
880
  /** Static pipeline already produced while registering this artifact. */
877
881
  staticPipeline?: unknown;
878
882
  /** Artifact content hash already validated while registering this artifact. */
@@ -1512,6 +1516,7 @@ declare class DeeplineClient {
1512
1516
  name: string;
1513
1517
  sourceCode: string;
1514
1518
  sourceFiles?: Record<string, string>;
1519
+ description?: string;
1515
1520
  artifact: Record<string, unknown>;
1516
1521
  compilerManifest?: PlayCompilerManifest;
1517
1522
  publish?: boolean;
@@ -1541,6 +1546,7 @@ declare class DeeplineClient {
1541
1546
  name: string;
1542
1547
  sourceCode: string;
1543
1548
  sourceFiles?: Record<string, string>;
1549
+ description?: string;
1544
1550
  artifact: Record<string, unknown>;
1545
1551
  compilerManifest?: PlayCompilerManifest;
1546
1552
  publish?: boolean;
@@ -1588,6 +1594,7 @@ declare class DeeplineClient {
1588
1594
  name?: string;
1589
1595
  sourceCode: string;
1590
1596
  sourceFiles?: Record<string, string>;
1597
+ description?: string;
1591
1598
  artifact: Record<string, unknown>;
1592
1599
  }): Promise<PlayCheckResult>;
1593
1600
  /**
@@ -1613,6 +1620,7 @@ declare class DeeplineClient {
1613
1620
  name: string;
1614
1621
  sourceCode: string;
1615
1622
  sourceFiles?: Record<string, string>;
1623
+ description?: string;
1616
1624
  artifact: Record<string, unknown>;
1617
1625
  compilerManifest?: PlayCompilerManifest;
1618
1626
  input?: Record<string, unknown>;
@@ -1647,6 +1655,7 @@ declare class DeeplineClient {
1647
1655
  submitPlay(code: string, csvPath: string | null, name?: string, options?: {
1648
1656
  sourceCode?: string;
1649
1657
  sourceFiles?: Record<string, string>;
1658
+ description?: string;
1650
1659
  artifact?: Record<string, unknown>;
1651
1660
  compilerManifest?: PlayCompilerManifest;
1652
1661
  input?: Record<string, unknown>;
@@ -2740,6 +2749,14 @@ type PreviousCell<Value = unknown> = {
2740
2749
  * @sdkReference runtime 030
2741
2750
  */
2742
2751
  type PlayBindings = {
2752
+ /**
2753
+ * Human-readable one-line description of what this play does.
2754
+ *
2755
+ * New SDK-authored file workflows require this in `plays check`, `plays run
2756
+ * --file`, and `plays publish <file>`. The server API keeps it optional so
2757
+ * older clients can continue to register revisions during the migration.
2758
+ */
2759
+ description?: string;
2743
2760
  /** Optional per-run billing controls enforced by the runtime. */
2744
2761
  billing?: {
2745
2762
  /** Stop the run before a billed action would push total run credits above this cap. */
@@ -3547,6 +3564,8 @@ type PlayInputContract<TInput> = {
3547
3564
  type DefinePlayConfig<TInput, TOutput extends PlayReturnObject> = {
3548
3565
  /** Play id/name. */
3549
3566
  id: string;
3567
+ /** Human-readable one-line description of what this play does. */
3568
+ description?: string;
3550
3569
  /** Input schema. */
3551
3570
  input: PlayInputContract<TInput>;
3552
3571
  /** Play function. */
@@ -3600,6 +3619,7 @@ type DefinedPlay<TInput, TOutput extends PlayReturnObject> = ((ctx: DeeplinePlay
3600
3619
  };
3601
3620
  type PlayMetadata = {
3602
3621
  name: string;
3622
+ description?: string;
3603
3623
  bindings?: PlayBindings;
3604
3624
  inputSchema?: Record<string, unknown>;
3605
3625
  billing?: PlayBindings['billing'];
package/dist/index.js CHANGED
@@ -274,10 +274,11 @@ var SDK_RELEASE = {
274
274
  // skill on the sdk sync surface, and the people-search-to-email prebuilt.
275
275
  // 0.1.108 ships explicit dataset column/tool recompute policy and removes
276
276
  // the SDK enrich generator's one-second stale policy.
277
- version: "0.1.123",
277
+ // 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
278
+ version: "0.1.124",
278
279
  apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
279
280
  supportPolicy: {
280
- latest: "0.1.123",
281
+ latest: "0.1.124",
281
282
  minimumSupported: "0.1.53",
282
283
  deprecatedBelow: "0.1.53",
283
284
  commandMinimumSupported: [
@@ -285,6 +286,55 @@ var SDK_RELEASE = {
285
286
  command: "enrich",
286
287
  minimumSupported: "0.1.108",
287
288
  reason: "Older SDK CLI enrich generated stale play source for the current dataset API."
289
+ },
290
+ {
291
+ command: "plays",
292
+ minimumSupported: "0.1.110",
293
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
294
+ },
295
+ {
296
+ command: "plays run",
297
+ minimumSupported: "0.1.110",
298
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
299
+ },
300
+ {
301
+ command: "run",
302
+ displayCommand: "plays run",
303
+ minimumSupported: "0.1.110",
304
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
305
+ },
306
+ {
307
+ command: "plays check",
308
+ minimumSupported: "0.1.110",
309
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
310
+ },
311
+ {
312
+ command: "check",
313
+ displayCommand: "plays check",
314
+ minimumSupported: "0.1.110",
315
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
316
+ },
317
+ {
318
+ command: "plays publish",
319
+ minimumSupported: "0.1.110",
320
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
321
+ },
322
+ {
323
+ command: "publish",
324
+ displayCommand: "plays publish",
325
+ minimumSupported: "0.1.110",
326
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
327
+ },
328
+ {
329
+ command: "plays set-live",
330
+ minimumSupported: "0.1.110",
331
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
332
+ },
333
+ {
334
+ command: "set-live",
335
+ displayCommand: "plays set-live",
336
+ minimumSupported: "0.1.110",
337
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
288
338
  }
289
339
  ],
290
340
  autoUpdatePatchLag: 2
@@ -1957,12 +2007,14 @@ var DeeplineClient = class {
1957
2007
  play.outputSchema,
1958
2008
  "rowOutputSchema"
1959
2009
  );
2010
+ const description = play.description?.trim() || play.currentRevision?.description?.trim() || play.liveRevision?.description?.trim() || null;
1960
2011
  const runCommand = this.playRunCommand(play, { csvInput });
1961
2012
  const cloneEditStarter = this.playCloneEditStarter(play);
1962
2013
  return {
1963
2014
  name: play.name,
1964
2015
  ...play.reference ? { reference: play.reference } : {},
1965
2016
  ...play.displayName ? { displayName: play.displayName } : {},
2017
+ ...description ? { description } : {},
1966
2018
  origin: play.origin,
1967
2019
  ownerType: play.ownerType,
1968
2020
  canEdit: play.canEdit,
@@ -2183,6 +2235,7 @@ var DeeplineClient = class {
2183
2235
  ...request.artifactStorageKey ? { artifactStorageKey: request.artifactStorageKey } : {},
2184
2236
  ...request.sourceCode ? { sourceCode: request.sourceCode } : {},
2185
2237
  ...request.sourceFiles ? { sourceFiles: request.sourceFiles } : {},
2238
+ ...request.description ? { description: request.description } : {},
2186
2239
  ..."staticPipeline" in request ? { staticPipeline: request.staticPipeline } : {},
2187
2240
  ...request.artifactHash ? { artifactHash: request.artifactHash } : {},
2188
2241
  ...request.graphHash ? { graphHash: request.graphHash } : {},
@@ -2221,6 +2274,7 @@ var DeeplineClient = class {
2221
2274
  ...request.artifactStorageKey ? { artifactStorageKey: request.artifactStorageKey } : {},
2222
2275
  ...request.sourceCode ? { sourceCode: request.sourceCode } : {},
2223
2276
  ...request.sourceFiles ? { sourceFiles: request.sourceFiles } : {},
2277
+ ...request.description ? { description: request.description } : {},
2224
2278
  ..."staticPipeline" in request ? { staticPipeline: request.staticPipeline } : {},
2225
2279
  ...request.artifactHash ? { artifactHash: request.artifactHash } : {},
2226
2280
  ...request.graphHash ? { graphHash: request.graphHash } : {},
@@ -2378,6 +2432,7 @@ var DeeplineClient = class {
2378
2432
  name: input.name,
2379
2433
  sourceCode: input.sourceCode,
2380
2434
  sourceFiles: input.sourceFiles,
2435
+ description: input.description,
2381
2436
  artifact: input.artifact,
2382
2437
  compilerManifest,
2383
2438
  publish: false
@@ -2390,6 +2445,7 @@ var DeeplineClient = class {
2390
2445
  return this.startPlayRun({
2391
2446
  name: input.name,
2392
2447
  artifactStorageKey: registeredArtifact.artifactStorageKey,
2448
+ description: input.description,
2393
2449
  compilerManifest,
2394
2450
  ...input.input ? { input: input.input } : {},
2395
2451
  ...input.inputFile ? { inputFile: input.inputFile } : {},
@@ -2444,6 +2500,7 @@ var DeeplineClient = class {
2444
2500
  name,
2445
2501
  sourceCode,
2446
2502
  sourceFiles: options?.sourceFiles,
2503
+ description: options?.description,
2447
2504
  artifact,
2448
2505
  compilerManifest,
2449
2506
  publish: false
@@ -2457,6 +2514,7 @@ var DeeplineClient = class {
2457
2514
  name,
2458
2515
  artifactStorageKey: registeredArtifact.artifactStorageKey,
2459
2516
  sourceCode,
2517
+ description: options?.description,
2460
2518
  staticPipeline: registeredArtifact.staticPipeline ?? null,
2461
2519
  artifactHash: typeof artifact.artifactHash === "string" ? artifact.artifactHash : void 0,
2462
2520
  graphHash: typeof artifact.graphHash === "string" ? artifact.graphHash : void 0,
@@ -4719,18 +4777,21 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
4719
4777
  name: nameOrConfig,
4720
4778
  fn: maybeFn,
4721
4779
  bindings: maybeBindings,
4780
+ description: maybeBindings?.description,
4722
4781
  inputSchema: void 0,
4723
4782
  billing: maybeBindings?.billing
4724
4783
  } : {
4725
4784
  name: nameOrConfig.id,
4726
4785
  fn: nameOrConfig.run,
4727
4786
  bindings: nameOrConfig.bindings,
4787
+ description: nameOrConfig.description,
4728
4788
  inputSchema: nameOrConfig.input.schema,
4729
4789
  billing: nameOrConfig.billing
4730
4790
  };
4731
4791
  const name = config.name;
4732
4792
  const fn = config.fn;
4733
4793
  const bindings = config.bindings;
4794
+ const description = config.description?.trim();
4734
4795
  const billing = config.billing;
4735
4796
  const inputSchema = config.inputSchema;
4736
4797
  if (typeof fn !== "function") {
@@ -4754,6 +4815,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
4754
4815
  }
4755
4816
  const metadata = {
4756
4817
  name,
4818
+ ...description ? { description } : {},
4757
4819
  ...bindings ? { bindings } : {},
4758
4820
  ...inputSchema ? { inputSchema } : {},
4759
4821
  ...billing ? { billing } : {}
package/dist/index.mjs CHANGED
@@ -196,10 +196,11 @@ var SDK_RELEASE = {
196
196
  // skill on the sdk sync surface, and the people-search-to-email prebuilt.
197
197
  // 0.1.108 ships explicit dataset column/tool recompute policy and removes
198
198
  // the SDK enrich generator's one-second stale policy.
199
- version: "0.1.123",
199
+ // 0.1.110 ships authored V2 prebuilts and required top-level play descriptions.
200
+ version: "0.1.124",
200
201
  apiContract: "2026-06-dataset-column-cell-stale-hard-cutover",
201
202
  supportPolicy: {
202
- latest: "0.1.123",
203
+ latest: "0.1.124",
203
204
  minimumSupported: "0.1.53",
204
205
  deprecatedBelow: "0.1.53",
205
206
  commandMinimumSupported: [
@@ -207,6 +208,55 @@ var SDK_RELEASE = {
207
208
  command: "enrich",
208
209
  minimumSupported: "0.1.108",
209
210
  reason: "Older SDK CLI enrich generated stale play source for the current dataset API."
211
+ },
212
+ {
213
+ command: "plays",
214
+ minimumSupported: "0.1.110",
215
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
216
+ },
217
+ {
218
+ command: "plays run",
219
+ minimumSupported: "0.1.110",
220
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
221
+ },
222
+ {
223
+ command: "run",
224
+ displayCommand: "plays run",
225
+ minimumSupported: "0.1.110",
226
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
227
+ },
228
+ {
229
+ command: "plays check",
230
+ minimumSupported: "0.1.110",
231
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
232
+ },
233
+ {
234
+ command: "check",
235
+ displayCommand: "plays check",
236
+ minimumSupported: "0.1.110",
237
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
238
+ },
239
+ {
240
+ command: "plays publish",
241
+ minimumSupported: "0.1.110",
242
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
243
+ },
244
+ {
245
+ command: "publish",
246
+ displayCommand: "plays publish",
247
+ minimumSupported: "0.1.110",
248
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
249
+ },
250
+ {
251
+ command: "plays set-live",
252
+ minimumSupported: "0.1.110",
253
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
254
+ },
255
+ {
256
+ command: "set-live",
257
+ displayCommand: "plays set-live",
258
+ minimumSupported: "0.1.110",
259
+ reason: "Play file commands now require top-level definePlay descriptions so agents and play surfaces can explain local plays."
210
260
  }
211
261
  ],
212
262
  autoUpdatePatchLag: 2
@@ -1879,12 +1929,14 @@ var DeeplineClient = class {
1879
1929
  play.outputSchema,
1880
1930
  "rowOutputSchema"
1881
1931
  );
1932
+ const description = play.description?.trim() || play.currentRevision?.description?.trim() || play.liveRevision?.description?.trim() || null;
1882
1933
  const runCommand = this.playRunCommand(play, { csvInput });
1883
1934
  const cloneEditStarter = this.playCloneEditStarter(play);
1884
1935
  return {
1885
1936
  name: play.name,
1886
1937
  ...play.reference ? { reference: play.reference } : {},
1887
1938
  ...play.displayName ? { displayName: play.displayName } : {},
1939
+ ...description ? { description } : {},
1888
1940
  origin: play.origin,
1889
1941
  ownerType: play.ownerType,
1890
1942
  canEdit: play.canEdit,
@@ -2105,6 +2157,7 @@ var DeeplineClient = class {
2105
2157
  ...request.artifactStorageKey ? { artifactStorageKey: request.artifactStorageKey } : {},
2106
2158
  ...request.sourceCode ? { sourceCode: request.sourceCode } : {},
2107
2159
  ...request.sourceFiles ? { sourceFiles: request.sourceFiles } : {},
2160
+ ...request.description ? { description: request.description } : {},
2108
2161
  ..."staticPipeline" in request ? { staticPipeline: request.staticPipeline } : {},
2109
2162
  ...request.artifactHash ? { artifactHash: request.artifactHash } : {},
2110
2163
  ...request.graphHash ? { graphHash: request.graphHash } : {},
@@ -2143,6 +2196,7 @@ var DeeplineClient = class {
2143
2196
  ...request.artifactStorageKey ? { artifactStorageKey: request.artifactStorageKey } : {},
2144
2197
  ...request.sourceCode ? { sourceCode: request.sourceCode } : {},
2145
2198
  ...request.sourceFiles ? { sourceFiles: request.sourceFiles } : {},
2199
+ ...request.description ? { description: request.description } : {},
2146
2200
  ..."staticPipeline" in request ? { staticPipeline: request.staticPipeline } : {},
2147
2201
  ...request.artifactHash ? { artifactHash: request.artifactHash } : {},
2148
2202
  ...request.graphHash ? { graphHash: request.graphHash } : {},
@@ -2300,6 +2354,7 @@ var DeeplineClient = class {
2300
2354
  name: input.name,
2301
2355
  sourceCode: input.sourceCode,
2302
2356
  sourceFiles: input.sourceFiles,
2357
+ description: input.description,
2303
2358
  artifact: input.artifact,
2304
2359
  compilerManifest,
2305
2360
  publish: false
@@ -2312,6 +2367,7 @@ var DeeplineClient = class {
2312
2367
  return this.startPlayRun({
2313
2368
  name: input.name,
2314
2369
  artifactStorageKey: registeredArtifact.artifactStorageKey,
2370
+ description: input.description,
2315
2371
  compilerManifest,
2316
2372
  ...input.input ? { input: input.input } : {},
2317
2373
  ...input.inputFile ? { inputFile: input.inputFile } : {},
@@ -2366,6 +2422,7 @@ var DeeplineClient = class {
2366
2422
  name,
2367
2423
  sourceCode,
2368
2424
  sourceFiles: options?.sourceFiles,
2425
+ description: options?.description,
2369
2426
  artifact,
2370
2427
  compilerManifest,
2371
2428
  publish: false
@@ -2379,6 +2436,7 @@ var DeeplineClient = class {
2379
2436
  name,
2380
2437
  artifactStorageKey: registeredArtifact.artifactStorageKey,
2381
2438
  sourceCode,
2439
+ description: options?.description,
2382
2440
  staticPipeline: registeredArtifact.staticPipeline ?? null,
2383
2441
  artifactHash: typeof artifact.artifactHash === "string" ? artifact.artifactHash : void 0,
2384
2442
  graphHash: typeof artifact.graphHash === "string" ? artifact.graphHash : void 0,
@@ -4641,18 +4699,21 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
4641
4699
  name: nameOrConfig,
4642
4700
  fn: maybeFn,
4643
4701
  bindings: maybeBindings,
4702
+ description: maybeBindings?.description,
4644
4703
  inputSchema: void 0,
4645
4704
  billing: maybeBindings?.billing
4646
4705
  } : {
4647
4706
  name: nameOrConfig.id,
4648
4707
  fn: nameOrConfig.run,
4649
4708
  bindings: nameOrConfig.bindings,
4709
+ description: nameOrConfig.description,
4650
4710
  inputSchema: nameOrConfig.input.schema,
4651
4711
  billing: nameOrConfig.billing
4652
4712
  };
4653
4713
  const name = config.name;
4654
4714
  const fn = config.fn;
4655
4715
  const bindings = config.bindings;
4716
+ const description = config.description?.trim();
4656
4717
  const billing = config.billing;
4657
4718
  const inputSchema = config.inputSchema;
4658
4719
  if (typeof fn !== "function") {
@@ -4676,6 +4737,7 @@ function definePlay(nameOrConfig, maybeFn, maybeBindings) {
4676
4737
  }
4677
4738
  const metadata = {
4678
4739
  name,
4740
+ ...description ? { description } : {},
4679
4741
  ...bindings ? { bindings } : {},
4680
4742
  ...inputSchema ? { inputSchema } : {},
4681
4743
  ...billing ? { billing } : {}
@@ -89,6 +89,7 @@ type BundledPlayFileSuccess = {
89
89
  sourceFiles: Record<string, string>;
90
90
  filePath: string;
91
91
  playName: string | null;
92
+ playDescription: string | null;
92
93
  compilerManifest?: PlayCompilerManifest;
93
94
  packagedFiles: PlayLocalFileReference[];
94
95
  unresolvedFileReferences: PlayLocalFileDiscoveryError[];
@@ -89,6 +89,7 @@ type BundledPlayFileSuccess = {
89
89
  sourceFiles: Record<string, string>;
90
90
  filePath: string;
91
91
  playName: string | null;
92
+ playDescription: string | null;
92
93
  compilerManifest?: PlayCompilerManifest;
93
94
  packagedFiles: PlayLocalFileReference[];
94
95
  unresolvedFileReferences: PlayLocalFileDiscoveryError[];