@camstack/addon-terminal 0.1.139 → 0.1.141
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/addon.js +21 -51
- package/dist/addon.mjs +21 -51
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5446,7 +5446,7 @@ var ZodIssueCode = {
|
|
|
5446
5446
|
var ZodFirstPartyTypeKind;
|
|
5447
5447
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5448
5448
|
//#endregion
|
|
5449
|
-
//#region ../types/dist/sleep-
|
|
5449
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5450
5450
|
/**
|
|
5451
5451
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5452
5452
|
* window to float samples (D455).
|
|
@@ -7994,7 +7994,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7994
7994
|
secretPaths: array(string().min(1)).default([]),
|
|
7995
7995
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7996
7996
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7997
|
-
/**
|
|
7997
|
+
/**
|
|
7998
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7999
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8000
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8001
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8002
|
+
* removal still sends it. Never set it.
|
|
8003
|
+
*/
|
|
7998
8004
|
adoptsFrom: string().min(1).optional(),
|
|
7999
8005
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8000
8006
|
transactFamily: string().min(1).optional(),
|
|
@@ -16757,11 +16763,12 @@ var DeclareKindResultSchema = object({
|
|
|
16757
16763
|
kindId: number().int(),
|
|
16758
16764
|
state: RecordKindStateSchema,
|
|
16759
16765
|
createdIndexes: array(string()),
|
|
16760
|
-
/**
|
|
16761
|
-
|
|
16762
|
-
|
|
16763
|
-
|
|
16764
|
-
|
|
16766
|
+
/**
|
|
16767
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16768
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16769
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16770
|
+
*/
|
|
16771
|
+
adoptionPending: _null()
|
|
16765
16772
|
});
|
|
16766
16773
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16767
16774
|
var SecretRefsList = array(string());
|
|
@@ -16934,26 +16941,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16934
16941
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16935
16942
|
owner: string().min(1),
|
|
16936
16943
|
kind: RecordKindNameSchema
|
|
16937
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16938
|
-
owner: string().min(1),
|
|
16939
|
-
kind: RecordKindNameSchema,
|
|
16940
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16941
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16942
|
-
complete: boolean().optional()
|
|
16943
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16944
|
-
kind: "mutation",
|
|
16945
|
-
auth: "admin"
|
|
16946
|
-
}), method(object({
|
|
16947
|
-
collection: string().min(1),
|
|
16948
|
-
cursor: string().optional(),
|
|
16949
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16950
|
-
}), object({
|
|
16951
|
-
rows: array(object({
|
|
16952
|
-
id: string(),
|
|
16953
|
-
data: record(string(), unknown())
|
|
16954
|
-
})),
|
|
16955
|
-
nextCursor: string().nullable()
|
|
16956
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16944
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16957
16945
|
/**
|
|
16958
16946
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16959
16947
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -68795,6 +68783,12 @@ Object.freeze({
|
|
|
68795
68783
|
addonId: null,
|
|
68796
68784
|
access: "view"
|
|
68797
68785
|
},
|
|
68786
|
+
"deviceHistory.queryMany": {
|
|
68787
|
+
capName: "device-history",
|
|
68788
|
+
capScope: "system",
|
|
68789
|
+
addonId: null,
|
|
68790
|
+
access: "view"
|
|
68791
|
+
},
|
|
68798
68792
|
"deviceHistory.queryNode": {
|
|
68799
68793
|
capName: "device-history",
|
|
68800
68794
|
capScope: "system",
|
|
@@ -74015,24 +74009,12 @@ Object.freeze({
|
|
|
74015
74009
|
addonId: null,
|
|
74016
74010
|
access: "create"
|
|
74017
74011
|
},
|
|
74018
|
-
"storageAdmin.adoptRecords": {
|
|
74019
|
-
capName: "storage-admin",
|
|
74020
|
-
capScope: "system",
|
|
74021
|
-
addonId: null,
|
|
74022
|
-
access: "create"
|
|
74023
|
-
},
|
|
74024
74012
|
"storageAdmin.dropCollection": {
|
|
74025
74013
|
capName: "storage-admin",
|
|
74026
74014
|
capScope: "system",
|
|
74027
74015
|
addonId: null,
|
|
74028
74016
|
access: "delete"
|
|
74029
74017
|
},
|
|
74030
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74031
|
-
capName: "storage-admin",
|
|
74032
|
-
capScope: "system",
|
|
74033
|
-
addonId: null,
|
|
74034
|
-
access: "view"
|
|
74035
|
-
},
|
|
74036
74018
|
"storageAdmin.listKinds": {
|
|
74037
74019
|
capName: "storage-admin",
|
|
74038
74020
|
capScope: "system",
|
|
@@ -74045,12 +74027,6 @@ Object.freeze({
|
|
|
74045
74027
|
addonId: null,
|
|
74046
74028
|
access: "view"
|
|
74047
74029
|
},
|
|
74048
|
-
"storageAdmin.readLegacyCollection": {
|
|
74049
|
-
capName: "storage-admin",
|
|
74050
|
-
capScope: "system",
|
|
74051
|
-
addonId: null,
|
|
74052
|
-
access: "view"
|
|
74053
|
-
},
|
|
74054
74030
|
"storageAdmin.readRecords": {
|
|
74055
74031
|
capName: "storage-admin",
|
|
74056
74032
|
capScope: "system",
|
|
@@ -77865,12 +77841,6 @@ Object.freeze({
|
|
|
77865
77841
|
form: "single",
|
|
77866
77842
|
optional: false
|
|
77867
77843
|
}],
|
|
77868
|
-
"storageAdmin.adoptRecords": [{
|
|
77869
|
-
name: "records",
|
|
77870
|
-
form: "object-array",
|
|
77871
|
-
optional: false,
|
|
77872
|
-
itemField: "deviceId"
|
|
77873
|
-
}],
|
|
77874
77844
|
"storageAdmin.readRecords": [{
|
|
77875
77845
|
name: "deviceId",
|
|
77876
77846
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5423,7 +5423,7 @@ var ZodIssueCode = {
|
|
|
5423
5423
|
var ZodFirstPartyTypeKind;
|
|
5424
5424
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5425
5425
|
//#endregion
|
|
5426
|
-
//#region ../types/dist/sleep-
|
|
5426
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5427
5427
|
/**
|
|
5428
5428
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5429
5429
|
* window to float samples (D455).
|
|
@@ -7971,7 +7971,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7971
7971
|
secretPaths: array(string().min(1)).default([]),
|
|
7972
7972
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7973
7973
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7974
|
-
/**
|
|
7974
|
+
/**
|
|
7975
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7976
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7977
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7978
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7979
|
+
* removal still sends it. Never set it.
|
|
7980
|
+
*/
|
|
7975
7981
|
adoptsFrom: string().min(1).optional(),
|
|
7976
7982
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7977
7983
|
transactFamily: string().min(1).optional(),
|
|
@@ -16734,11 +16740,12 @@ var DeclareKindResultSchema = object({
|
|
|
16734
16740
|
kindId: number().int(),
|
|
16735
16741
|
state: RecordKindStateSchema,
|
|
16736
16742
|
createdIndexes: array(string()),
|
|
16737
|
-
/**
|
|
16738
|
-
|
|
16739
|
-
|
|
16740
|
-
|
|
16741
|
-
|
|
16743
|
+
/**
|
|
16744
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16745
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16746
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16747
|
+
*/
|
|
16748
|
+
adoptionPending: _null()
|
|
16742
16749
|
});
|
|
16743
16750
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16744
16751
|
var SecretRefsList = array(string());
|
|
@@ -16911,26 +16918,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16911
16918
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16912
16919
|
owner: string().min(1),
|
|
16913
16920
|
kind: RecordKindNameSchema
|
|
16914
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16915
|
-
owner: string().min(1),
|
|
16916
|
-
kind: RecordKindNameSchema,
|
|
16917
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16918
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16919
|
-
complete: boolean().optional()
|
|
16920
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16921
|
-
kind: "mutation",
|
|
16922
|
-
auth: "admin"
|
|
16923
|
-
}), method(object({
|
|
16924
|
-
collection: string().min(1),
|
|
16925
|
-
cursor: string().optional(),
|
|
16926
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16927
|
-
}), object({
|
|
16928
|
-
rows: array(object({
|
|
16929
|
-
id: string(),
|
|
16930
|
-
data: record(string(), unknown())
|
|
16931
|
-
})),
|
|
16932
|
-
nextCursor: string().nullable()
|
|
16933
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16921
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16934
16922
|
/**
|
|
16935
16923
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16936
16924
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -68772,6 +68760,12 @@ Object.freeze({
|
|
|
68772
68760
|
addonId: null,
|
|
68773
68761
|
access: "view"
|
|
68774
68762
|
},
|
|
68763
|
+
"deviceHistory.queryMany": {
|
|
68764
|
+
capName: "device-history",
|
|
68765
|
+
capScope: "system",
|
|
68766
|
+
addonId: null,
|
|
68767
|
+
access: "view"
|
|
68768
|
+
},
|
|
68775
68769
|
"deviceHistory.queryNode": {
|
|
68776
68770
|
capName: "device-history",
|
|
68777
68771
|
capScope: "system",
|
|
@@ -73992,24 +73986,12 @@ Object.freeze({
|
|
|
73992
73986
|
addonId: null,
|
|
73993
73987
|
access: "create"
|
|
73994
73988
|
},
|
|
73995
|
-
"storageAdmin.adoptRecords": {
|
|
73996
|
-
capName: "storage-admin",
|
|
73997
|
-
capScope: "system",
|
|
73998
|
-
addonId: null,
|
|
73999
|
-
access: "create"
|
|
74000
|
-
},
|
|
74001
73989
|
"storageAdmin.dropCollection": {
|
|
74002
73990
|
capName: "storage-admin",
|
|
74003
73991
|
capScope: "system",
|
|
74004
73992
|
addonId: null,
|
|
74005
73993
|
access: "delete"
|
|
74006
73994
|
},
|
|
74007
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74008
|
-
capName: "storage-admin",
|
|
74009
|
-
capScope: "system",
|
|
74010
|
-
addonId: null,
|
|
74011
|
-
access: "view"
|
|
74012
|
-
},
|
|
74013
73995
|
"storageAdmin.listKinds": {
|
|
74014
73996
|
capName: "storage-admin",
|
|
74015
73997
|
capScope: "system",
|
|
@@ -74022,12 +74004,6 @@ Object.freeze({
|
|
|
74022
74004
|
addonId: null,
|
|
74023
74005
|
access: "view"
|
|
74024
74006
|
},
|
|
74025
|
-
"storageAdmin.readLegacyCollection": {
|
|
74026
|
-
capName: "storage-admin",
|
|
74027
|
-
capScope: "system",
|
|
74028
|
-
addonId: null,
|
|
74029
|
-
access: "view"
|
|
74030
|
-
},
|
|
74031
74007
|
"storageAdmin.readRecords": {
|
|
74032
74008
|
capName: "storage-admin",
|
|
74033
74009
|
capScope: "system",
|
|
@@ -77842,12 +77818,6 @@ Object.freeze({
|
|
|
77842
77818
|
form: "single",
|
|
77843
77819
|
optional: false
|
|
77844
77820
|
}],
|
|
77845
|
-
"storageAdmin.adoptRecords": [{
|
|
77846
|
-
name: "records",
|
|
77847
|
-
form: "object-array",
|
|
77848
|
-
optional: false,
|
|
77849
|
-
itemField: "deviceId"
|
|
77850
|
-
}],
|
|
77851
77821
|
"storageAdmin.readRecords": [{
|
|
77852
77822
|
name: "deviceId",
|
|
77853
77823
|
form: "single",
|