@diagonal-hq/workflows 0.10.1 → 0.10.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
@@ -91,7 +91,7 @@ The QuickJS build has no `Intl` and no locale data. `toLocaleDateString`, `toLoc
91
91
 
92
92
  ## Build the package
93
93
 
94
- `npm run build:workflows-package` (`scripts/build-workflows-package.mjs`) writes `dist/` and packs `scripts/dist/npm/diagonal-hq-workflows-<version>.tgz`. esbuild writes one ESM file for each entry point, and the entry points share chunks, so the root entry and `/testing` use one transport slot. TypeScript writes the declarations next to them. `npm run generate-typescript` runs the script.
94
+ `npm run build:workflows-package` (`scripts/build-workflows-package.mjs`) writes `dist/` and packs `scripts/dist/npm/diagonal-hq-workflows-<version>.tgz`. esbuild writes one ESM file for each entry point, and the entry points share chunks, so the root entry and `/testing` use one transport slot. TypeScript writes the declarations next to them. `npm run generate-typescript` runs the script with `--declarations-only`. That mode writes only the declarations, which the Files editor and the draft editors bundle. It does not write the ESM files or the tarball. `npm run build:npm-packages` builds and packs all the packages.
95
95
 
96
96
  `node scripts/smoke-workflows-package.mjs [tarball]` installs the packed tarball in a consumer outside the repository. It checks the packed file list and the manifest, imports each entry point in Node, runs a workflow through `/testing`, and runs `tsc` against the packed declarations. The `generated-assets` job of PR CI runs it.
97
97
 
@@ -97,7 +97,7 @@ function isFailure(value2) {
97
97
  }
98
98
 
99
99
  // packages/workflows/src/generated/capabilities.ts
100
- var SDK_VERSION = 77;
100
+ var SDK_VERSION = 78;
101
101
  var ai = {
102
102
  /** Ask a decisions model typed questions about some content and get labelled answers with their probabilities */
103
103
  decide: (input) => invoke("ai.decide", input),
@@ -1,7 +1,7 @@
1
1
  import type { ResourceKeyWith } from "../data.js";
2
2
  import type { ContentDocument } from "../input.js";
3
3
  import type { DeepReadonly, Liquid, StaticLiquid } from "../liquid.js";
4
- export declare const SDK_VERSION = 77;
4
+ export declare const SDK_VERSION = 78;
5
5
  export interface WorkspaceSystemFields {
6
6
  "ai_custom_system_prompt": string | null;
7
7
  "brand_kit": {
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ import {
37
37
  web,
38
38
  workflow,
39
39
  workspace
40
- } from "./chunks/chunk-GDVUCCNR.js";
40
+ } from "./chunks/chunk-GOAVPWPD.js";
41
41
  import {
42
42
  InputField,
43
43
  InputSchema,
@@ -35,7 +35,7 @@ import {
35
35
  web,
36
36
  workflow,
37
37
  workspace
38
- } from "../chunks/chunk-GDVUCCNR.js";
38
+ } from "../chunks/chunk-GOAVPWPD.js";
39
39
  import {
40
40
  InputField,
41
41
  InputSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/workflows",
3
- "version": "0.10.1",
3
+ "version": "0.10.3",
4
4
  "description": "The authoring API of Diagonal managed workflows, their capabilities, and the workflow test helpers.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {