@wirecat/wirecat 0.0.0-stage → 1.1.0
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/LICENSE +204 -0
- package/README.md +399 -2
- package/THIRD_PARTY_NOTICES +2 -0
- package/contracts/wirecat.json +4612 -0
- package/dist/actions/actions.js +269 -0
- package/dist/actions/command.js +102 -0
- package/dist/agents/command.js +17 -0
- package/dist/agents/log.js +23 -0
- package/dist/answer.js +100 -0
- package/dist/answers/command.js +128 -0
- package/dist/app.js +15 -0
- package/dist/author.js +109 -0
- package/dist/bin/wcat-wirecat.js +40 -0
- package/dist/bots/command.js +175 -0
- package/dist/bundle/auto-O24ISPOI.js +43 -0
- package/dist/bundle/chunk-2A3YPENI.js +31 -0
- package/dist/bundle/chunk-6BDIFKF5.js +222 -0
- package/dist/bundle/chunk-7O7XM37N.js +2 -0
- package/dist/bundle/chunk-AYHZY24E.js +120 -0
- package/dist/bundle/chunk-CKBTMZUX.js +72 -0
- package/dist/bundle/chunk-FGXUH3XL.js +416 -0
- package/dist/bundle/chunk-I5JQBRRC.js +807 -0
- package/dist/bundle/chunk-RKVAWMZT.js +38 -0
- package/dist/bundle/chunk-SCDNOUUR.js +395 -0
- package/dist/bundle/chunk-T7TG4JKR.js +312 -0
- package/dist/bundle/chunk-XBUCXQKT.js +51 -0
- package/dist/bundle/entry-EW5A7FYV.js +64 -0
- package/dist/bundle/failure-HMELJ3K5.js +19 -0
- package/dist/bundle/from-memo-F7NTUXAR.js +314 -0
- package/dist/bundle/program-7XWGFN4H.js +14994 -0
- package/dist/bundle/server-T7RVBNRW.js +303 -0
- package/dist/bundle/update-JZDS7B6L.js +22 -0
- package/dist/bundle/wcat-wirecat.js +83 -0
- package/dist/config-command.js +39 -0
- package/dist/config-issues.js +15 -0
- package/dist/config.js +187 -0
- package/dist/context/command.js +162 -0
- package/dist/context/context.js +197 -0
- package/dist/contract-overrides/commands.js +81 -0
- package/dist/contract-overrides/mcp.js +241 -0
- package/dist/contract-overrides/meetings.js +344 -0
- package/dist/contract-overrides/search.js +508 -0
- package/dist/contract-overrides/skill.js +85 -0
- package/dist/contract-overrides.js +7 -0
- package/dist/digest/backfill.js +175 -0
- package/dist/digest/brief.js +189 -0
- package/dist/digest/catch-up-record.js +30 -0
- package/dist/digest/catch-up.js +86 -0
- package/dist/digest/command.js +110 -0
- package/dist/digest/digest-commands.js +327 -0
- package/dist/digest/digest.js +560 -0
- package/dist/digest/digests.js +213 -0
- package/dist/digest/history.js +202 -0
- package/dist/digest/input.js +30 -0
- package/dist/digest/known.js +28 -0
- package/dist/digest/sources.js +155 -0
- package/dist/digest/sync-health.js +158 -0
- package/dist/digest/task-proposals.js +67 -0
- package/dist/digest/tasks.js +145 -0
- package/dist/digest/text.js +49 -0
- package/dist/discovery/command.js +107 -0
- package/dist/doctor/command.js +167 -0
- package/dist/documents/command.js +107 -0
- package/dist/domain-lists/command.js +13 -0
- package/dist/events/command.js +35 -0
- package/dist/events/events.js +196 -0
- package/dist/examples.js +609 -0
- package/dist/facts/command.js +100 -0
- package/dist/facts/fact.js +54 -0
- package/dist/facts/facts.js +15 -0
- package/dist/failure.js +58 -0
- package/dist/finance/command.js +121 -0
- package/dist/finance/contracts-command.js +109 -0
- package/dist/finance/deal-text.js +34 -0
- package/dist/finance/deals-command.js +346 -0
- package/dist/finance/finance.js +129 -0
- package/dist/finance/lines-command.js +70 -0
- package/dist/finance/orders-command.js +94 -0
- package/dist/finance/products-command.js +98 -0
- package/dist/finance/subscriptions-command.js +152 -0
- package/dist/finance/transactions-command.js +136 -0
- package/dist/finance/wallets-command.js +105 -0
- package/dist/finance/written.js +36 -0
- package/dist/findings/command.js +102 -0
- package/dist/findings-input.js +23 -0
- package/dist/identity.js +20 -0
- package/dist/install/postinstall.js +47 -0
- package/dist/json-fields.js +48 -0
- package/dist/knowledge/business-text.js +19 -0
- package/dist/knowledge/command.js +435 -0
- package/dist/knowledge/document-context.js +33 -0
- package/dist/knowledge/key-documents.js +120 -0
- package/dist/knowledge/list-queries.js +20 -0
- package/dist/knowledge/meeting-projects-command.js +61 -0
- package/dist/knowledge/messenger-sync.js +253 -0
- package/dist/knowledge/money-text.js +16 -0
- package/dist/knowledge/notes-about.js +81 -0
- package/dist/knowledge/organization-delete-command.js +44 -0
- package/dist/knowledge/organization-text.js +27 -0
- package/dist/knowledge/project-actions-command.js +130 -0
- package/dist/knowledge/project-actions.js +104 -0
- package/dist/knowledge/project-activity-command.js +70 -0
- package/dist/knowledge/project-context.js +101 -0
- package/dist/knowledge/project-findings.js +41 -0
- package/dist/knowledge/project-gather-command.js +100 -0
- package/dist/knowledge/project-status-command.js +129 -0
- package/dist/knowledge/project-transfer-command.js +58 -0
- package/dist/knowledge/project-transfer.js +107 -0
- package/dist/knowledge/relationships-scan.js +116 -0
- package/dist/knowledge/relationships.js +115 -0
- package/dist/knowledge/roles-command.js +67 -0
- package/dist/mail/command.js +20 -0
- package/dist/mail/findings-command.js +143 -0
- package/dist/mail/findings-duplicates.js +159 -0
- package/dist/mail/messages-command.js +77 -0
- package/dist/mail/review-command.js +59 -0
- package/dist/mail/subscriptions-command.js +84 -0
- package/dist/mcp/catalogue.js +159 -0
- package/dist/mcp/command.js +125 -0
- package/dist/mcp/granted.js +18 -0
- package/dist/mcp/permissions.js +61 -0
- package/dist/mcp/server.js +128 -0
- package/dist/meetings/command.js +31 -0
- package/dist/meetings/list-command.js +59 -0
- package/dist/meetings/preparation-command.js +42 -0
- package/dist/meetings/preparation-text.js +44 -0
- package/dist/meetings/preparation.js +50 -0
- package/dist/meetings/read.js +32 -0
- package/dist/memories/command.js +105 -0
- package/dist/memories/memories.js +17 -0
- package/dist/memories/memory.js +89 -0
- package/dist/memories/sources.js +111 -0
- package/dist/mentions/command.js +91 -0
- package/dist/migrate/check.js +48 -0
- package/dist/migrate/from-memo.js +345 -0
- package/dist/migrate/skill.js +35 -0
- package/dist/models/command.js +19 -0
- package/dist/options.js +35 -0
- package/dist/output.js +17 -0
- package/dist/page.js +14 -0
- package/dist/people/command.js +144 -0
- package/dist/people/delete-command.js +53 -0
- package/dist/people/doubts-command.js +81 -0
- package/dist/people/identities-command.js +188 -0
- package/dist/people/identity.js +42 -0
- package/dist/people/owner.js +14 -0
- package/dist/people/proposal-rows.js +70 -0
- package/dist/people/proposals-command.js +248 -0
- package/dist/people/review-context.js +108 -0
- package/dist/people/subject.js +19 -0
- package/dist/program.js +875 -0
- package/dist/read-only.js +51 -0
- package/dist/reasons.js +368 -0
- package/dist/records/import.js +135 -0
- package/dist/records/input.js +210 -0
- package/dist/records/mapping.js +80 -0
- package/dist/records/record-commands.js +125 -0
- package/dist/records/sources.js +73 -0
- package/dist/refs.js +28 -0
- package/dist/review/command.js +171 -0
- package/dist/review/kinds.js +44 -0
- package/dist/review/review.js +299 -0
- package/dist/review/status.js +93 -0
- package/dist/rows.js +219 -0
- package/dist/run/auto.js +237 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/files.js +51 -0
- package/dist/run/import.js +253 -0
- package/dist/run/lock.js +20 -0
- package/dist/save-help.js +3 -0
- package/dist/schedule/command.js +58 -0
- package/dist/schedule/mail-triage-input.js +152 -0
- package/dist/schedule/task-triage-input.js +152 -0
- package/dist/search/answers.js +176 -0
- package/dist/search/command.js +257 -0
- package/dist/search/denied.js +9 -0
- package/dist/search/embed.js +126 -0
- package/dist/search/hits.js +4 -0
- package/dist/search/lane-gates.js +76 -0
- package/dist/search/notes-text.js +18 -0
- package/dist/search/people.js +88 -0
- package/dist/search/search.js +306 -0
- package/dist/show/command.js +179 -0
- package/dist/store/crm-viewer.js +102 -0
- package/dist/store/group.js +112 -0
- package/dist/store/groups-command.js +136 -0
- package/dist/store/guard.js +94 -0
- package/dist/store/held.js +21 -0
- package/dist/store/info-command.js +37 -0
- package/dist/store/scope.js +53 -0
- package/dist/store/source-list.js +222 -0
- package/dist/store/source-target.js +28 -0
- package/dist/tags/command.js +176 -0
- package/dist/tasks/command.js +174 -0
- package/dist/tasks/context.js +74 -0
- package/dist/tasks/list.js +199 -0
- package/dist/tasks/proposal-duplicates.js +70 -0
- package/dist/tasks/relations-command.js +28 -0
- package/dist/tasks/shared.js +105 -0
- package/dist/tasks/tasks.js +197 -0
- package/dist/templates/command.js +18 -0
- package/dist/terminal.js +23 -0
- package/dist/update.js +35 -0
- package/dist/version.js +2 -0
- package/dist/vocabulary/command.js +103 -0
- package/dist/vocabulary/inspect.js +23 -0
- package/dist/vocabulary/inspection.js +18 -0
- package/dist/vocabulary/list.js +18 -0
- package/dist/vocabulary/project.js +19 -0
- package/dist/wcat.js +3 -0
- package/install/postinstall.mjs +9 -0
- package/package.json +89 -4
- package/scenarios/decision-trail.md +21 -0
- package/scenarios/person-brief.md +35 -0
- package/scenarios/prepare-meeting.md +17 -0
- package/scenarios/project-state.md +26 -0
- package/scenarios/set-up.md +18 -0
- package/scenarios/start-the-day.md +19 -0
- package/skills/mail-triage/SKILL.md +208 -0
- package/skills/morning-digest/SKILL.md +147 -0
- package/skills/task-triage/SKILL.md +79 -0
- package/skills/wcat/SKILL.md +65 -0
- package/skills/wcat/topics/mail.md +32 -0
- package/skills/wcat/topics/mcp.md +22 -0
- package/skills/wcat/topics/meetings.md +37 -0
- package/skills/wcat/topics/money.md +52 -0
- package/skills/wcat/topics/projects.md +54 -0
- package/skills/wcat/topics/proposals.md +113 -0
- package/skills/wcat/topics/search.md +85 -0
- package/skills/wcat/topics/vocabulary.md +8 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
inspectConfig,
|
|
5
|
+
loadConfig,
|
|
6
|
+
memoPermissionKeys
|
|
7
|
+
} from "./chunk-T7TG4JKR.js";
|
|
8
|
+
import {
|
|
9
|
+
APP,
|
|
10
|
+
__name
|
|
11
|
+
} from "./chunk-SCDNOUUR.js";
|
|
12
|
+
|
|
13
|
+
// dist/read-only.js
|
|
14
|
+
import { metaOf } from "@wirecat/cli-base/commands";
|
|
15
|
+
import { changesAuthority, isStoreChange, readOnlyLockOf, readOnlyRefusal, setupPermissionCeiling } from "@wirecat/cli-core";
|
|
16
|
+
var PROPOSES_HERE = "review findings add";
|
|
17
|
+
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
18
|
+
const words = [];
|
|
19
|
+
for (let at = command; at?.parent; at = at.parent)
|
|
20
|
+
words.unshift(at.name());
|
|
21
|
+
return words.join(" ");
|
|
22
|
+
}, "pathOf");
|
|
23
|
+
var refusalOf = /* @__PURE__ */ __name((command) => {
|
|
24
|
+
const { effects, lifetime } = metaOf(command);
|
|
25
|
+
if (lifetime === "persistent")
|
|
26
|
+
return void 0;
|
|
27
|
+
if (changesAuthority(command) && command.opts().check !== true)
|
|
28
|
+
return "change what later runs may access";
|
|
29
|
+
if (command.opts().allowRemote === true)
|
|
30
|
+
return "send evidence to a model off this machine";
|
|
31
|
+
if (effects?.remote === "write")
|
|
32
|
+
return "change mail at the provider";
|
|
33
|
+
if (isStoreChange(command) && pathOf(command) !== PROPOSES_HERE)
|
|
34
|
+
return "change wcat's store or files";
|
|
35
|
+
return void 0;
|
|
36
|
+
}, "refusalOf");
|
|
37
|
+
var lockOf = /* @__PURE__ */ __name((env) => readOnlyLockOf(APP, env) ?? (setupPermissionCeiling(env) === "readonly" ? "the WireCat setup answer; `tg setup` changes it" : void 0), "lockOf");
|
|
38
|
+
var refuseWritesUnderLock = /* @__PURE__ */ __name((program, env) => {
|
|
39
|
+
program.hook("preAction", (_root, command) => {
|
|
40
|
+
const lock = lockOf(env);
|
|
41
|
+
if (lock === void 0)
|
|
42
|
+
return;
|
|
43
|
+
const refusal = refusalOf(command);
|
|
44
|
+
if (refusal !== void 0)
|
|
45
|
+
throw readOnlyRefusal(lock, refusal);
|
|
46
|
+
});
|
|
47
|
+
}, "refuseWritesUnderLock");
|
|
48
|
+
var readOnly = /* @__PURE__ */ __name((env) => lockOf(env) !== void 0, "readOnly");
|
|
49
|
+
var readOnlyAvailability = /* @__PURE__ */ __name((command, env) => {
|
|
50
|
+
const lock = lockOf(env);
|
|
51
|
+
const refusal = lock === void 0 ? void 0 : refusalOf(command);
|
|
52
|
+
return refusal === void 0 ? { available: true } : { available: false, reason: `${lock}: cannot ${refusal}` };
|
|
53
|
+
}, "readOnlyAvailability");
|
|
54
|
+
|
|
55
|
+
// dist/mcp/permissions.js
|
|
56
|
+
import { CliError } from "@wirecat/cli-base";
|
|
57
|
+
import { CEILING_KEY, issueMessage, layerPermissions, levelFor, setupPermissionCeiling as setupPermissionCeiling2 } from "@wirecat/cli-core";
|
|
58
|
+
var OWNER_PERMISSIONS = [
|
|
59
|
+
"meetings.actions.confirm",
|
|
60
|
+
"meetings.actions.reject",
|
|
61
|
+
"messages.reset",
|
|
62
|
+
"organizations.delete",
|
|
63
|
+
"people.delete",
|
|
64
|
+
"projects.annotations.restore",
|
|
65
|
+
"records.clear",
|
|
66
|
+
"review.confirm",
|
|
67
|
+
"review.reject",
|
|
68
|
+
"wallets.update"
|
|
69
|
+
];
|
|
70
|
+
var ORDER = { deny: 0, readonly: 1, ask: 2, allow: 3 };
|
|
71
|
+
var memoLevels = /* @__PURE__ */ __name((env, overrides = [], defaults = { "mcp.authority": "deny" }) => {
|
|
72
|
+
const saved = loadConfig(env).permissions ?? {};
|
|
73
|
+
const changed = {};
|
|
74
|
+
for (const entry of overrides) {
|
|
75
|
+
const match = /^([a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*)=(deny|readonly|ask|allow)$/.exec(entry);
|
|
76
|
+
if (!match)
|
|
77
|
+
throw new CliError("validation_error", "--permission takes a command path and level, e.g. memories.add=deny");
|
|
78
|
+
changed[match[1]] = match[2];
|
|
79
|
+
}
|
|
80
|
+
const levels = layerPermissions([
|
|
81
|
+
["server", changed],
|
|
82
|
+
["config", saved]
|
|
83
|
+
]).levels;
|
|
84
|
+
for (const key of /* @__PURE__ */ new Set([...Object.keys(changed), ...Object.keys(saved), ...Object.keys(defaults)])) {
|
|
85
|
+
if (ORDER[levelFor(levels, key, defaults).level] > ORDER[levelFor(saved, key, defaults).level])
|
|
86
|
+
throw new CliError("permission_error", `--permission would loosen the saved permission for ${key}`);
|
|
87
|
+
}
|
|
88
|
+
const effective = Object.fromEntries([.../* @__PURE__ */ new Set([...Object.keys(levels), ...Object.keys(defaults)])].map((key) => [
|
|
89
|
+
key,
|
|
90
|
+
levelFor(levels, key, defaults).level
|
|
91
|
+
]));
|
|
92
|
+
const ceiling = setupPermissionCeiling2(env);
|
|
93
|
+
return ceiling === void 0 ? effective : { ...effective, [CEILING_KEY]: ceiling };
|
|
94
|
+
}, "memoLevels");
|
|
95
|
+
var refuseUnknownPermissions = /* @__PURE__ */ __name((env, program, overrides) => {
|
|
96
|
+
loadConfig(env);
|
|
97
|
+
const { issues } = inspectConfig(env, program);
|
|
98
|
+
if (issues.length > 0)
|
|
99
|
+
throw new CliError("configuration_error", issueMessage(issues, "wcat doctor"), { permission: issues[0]?.key });
|
|
100
|
+
const known = memoPermissionKeys(program);
|
|
101
|
+
const key = overrides.map((entry) => entry.split("=")[0] ?? "").find((one) => !known.has(one));
|
|
102
|
+
if (key !== void 0)
|
|
103
|
+
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
104
|
+
}, "refuseUnknownPermissions");
|
|
105
|
+
var mcpOwnerAllowed = /* @__PURE__ */ __name((env, key) => {
|
|
106
|
+
if (env.AI_AGENT !== "wcat-mcp" || readOnly(env))
|
|
107
|
+
return false;
|
|
108
|
+
const level = levelFor(memoLevels(env), key, { [key]: "deny" }).level;
|
|
109
|
+
return level === "ask" || level === "allow";
|
|
110
|
+
}, "mcpOwnerAllowed");
|
|
111
|
+
|
|
112
|
+
export {
|
|
113
|
+
refuseWritesUnderLock,
|
|
114
|
+
readOnly,
|
|
115
|
+
readOnlyAvailability,
|
|
116
|
+
OWNER_PERMISSIONS,
|
|
117
|
+
memoLevels,
|
|
118
|
+
refuseUnknownPermissions,
|
|
119
|
+
mcpOwnerAllowed
|
|
120
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
ValiError
|
|
5
|
+
} from "./chunk-I5JQBRRC.js";
|
|
6
|
+
import {
|
|
7
|
+
interactiveOf,
|
|
8
|
+
optionsOf
|
|
9
|
+
} from "./chunk-2A3YPENI.js";
|
|
10
|
+
import {
|
|
11
|
+
APP,
|
|
12
|
+
__name
|
|
13
|
+
} from "./chunk-SCDNOUUR.js";
|
|
14
|
+
|
|
15
|
+
// dist/failure.js
|
|
16
|
+
import { CliError, errorObjectOf, errorRecordOf, exitCodeOfError, mcpErrorResult, renderError } from "@wirecat/cli-base";
|
|
17
|
+
import { metaOf } from "@wirecat/cli-base/commands";
|
|
18
|
+
import { agentResult, failureContext, judgedEffects, storeDamaged } from "@wirecat/cli-core";
|
|
19
|
+
import { CommanderError } from "commander";
|
|
20
|
+
var context = failureContext(APP.errors);
|
|
21
|
+
var recognisable = /* @__PURE__ */ __name((error) => {
|
|
22
|
+
if (error instanceof CommanderError)
|
|
23
|
+
return new CliError("validation_error", error.message.replace(/^error: /, ""), { reason: "input.invalid" });
|
|
24
|
+
if (error instanceof ValiError) {
|
|
25
|
+
const [issue] = error.issues;
|
|
26
|
+
const param = issue?.path?.map((item) => String(item.key)).join(".");
|
|
27
|
+
return new CliError("validation_error", issue?.message ?? "the input is not valid", {
|
|
28
|
+
reason: "input.invalid",
|
|
29
|
+
...param ? { param } : {}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return storeDamaged(error, `${APP.command} store recover`);
|
|
33
|
+
}, "recognisable");
|
|
34
|
+
var errorObject = /* @__PURE__ */ __name((error) => errorObjectOf(recognisable(error), context), "errorObject");
|
|
35
|
+
var mcpFailure = /* @__PURE__ */ __name((error) => agentResult(mcpErrorResult(errorObject(error))), "mcpFailure");
|
|
36
|
+
var commandOf = /* @__PURE__ */ __name((program, args) => {
|
|
37
|
+
const path = [];
|
|
38
|
+
let at = program;
|
|
39
|
+
for (const arg of args) {
|
|
40
|
+
if (arg.startsWith("-"))
|
|
41
|
+
continue;
|
|
42
|
+
const child = at?.commands.find((command) => command.name() === arg);
|
|
43
|
+
if (!child)
|
|
44
|
+
break;
|
|
45
|
+
path.push(child.name());
|
|
46
|
+
at = child;
|
|
47
|
+
}
|
|
48
|
+
return { name: path.join(" ") || "wcat", command: path.length ? at : void 0 };
|
|
49
|
+
}, "commandOf");
|
|
50
|
+
var throwParseFailures = /* @__PURE__ */ __name((program) => {
|
|
51
|
+
program.exitOverride().configureOutput({ outputError: /* @__PURE__ */ __name(() => void 0, "outputError") });
|
|
52
|
+
for (const command of program.commands)
|
|
53
|
+
throwParseFailures(command);
|
|
54
|
+
}, "throwParseFailures");
|
|
55
|
+
var reportFailure = /* @__PURE__ */ __name((error, { args, program, streams, tty }) => {
|
|
56
|
+
const failure = recognisable(error);
|
|
57
|
+
const flags = optionsOf(args);
|
|
58
|
+
const failed = commandOf(program, flags);
|
|
59
|
+
const effects = judgedEffects(failed.command && metaOf(failed.command).effects);
|
|
60
|
+
const object = errorObjectOf(failure, { ...context, ...effects ? { effects } : {} });
|
|
61
|
+
const record = flags.includes("--debug") ? errorRecordOf(failure, object, { command: failed.name, service: APP.command, version: APP.version }) : void 0;
|
|
62
|
+
streams.diagnostic(renderError(object, { cli: APP.command, interactive: interactiveOf(args, tty), ...record ? { record } : {} }));
|
|
63
|
+
return exitCodeOfError(object);
|
|
64
|
+
}, "reportFailure");
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
recognisable,
|
|
68
|
+
errorObject,
|
|
69
|
+
mcpFailure,
|
|
70
|
+
throwParseFailures,
|
|
71
|
+
reportFailure
|
|
72
|
+
};
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
decisionPolicy
|
|
5
|
+
} from "./chunk-T7TG4JKR.js";
|
|
6
|
+
import {
|
|
7
|
+
STORE_CLIENT,
|
|
8
|
+
__name
|
|
9
|
+
} from "./chunk-SCDNOUUR.js";
|
|
10
|
+
|
|
11
|
+
// dist/answer.js
|
|
12
|
+
import { CliError as CliError2, createRenderer } from "@wirecat/cli-base";
|
|
13
|
+
import { COMPACT_FLAG } from "@wirecat/cli-base/standards";
|
|
14
|
+
import { compactText, currentRun, itemOf, listOf, openStore, renderAnswer, rootOf, sealed } from "@wirecat/cli-core";
|
|
15
|
+
|
|
16
|
+
// dist/output.js
|
|
17
|
+
import { resolveOutput, snakeKeysKeeping } from "@wirecat/cli-core";
|
|
18
|
+
var snakeKeys = snakeKeysKeeping(["front_matter", "metadata", "headers"]);
|
|
19
|
+
var atDetail = /* @__PURE__ */ __name((value, level) => {
|
|
20
|
+
let picked = "";
|
|
21
|
+
resolveOutput({
|
|
22
|
+
json: true,
|
|
23
|
+
streams: { data: /* @__PURE__ */ __name((chunk) => picked += chunk, "data"), diagnostic: /* @__PURE__ */ __name(() => void 0, "diagnostic"), progress: /* @__PURE__ */ __name(() => void 0, "progress") },
|
|
24
|
+
...level === void 0 ? {} : { hitDetail: level }
|
|
25
|
+
}).renderer.result(value);
|
|
26
|
+
return JSON.parse(picked);
|
|
27
|
+
}, "atDetail");
|
|
28
|
+
|
|
29
|
+
// dist/rows.js
|
|
30
|
+
import { rowShapeOf, rowsOfEntity } from "@wirecat/cli-core";
|
|
31
|
+
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
32
|
+
var fact = {
|
|
33
|
+
columns: [
|
|
34
|
+
{ field: "ref" },
|
|
35
|
+
{ field: "kind" },
|
|
36
|
+
{ field: "status" },
|
|
37
|
+
{ field: "subject_name" },
|
|
38
|
+
{ field: "project_name" },
|
|
39
|
+
{ field: ["occurred_at", "created_at"], as: "day" }
|
|
40
|
+
],
|
|
41
|
+
text: ["text"]
|
|
42
|
+
};
|
|
43
|
+
var LINED = {
|
|
44
|
+
columns: [{ field: "ref" }, { field: "title" }, { field: "status" }, { field: "review" }],
|
|
45
|
+
sections: { lines: "memo_money_line" }
|
|
46
|
+
};
|
|
47
|
+
var PROPOSAL_ROW = {
|
|
48
|
+
columns: [
|
|
49
|
+
{ field: "id" },
|
|
50
|
+
{ field: "kind" },
|
|
51
|
+
{ field: "title" },
|
|
52
|
+
{ field: "score" },
|
|
53
|
+
{ field: "proposer" },
|
|
54
|
+
{ field: "created_at", as: "day" }
|
|
55
|
+
],
|
|
56
|
+
text: ["reason"]
|
|
57
|
+
};
|
|
58
|
+
var DECISIONS = {
|
|
59
|
+
columns: [],
|
|
60
|
+
sections: { decided: "memo_decided", refused: "memo_refused" },
|
|
61
|
+
oneLine: true
|
|
62
|
+
};
|
|
63
|
+
var ROWS = {
|
|
64
|
+
"search all": {
|
|
65
|
+
columns: [{ field: "ref" }, { field: "kind" }, { field: "timestamp", as: "time" }, { field: "title" }, sender],
|
|
66
|
+
text: ["excerpt"]
|
|
67
|
+
},
|
|
68
|
+
"search notes": {
|
|
69
|
+
columns: [{ field: "ref" }, { field: "updated_at", as: "day" }, { field: ["title", "path"] }],
|
|
70
|
+
text: ["excerpt"]
|
|
71
|
+
},
|
|
72
|
+
"search memories": fact,
|
|
73
|
+
"search people": { columns: [{ field: "ref" }, { field: "name" }] },
|
|
74
|
+
"notes list": {
|
|
75
|
+
columns: [
|
|
76
|
+
{ field: "ref" },
|
|
77
|
+
{ field: "updated_at", as: "day" },
|
|
78
|
+
{ field: "source" },
|
|
79
|
+
{ field: ["title", "path"] },
|
|
80
|
+
{ field: "via" }
|
|
81
|
+
],
|
|
82
|
+
text: ["text"]
|
|
83
|
+
},
|
|
84
|
+
"facts list": fact,
|
|
85
|
+
"invoices list": {
|
|
86
|
+
columns: [{ field: "ref" }, { field: "project_name" }, { field: ["issue_date", "created_at"], as: "day" }],
|
|
87
|
+
text: ["title"]
|
|
88
|
+
},
|
|
89
|
+
"payments list": {
|
|
90
|
+
columns: [{ field: "ref" }, { field: "project_name" }, { field: "date", as: "day" }],
|
|
91
|
+
text: ["title"]
|
|
92
|
+
},
|
|
93
|
+
"deals list": {
|
|
94
|
+
columns: [{ field: "ref" }, { field: "project_name" }, { field: "close_date", as: "day" }],
|
|
95
|
+
text: ["summary"]
|
|
96
|
+
},
|
|
97
|
+
"leads list": {
|
|
98
|
+
columns: [{ field: "ref" }, { field: "project_name" }, { field: "created_at", as: "day" }],
|
|
99
|
+
text: ["summary"]
|
|
100
|
+
},
|
|
101
|
+
"memories list": fact,
|
|
102
|
+
"people list": {
|
|
103
|
+
columns: [
|
|
104
|
+
{ field: "ref" },
|
|
105
|
+
{ field: "display_name" },
|
|
106
|
+
{ field: "contact" },
|
|
107
|
+
{ field: "owner", tag: "owner" },
|
|
108
|
+
{ field: "messages_from", as: "count", tag: "messages" },
|
|
109
|
+
{ field: "tasks", as: "count", tag: "tasks" },
|
|
110
|
+
{ field: "kind_signals" }
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"people check": {
|
|
114
|
+
columns: [
|
|
115
|
+
{ field: "ref" },
|
|
116
|
+
{ field: "display_name" },
|
|
117
|
+
{ field: "contact" },
|
|
118
|
+
{ field: "kind" },
|
|
119
|
+
{ field: "same_name", tag: "same name" }
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"events list": {
|
|
123
|
+
columns: [
|
|
124
|
+
{ field: "ref" },
|
|
125
|
+
{ field: ["starts_at", "ends_at"], as: "time" },
|
|
126
|
+
{ field: "event_type" },
|
|
127
|
+
{ field: "in" },
|
|
128
|
+
{ field: "title" }
|
|
129
|
+
],
|
|
130
|
+
text: ["description"]
|
|
131
|
+
},
|
|
132
|
+
"organizations list": { columns: [{ field: "ref" }, { field: "name" }, { field: "kind" }] },
|
|
133
|
+
"projects list": { columns: [{ field: "ref" }, { field: "key" }, { field: "name" }, { field: "kind" }] },
|
|
134
|
+
"relationships list": {
|
|
135
|
+
columns: [
|
|
136
|
+
{ field: "id" },
|
|
137
|
+
{ field: "from" },
|
|
138
|
+
{ field: "kind" },
|
|
139
|
+
{ field: "to" },
|
|
140
|
+
{ field: "role" },
|
|
141
|
+
{ field: "purpose" },
|
|
142
|
+
{ field: "confirmed", tag: "confirmed" }
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"tasks list": {
|
|
146
|
+
columns: [
|
|
147
|
+
{ field: ["key", "ref", "id"] },
|
|
148
|
+
{ field: "state" },
|
|
149
|
+
{ field: "kind" },
|
|
150
|
+
{ field: "priority_label" },
|
|
151
|
+
{ field: "project_key" },
|
|
152
|
+
{ field: "due_at", as: "day" },
|
|
153
|
+
{ field: "source" }
|
|
154
|
+
],
|
|
155
|
+
text: ["title", "message.text"]
|
|
156
|
+
},
|
|
157
|
+
"messages show": {
|
|
158
|
+
columns: [
|
|
159
|
+
{ field: "ref" },
|
|
160
|
+
{ field: ["timestamp", "date"], as: "time" },
|
|
161
|
+
{ field: "chat_title" },
|
|
162
|
+
{ field: ["from", "sender_is_me", "sender_name"], tag: "me" },
|
|
163
|
+
{ field: "subject" },
|
|
164
|
+
{ field: "attachments", as: "files" }
|
|
165
|
+
],
|
|
166
|
+
text: ["text", "excerpt"]
|
|
167
|
+
},
|
|
168
|
+
"projects evidence": {
|
|
169
|
+
columns: [{ field: "project_ref" }],
|
|
170
|
+
sections: { items: "memo_evidence_item", people: "memo_evidence_person", linked_chats: "linked_chat" }
|
|
171
|
+
},
|
|
172
|
+
show: {
|
|
173
|
+
columns: [{ field: "ref" }, { field: "kind" }, { field: "state" }, { field: "title" }, { field: "open.line" }]
|
|
174
|
+
},
|
|
175
|
+
"wallets list": {
|
|
176
|
+
columns: [{ field: "ref" }, { field: "title" }, { field: "balance.amount" }, { field: "balance.currency" }]
|
|
177
|
+
},
|
|
178
|
+
"review show": { ...PROPOSAL_ROW, oneLine: true },
|
|
179
|
+
"review confirm": DECISIONS,
|
|
180
|
+
"review reject": DECISIONS,
|
|
181
|
+
"orders show": LINED,
|
|
182
|
+
"orders lines add": LINED,
|
|
183
|
+
"orders lines remove": LINED,
|
|
184
|
+
"invoices show": LINED,
|
|
185
|
+
"invoices lines add": LINED,
|
|
186
|
+
"invoices lines remove": LINED
|
|
187
|
+
};
|
|
188
|
+
var SECTION_ROWS = {
|
|
189
|
+
memo_evidence_item: {
|
|
190
|
+
columns: [{ field: "ref" }, { field: "context" }, { field: "kind" }, { field: "title" }],
|
|
191
|
+
text: ["text"]
|
|
192
|
+
},
|
|
193
|
+
memo_finance: {
|
|
194
|
+
columns: [
|
|
195
|
+
{ field: "direction" },
|
|
196
|
+
{ field: "currency" },
|
|
197
|
+
{ field: "billed" },
|
|
198
|
+
{ field: "paid" },
|
|
199
|
+
{ field: "owed" },
|
|
200
|
+
{ field: "invoices", as: "count", tag: "invoices" },
|
|
201
|
+
{ field: "payments", as: "count", tag: "payments" }
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
memo_deal: {
|
|
205
|
+
columns: [
|
|
206
|
+
{ field: "ref" },
|
|
207
|
+
{ field: "stage" },
|
|
208
|
+
{ field: "amount" },
|
|
209
|
+
{ field: "currency" },
|
|
210
|
+
{ field: "close_date", as: "day" }
|
|
211
|
+
],
|
|
212
|
+
text: ["title"]
|
|
213
|
+
},
|
|
214
|
+
memo_money_line: {
|
|
215
|
+
columns: [
|
|
216
|
+
{ field: "position" },
|
|
217
|
+
{ field: "quantity" },
|
|
218
|
+
{ field: "unit_price" },
|
|
219
|
+
{ field: "amount" },
|
|
220
|
+
{ field: "product" }
|
|
221
|
+
],
|
|
222
|
+
text: ["description"]
|
|
223
|
+
},
|
|
224
|
+
memo_decided: { columns: [{ field: "id" }, { field: "status" }, { field: "kind" }] },
|
|
225
|
+
memo_refused: { columns: [{ field: "id" }, { field: "code" }, { field: "reason" }], text: ["message"] },
|
|
226
|
+
memo_evidence_person: {
|
|
227
|
+
columns: [{ field: "person" }, { field: "name" }, { field: "items", as: "count", tag: "items" }]
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
var shared = rowsOfEntity();
|
|
231
|
+
var sectionRowOf = /* @__PURE__ */ __name((entity) => SECTION_ROWS[entity] ?? shared(entity), "sectionRowOf");
|
|
232
|
+
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
233
|
+
const words = [];
|
|
234
|
+
for (let at = command; at?.parent; at = at.parent)
|
|
235
|
+
words.unshift(at.name());
|
|
236
|
+
return words.join(" ");
|
|
237
|
+
}, "pathOf");
|
|
238
|
+
var rowOf = /* @__PURE__ */ __name((command) => command && ROWS[pathOf(command)] || rowShapeOf(command), "rowOf");
|
|
239
|
+
|
|
240
|
+
// dist/store/crm-viewer.js
|
|
241
|
+
import { CliError } from "@wirecat/cli-base";
|
|
242
|
+
import { crmViewerOf, kindIn } from "@wirecat/cli-core";
|
|
243
|
+
var shortened = /* @__PURE__ */ new WeakMap();
|
|
244
|
+
var crmNotes = /* @__PURE__ */ __name((store) => [...shortened.get(store) ?? []], "crmNotes");
|
|
245
|
+
var crmViewing = /* @__PURE__ */ __name(async (store, key) => {
|
|
246
|
+
if (kindIn(key.provider) !== "crm")
|
|
247
|
+
return { viewer: void 0 };
|
|
248
|
+
const viewing = await crmViewerOf(store, key, await store.crm.ownUser(key) ?? null);
|
|
249
|
+
if (viewing.note) {
|
|
250
|
+
const notes = shortened.get(store) ?? /* @__PURE__ */ new Set();
|
|
251
|
+
notes.add(`${key.provider}:${key.account}: ${viewing.note}`);
|
|
252
|
+
shortened.set(store, notes);
|
|
253
|
+
}
|
|
254
|
+
return viewing;
|
|
255
|
+
}, "crmViewing");
|
|
256
|
+
var crmAccounts = /* @__PURE__ */ __name(async (store) => (await store.accounts.accounts()).filter((key) => kindIn(key.provider) === "crm"), "crmAccounts");
|
|
257
|
+
var crmViewingAll = /* @__PURE__ */ __name(async (store) => Promise.all((await crmAccounts(store)).map((key) => crmViewing(store, key))), "crmViewingAll");
|
|
258
|
+
var crmViewersAll = /* @__PURE__ */ __name(async (store) => crmViewers(store, await crmAccounts(store)), "crmViewersAll");
|
|
259
|
+
var crmViewers = /* @__PURE__ */ __name(async (store, keys) => (await Promise.all(keys.map(async (key) => (await crmViewing(store, key)).viewer))).filter((one) => one !== void 0), "crmViewers");
|
|
260
|
+
var crmSees = /* @__PURE__ */ __name((store) => {
|
|
261
|
+
const known = /* @__PURE__ */ new Map();
|
|
262
|
+
return async (row) => {
|
|
263
|
+
if (row.account === null)
|
|
264
|
+
return true;
|
|
265
|
+
const id = `${row.account.provider}:${row.account.account}`;
|
|
266
|
+
if (!known.has(id))
|
|
267
|
+
known.set(id, crmViewing(store, row.account).then(({ viewer: viewer2 }) => viewer2));
|
|
268
|
+
const viewer = await known.get(id);
|
|
269
|
+
return viewer === void 0 || viewer.assignee !== null && row.assignee === viewer.assignee;
|
|
270
|
+
};
|
|
271
|
+
}, "crmSees");
|
|
272
|
+
var seenPage = /* @__PURE__ */ __name(async (store, most, read) => {
|
|
273
|
+
const sees = crmSees(store);
|
|
274
|
+
const kept = [];
|
|
275
|
+
let offset = 0;
|
|
276
|
+
let more = true;
|
|
277
|
+
while (more && kept.length <= most) {
|
|
278
|
+
const page = await read(most + 1, offset);
|
|
279
|
+
for (const row of page.items)
|
|
280
|
+
if (await sees(row))
|
|
281
|
+
kept.push(row);
|
|
282
|
+
offset += page.items.length;
|
|
283
|
+
more = page.hasMore && page.items.length > 0;
|
|
284
|
+
}
|
|
285
|
+
return { items: kept.slice(0, most), hasMore: kept.length > most || more };
|
|
286
|
+
}, "seenPage");
|
|
287
|
+
var readableDeal = /* @__PURE__ */ __name(async (store, ref) => {
|
|
288
|
+
const found = await store.deals.get(ref);
|
|
289
|
+
if (!await crmSees(store)(found)) {
|
|
290
|
+
const why = crmNotes(store);
|
|
291
|
+
throw new CliError("not_found", `${ref} is not a copy this store's CRM sign-in may read${why.length ? `: ${why.join("; ")}` : ""}`, { reason: "deal.not-readable" });
|
|
292
|
+
}
|
|
293
|
+
return found;
|
|
294
|
+
}, "readableDeal");
|
|
295
|
+
var readablePipeline = /* @__PURE__ */ __name(async (store, ref, options = {}) => {
|
|
296
|
+
const report = await store.deals.pipeline(ref, options);
|
|
297
|
+
if (report.account === null)
|
|
298
|
+
return report;
|
|
299
|
+
const { viewer } = await crmViewing(store, report.account);
|
|
300
|
+
return viewer === void 0 ? report : store.deals.pipeline(report.ref, { ...options, viewer });
|
|
301
|
+
}, "readablePipeline");
|
|
302
|
+
var readablePipelines = /* @__PURE__ */ __name(async (store, pipelines, kind) => {
|
|
303
|
+
const accounts = new Map(pipelines.flatMap(({ account }) => account ? [[`${account.provider}:${account.account}`, account]] : []));
|
|
304
|
+
const seen = /* @__PURE__ */ new Map();
|
|
305
|
+
for (const account of accounts.values()) {
|
|
306
|
+
const { viewer } = await crmViewing(store, account);
|
|
307
|
+
if (viewer === void 0)
|
|
308
|
+
continue;
|
|
309
|
+
for (const one of await store.deals.pipelines({ ...kind === void 0 ? {} : { kind }, account, viewer }))
|
|
310
|
+
seen.set(one.ref, one);
|
|
311
|
+
}
|
|
312
|
+
return pipelines.map((one) => seen.get(one.ref) ?? one);
|
|
313
|
+
}, "readablePipelines");
|
|
314
|
+
|
|
315
|
+
// dist/answer.js
|
|
316
|
+
var itemAnswer = /* @__PURE__ */ __name((value, extra) => itemOf(snakeKeys(value), extra), "itemAnswer");
|
|
317
|
+
var listAnswer = /* @__PURE__ */ __name((command, input) => {
|
|
318
|
+
const body = listOf(command, { ...input, items: snakeKeys(input.items) });
|
|
319
|
+
if (input.cursor !== void 0 || input.page !== void 0)
|
|
320
|
+
return body;
|
|
321
|
+
if (body.page.mode === "page")
|
|
322
|
+
delete body.page.next_page;
|
|
323
|
+
const next = body.next?.filter(({ step }) => step !== "page.next") ?? [];
|
|
324
|
+
if (next.length > 0)
|
|
325
|
+
body.next = next;
|
|
326
|
+
else
|
|
327
|
+
delete body.next;
|
|
328
|
+
return body;
|
|
329
|
+
}, "listAnswer");
|
|
330
|
+
var wholeList = /* @__PURE__ */ __name((command, items) => listAnswer(command, { items, limit: Math.max(1, items.length), has_more: false }), "wholeList");
|
|
331
|
+
var openMemoStore = /* @__PURE__ */ __name((env) => openStore({ env, ...STORE_CLIENT, decisions: decisionPolicy(env) }), "openMemoStore");
|
|
332
|
+
var withStore = /* @__PURE__ */ __name(async (env, work) => {
|
|
333
|
+
const store = await openMemoStore(env);
|
|
334
|
+
try {
|
|
335
|
+
return await work(store);
|
|
336
|
+
} finally {
|
|
337
|
+
await store.close();
|
|
338
|
+
}
|
|
339
|
+
}, "withStore");
|
|
340
|
+
var running = /* @__PURE__ */ new WeakMap();
|
|
341
|
+
var noted = /* @__PURE__ */ new WeakMap();
|
|
342
|
+
var shortenedBy = /* @__PURE__ */ __name((notes, body) => {
|
|
343
|
+
if (notes.length === 0)
|
|
344
|
+
return body;
|
|
345
|
+
const marked = { ...body, meta: { ...body.meta, complete: false } };
|
|
346
|
+
noted.set(marked, notes);
|
|
347
|
+
return marked;
|
|
348
|
+
}, "shortenedBy");
|
|
349
|
+
var timezone = /* @__PURE__ */ __name(() => Intl.DateTimeFormat().resolvedOptions().timeZone, "timezone");
|
|
350
|
+
var plainText = /* @__PURE__ */ __name((body, command) => {
|
|
351
|
+
const { next: _, ...rest } = body;
|
|
352
|
+
return compactText(rest, rowOf(command), { timezone: timezone() }, sectionRowOf);
|
|
353
|
+
}, "plainText");
|
|
354
|
+
var compactView = /* @__PURE__ */ __name((command, full) => (kept) => {
|
|
355
|
+
const whole = sealed(kept);
|
|
356
|
+
const next = whole.next?.map((step) => step.kind === "command" && step.line ? { ...step, line: `${step.line} ${COMPACT_FLAG}` } : step);
|
|
357
|
+
return compactText(next ? { ...whole, next } : whole, rowOf(command), {
|
|
358
|
+
timezone: timezone(),
|
|
359
|
+
...full ? { textChars: 0 } : {}
|
|
360
|
+
}, sectionRowOf);
|
|
361
|
+
}, "compactView");
|
|
362
|
+
var trackAnswers = /* @__PURE__ */ __name((program) => {
|
|
363
|
+
currentRun();
|
|
364
|
+
program.option(COMPACT_FLAG, "one line per item for an agent: reference first, text last, paging and next steps as # lines").hook("preAction", (root, leaf) => {
|
|
365
|
+
const { compact, json, brief } = leaf.optsWithGlobals();
|
|
366
|
+
if (compact && (json || brief))
|
|
367
|
+
throw new CliError2("validation_error", `${COMPACT_FLAG} and ${json ? "--json" : "--brief"} are two forms \u2014 pick one`);
|
|
368
|
+
running.set(root, leaf);
|
|
369
|
+
});
|
|
370
|
+
}, "trackAnswers");
|
|
371
|
+
var answers = /* @__PURE__ */ __name((program, streams, env) => {
|
|
372
|
+
const print = /* @__PURE__ */ __name((json, body, text, asked) => {
|
|
373
|
+
const format = json ? "json" : "pretty";
|
|
374
|
+
const root = rootOf(program);
|
|
375
|
+
const leaf = running.get(root) ?? root;
|
|
376
|
+
const { compact = asked, full } = leaf.optsWithGlobals();
|
|
377
|
+
const renderer = createRenderer({ format, color: false, streams });
|
|
378
|
+
for (const note of noted.get(body) ?? [])
|
|
379
|
+
renderer.note(note);
|
|
380
|
+
const drawn = compact === true && !json;
|
|
381
|
+
renderAnswer(leaf, { renderer: drawn ? { ...renderer, note: /* @__PURE__ */ __name(() => void 0, "note") } : renderer, format, streams }, body, drawn ? compactView(leaf, full === true) : () => `${text ?? plainText(body, leaf)}
|
|
382
|
+
`);
|
|
383
|
+
}, "print");
|
|
384
|
+
return {
|
|
385
|
+
print,
|
|
386
|
+
run: /* @__PURE__ */ __name(async (json, work) => print(json, await withStore(env, async (store) => {
|
|
387
|
+
const body = await work(store);
|
|
388
|
+
return shortenedBy(crmNotes(store), body);
|
|
389
|
+
})), "run")
|
|
390
|
+
};
|
|
391
|
+
}, "answers");
|
|
392
|
+
|
|
393
|
+
export {
|
|
394
|
+
snakeKeys,
|
|
395
|
+
atDetail,
|
|
396
|
+
PROPOSAL_ROW,
|
|
397
|
+
crmNotes,
|
|
398
|
+
crmViewing,
|
|
399
|
+
crmViewingAll,
|
|
400
|
+
crmViewersAll,
|
|
401
|
+
crmViewers,
|
|
402
|
+
seenPage,
|
|
403
|
+
readableDeal,
|
|
404
|
+
readablePipeline,
|
|
405
|
+
readablePipelines,
|
|
406
|
+
itemAnswer,
|
|
407
|
+
listAnswer,
|
|
408
|
+
wholeList,
|
|
409
|
+
openMemoStore,
|
|
410
|
+
withStore,
|
|
411
|
+
shortenedBy,
|
|
412
|
+
timezone,
|
|
413
|
+
plainText,
|
|
414
|
+
trackAnswers,
|
|
415
|
+
answers
|
|
416
|
+
};
|