openmates 0.27.0-alpha.17 → 0.27.0-alpha.19

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.
@@ -89110,7 +89110,13 @@ async function persistCliProjectAuthoringJob(client2, job, approvedDigest) {
89110
89110
  patch: authoringReplacementPatch(path2, original, markdown)
89111
89111
  } : { operation: "create_file", operation_id: operationId, path: path2, expected_base: null, content: markdown };
89112
89112
  const digest3 = await projectFileMutationDigest(projectKey, projectId, chatId, mutation);
89113
- const receipt = await client2.getProjectFileRevisionReceipt(projectId, embedId, operationId, chatId, digest3, options);
89113
+ let receipt;
89114
+ try {
89115
+ receipt = await client2.getProjectFileRevisionReceipt(projectId, embedId, operationId, chatId, digest3, options);
89116
+ } catch (error) {
89117
+ if (settings.write_mode !== "always_ask" || !error || typeof error !== "object" || !("code" in error) || error.code !== "PROJECT_WRITE_APPROVAL_REQUIRED" || !("status" in error) || error.status !== 409) throw error;
89118
+ receipt = null;
89119
+ }
89114
89120
  if (receipt?.status !== "committed" && settings.write_mode === "always_ask") {
89115
89121
  if (approvedDigest !== digest3) throw new AuthoringSaveApprovalRequired(digest3, mutation);
89116
89122
  await fresh();
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ import {
21
21
  shouldRequireTrustedAccountGuard,
22
22
  waitForSafeE2ETotpWindow,
23
23
  waitForWorkflowRun
24
- } from "./chunk-5YWEBMZZ.js";
24
+ } from "./chunk-Q3EFFGXX.js";
25
25
  import "./chunk-FRNW5Q2V.js";
26
26
  import "./chunk-IWKP55ZB.js";
27
27
  import "./chunk-4IRYB3YN.js";
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  selectAssistantMessagesForSpeech,
44
44
  serializeToYaml,
45
45
  summarizeAssistantSpeech
46
- } from "./chunk-5YWEBMZZ.js";
46
+ } from "./chunk-Q3EFFGXX.js";
47
47
  import "./chunk-FRNW5Q2V.js";
48
48
  import "./chunk-IWKP55ZB.js";
49
49
  import "./chunk-4IRYB3YN.js";
@@ -17,47 +17,47 @@
17
17
  {
18
18
  "name": "libggml-base.so",
19
19
  "bytes": 1110088,
20
- "sha256": "5dcd268048dc10a75429df8044813fc1df91fcd3420b99320d7736da787ea1ed"
20
+ "sha256": "beee07510fbc57e7d4e133c6d535b4a1efabcd34aa7f74e84fd6fc8e353b20fb"
21
21
  },
22
22
  {
23
23
  "name": "libggml-base.so.0",
24
24
  "bytes": 1110088,
25
- "sha256": "5dcd268048dc10a75429df8044813fc1df91fcd3420b99320d7736da787ea1ed"
25
+ "sha256": "beee07510fbc57e7d4e133c6d535b4a1efabcd34aa7f74e84fd6fc8e353b20fb"
26
26
  },
27
27
  {
28
28
  "name": "libggml-base.so.0.15.1",
29
29
  "bytes": 1110088,
30
- "sha256": "5dcd268048dc10a75429df8044813fc1df91fcd3420b99320d7736da787ea1ed"
30
+ "sha256": "beee07510fbc57e7d4e133c6d535b4a1efabcd34aa7f74e84fd6fc8e353b20fb"
31
31
  },
32
32
  {
33
33
  "name": "libggml-cpu.so",
34
34
  "bytes": 869800,
35
- "sha256": "c8c55e230e3eebb9e18c1f893458c2765a201404b273d10a19c9f710089e84c4"
35
+ "sha256": "c28ad795e1980c6e9317d81dc162d0275c17c96f8914e90d3748fd576bfea300"
36
36
  },
37
37
  {
38
38
  "name": "libggml-cpu.so.0",
39
39
  "bytes": 869800,
40
- "sha256": "c8c55e230e3eebb9e18c1f893458c2765a201404b273d10a19c9f710089e84c4"
40
+ "sha256": "c28ad795e1980c6e9317d81dc162d0275c17c96f8914e90d3748fd576bfea300"
41
41
  },
42
42
  {
43
43
  "name": "libggml-cpu.so.0.15.1",
44
44
  "bytes": 869800,
45
- "sha256": "c8c55e230e3eebb9e18c1f893458c2765a201404b273d10a19c9f710089e84c4"
45
+ "sha256": "c28ad795e1980c6e9317d81dc162d0275c17c96f8914e90d3748fd576bfea300"
46
46
  },
47
47
  {
48
48
  "name": "libggml.so",
49
49
  "bytes": 1899104,
50
- "sha256": "0069c6ef98968e7cf613811765b202809f67aad1827e08a6fe4795735e144d9d"
50
+ "sha256": "5a79c43488de4cfeec0062067e5ef0265c93579021c52f858f1a2f8865102212"
51
51
  },
52
52
  {
53
53
  "name": "libggml.so.0",
54
54
  "bytes": 1899104,
55
- "sha256": "0069c6ef98968e7cf613811765b202809f67aad1827e08a6fe4795735e144d9d"
55
+ "sha256": "5a79c43488de4cfeec0062067e5ef0265c93579021c52f858f1a2f8865102212"
56
56
  },
57
57
  {
58
58
  "name": "libggml.so.0.15.1",
59
59
  "bytes": 1899104,
60
- "sha256": "0069c6ef98968e7cf613811765b202809f67aad1827e08a6fe4795735e144d9d"
60
+ "sha256": "5a79c43488de4cfeec0062067e5ef0265c93579021c52f858f1a2f8865102212"
61
61
  },
62
62
  {
63
63
  "name": "openmates-pii-worker",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.27.0-alpha.17",
3
+ "version": "0.27.0-alpha.19",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",