@lace-cloud/proto 0.37.0 → 0.37.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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -326,7 +326,7 @@ declare enum Reason {
|
|
|
326
326
|
/** REASON_CONFLICT - Generate: the tree moved under the session's base; Keep or Reload first. */
|
|
327
327
|
REASON_CONFLICT = 6,
|
|
328
328
|
/**
|
|
329
|
-
* REASON_SOURCE_REFUSED - Every mutation, save and generate: the session's source tf is refused
|
|
329
|
+
* REASON_SOURCE_REFUSED - Every mutation, save, discard and generate: the session's source tf is refused
|
|
330
330
|
* (`BundleState.source_refused`).
|
|
331
331
|
* module convert and module import: the tree's tf does not parse, has a
|
|
332
332
|
* non-empty residual report, or its Bundle fails its own validation.
|
|
@@ -419,6 +419,14 @@ declare enum Reason {
|
|
|
419
419
|
REASON_NO_LOCKFILE = 22,
|
|
420
420
|
/** REASON_NO_COMMIT - stack create --source: the directory's repository has no commit yet. */
|
|
421
421
|
REASON_NO_COMMIT = 23,
|
|
422
|
+
/**
|
|
423
|
+
* REASON_STALE_WORKING_STATE - Discard and Restore: the session's working IR is no longer the one the
|
|
424
|
+
* caller showed the developer (`BundleState.working_digest`) -- another
|
|
425
|
+
* holder edited, undid or redid since. Restore also: the saved IR or source
|
|
426
|
+
* tree is no longer the one the backup was captured against. Nothing was
|
|
427
|
+
* discarded or restored; re-read the state and ask again.
|
|
428
|
+
*/
|
|
429
|
+
REASON_STALE_WORKING_STATE = 24,
|
|
422
430
|
UNRECOGNIZED = -1
|
|
423
431
|
}
|
|
424
432
|
|
package/dist/index.d.ts
CHANGED
|
@@ -326,7 +326,7 @@ declare enum Reason {
|
|
|
326
326
|
/** REASON_CONFLICT - Generate: the tree moved under the session's base; Keep or Reload first. */
|
|
327
327
|
REASON_CONFLICT = 6,
|
|
328
328
|
/**
|
|
329
|
-
* REASON_SOURCE_REFUSED - Every mutation, save and generate: the session's source tf is refused
|
|
329
|
+
* REASON_SOURCE_REFUSED - Every mutation, save, discard and generate: the session's source tf is refused
|
|
330
330
|
* (`BundleState.source_refused`).
|
|
331
331
|
* module convert and module import: the tree's tf does not parse, has a
|
|
332
332
|
* non-empty residual report, or its Bundle fails its own validation.
|
|
@@ -419,6 +419,14 @@ declare enum Reason {
|
|
|
419
419
|
REASON_NO_LOCKFILE = 22,
|
|
420
420
|
/** REASON_NO_COMMIT - stack create --source: the directory's repository has no commit yet. */
|
|
421
421
|
REASON_NO_COMMIT = 23,
|
|
422
|
+
/**
|
|
423
|
+
* REASON_STALE_WORKING_STATE - Discard and Restore: the session's working IR is no longer the one the
|
|
424
|
+
* caller showed the developer (`BundleState.working_digest`) -- another
|
|
425
|
+
* holder edited, undid or redid since. Restore also: the saved IR or source
|
|
426
|
+
* tree is no longer the one the backup was captured against. Nothing was
|
|
427
|
+
* discarded or restored; re-read the state and ask again.
|
|
428
|
+
*/
|
|
429
|
+
REASON_STALE_WORKING_STATE = 24,
|
|
422
430
|
UNRECOGNIZED = -1
|
|
423
431
|
}
|
|
424
432
|
|
package/dist/index.mjs
CHANGED
|
@@ -72,7 +72,7 @@ var CONNECT_CODE_NAMES = [
|
|
|
72
72
|
];
|
|
73
73
|
|
|
74
74
|
// src/engine-contract.gen.ts
|
|
75
|
-
var GENERATED_ENGINE_CONTRACT = "
|
|
75
|
+
var GENERATED_ENGINE_CONTRACT = "109ee79179d90a6e2f31f1d52f9221f7f05b105afb6477c45507f2b969d8cc30";
|
|
76
76
|
|
|
77
77
|
// src/generated/service.ts
|
|
78
78
|
import { BinaryReader as BinaryReader3, BinaryWriter as BinaryWriter3 } from "@bufbuild/protobuf/wire";
|
|
@@ -4099,7 +4099,7 @@ function isSet3(value) {
|
|
|
4099
4099
|
}
|
|
4100
4100
|
|
|
4101
4101
|
// src/engine-identity.ts
|
|
4102
|
-
var ENGINE_PROTOCOL_VERSION = String(
|
|
4102
|
+
var ENGINE_PROTOCOL_VERSION = String(11 /* PROTOCOL_VERSION_CURRENT */);
|
|
4103
4103
|
var ENGINE_CONTRACT = GENERATED_ENGINE_CONTRACT;
|
|
4104
4104
|
var EngineIdentityMismatchError = class extends Error {
|
|
4105
4105
|
constructor(engine, required) {
|