@diagonal-hq/cli 0.39.2 → 0.40.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.
@@ -9,7 +9,7 @@ import type { ContentDocument } from '../input';
9
9
  import type { DeepReadonly, Liquid, StaticLiquid } from '../liquid';
10
10
  import { invoke } from '../transport';
11
11
 
12
- export const SDK_VERSION = 80;
12
+ export const SDK_VERSION = 81;
13
13
 
14
14
  export interface WorkspaceSystemFields {
15
15
  "ai_custom_system_prompt": string | null;
@@ -566,6 +566,7 @@ export interface NotificationSendBulkNotificationsInput {
566
566
  resource: string;
567
567
  filters?: unknown;
568
568
  recipient: unknown;
569
+ records?: Array<{ resource_id?: string; id?: string; [key: string]: unknown; }> | null;
569
570
  attachments?: Array<string> | null;
570
571
  idempotencyKey?: string | null;
571
572
  }
@@ -4,12 +4,12 @@ import {
4
4
  frontMatterUidInsertion,
5
5
  readDefinitionUid,
6
6
  require_dist
7
- } from "./cli-chunk-T6442V5V.mjs";
7
+ } from "./cli-chunk-54QINYR3.mjs";
8
8
  import {
9
9
  SourceError,
10
10
  characterCount,
11
11
  diagnosticFromError
12
- } from "./cli-chunk-F2J44UIS.mjs";
12
+ } from "./cli-chunk-IUOUDHT2.mjs";
13
13
  import {
14
14
  diagnostic,
15
15
  diagnosticAt,
@@ -11,20 +11,20 @@ import {
11
11
  isAppSpecifier,
12
12
  resolveAppSpecifier,
13
13
  scriptSdkRuntimeFiles
14
- } from "./cli-chunk-HWHRAOWD.mjs";
14
+ } from "./cli-chunk-L6DFO7SU.mjs";
15
15
  import {
16
16
  PROFILES
17
17
  } from "./cli-chunk-WPC3DBHX.mjs";
18
- import "./cli-chunk-T6442V5V.mjs";
18
+ import "./cli-chunk-54QINYR3.mjs";
19
19
  import {
20
20
  GENERATED_ASSETS_PATH
21
- } from "./cli-chunk-YIPLFIKL.mjs";
21
+ } from "./cli-chunk-7RZQ5V7O.mjs";
22
22
  import {
23
23
  SourceError,
24
24
  childNodes,
25
25
  diagnosticFromError,
26
26
  parseSource
27
- } from "./cli-chunk-F2J44UIS.mjs";
27
+ } from "./cli-chunk-IUOUDHT2.mjs";
28
28
  import {
29
29
  AUTHORING_MODULE,
30
30
  diagnostic,
package/dist/cli.mjs CHANGED
@@ -613,7 +613,7 @@ async function checkSources() {
613
613
  if (existsSync4(DATA_FILE) && existsSync4(SDK_FILE)) {
614
614
  return { dataFile: DATA_FILE, sdkFile: SDK_FILE };
615
615
  }
616
- const { checkData, scriptSdk } = await import("./cli-check-data-NZ2TRNPZ.mjs");
616
+ const { checkData, scriptSdk } = await import("./cli-check-data-YZ4H6YJ6.mjs");
617
617
  return { data: checkData(), sdk: scriptSdk() };
618
618
  }
619
619
  function isScriptTestPath(path) {
@@ -633,8 +633,8 @@ function holdsSkills(root, plan) {
633
633
  async function checkCheckout(root, options) {
634
634
  const sources = await checkSources();
635
635
  const plan = composePackages(root);
636
- const testRunner = async () => (await import("./cli-workflows-CK5ZVNYR.mjs")).runBuildTests;
637
- const skillReader = async () => (await import("./cli-skill-file-TEJUXCJB.mjs")).skillFrontMatter;
636
+ const testRunner = async () => (await import("./cli-workflows-46U7AJ2H.mjs")).runBuildTests;
637
+ const skillReader = async () => (await import("./cli-skill-file-JUXNBWMU.mjs")).skillFrontMatter;
638
638
  const finish = (checkoutRoot, buildPlan, answer, runTests2) => {
639
639
  const run = hasScriptTests(answer) ? runTests2(checkoutRoot, answer.tests) : null;
640
640
  const diagnostics = finishedDiagnostics(withTestDiagnostics(answer, run), buildPlan);
@@ -719,9 +719,9 @@ async function main(argv, io) {
719
719
  case "assets": {
720
720
  const [subcommand, ...assetArgs] = args;
721
721
  if (subcommand === "upload")
722
- return (await import("./cli-assets-cli-VQBXYEIZ.mjs")).uploadAsset(assetArgs, io);
722
+ return (await import("./cli-assets-cli-L67BFKVC.mjs")).uploadAsset(assetArgs, io);
723
723
  if (subcommand === "list")
724
- return (await import("./cli-assets-cli-VQBXYEIZ.mjs")).listAssets(assetArgs, io);
724
+ return (await import("./cli-assets-cli-L67BFKVC.mjs")).listAssets(assetArgs, io);
725
725
  io.stderr.write(`${ASSETS_UPLOAD_USAGE}
726
726
  ${ASSETS_LIST_USAGE}
727
727
  `);