@maycombhq/sdk 2.0.0-beta.25 → 2.0.0-beta.26
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/npm/index.js +73 -2
- package/package.json +1 -1
package/npm/index.js
CHANGED
|
@@ -1386,8 +1386,8 @@ function parseTemplate(template) {
|
|
|
1386
1386
|
return parts;
|
|
1387
1387
|
}
|
|
1388
1388
|
function templateSources(template) {
|
|
1389
|
-
const
|
|
1390
|
-
return parseTemplate(template).flatMap((p2) => "expr" in p2 ?
|
|
1389
|
+
const all3 = (x) => x.type === "lookup" ? [x, ...all3(x.key.source)] : [x];
|
|
1390
|
+
return parseTemplate(template).flatMap((p2) => "expr" in p2 ? all3(p2.expr.source) : []);
|
|
1391
1391
|
}
|
|
1392
1392
|
var TEMPLATE_FILTERS, TemplateError, IDENT, KEY, BUILTIN;
|
|
1393
1393
|
var init_template = __esm({
|
|
@@ -12833,6 +12833,77 @@ var LOG_MAX_BYTES = 5 * 1024 * 1024;
|
|
|
12833
12833
|
// packages/core/dist/run-log.js
|
|
12834
12834
|
var RUN_LOG_MAX_BYTES = 2 * 1024 * 1024;
|
|
12835
12835
|
var RUN_SILENT_MS = 5 * 60 * 1e3;
|
|
12836
|
+
var all2 = true;
|
|
12837
|
+
var only = (...c) => new Set(c);
|
|
12838
|
+
var but = (...c) => ({ except: new Set(c) });
|
|
12839
|
+
var RECORDED = {
|
|
12840
|
+
// The long ones.
|
|
12841
|
+
map: all2,
|
|
12842
|
+
scan: all2,
|
|
12843
|
+
verify: all2,
|
|
12844
|
+
upgrade: all2,
|
|
12845
|
+
reconcile: all2,
|
|
12846
|
+
"run-ready": all2,
|
|
12847
|
+
workspace: only("sync", "bring-in", "open", "prune"),
|
|
12848
|
+
task: but("context"),
|
|
12849
|
+
knowledge: only("scan", "find", "ask", "keep", "verify", "correct", "reject"),
|
|
12850
|
+
handoff: only("done"),
|
|
12851
|
+
index: only("rebuild", "embed"),
|
|
12852
|
+
// A change, from its start to its archive, and what it asks of people.
|
|
12853
|
+
change: but("status", "list", "knowledge", "similar", "impact", "conflicts", "estimate", "map"),
|
|
12854
|
+
initiative: but("status"),
|
|
12855
|
+
questions: but("list", "show", "proposed", "decisions"),
|
|
12856
|
+
critic: all2,
|
|
12857
|
+
finding: all2,
|
|
12858
|
+
plan: all2,
|
|
12859
|
+
stories: all2,
|
|
12860
|
+
needs: only("done", "skip", "reopen"),
|
|
12861
|
+
todo: only("done", "run"),
|
|
12862
|
+
ado: all2,
|
|
12863
|
+
release: all2,
|
|
12864
|
+
outcome: only("record"),
|
|
12865
|
+
tests: only("generate"),
|
|
12866
|
+
spec: only("draft", "seed", "accept", "hand-down", "hand-up"),
|
|
12867
|
+
feature: but("list", "show"),
|
|
12868
|
+
triage: only("decide"),
|
|
12869
|
+
alias: all2,
|
|
12870
|
+
// The estate, the org pack and what Atticus learns.
|
|
12871
|
+
baseline: all2,
|
|
12872
|
+
repo: all2,
|
|
12873
|
+
"repo-type": only("new", "note", "rules"),
|
|
12874
|
+
rules: only("add", "activate", "off", "draft", "try", "import"),
|
|
12875
|
+
types: only("add"),
|
|
12876
|
+
skills: only("import", "write"),
|
|
12877
|
+
connect: all2,
|
|
12878
|
+
join: all2,
|
|
12879
|
+
estate: only("join", "measure", "shared", "contracts"),
|
|
12880
|
+
sources: only("sync", "tag", "refresh"),
|
|
12881
|
+
glossary: only("scan", "define", "link", "alias"),
|
|
12882
|
+
intake: only("add", "traffic"),
|
|
12883
|
+
patterns: only("scan"),
|
|
12884
|
+
defences: only("scan"),
|
|
12885
|
+
onboard: but("check"),
|
|
12886
|
+
frameworks: all2,
|
|
12887
|
+
dialect: only("new", "kit"),
|
|
12888
|
+
plugin: all2,
|
|
12889
|
+
absorb: all2,
|
|
12890
|
+
orgpack: only("draft", "accept", "owner"),
|
|
12891
|
+
standards: all2,
|
|
12892
|
+
openspec: only("setup"),
|
|
12893
|
+
templates: only("draft"),
|
|
12894
|
+
catalog: only("migrate"),
|
|
12895
|
+
diagram: all2,
|
|
12896
|
+
"assistant-files": all2,
|
|
12897
|
+
site: only("build"),
|
|
12898
|
+
secret: only("set", "forget"),
|
|
12899
|
+
init: all2,
|
|
12900
|
+
adopt: all2,
|
|
12901
|
+
unadopt: all2,
|
|
12902
|
+
support: only("bundle"),
|
|
12903
|
+
probe: all2,
|
|
12904
|
+
eval: only("run"),
|
|
12905
|
+
bench: all2
|
|
12906
|
+
};
|
|
12836
12907
|
var DAY = 24 * 60 * 60 * 1e3;
|
|
12837
12908
|
|
|
12838
12909
|
// packages/core/dist/printer.js
|
package/package.json
CHANGED