@ascenda-one/agent-mcp 0.1.37 → 0.1.38
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/cli.js +123 -12
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -510,6 +510,24 @@ var require_metricKeys = __commonJS({
|
|
|
510
510
|
cacheReadTokens: { family: "context", readBy: ["backend"], backendAliases: ["cacheReadTokens", "cache_read_tokens"], unit: "tokens" },
|
|
511
511
|
queuedPrompts: { family: "counts", readBy: ["backend"], backendAliases: ["queuedPrompts", "queued_prompts"] },
|
|
512
512
|
linesChangedBucket: { family: "edits", readBy: ["backend"], backendAliases: ["linesChangedBucket", "lines_changed_bucket"] },
|
|
513
|
+
gitAction: {
|
|
514
|
+
family: "git",
|
|
515
|
+
readBy: ["backend"],
|
|
516
|
+
backendAliases: ["gitAction", "git_action"],
|
|
517
|
+
note: "The live hooks set it on a shell event; the git extractor sets it to commit on each commit event it emits."
|
|
518
|
+
},
|
|
519
|
+
repoKey: {
|
|
520
|
+
family: "repo",
|
|
521
|
+
readBy: ["backend"],
|
|
522
|
+
backendAliases: ["repoKey", "repo_key"],
|
|
523
|
+
note: "Same derivation as the live hooks (forgeRepoKey of the github.com remote), so a commit joins a session and a pull request. Absent for other forges, a checkout with no remote, and when repo keys are turned off."
|
|
524
|
+
},
|
|
525
|
+
branchKey: {
|
|
526
|
+
family: "repo",
|
|
527
|
+
readBy: ["backend"],
|
|
528
|
+
backendAliases: ["branchKey", "branch_key"],
|
|
529
|
+
note: "forgeBranchKey of the repository and the branch a commit is reachable from. Absent on the default branch, like the live hooks."
|
|
530
|
+
},
|
|
513
531
|
// ── Read by the local handoff only ──────────────────────────────────────
|
|
514
532
|
activeMinutes: { family: "session", readBy: ["handoff"], unit: "minutes" },
|
|
515
533
|
syntheticPromptLines: {
|
|
@@ -732,6 +750,23 @@ var require_metricKeys = __commonJS({
|
|
|
732
750
|
backendAliases: ["toolName", "tool_name"],
|
|
733
751
|
note: "Set per ai_tool_call_started event by #43's extractors. Declared diagnostic until 23 Sep 2026 on the belief that nothing resolved it server-side; two backend readers do \u2014 one to see a sub-agent dispatch, one composing per-tool metrics. This is the inverse of the mismatch this module was written for: contextUsagePercent was a key nobody read, and a key a reader resolves without being declared drops nothing, so it has no symptom at all. What it costs is that readBy stops being a true census of what the server sees, which is what you consult when deciding what a collector should stop sending. Registered after the fact in the first place: #38 and #43 merged past each other, and the union caught it on the next compile \u2014 metaLines all over again."
|
|
734
752
|
},
|
|
753
|
+
activity: {
|
|
754
|
+
family: "git",
|
|
755
|
+
readBy: ["diagnostic"],
|
|
756
|
+
note: "Names what an editor_activity row is. The git extractor sends git_commit; the backend cadence reader keys on gitAction, and this is how a person reading the row tells it from an editor event."
|
|
757
|
+
},
|
|
758
|
+
isMergeCommit: { family: "git", readBy: ["diagnostic"], note: "True when the commit has more than one parent. A merge commit carries no size figures: they would only restate the commits it merged." },
|
|
759
|
+
authoredByMe: { family: "git", readBy: ["diagnostic"], note: "Whether the commit's author email matches the git config email on this machine. The extractor emits only commits where it does, so today this is always true; the key exists so a wider read can be told apart." },
|
|
760
|
+
linesAddedBucket: { family: "git", readBy: ["diagnostic"], note: "Lines added by a commit, in the same buckets as linesChangedBucket." },
|
|
761
|
+
linesRemovedBucket: { family: "git", readBy: ["diagnostic"], note: "Lines removed by a commit, in the same buckets as linesChangedBucket." },
|
|
762
|
+
gitReposRead: { family: "reading", readBy: ["diagnostic"], note: "Git extractor epoch: repositories whose history was read." },
|
|
763
|
+
gitReposSkipped: { family: "reading", readBy: ["diagnostic"], note: "Git extractor epoch: repositories a transcript named that could not be read (deleted, not a repository, git failed)." },
|
|
764
|
+
gitReposWithoutIdentity: { family: "reading", readBy: ["diagnostic"], note: "Git extractor epoch: repositories with no user.email in git config, so no commit could be called mine and none was emitted." },
|
|
765
|
+
compactionOrdinal: {
|
|
766
|
+
family: "context",
|
|
767
|
+
readBy: ["diagnostic"],
|
|
768
|
+
note: "Claude Code only: 1-based position of this compaction within its session, counting manual and auto together. Present on per-compaction context_compression_* rows. Older imports wrote one row per session and trigger at the session's last timestamp, with no ordinal and compactionCount set to the session total. Where a session has ordinal rows, a reader should ignore its rows without one."
|
|
769
|
+
},
|
|
735
770
|
toolResultCount: { family: "tools", readBy: ["diagnostic"] },
|
|
736
771
|
toolResultErrorCount: { family: "outcome", readBy: ["diagnostic"] },
|
|
737
772
|
unknownBubbles: { family: "reading", readBy: ["diagnostic"] },
|
|
@@ -1147,7 +1182,7 @@ var require_collectorVersion = __commonJS({
|
|
|
1147
1182
|
exports.COLLECTOR_VERSION = exports.UNRELEASED_COLLECTOR_VERSION = void 0;
|
|
1148
1183
|
exports.describeCollectorVersion = describeCollectorVersion;
|
|
1149
1184
|
exports.UNRELEASED_COLLECTOR_VERSION = "unreleased";
|
|
1150
|
-
exports.COLLECTOR_VERSION = "0.1.
|
|
1185
|
+
exports.COLLECTOR_VERSION = "0.1.38" ? "0.1.38" : exports.UNRELEASED_COLLECTOR_VERSION;
|
|
1151
1186
|
function describeCollectorVersion(version2 = exports.COLLECTOR_VERSION) {
|
|
1152
1187
|
return version2 === exports.UNRELEASED_COLLECTOR_VERSION ? `${version2} (built from a checkout, not a release)` : version2;
|
|
1153
1188
|
}
|
|
@@ -3903,6 +3938,40 @@ var require_hookAdapter = __commonJS({
|
|
|
3903
3938
|
}
|
|
3904
3939
|
});
|
|
3905
3940
|
|
|
3941
|
+
// ../packages/tool-kit/out/confirmLinks.js
|
|
3942
|
+
var require_confirmLinks = __commonJS({
|
|
3943
|
+
"../packages/tool-kit/out/confirmLinks.js"(exports) {
|
|
3944
|
+
"use strict";
|
|
3945
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3946
|
+
exports.pairingConfirmUrl = pairingConfirmUrl;
|
|
3947
|
+
exports.pairingConfirmLines = pairingConfirmLines;
|
|
3948
|
+
exports.studyJoinConfirmUrl = studyJoinConfirmUrl;
|
|
3949
|
+
function pairingConfirmUrl(qrUrl) {
|
|
3950
|
+
return isHttps(qrUrl) ? qrUrl : void 0;
|
|
3951
|
+
}
|
|
3952
|
+
function pairingConfirmLines(qrUrl, code) {
|
|
3953
|
+
const url = pairingConfirmUrl(qrUrl);
|
|
3954
|
+
if (!url)
|
|
3955
|
+
return [`Confirm in the Ascenda app \u2014 code ${code}`];
|
|
3956
|
+
return [`Open this link to confirm: ${url}`, `Or paste code ${code} in the Ascenda app.`];
|
|
3957
|
+
}
|
|
3958
|
+
function studyJoinConfirmUrl(apiBaseUrl, deviceCode) {
|
|
3959
|
+
if (!isHttps(apiBaseUrl))
|
|
3960
|
+
return void 0;
|
|
3961
|
+
return `${apiBaseUrl.replace(/\/+$/, "")}/join/${encodeURIComponent(deviceCode)}`;
|
|
3962
|
+
}
|
|
3963
|
+
function isHttps(value) {
|
|
3964
|
+
if (!value)
|
|
3965
|
+
return false;
|
|
3966
|
+
try {
|
|
3967
|
+
return new URL(value).protocol === "https:";
|
|
3968
|
+
} catch {
|
|
3969
|
+
return false;
|
|
3970
|
+
}
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3973
|
+
});
|
|
3974
|
+
|
|
3906
3975
|
// ../packages/tool-kit/out/hookSet.js
|
|
3907
3976
|
var require_hookSet = __commonJS({
|
|
3908
3977
|
"../packages/tool-kit/out/hookSet.js"(exports) {
|
|
@@ -4003,12 +4072,16 @@ var require_studyJoin = __commonJS({
|
|
|
4003
4072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4004
4073
|
exports.runStudyJoin = runStudyJoin;
|
|
4005
4074
|
exports.formatWindow = formatWindow;
|
|
4075
|
+
exports.describeStudyGrant = describeStudyGrant;
|
|
4076
|
+
exports.describeStudyKind = describeStudyKind;
|
|
4006
4077
|
var readline = __importStar(__require("node:readline"));
|
|
4078
|
+
var confirmLinks_1 = require_confirmLinks();
|
|
4007
4079
|
var http_1 = require_http();
|
|
4008
4080
|
var STUDY_JOIN_MODE = "report";
|
|
4009
4081
|
var POLL_INTERVAL_MS = 3e3;
|
|
4010
4082
|
var POLL_TIMEOUT_MS = 11 * 60 * 1e3;
|
|
4011
4083
|
async function runStudyJoin(ctx) {
|
|
4084
|
+
const report = (outcome) => ctx.onOutcome?.(outcome);
|
|
4012
4085
|
const stdin = ctx.stdin ?? process.stdin;
|
|
4013
4086
|
const stdout = ctx.stdout ?? process.stdout;
|
|
4014
4087
|
const stderr = ctx.stderr ?? process.stderr;
|
|
@@ -4016,10 +4089,12 @@ var require_studyJoin = __commonJS({
|
|
|
4016
4089
|
`);
|
|
4017
4090
|
if (!stdin.isTTY || !stdout.isTTY) {
|
|
4018
4091
|
stderr.write("join needs an interactive terminal (stdin and stdout). Run it directly, not from a script or a pipe.\n");
|
|
4092
|
+
report({ status: "no_terminal", granted: [] });
|
|
4019
4093
|
return 0;
|
|
4020
4094
|
}
|
|
4021
4095
|
if (!ctx.joinCode) {
|
|
4022
4096
|
stderr.write("Usage: join <code>\n");
|
|
4097
|
+
report({ status: "failed", granted: [], message: "No join code given." });
|
|
4023
4098
|
return 1;
|
|
4024
4099
|
}
|
|
4025
4100
|
let start;
|
|
@@ -4028,6 +4103,7 @@ var require_studyJoin = __commonJS({
|
|
|
4028
4103
|
} catch (error2) {
|
|
4029
4104
|
stderr.write(`${describeStartError(error2)}
|
|
4030
4105
|
`);
|
|
4106
|
+
report({ status: "failed", granted: [], message: describeStartError(error2) });
|
|
4031
4107
|
return 1;
|
|
4032
4108
|
}
|
|
4033
4109
|
print("");
|
|
@@ -4036,7 +4112,7 @@ var require_studyJoin = __commonJS({
|
|
|
4036
4112
|
print("");
|
|
4037
4113
|
print("Report (30 days) grants:");
|
|
4038
4114
|
for (const grant of start.grants)
|
|
4039
|
-
print(` ${
|
|
4115
|
+
print(` ${describeStudyGrant(grant)}`);
|
|
4040
4116
|
print("");
|
|
4041
4117
|
print("Study mode needs the Ascenda app. Open the app to join that way instead.");
|
|
4042
4118
|
print("");
|
|
@@ -4047,10 +4123,17 @@ var require_studyJoin = __commonJS({
|
|
|
4047
4123
|
const answer = await askChoice(stdin, stdout);
|
|
4048
4124
|
if (!/^(1|report)$/i.test(answer)) {
|
|
4049
4125
|
print("Not now.");
|
|
4126
|
+
report({ status: "not_now", start, granted: [] });
|
|
4050
4127
|
return 0;
|
|
4051
4128
|
}
|
|
4052
4129
|
print("");
|
|
4053
|
-
|
|
4130
|
+
const confirmUrl = (0, confirmLinks_1.studyJoinConfirmUrl)(ctx.apiBaseUrl, start.deviceCode);
|
|
4131
|
+
if (confirmUrl) {
|
|
4132
|
+
print(`Open this link to confirm: ${confirmUrl}`);
|
|
4133
|
+
print(`Or confirm in the Ascenda app with code ${start.deviceCode}.`);
|
|
4134
|
+
} else {
|
|
4135
|
+
print(`Confirm in the Ascenda app with code ${start.deviceCode}`);
|
|
4136
|
+
}
|
|
4054
4137
|
print(`Waiting for confirmation (expires ${formatLocalTime(start.expiresAt)})...`);
|
|
4055
4138
|
const pollIntervalMs = ctx.pollIntervalMs ?? POLL_INTERVAL_MS;
|
|
4056
4139
|
const deadline = Math.min(Date.parse(start.expiresAt) || Date.now() + POLL_TIMEOUT_MS, Date.now() + POLL_TIMEOUT_MS);
|
|
@@ -4064,6 +4147,7 @@ var require_studyJoin = __commonJS({
|
|
|
4064
4147
|
continue;
|
|
4065
4148
|
stderr.write(`${describeStartError(error2)}
|
|
4066
4149
|
`);
|
|
4150
|
+
report({ status: "failed", start, granted: [], message: describeStartError(error2) });
|
|
4067
4151
|
return 1;
|
|
4068
4152
|
}
|
|
4069
4153
|
if (poll.status === "pending")
|
|
@@ -4073,20 +4157,23 @@ var require_studyJoin = __commonJS({
|
|
|
4073
4157
|
if (granted.length === 0) {
|
|
4074
4158
|
print("");
|
|
4075
4159
|
print("Nothing was granted. Run join again, or check with your organisation.");
|
|
4160
|
+
report({ status: "refused", start, granted: [], message: "Nothing was granted." });
|
|
4076
4161
|
return 1;
|
|
4077
4162
|
}
|
|
4078
4163
|
print("");
|
|
4079
4164
|
print("Joined. Granted:");
|
|
4080
4165
|
for (const grant of granted)
|
|
4081
|
-
print(` ${
|
|
4166
|
+
print(` ${describeStudyGrant(grant)}`);
|
|
4082
4167
|
print("");
|
|
4083
4168
|
print("Each of these can be turned off separately, in the app's consent settings.");
|
|
4084
4169
|
print("The organisation sees group counts, never who joined.");
|
|
4170
|
+
report({ status: "joined", start, granted });
|
|
4085
4171
|
return 0;
|
|
4086
4172
|
}
|
|
4087
4173
|
if (poll.status === "expired") {
|
|
4088
4174
|
print("");
|
|
4089
4175
|
print("This code expired before it was confirmed. Run join again for a fresh code.");
|
|
4176
|
+
report({ status: "expired", start, granted: [] });
|
|
4090
4177
|
return 1;
|
|
4091
4178
|
}
|
|
4092
4179
|
if (poll.refusedReason === "grant_failed") {
|
|
@@ -4097,19 +4184,22 @@ var require_studyJoin = __commonJS({
|
|
|
4097
4184
|
print("");
|
|
4098
4185
|
print("Granted before the failure:");
|
|
4099
4186
|
for (const grant of granted)
|
|
4100
|
-
print(` ${
|
|
4187
|
+
print(` ${describeStudyGrant(grant)}`);
|
|
4101
4188
|
print("");
|
|
4102
4189
|
print("Each of these can be turned off separately, in the app's consent settings.");
|
|
4103
4190
|
}
|
|
4104
4191
|
print("Run join again, or check with your organisation.");
|
|
4192
|
+
report({ status: "refused", start, granted, refusedReason: poll.refusedReason, message: describeRefusal(poll.refusedReason) });
|
|
4105
4193
|
return 1;
|
|
4106
4194
|
}
|
|
4107
4195
|
print("");
|
|
4108
4196
|
print(describeRefusal(poll.refusedReason));
|
|
4197
|
+
report({ status: "refused", start, granted: [], refusedReason: poll.refusedReason, message: describeRefusal(poll.refusedReason) });
|
|
4109
4198
|
return 1;
|
|
4110
4199
|
}
|
|
4111
4200
|
print("");
|
|
4112
4201
|
print("Timed out waiting for confirmation. Run join again for a fresh code.");
|
|
4202
|
+
report({ status: "expired", start, granted: [] });
|
|
4113
4203
|
return 1;
|
|
4114
4204
|
}
|
|
4115
4205
|
function isRetryablePollError(error2) {
|
|
@@ -4152,7 +4242,7 @@ var require_studyJoin = __commonJS({
|
|
|
4152
4242
|
501: "AI assistant data processing consent",
|
|
4153
4243
|
507: "Import of the AI-work history already on your machine"
|
|
4154
4244
|
};
|
|
4155
|
-
function
|
|
4245
|
+
function describeStudyGrant(grant) {
|
|
4156
4246
|
return GRANT_SENTENCES[grant.code] ?? humanise(grant.name);
|
|
4157
4247
|
}
|
|
4158
4248
|
var STUDY_KIND_SENTENCES = {
|
|
@@ -4172,7 +4262,7 @@ var require_studyJoin = __commonJS({
|
|
|
4172
4262
|
// table is ever consulted — present so the type stays exhaustive, and as
|
|
4173
4263
|
// a plain fallback should something call this function with it directly.
|
|
4174
4264
|
grant_failed: "Join failed partway through. Some grants may not have gone through.",
|
|
4175
|
-
declined: "You declined
|
|
4265
|
+
declined: "You declined the join. Nothing was granted.",
|
|
4176
4266
|
not_enrolled: "That study couldn't enrol you, so nothing was granted."
|
|
4177
4267
|
};
|
|
4178
4268
|
function describeRefusal(refusedReason) {
|
|
@@ -5552,6 +5642,7 @@ var require_cliAgentSetup = __commonJS({
|
|
|
5552
5642
|
var credentials_1 = require_credentials();
|
|
5553
5643
|
var eventLog_1 = require_eventLog();
|
|
5554
5644
|
var hookAdapter_1 = require_hookAdapter();
|
|
5645
|
+
var confirmLinks_1 = require_confirmLinks();
|
|
5555
5646
|
var http_1 = require_http();
|
|
5556
5647
|
var hookSet_1 = require_hookSet();
|
|
5557
5648
|
var initiatives_1 = require_initiatives();
|
|
@@ -5886,7 +5977,7 @@ Could not reach ${apiBaseUrl} to pair: ${error2 instanceof Error ? error2.messag
|
|
|
5886
5977
|
console.error("Start the local dev server and use --local, or pass --api-base-url for your backend.");
|
|
5887
5978
|
return void 0;
|
|
5888
5979
|
}
|
|
5889
|
-
const token = await pollForToken(apiBaseUrl, session.pairingSessionId, session.code, session.expiresAt);
|
|
5980
|
+
const token = await pollForToken(apiBaseUrl, session.pairingSessionId, session.code, session.qrUrl, session.expiresAt);
|
|
5890
5981
|
if (!token)
|
|
5891
5982
|
return void 0;
|
|
5892
5983
|
(0, tokenStore_1.persistEventWriteToken)((0, tokenStore_1.defaultTokenFilePath)(toolInstallationId), token);
|
|
@@ -5904,7 +5995,7 @@ Could not reach ${apiBaseUrl} to pair: ${error2 instanceof Error ? error2.messag
|
|
|
5904
5995
|
}
|
|
5905
5996
|
return "keep";
|
|
5906
5997
|
}
|
|
5907
|
-
async function pollForToken(apiBaseUrl, pairingSessionId, code, expiresAt) {
|
|
5998
|
+
async function pollForToken(apiBaseUrl, pairingSessionId, code, qrUrl, expiresAt) {
|
|
5908
5999
|
const deadline = Math.min(Date.parse(expiresAt) || Date.now() + 3e5, Date.now() + 3e5);
|
|
5909
6000
|
let announced = false;
|
|
5910
6001
|
while (Date.now() < deadline) {
|
|
@@ -5917,8 +6008,9 @@ Pairing ${status.status}. Run setup again.`);
|
|
|
5917
6008
|
return void 0;
|
|
5918
6009
|
}
|
|
5919
6010
|
if (!announced) {
|
|
5920
|
-
console.log(
|
|
5921
|
-
|
|
6011
|
+
console.log("");
|
|
6012
|
+
for (const line of (0, confirmLinks_1.pairingConfirmLines)(qrUrl, code))
|
|
6013
|
+
console.log(` ${line}`);
|
|
5922
6014
|
console.log(" Waiting...");
|
|
5923
6015
|
announced = true;
|
|
5924
6016
|
}
|
|
@@ -6655,7 +6747,7 @@ var require_out3 = __commonJS({
|
|
|
6655
6747
|
exports.unresolvedStateFilePath = exports.markFailureNotified = exports.shouldAnnounceFailure = exports.recordSendOutcome = exports.readCollectorState = exports.defaultStateFilePath = exports.tokenExpiryFilePath = exports.readTokenFile = exports.readTokenExpiry = exports.persistEventWriteToken = exports.listPersistedToolInstallationIds = exports.defaultTokenFilePath = exports.ascendaHome = exports.EVENT_TOKEN_TTL_MS = exports.recordTurnStart = exports.readTurnPromptId = exports.consumeTurnDurationMs = exports.writeTopLevelCredentials = exports.writeMachineCredentials = exports.writeRepoKeysSetting = exports.writeEventLogSetting = exports.writeHostCredentials = exports.removeHostCredentials = exports.readMachineCredentials = exports.readHostCredentials = exports.isLocalOnlyHostInstall = exports.credentialsFilePath = exports.renderSetupDisclosure = exports.REFUSALS = exports.FREE_TEXT_KEYS = exports.FAMILY_SENTENCES = exports.ALWAYS_SENT = exports.writeHookSettings = exports.trustProblemLines = exports.runCliAgentSetup = exports.registeredHookSets = exports.ourHookPositions = exports.isCliAgentManagementCommand = exports.findStaleHookCommands = exports.cliAgentHookBinPath = exports.resolveContextHashes = exports.resolveCliAgentInstallationId = exports.withPromptId = exports.withForgeKeys = exports.loadCliAgentConfig = exports.flushHookOutbox = exports.deliverHookEvents = exports.MissingInstallationIdError = exports.DEFAULT_API_BASE_URL = exports.resolveEventLogPath = void 0;
|
|
6656
6748
|
exports.saverSupportDir = exports.saverStatusDir = exports.saverReplayPath = exports.saverContainerDir = exports.readSaverStatuses = exports.probeSocket = exports.heldForSaver = exports.holdForSaver = exports.LIVE_BUS_BACKGROUND_TRUST_MS = exports.liveBusSocketCandidates = exports.liveBusSocketPath = exports.bucketPromptSize = exports.deliverLine = exports.emitLiveSignal = exports.repoKeysEnabled = exports.deriveForgeKeysForCwd = exports.REPO_KEYS_ENV_VAR = exports.recordForgeProjectAlias = exports.forgeFullNameFromConfig = exports.readForgeFullName = exports.parseForgeFullName = exports.forgeBranchKey = exports.forgeRepoKey = exports.forgeProjectHash = exports.workContextRegistryFilePath = exports.readWorkContextRegistry = exports.recordWorkContextAlias = exports.recordWorkContext = exports.readBranchName = exports.normalizeBranchName = exports.deriveBranchHashForCwd = exports.deriveBranchHash = exports.deriveWorkContext = exports.hashWithMachineSalt = exports.readOrCreateMachineSalt = exports.machineSaltFilePath = exports.fixedTimeProvider = exports.systemTimeProvider = exports.enforceOutboxBounds = exports.claimOutbox = exports.readOutboxSummary = exports.appendToOutbox = exports.defaultOutboxFilePath = exports.outboxDrainEnabled = exports.DEFAULT_OUTBOX_DRAIN_BATCH_SIZE = exports.DEFAULT_OUTBOX_MAX_AGE_MS = exports.DEFAULT_OUTBOX_MAX_ENTRIES = exports.OUTBOX_DRAIN_ENV_VAR = exports.recordOutboxDiscard = exports.unresolvedToolInstallationId = void 0;
|
|
6657
6749
|
exports.readStudyNotices = exports.readInitiatives = exports.isRetryableStatus = exports.parseIngestResponse = exports.postToolEventsBatch = exports.postToolEvent = exports.renewToolToken = exports.getStudyJoinStatus = exports.getPairingStatus = exports.createPairingSession = exports.AscendaApiError = exports.scriptMarkerIn = exports.psLookup = exports.psArgsLookup = exports.livePidFields = exports.findAgentProcess = exports.findAgentPid = exports.AGENT_PROCESS = exports.readViaPlugin = exports.readHookSet = exports.isHookSet = exports.hookSetOfCommand = exports.hookSetChanges = exports.hookSetArgument = exports.describeHookSetChanges = exports.UNVERSIONED_HOOK_SET = exports.HOOK_SET_FLAG = exports.liveSignalDoctorLines = exports.doctorRow = exports.DOCTOR_VALUE_COLUMN = exports.pluginBundlePaths = exports.installPluginBundle = exports.describePluginBundleOutcome = exports.replaceSettingsFile = exports.writeAtomically = exports.tidyHomePath = exports.stampLastHook = exports.resolveHookNode = exports.removeHookRunner = exports.readLastHook = exports.lastHookPath = exports.isDowngrade = exports.installHookRunner = exports.hookRunnerPaths = exports.hookRunnerCommand = exports.hookLauncherScript = exports.describeAge = exports.terminalStyle = exports.colourEnabled = exports.SAVER_REPLAY_WINDOW_MS = void 0;
|
|
6658
|
-
exports.runStudyJoin = exports.studyNoticeStatus = exports.runStudyObjection = exports.renderStudyNotices = exports.NOTICED_PURPOSES = exports.renderInitiatives = exports.initiativesStatusLines = exports.INITIATIVE_COPY = exports.startStudyJoin = exports.setStudyObjection = exports.markStudyNoticeShown = void 0;
|
|
6750
|
+
exports.studyJoinConfirmUrl = exports.pairingConfirmUrl = exports.pairingConfirmLines = exports.runStudyJoin = exports.formatWindow = exports.describeStudyGrant = exports.describeStudyKind = exports.studyNoticeStatus = exports.runStudyObjection = exports.renderStudyNotices = exports.NOTICED_PURPOSES = exports.renderInitiatives = exports.initiativesStatusLines = exports.INITIATIVE_COPY = exports.startStudyJoin = exports.setStudyObjection = exports.markStudyNoticeShown = void 0;
|
|
6659
6751
|
var commandClassifier_1 = require_commandClassifier();
|
|
6660
6752
|
Object.defineProperty(exports, "classifyCommand", { enumerable: true, get: function() {
|
|
6661
6753
|
return commandClassifier_1.classifyCommand;
|
|
@@ -7327,9 +7419,28 @@ var require_out3 = __commonJS({
|
|
|
7327
7419
|
return studyNotices_1.studyNoticeStatus;
|
|
7328
7420
|
} });
|
|
7329
7421
|
var studyJoin_1 = require_studyJoin();
|
|
7422
|
+
Object.defineProperty(exports, "describeStudyKind", { enumerable: true, get: function() {
|
|
7423
|
+
return studyJoin_1.describeStudyKind;
|
|
7424
|
+
} });
|
|
7425
|
+
Object.defineProperty(exports, "describeStudyGrant", { enumerable: true, get: function() {
|
|
7426
|
+
return studyJoin_1.describeStudyGrant;
|
|
7427
|
+
} });
|
|
7428
|
+
Object.defineProperty(exports, "formatWindow", { enumerable: true, get: function() {
|
|
7429
|
+
return studyJoin_1.formatWindow;
|
|
7430
|
+
} });
|
|
7330
7431
|
Object.defineProperty(exports, "runStudyJoin", { enumerable: true, get: function() {
|
|
7331
7432
|
return studyJoin_1.runStudyJoin;
|
|
7332
7433
|
} });
|
|
7434
|
+
var confirmLinks_1 = require_confirmLinks();
|
|
7435
|
+
Object.defineProperty(exports, "pairingConfirmLines", { enumerable: true, get: function() {
|
|
7436
|
+
return confirmLinks_1.pairingConfirmLines;
|
|
7437
|
+
} });
|
|
7438
|
+
Object.defineProperty(exports, "pairingConfirmUrl", { enumerable: true, get: function() {
|
|
7439
|
+
return confirmLinks_1.pairingConfirmUrl;
|
|
7440
|
+
} });
|
|
7441
|
+
Object.defineProperty(exports, "studyJoinConfirmUrl", { enumerable: true, get: function() {
|
|
7442
|
+
return confirmLinks_1.studyJoinConfirmUrl;
|
|
7443
|
+
} });
|
|
7333
7444
|
}
|
|
7334
7445
|
});
|
|
7335
7446
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"publishConfig": { "access": "public" },
|
|
3
3
|
"name": "@ascenda-one/agent-mcp",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.38",
|
|
5
5
|
"description": "MCP server exposing ascenda_emit_work_signal — the one submission interface for agent-observed (semantic) work-friction signals.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|