@diagonal-hq/workflows 0.5.1 → 0.5.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
|
@@ -103,7 +103,7 @@ The `Publish npm package` workflow (`.github/workflows/publish-npm-package.yml`)
|
|
|
103
103
|
2. When the files differ, a model reads the diff and the commit subjects since that publish. It classifies the change as breaking, feature, or fix. Before 1.0.0, a breaking change raises the minor part, and other changes raise the patch part. From 1.0.0, the workflow follows semantic versioning.
|
|
104
104
|
3. The build job packs the package again at the new version and runs the smoke test on the tarball.
|
|
105
105
|
4. The commit job commits the new version to `main` with an `[automated] release:` commit.
|
|
106
|
-
5. The publish job runs in the `npm-publish` environment and publishes the tested bytes with npm trusted publishing. It does not build again. It
|
|
106
|
+
5. The publish job runs in the `npm-publish` environment and publishes the tested bytes with npm trusted publishing. It does not build again. It skips a version that npm already has when the tarball bytes match. It fails when the bytes differ.
|
|
107
107
|
|
|
108
108
|
To choose a version yourself, such as 1.0.0 or a prerelease, set `version` in `package.json` to a version that npm does not have, and merge the change. The workflow publishes that version as it is. A version with a prerelease part, such as `0.2.0-next.1`, gets the `next` tag. Other versions get `latest`. The workflow does not raise a prerelease version. Set the next version by hand.
|
|
109
109
|
|
|
@@ -27,7 +27,7 @@ async function transaction(fn) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// packages/workflows/src/generated/capabilities.ts
|
|
30
|
-
var SDK_VERSION =
|
|
30
|
+
var SDK_VERSION = 67;
|
|
31
31
|
var ai = {
|
|
32
32
|
/** Ask a decisions model typed questions about some content and get labelled answers with their probabilities */
|
|
33
33
|
decide: (input) => invoke("ai.decide", input),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ResourceKeyWith } from "../data.js";
|
|
2
2
|
import type { ContentDocument } from "../input.js";
|
|
3
|
-
export declare const SDK_VERSION =
|
|
3
|
+
export declare const SDK_VERSION = 67;
|
|
4
4
|
export interface WorkspaceSystemFields {
|
|
5
5
|
"ai_custom_system_prompt": string | null;
|
|
6
6
|
"brand_kit": {
|
package/dist/index.js
CHANGED
package/dist/profiles/test.js
CHANGED
package/package.json
CHANGED