@joe-broadhead/opencode-mem 0.9.12 → 0.11.2
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/CHANGELOG.md +1934 -2
- package/README.md +29 -17
- package/SECURITY.md +3 -1
- package/docs/agent-instructions.md +17 -0
- package/docs/agent-protocol.md +8 -8
- package/docs/permissions.md +22 -4
- package/package.json +7923 -217
- package/shared/page-paths.js +44 -0
- package/skills/mem.pages/SKILL.md +8 -1
- package/skills/mem.usage/SKILL.md +15 -15
- package/src/action-grant-keys.js +159 -0
- package/src/action-grant.js +439 -0
- package/src/actions.js +1690 -0
- package/src/backend/records.js +25 -2
- package/src/backend/v3.js +76 -22
- package/src/call-shapes.js +17 -16
- package/src/collector-lock.js +533 -62
- package/src/collector-service.js +153 -26
- package/src/collector.js +627 -33
- package/src/config.js +79 -6
- package/src/connect.js +106 -8
- package/src/credentials.js +123 -25
- package/src/events.js +174 -3
- package/src/forget-turn.js +141 -0
- package/src/host-refusal.js +78 -0
- package/src/index.js +209 -22
- package/src/jobs/host.js +557 -0
- package/src/ops/codes.js +110 -0
- package/src/ops/copy-lineage.js +42 -0
- package/src/ops/index.js +28 -0
- package/src/ops/space-ops.js +1936 -0
- package/src/outlinks.js +103 -0
- package/src/p2-reservation.js +151 -0
- package/src/permissions.js +30 -0
- package/src/plugins/descriptor.js +62 -0
- package/src/plugins/discovery.js +318 -0
- package/src/plugins/grants.js +178 -0
- package/src/plugins/locate.js +319 -0
- package/src/plugins/manifest.js +1162 -0
- package/src/plugins/source-contract/index.js +34 -0
- package/src/plugins/source-contract/policy.js +102 -0
- package/src/plugins/source-contract/vendor/PROVENANCE.json +17 -0
- package/src/plugins/source-contract/vendor/RELEASE-SHA256SUMS +3 -0
- package/src/plugins/source-contract/vendor/RELEASE.json +17 -0
- package/src/plugins/source-contract/vendor/SHA256SUMS +41 -0
- package/src/plugins/source-contract/vendor/THIRD-PARTY-NOTICES.md +35 -0
- package/src/plugins/source-contract/vendor/broker-client.js +93 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-3M5PAKSS.js +84 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-4ERCA4TK.js +185 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-6HDIB2SA.js +183 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-ELPJD3ND.js +10 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-HLVAKAYG.js +10 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-I2RXJJJM.js +81 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-KWEWSZ4V.js +505 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-KYWBTAF4.js +182 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-Q3RQA5J2.js +249 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-RRUAIQ4I.js +156 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-RYNKNCPP.js +165 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-W5SHR7DQ.js +9477 -0
- package/src/plugins/source-contract/vendor/chunks/chunk-ZUKF7P6U.js +653 -0
- package/src/plugins/source-contract/vendor/cursor.js +26 -0
- package/src/plugins/source-contract/vendor/descriptor.js +34 -0
- package/src/plugins/source-contract/vendor/events.js +257 -0
- package/src/plugins/source-contract/vendor/index.js +10 -0
- package/src/plugins/source-contract/vendor/params.js +22 -0
- package/src/plugins/source-contract/vendor/permission.js +28 -0
- package/src/plugins/source-contract/vendor/pick.js +22 -0
- package/src/plugins/source-contract/vendor/read.js +29 -0
- package/src/plugins/source-contract/vendor/registry.js +23 -0
- package/src/plugins/source-contract/vendor/schema.js +17 -0
- package/src/plugins/source-contract/vendor/schemas/output.agenda.json +96 -0
- package/src/plugins/source-contract/vendor/schemas/output.countdown.json +28 -0
- package/src/plugins/source-contract/vendor/schemas/output.image.json +28 -0
- package/src/plugins/source-contract/vendor/schemas/output.inbox.json +84 -0
- package/src/plugins/source-contract/vendor/schemas/output.links.json +46 -0
- package/src/plugins/source-contract/vendor/schemas/output.list.json +57 -0
- package/src/plugins/source-contract/vendor/schemas/output.metric.json +61 -0
- package/src/plugins/source-contract/vendor/schemas/output.note.json +14 -0
- package/src/plugins/source-contract/vendor/schemas/output.progress.json +50 -0
- package/src/plugins/source-contract/vendor/schemas/output.record.json +38 -0
- package/src/plugins/source-contract/vendor/schemas/output.table.json +61 -0
- package/src/plugins/source-contract/vendor/schemas/output.thread.json +62 -0
- package/src/plugins/source-contract/vendor/schemas/sources.json +819 -0
- package/src/plugins/source-contract/vendor/schemas.js +19 -0
- package/src/plugins/source-contract/vendor/tools-rpc.js +42 -0
- package/src/plugins/verify.js +56 -0
- package/src/protocol.js +21 -5
- package/src/recall.js +104 -5
- package/src/records.js +61 -2
- package/src/requests.js +216 -0
- package/src/runtime.js +89 -7
- package/src/setup-time.js +68 -0
- package/src/skills.js +230 -8
- package/src/source-ids.js +25 -0
- package/src/sources/declaration.js +365 -0
- package/src/sources/reads.js +772 -0
- package/src/sources/rpc.js +151 -0
- package/src/sources.js +409 -90
- package/src/spaces.js +283 -11
- package/src/spool.js +61 -4
- package/src/stated.js +10 -5
- package/src/storable.js +139 -0
- package/src/tools/commitments.js +47 -5
- package/src/tools/held-write.js +36 -13
- package/src/tools/index.js +27 -0
- package/src/tools/ingest.js +27 -2
- package/src/tools/memory.js +52 -14
- package/src/tools/page.js +95 -9
- package/src/tools/recall.js +208 -4
- package/src/tools/records-kit.js +2 -1
- package/src/tools/share.js +42 -3
- package/src/tools/shared.js +44 -4
- package/src/tools/space-lifecycle.js +278 -0
- package/src/tools/spaces.js +373 -29
- package/src/tools/status.js +9 -2
- package/src/tools/wiki.js +34 -4
- package/src/util.js +110 -6
- package/src/vendor/source-contract/README.md +24 -0
- package/src/vendor/source-contract/THIRD-PARTY-NOTICES.md +35 -0
- package/src/vendor/source-contract/VENDOR.json +81 -0
- package/src/vendor/source-contract/chunks/chunk-3M5PAKSS.js +84 -0
- package/src/vendor/source-contract/chunks/chunk-6HDIB2SA.js +183 -0
- package/src/vendor/source-contract/chunks/chunk-HLVAKAYG.js +10 -0
- package/src/vendor/source-contract/chunks/chunk-I2RXJJJM.js +81 -0
- package/src/vendor/source-contract/chunks/chunk-KWEWSZ4V.js +505 -0
- package/src/vendor/source-contract/chunks/chunk-W5SHR7DQ.js +9477 -0
- package/src/vendor/source-contract/chunks/chunk-ZUKF7P6U.js +653 -0
- package/src/vendor/source-contract/cursor.js +26 -0
- package/src/vendor/source-contract/events.js +257 -0
- package/src/vendor/source-contract/registry.js +23 -0
- package/src/vendor/source-contract/tools-rpc.js +42 -0
- package/src/views/access-reads.js +256 -0
- package/src/views/communities.js +77 -0
- package/src/views/contracts.js +1183 -36
- package/src/views/inbox-bytes.js +103 -0
- package/src/views/overdue.js +1 -1
- package/src/views/profile.js +31 -0
- package/src/views/receipt.js +81 -0
- package/src/views/records-reads.js +869 -37
- package/src/views/rpc.js +159 -11
- package/src/views/shape.js +8 -5
- package/views/memory.html +16 -3
- package/views/pages.html +2 -2
- package/views/remembered.html +130 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// @we-the-rebel-alliance/source-contract 0.1.0. Built by scripts/build.mjs; do not edit.
|
|
2
|
+
import {
|
|
3
|
+
_enum,
|
|
4
|
+
_null,
|
|
5
|
+
array,
|
|
6
|
+
boolean,
|
|
7
|
+
fromJSONSchema,
|
|
8
|
+
iso_exports,
|
|
9
|
+
number,
|
|
10
|
+
object,
|
|
11
|
+
problemsOf,
|
|
12
|
+
record,
|
|
13
|
+
string,
|
|
14
|
+
union,
|
|
15
|
+
validator
|
|
16
|
+
} from "./chunk-W5SHR7DQ.js";
|
|
17
|
+
|
|
18
|
+
// src/registry.ts
|
|
19
|
+
var text = (max) => string().max(max);
|
|
20
|
+
var httpsUrl = string().max(2048).refine((value) => {
|
|
21
|
+
try {
|
|
22
|
+
return new URL(value).protocol === "https:";
|
|
23
|
+
} catch {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
}, "must be an https URL");
|
|
27
|
+
var timestamp = iso_exports.datetime({ offset: true });
|
|
28
|
+
var date = union([timestamp, string().regex(/^\d{4}-\d{2}-\d{2}$/, "must be an ISO date-time with an offset, or a date")]);
|
|
29
|
+
var item = {
|
|
30
|
+
id: string().min(1).max(128),
|
|
31
|
+
url: httpsUrl.optional(),
|
|
32
|
+
ask: text(200).optional()
|
|
33
|
+
};
|
|
34
|
+
var IMAGE_DATA_URI_MAX = 1024 * 1024 - 4 * 1024;
|
|
35
|
+
var agenda = object({
|
|
36
|
+
items: array(
|
|
37
|
+
object({
|
|
38
|
+
...item,
|
|
39
|
+
title: text(120),
|
|
40
|
+
start: date,
|
|
41
|
+
end: date.optional(),
|
|
42
|
+
allDay: boolean().optional(),
|
|
43
|
+
location: text(120).optional(),
|
|
44
|
+
calendar: text(60).optional(),
|
|
45
|
+
joinUrl: httpsUrl.optional()
|
|
46
|
+
}).strict()
|
|
47
|
+
).max(50),
|
|
48
|
+
rangeEnd: date.optional()
|
|
49
|
+
}).strict();
|
|
50
|
+
var inbox = object({
|
|
51
|
+
unread: number().int().nonnegative().nullable(),
|
|
52
|
+
unit: text(20).optional(),
|
|
53
|
+
label: text(60).optional(),
|
|
54
|
+
items: array(
|
|
55
|
+
object({
|
|
56
|
+
...item,
|
|
57
|
+
title: text(120),
|
|
58
|
+
from: text(60).optional(),
|
|
59
|
+
preview: text(200).optional(),
|
|
60
|
+
at: timestamp,
|
|
61
|
+
count: number().int().nonnegative().optional(),
|
|
62
|
+
important: boolean().optional()
|
|
63
|
+
}).strict()
|
|
64
|
+
).max(30)
|
|
65
|
+
}).strict();
|
|
66
|
+
var metric = object({
|
|
67
|
+
label: text(40),
|
|
68
|
+
value: union([number().finite(), text(20)]),
|
|
69
|
+
unit: text(10).optional(),
|
|
70
|
+
delta: object({
|
|
71
|
+
value: number().finite(),
|
|
72
|
+
direction: _enum(["up", "down", "flat"]),
|
|
73
|
+
good: boolean().optional()
|
|
74
|
+
}).strict().optional(),
|
|
75
|
+
spark: array(number().finite()).max(48).optional()
|
|
76
|
+
}).strict();
|
|
77
|
+
var list = object({
|
|
78
|
+
items: array(
|
|
79
|
+
object({
|
|
80
|
+
id: item.id,
|
|
81
|
+
text: text(200),
|
|
82
|
+
done: boolean().optional(),
|
|
83
|
+
note: text(200).optional(),
|
|
84
|
+
due: date.optional()
|
|
85
|
+
}).strict()
|
|
86
|
+
).max(50),
|
|
87
|
+
editable: boolean()
|
|
88
|
+
}).strict();
|
|
89
|
+
var progress = object({
|
|
90
|
+
label: text(60),
|
|
91
|
+
value: number().nonnegative(),
|
|
92
|
+
max: number().positive(),
|
|
93
|
+
steps: array(object({ label: text(40), done: boolean() }).strict()).max(12).optional(),
|
|
94
|
+
eta: timestamp.optional()
|
|
95
|
+
}).strict().refine((value) => value.value <= value.max, { message: "value must not exceed max", path: ["value"] });
|
|
96
|
+
var note = object({ markdown: text(16 * 1024) }).strict();
|
|
97
|
+
var links = object({
|
|
98
|
+
items: array(
|
|
99
|
+
object({
|
|
100
|
+
...item,
|
|
101
|
+
title: text(60),
|
|
102
|
+
url: httpsUrl,
|
|
103
|
+
hint: text(60).optional()
|
|
104
|
+
}).strict()
|
|
105
|
+
).max(12)
|
|
106
|
+
}).strict();
|
|
107
|
+
var countdown = object({
|
|
108
|
+
label: text(60),
|
|
109
|
+
target: timestamp,
|
|
110
|
+
style: _enum(["relative", "timer"])
|
|
111
|
+
}).strict();
|
|
112
|
+
var image = object({
|
|
113
|
+
url: httpsUrl.optional(),
|
|
114
|
+
dataUri: string().max(IMAGE_DATA_URI_MAX).regex(/^data:image\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$/, "must be a base64 data URI of a png, jpeg or webp image").optional(),
|
|
115
|
+
alt: string().min(1).max(200),
|
|
116
|
+
caption: text(120).optional()
|
|
117
|
+
}).strict().refine((value) => value.url === void 0 !== (value.dataUri === void 0), { message: "give exactly one of url and dataUri" });
|
|
118
|
+
var thread = object({
|
|
119
|
+
subject: text(200),
|
|
120
|
+
messages: array(
|
|
121
|
+
object({
|
|
122
|
+
...item,
|
|
123
|
+
from: text(120),
|
|
124
|
+
at: timestamp,
|
|
125
|
+
body: text(4e3),
|
|
126
|
+
quoted: text(4e3).optional()
|
|
127
|
+
}).strict()
|
|
128
|
+
).min(1).max(50)
|
|
129
|
+
}).strict();
|
|
130
|
+
var table = object({
|
|
131
|
+
columns: array(object({ key: string().regex(/^[A-Za-z0-9_-]{1,40}$/), label: text(40) }).strict()).min(1).max(8),
|
|
132
|
+
rows: array(record(string(), union([text(200), number().finite(), boolean(), _null()]))).max(100)
|
|
133
|
+
}).strict();
|
|
134
|
+
var record2 = object({
|
|
135
|
+
title: text(120),
|
|
136
|
+
fields: array(object({ label: text(60), value: text(400) }).strict()).min(1).max(24)
|
|
137
|
+
}).strict();
|
|
138
|
+
var OUTPUTS = {
|
|
139
|
+
agenda: validator("output.agenda", agenda),
|
|
140
|
+
inbox: validator("output.inbox", inbox),
|
|
141
|
+
metric: validator("output.metric", metric),
|
|
142
|
+
list: validator("output.list", list),
|
|
143
|
+
progress: validator("output.progress", progress),
|
|
144
|
+
note: validator("output.note", note),
|
|
145
|
+
links: validator("output.links", links),
|
|
146
|
+
countdown: validator("output.countdown", countdown),
|
|
147
|
+
image: validator("output.image", image),
|
|
148
|
+
thread: validator("output.thread", thread),
|
|
149
|
+
table: validator("output.table", table),
|
|
150
|
+
record: validator("output.record", record2)
|
|
151
|
+
};
|
|
152
|
+
var OUTPUT_NAMES = Object.keys(OUTPUTS);
|
|
153
|
+
function isOutputName(name) {
|
|
154
|
+
return typeof name === "string" && Object.hasOwn(OUTPUTS, name);
|
|
155
|
+
}
|
|
156
|
+
function outputValidator(name) {
|
|
157
|
+
return isOutputName(name) ? OUTPUTS[name] : void 0;
|
|
158
|
+
}
|
|
159
|
+
var EXTENSION_OUTPUT = /^x-[a-z][a-z0-9-]{0,31}\/[a-z][a-z0-9-]{0,31}$/;
|
|
160
|
+
function isExtensionOutput(name) {
|
|
161
|
+
return typeof name === "string" && EXTENSION_OUTPUT.test(name);
|
|
162
|
+
}
|
|
163
|
+
function checkOutput(name, data, schema) {
|
|
164
|
+
const found = outputValidator(name);
|
|
165
|
+
if (found) return found.check(data);
|
|
166
|
+
if (isExtensionOutput(name)) {
|
|
167
|
+
if (schema === void 0) return { ok: false, problems: [`"${name}" is an extension output and its source states no outputSchema`] };
|
|
168
|
+
const checked = fromJSONSchema(schema).safeParse(data);
|
|
169
|
+
return checked.success ? { ok: true, value: checked.data } : { ok: false, problems: problemsOf(checked.error) };
|
|
170
|
+
}
|
|
171
|
+
return { ok: false, problems: [`"${name}" is not a registered output (${OUTPUT_NAMES.join(", ")})`] };
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export {
|
|
175
|
+
IMAGE_DATA_URI_MAX,
|
|
176
|
+
OUTPUTS,
|
|
177
|
+
OUTPUT_NAMES,
|
|
178
|
+
isOutputName,
|
|
179
|
+
outputValidator,
|
|
180
|
+
EXTENSION_OUTPUT,
|
|
181
|
+
isExtensionOutput,
|
|
182
|
+
checkOutput
|
|
183
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @we-the-rebel-alliance/source-contract 0.1.0. Built by scripts/build.mjs; do not edit.
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __export = (target, all) => {
|
|
4
|
+
for (var name in all)
|
|
5
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
__export
|
|
10
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// @we-the-rebel-alliance/source-contract 0.1.0. Built by scripts/build.mjs; do not edit.
|
|
2
|
+
|
|
3
|
+
// src/cursor.ts
|
|
4
|
+
import { createHash } from "node:crypto";
|
|
5
|
+
var MAX_CURSOR_LENGTH = 1024;
|
|
6
|
+
var CURSOR_V1 = 1;
|
|
7
|
+
var CURSOR_V2 = 2;
|
|
8
|
+
var RESERVED_STATE_KEYS = ["v", "s", "b"];
|
|
9
|
+
var plainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
10
|
+
var BASE64URL = /^[A-Za-z0-9_-]+$/;
|
|
11
|
+
function parse(cursor) {
|
|
12
|
+
if (typeof cursor !== "string" || cursor.length === 0 || cursor.length > MAX_CURSOR_LENGTH || !BASE64URL.test(cursor)) return void 0;
|
|
13
|
+
try {
|
|
14
|
+
const parsed = JSON.parse(Buffer.from(cursor, "base64url").toString("utf8"));
|
|
15
|
+
return plainObject(parsed) ? parsed : void 0;
|
|
16
|
+
} catch {
|
|
17
|
+
return void 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function pack(payload, what) {
|
|
21
|
+
const cursor = Buffer.from(JSON.stringify(payload), "utf8").toString("base64url");
|
|
22
|
+
if (cursor.length > MAX_CURSOR_LENGTH) throw new Error(`cursor: a ${what} cursor is ${cursor.length} characters, over ${MAX_CURSOR_LENGTH}`);
|
|
23
|
+
return cursor;
|
|
24
|
+
}
|
|
25
|
+
function encodeCursor(source, state) {
|
|
26
|
+
const cursor = Buffer.from(JSON.stringify({ ...state, v: CURSOR_V1, s: source }), "utf8").toString("base64url");
|
|
27
|
+
if (cursor.length > MAX_CURSOR_LENGTH) throw new Error(`events-list: a ${source} cursor is ${cursor.length} characters, over ${MAX_CURSOR_LENGTH}`);
|
|
28
|
+
return cursor;
|
|
29
|
+
}
|
|
30
|
+
function decodeCursor(source, cursor) {
|
|
31
|
+
const parsed = parse(cursor);
|
|
32
|
+
if (!parsed || parsed["v"] !== CURSOR_V1 || parsed["s"] !== source) return void 0;
|
|
33
|
+
const { v: _v, s: _s, ...state } = parsed;
|
|
34
|
+
return state;
|
|
35
|
+
}
|
|
36
|
+
function canonicalScope(scope) {
|
|
37
|
+
if (scope === void 0) return {};
|
|
38
|
+
if (!plainObject(scope)) throw new Error("cursor: a scope must be an object");
|
|
39
|
+
const out = {};
|
|
40
|
+
for (const key of Object.keys(scope).sort()) {
|
|
41
|
+
const value = scope[key];
|
|
42
|
+
if (typeof value === "string") out[key] = value;
|
|
43
|
+
else if (Array.isArray(value) && value.every((item) => typeof item === "string")) out[key] = [...new Set(value)].sort();
|
|
44
|
+
else throw new Error(`cursor: the scope key "${key}" must be a string or a list of strings`);
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
}
|
|
48
|
+
function bindingHash(binding) {
|
|
49
|
+
const canonical = JSON.stringify([binding.plugin, binding.source, binding.account, canonicalScope(binding.scope)]);
|
|
50
|
+
return createHash("sha256").update(canonical).digest("hex").slice(0, 16);
|
|
51
|
+
}
|
|
52
|
+
function encodeBoundCursor(binding, state) {
|
|
53
|
+
const reserved = Object.keys(state).find((key) => RESERVED_STATE_KEYS.includes(key));
|
|
54
|
+
if (reserved !== void 0) throw new Error(`cursor: the state key "${reserved}" is reserved`);
|
|
55
|
+
return pack({ v: CURSOR_V2, s: binding.source, b: bindingHash(binding), ...state }, `${binding.plugin}/${binding.source}`);
|
|
56
|
+
}
|
|
57
|
+
function decodeBoundCursor(binding, cursor, options = {}) {
|
|
58
|
+
const parsed = parse(cursor);
|
|
59
|
+
if (!parsed) return { ok: false, reason: "malformed" };
|
|
60
|
+
if (parsed["v"] === CURSOR_V1 && options.acceptV1 === true) {
|
|
61
|
+
if (Object.keys(canonicalScope(binding.scope)).length > 0) return { ok: false, reason: "foreign" };
|
|
62
|
+
const state2 = decodeCursor(binding.source, cursor);
|
|
63
|
+
return state2 ? { ok: true, state: state2, legacy: true } : { ok: false, reason: "foreign" };
|
|
64
|
+
}
|
|
65
|
+
if (parsed["v"] !== CURSOR_V2 || parsed["s"] !== binding.source || parsed["b"] !== bindingHash(binding)) return { ok: false, reason: "foreign" };
|
|
66
|
+
const { v: _v, s: _s, b: _b, ...state } = parsed;
|
|
67
|
+
return { ok: true, state, legacy: false };
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export {
|
|
71
|
+
MAX_CURSOR_LENGTH,
|
|
72
|
+
CURSOR_V1,
|
|
73
|
+
CURSOR_V2,
|
|
74
|
+
RESERVED_STATE_KEYS,
|
|
75
|
+
encodeCursor,
|
|
76
|
+
decodeCursor,
|
|
77
|
+
canonicalScope,
|
|
78
|
+
bindingHash,
|
|
79
|
+
encodeBoundCursor,
|
|
80
|
+
decodeBoundCursor
|
|
81
|
+
};
|