@botiverse/raft-sdk 0.11.1 → 0.12.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/README.md +1 -2
- package/dist/cjs/index.cjs +3 -39
- package/dist/esm/index.js +4 -39
- package/dist/index.d.ts +1 -56
- package/operations.json +1 -83
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -204,8 +204,7 @@ and a repeat there creates the tasks (or posts the card) again.
|
|
|
204
204
|
- `raft.mentions.pending / notify / add / delivery` — @mentions you sent that
|
|
205
205
|
reached nobody, the notify/add recovery (`notify({ resolutionIds })`,
|
|
206
206
|
`add({ resolutionIds })`), and per-target delivery outcomes
|
|
207
|
-
(`delivery({ messageId })`).
|
|
208
|
-
aliases, removed in 0.12.0.
|
|
207
|
+
(`delivery({ messageId })`).
|
|
209
208
|
- `raft.manual.get / search` — the Raft Manual for Agents; both need a short
|
|
210
209
|
`intent` and `reason` (never prompts, credentials, or message payloads).
|
|
211
210
|
- `raft.wake.webhook.register({ url, secret })` / `status()` / `unregister()`.
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -14823,11 +14823,6 @@ function formatAgentSenderMentionDeliveries(messageId, deliveries) {
|
|
|
14823
14823
|
//#region ../shared/src/agentOps/mentions.ts
|
|
14824
14824
|
const pendingMentionActionsRequestSchema = requestSchema()(object({ limit: number$1().int().positive().optional().describe("Maximum pending mentions to list.") }));
|
|
14825
14825
|
const mentionResolutionIdsRequestSchema = requestSchema()(object({ resolutionIds: array(string()).describe("resolutionId values from mentions.pending.") }));
|
|
14826
|
-
/** @deprecated The request of the deprecated `mentions.execute`; use `mentionResolutionIdsRequestSchema` (`mentions.notify` / `mentions.add`). */
|
|
14827
|
-
const executeMentionActionRequestSchema = requestSchema()(object({
|
|
14828
|
-
action: _enum(["notify", "add"]).describe("notify: tell the mentioned target about the message; add: add them to the conversation."),
|
|
14829
|
-
resolutionIds: array(string()).describe("resolutionId values from mentions.pending.")
|
|
14830
|
-
}));
|
|
14831
14826
|
const senderMentionDeliveriesRequestSchema = requestSchema()(object({ messageId: string().describe("Id of a message you sent.") }));
|
|
14832
14827
|
async function pendingMentionActions(client, request = {}, options = {}) {
|
|
14833
14828
|
const invalid = validateOpRequest(pendingMentionActionsRequestSchema, request);
|
|
@@ -14870,17 +14865,9 @@ async function addMentions(client, request) {
|
|
|
14870
14865
|
if (invalid) return invalid;
|
|
14871
14866
|
return runMentionAction(client, "add", request.resolutionIds);
|
|
14872
14867
|
}
|
|
14873
|
-
|
|
14874
|
-
async function executeMentionAction(client, request) {
|
|
14875
|
-
const invalid = validateOpRequest(executeMentionActionRequestSchema, request);
|
|
14876
|
-
if (invalid) return invalid;
|
|
14877
|
-
const missing = "Pass an action (notify | add) and at least one resolution id.";
|
|
14878
|
-
if (request.action !== "notify" && request.action !== "add") return failureOutcome(opError("INVALID_REQUEST", { message: missing }));
|
|
14879
|
-
return runMentionAction(client, request.action, request.resolutionIds, missing);
|
|
14880
|
-
}
|
|
14881
|
-
async function runMentionAction(client, action, resolutionIds, missingIdsMessage = "Pass at least one resolution id.") {
|
|
14868
|
+
async function runMentionAction(client, action, resolutionIds) {
|
|
14882
14869
|
const ids = (resolutionIds ?? []).map((id) => id.trim()).filter(Boolean);
|
|
14883
|
-
if (ids.length === 0) return failureOutcome(opError("INVALID_REQUEST", { message:
|
|
14870
|
+
if (ids.length === 0) return failureOutcome(opError("INVALID_REQUEST", { message: "Pass at least one resolution id." }));
|
|
14884
14871
|
const result = await client.mentions.executeAction({
|
|
14885
14872
|
action,
|
|
14886
14873
|
resolutionIds: ids
|
|
@@ -15690,24 +15677,6 @@ const OPERATION_DEFS = [
|
|
|
15690
15677
|
consumes: nothing,
|
|
15691
15678
|
output: small
|
|
15692
15679
|
},
|
|
15693
|
-
{
|
|
15694
|
-
name: "mentions.execute",
|
|
15695
|
-
description: "Deprecated: use mentions.notify / mentions.add. Removed in the next minor release. Deliver unreached @mentions: notify the mentioned target, or add them to the conversation.",
|
|
15696
|
-
schema: executeMentionActionRequestSchema,
|
|
15697
|
-
routes: ["mentionActionsExecute"],
|
|
15698
|
-
consumes: nothing,
|
|
15699
|
-
output: small,
|
|
15700
|
-
deprecated: true
|
|
15701
|
-
},
|
|
15702
|
-
{
|
|
15703
|
-
name: "mentions.deliveries",
|
|
15704
|
-
description: "Deprecated: use mentions.delivery. Removed in the next minor release. Whether each @mention in a message you sent reached its target.",
|
|
15705
|
-
schema: senderMentionDeliveriesRequestSchema,
|
|
15706
|
-
routes: ["senderMentionDeliveries"],
|
|
15707
|
-
consumes: nothing,
|
|
15708
|
-
output: small,
|
|
15709
|
-
deprecated: true
|
|
15710
|
-
},
|
|
15711
15680
|
{
|
|
15712
15681
|
name: "actions.prepare",
|
|
15713
15682
|
description: "Post an action card (create a channel, add members, create an agent, or an integration step) for a human to confirm; the human who clicks it carries it out as themselves. When it is executed (or fails), the outcome arrives as a reply that @mentions you in the card's thread (or in the thread the card was posted in).",
|
|
@@ -16181,9 +16150,7 @@ function createRaft(options) {
|
|
|
16181
16150
|
pending: (request) => pendingMentionActions(api, request, style).then(styled),
|
|
16182
16151
|
notify: (request) => notifyMentions(api, request).then(styled),
|
|
16183
16152
|
add: (request) => addMentions(api, request).then(styled),
|
|
16184
|
-
delivery: (request) => senderMentionDeliveries(api, request).then(styled)
|
|
16185
|
-
execute: (request) => executeMentionAction(api, request).then(styled),
|
|
16186
|
-
deliveries: (request) => senderMentionDeliveries(api, request).then(styled)
|
|
16153
|
+
delivery: (request) => senderMentionDeliveries(api, request).then(styled)
|
|
16187
16154
|
},
|
|
16188
16155
|
actions: { prepare: (request) => prepareActionCard(api, request, style).then(styled) },
|
|
16189
16156
|
manual: {
|
|
@@ -16275,8 +16242,6 @@ function createRaft(options) {
|
|
|
16275
16242
|
"mentions.notify": (args) => raft.mentions.notify(args),
|
|
16276
16243
|
"mentions.add": (args) => raft.mentions.add(args),
|
|
16277
16244
|
"mentions.delivery": (args) => raft.mentions.delivery(args),
|
|
16278
|
-
"mentions.execute": (args) => raft.mentions.execute(args),
|
|
16279
|
-
"mentions.deliveries": (args) => raft.mentions.deliveries(args),
|
|
16280
16245
|
"actions.prepare": (args) => raft.actions.prepare(args),
|
|
16281
16246
|
"manual.get": (args) => raft.manual.get(args),
|
|
16282
16247
|
"manual.search": (args) => raft.manual.search(args),
|
|
@@ -16378,7 +16343,6 @@ exports.createTasksRequestSchema = createTasksRequestSchema;
|
|
|
16378
16343
|
exports.describeRaftRoute = describeRaftRoute;
|
|
16379
16344
|
exports.downloadAttachmentUrlRequestSchema = downloadAttachmentUrlRequestSchema;
|
|
16380
16345
|
exports.drainInboxRequestSchema = drainInboxRequestSchema;
|
|
16381
|
-
exports.executeMentionActionRequestSchema = executeMentionActionRequestSchema;
|
|
16382
16346
|
exports.getManualTopicRequestSchema = getManualTopicRequestSchema;
|
|
16383
16347
|
exports.hasAgentMessageIdentity = hasAgentMessageIdentity;
|
|
16384
16348
|
exports.hashRaftSendContent = hashRaftSendContent;
|
package/dist/esm/index.js
CHANGED
|
@@ -14822,11 +14822,6 @@ function formatAgentSenderMentionDeliveries(messageId, deliveries) {
|
|
|
14822
14822
|
//#region ../shared/src/agentOps/mentions.ts
|
|
14823
14823
|
const pendingMentionActionsRequestSchema = requestSchema()(object({ limit: number$1().int().positive().optional().describe("Maximum pending mentions to list.") }));
|
|
14824
14824
|
const mentionResolutionIdsRequestSchema = requestSchema()(object({ resolutionIds: array(string()).describe("resolutionId values from mentions.pending.") }));
|
|
14825
|
-
/** @deprecated The request of the deprecated `mentions.execute`; use `mentionResolutionIdsRequestSchema` (`mentions.notify` / `mentions.add`). */
|
|
14826
|
-
const executeMentionActionRequestSchema = requestSchema()(object({
|
|
14827
|
-
action: _enum(["notify", "add"]).describe("notify: tell the mentioned target about the message; add: add them to the conversation."),
|
|
14828
|
-
resolutionIds: array(string()).describe("resolutionId values from mentions.pending.")
|
|
14829
|
-
}));
|
|
14830
14825
|
const senderMentionDeliveriesRequestSchema = requestSchema()(object({ messageId: string().describe("Id of a message you sent.") }));
|
|
14831
14826
|
async function pendingMentionActions(client, request = {}, options = {}) {
|
|
14832
14827
|
const invalid = validateOpRequest(pendingMentionActionsRequestSchema, request);
|
|
@@ -14869,17 +14864,9 @@ async function addMentions(client, request) {
|
|
|
14869
14864
|
if (invalid) return invalid;
|
|
14870
14865
|
return runMentionAction(client, "add", request.resolutionIds);
|
|
14871
14866
|
}
|
|
14872
|
-
|
|
14873
|
-
async function executeMentionAction(client, request) {
|
|
14874
|
-
const invalid = validateOpRequest(executeMentionActionRequestSchema, request);
|
|
14875
|
-
if (invalid) return invalid;
|
|
14876
|
-
const missing = "Pass an action (notify | add) and at least one resolution id.";
|
|
14877
|
-
if (request.action !== "notify" && request.action !== "add") return failureOutcome(opError("INVALID_REQUEST", { message: missing }));
|
|
14878
|
-
return runMentionAction(client, request.action, request.resolutionIds, missing);
|
|
14879
|
-
}
|
|
14880
|
-
async function runMentionAction(client, action, resolutionIds, missingIdsMessage = "Pass at least one resolution id.") {
|
|
14867
|
+
async function runMentionAction(client, action, resolutionIds) {
|
|
14881
14868
|
const ids = (resolutionIds ?? []).map((id) => id.trim()).filter(Boolean);
|
|
14882
|
-
if (ids.length === 0) return failureOutcome(opError("INVALID_REQUEST", { message:
|
|
14869
|
+
if (ids.length === 0) return failureOutcome(opError("INVALID_REQUEST", { message: "Pass at least one resolution id." }));
|
|
14883
14870
|
const result = await client.mentions.executeAction({
|
|
14884
14871
|
action,
|
|
14885
14872
|
resolutionIds: ids
|
|
@@ -15689,24 +15676,6 @@ const OPERATION_DEFS = [
|
|
|
15689
15676
|
consumes: nothing,
|
|
15690
15677
|
output: small
|
|
15691
15678
|
},
|
|
15692
|
-
{
|
|
15693
|
-
name: "mentions.execute",
|
|
15694
|
-
description: "Deprecated: use mentions.notify / mentions.add. Removed in the next minor release. Deliver unreached @mentions: notify the mentioned target, or add them to the conversation.",
|
|
15695
|
-
schema: executeMentionActionRequestSchema,
|
|
15696
|
-
routes: ["mentionActionsExecute"],
|
|
15697
|
-
consumes: nothing,
|
|
15698
|
-
output: small,
|
|
15699
|
-
deprecated: true
|
|
15700
|
-
},
|
|
15701
|
-
{
|
|
15702
|
-
name: "mentions.deliveries",
|
|
15703
|
-
description: "Deprecated: use mentions.delivery. Removed in the next minor release. Whether each @mention in a message you sent reached its target.",
|
|
15704
|
-
schema: senderMentionDeliveriesRequestSchema,
|
|
15705
|
-
routes: ["senderMentionDeliveries"],
|
|
15706
|
-
consumes: nothing,
|
|
15707
|
-
output: small,
|
|
15708
|
-
deprecated: true
|
|
15709
|
-
},
|
|
15710
15679
|
{
|
|
15711
15680
|
name: "actions.prepare",
|
|
15712
15681
|
description: "Post an action card (create a channel, add members, create an agent, or an integration step) for a human to confirm; the human who clicks it carries it out as themselves. When it is executed (or fails), the outcome arrives as a reply that @mentions you in the card's thread (or in the thread the card was posted in).",
|
|
@@ -16180,9 +16149,7 @@ function createRaft(options) {
|
|
|
16180
16149
|
pending: (request) => pendingMentionActions(api, request, style).then(styled),
|
|
16181
16150
|
notify: (request) => notifyMentions(api, request).then(styled),
|
|
16182
16151
|
add: (request) => addMentions(api, request).then(styled),
|
|
16183
|
-
delivery: (request) => senderMentionDeliveries(api, request).then(styled)
|
|
16184
|
-
execute: (request) => executeMentionAction(api, request).then(styled),
|
|
16185
|
-
deliveries: (request) => senderMentionDeliveries(api, request).then(styled)
|
|
16152
|
+
delivery: (request) => senderMentionDeliveries(api, request).then(styled)
|
|
16186
16153
|
},
|
|
16187
16154
|
actions: { prepare: (request) => prepareActionCard(api, request, style).then(styled) },
|
|
16188
16155
|
manual: {
|
|
@@ -16274,8 +16241,6 @@ function createRaft(options) {
|
|
|
16274
16241
|
"mentions.notify": (args) => raft.mentions.notify(args),
|
|
16275
16242
|
"mentions.add": (args) => raft.mentions.add(args),
|
|
16276
16243
|
"mentions.delivery": (args) => raft.mentions.delivery(args),
|
|
16277
|
-
"mentions.execute": (args) => raft.mentions.execute(args),
|
|
16278
|
-
"mentions.deliveries": (args) => raft.mentions.deliveries(args),
|
|
16279
16244
|
"actions.prepare": (args) => raft.actions.prepare(args),
|
|
16280
16245
|
"manual.get": (args) => raft.manual.get(args),
|
|
16281
16246
|
"manual.search": (args) => raft.manual.search(args),
|
|
@@ -16344,4 +16309,4 @@ function whoamiOutcome(result) {
|
|
|
16344
16309
|
};
|
|
16345
16310
|
}
|
|
16346
16311
|
//#endregion
|
|
16347
|
-
export { RAFT_INBOX_NOTICE_SCHEMA, RAFT_JSON_SCHEMA_KEYWORDS, RAFT_NOTICE_DELIVERY_ID_HEADER, RAFT_NOTICE_SIGNATURE_HEADER, RAFT_OPERATIONS, RAFT_OPERATIONS_SCHEMA, RAFT_OPERATIONS_VERSION, RAFT_STATE_CONTINUATIONS_PER_TARGET, RAFT_STATE_CONTINUATIONS_TOTAL, RAFT_STATE_SCHEMA, RaftCredentialError, RaftSdkConfigurationError, SeenFrontier, amendTaskRequestSchema, assignTaskRequestSchema, attachmentCommentsRequestSchema, bootstrapRaftCredential, channelInfoRequestSchema, channelMembersRequestSchema, channelTargetRequestSchema, checkInboxRequestSchema, claimTasksRequestSchema, commitInboxRequestSchema, convertMessageToTaskRequestSchema, createFileCredentialStore, createRaft, createRaftClient, createRaftClientFromStore, createRaftRoutes, createTasksRequestSchema, describeRaftRoute, downloadAttachmentUrlRequestSchema, drainInboxRequestSchema,
|
|
16312
|
+
export { RAFT_INBOX_NOTICE_SCHEMA, RAFT_JSON_SCHEMA_KEYWORDS, RAFT_NOTICE_DELIVERY_ID_HEADER, RAFT_NOTICE_SIGNATURE_HEADER, RAFT_OPERATIONS, RAFT_OPERATIONS_SCHEMA, RAFT_OPERATIONS_VERSION, RAFT_STATE_CONTINUATIONS_PER_TARGET, RAFT_STATE_CONTINUATIONS_TOTAL, RAFT_STATE_SCHEMA, RaftCredentialError, RaftSdkConfigurationError, SeenFrontier, amendTaskRequestSchema, assignTaskRequestSchema, attachmentCommentsRequestSchema, bootstrapRaftCredential, channelInfoRequestSchema, channelMembersRequestSchema, channelTargetRequestSchema, checkInboxRequestSchema, claimTasksRequestSchema, commitInboxRequestSchema, convertMessageToTaskRequestSchema, createFileCredentialStore, createRaft, createRaftClient, createRaftClientFromStore, createRaftRoutes, createTasksRequestSchema, describeRaftRoute, downloadAttachmentUrlRequestSchema, drainInboxRequestSchema, getManualTopicRequestSchema, hasAgentMessageIdentity, hashRaftSendContent, inferAttachmentMimeType, isInterrupted, joinRaftChannelByTarget, listInboxRequestSchema, listRaftRoutes, listTasksRequestSchema, listThreadsRequestSchema, mentionResolutionIdsRequestSchema, parseRaftRegularChannelTarget, parseRaftState, pendingMentionActionsRequestSchema, prepareActionCardRequestSchema, projectRaftMessage, projectRaftMessages, raftToolNameFor, reactRequestSchema, readHistoryRequestSchema, readLatestReadThread, replyToRequestSchema, resolveMessageRequestSchema, searchManualRequestSchema, searchMessagesRequestSchema, sendMessageRequestSchema, senderMentionDeliveriesRequestSchema, serverInfoRequestSchema, showProfileRequestSchema, taskRefSchema, unfollowThreadRequestSchema, updateProfileRequestSchema, updateTaskStatusRequestSchema, userInfoRequestSchema, verifyInboxNotice, whoamiRequestSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1298,14 +1298,6 @@ export declare const pendingMentionActionsRequestSchema: z.ZodObject<{
|
|
|
1298
1298
|
export declare const mentionResolutionIdsRequestSchema: z.ZodObject<{
|
|
1299
1299
|
resolutionIds: z.ZodArray<z.ZodString>;
|
|
1300
1300
|
}, z.core.$strip>;
|
|
1301
|
-
/** @deprecated The request of the deprecated `mentions.execute`; use `mentionResolutionIdsRequestSchema` (`mentions.notify` / `mentions.add`). */
|
|
1302
|
-
export declare const executeMentionActionRequestSchema: z.ZodObject<{
|
|
1303
|
-
action: z.ZodEnum<{
|
|
1304
|
-
notify: "notify";
|
|
1305
|
-
add: "add";
|
|
1306
|
-
}>;
|
|
1307
|
-
resolutionIds: z.ZodArray<z.ZodString>;
|
|
1308
|
-
}, z.core.$strip>;
|
|
1309
1301
|
export declare const senderMentionDeliveriesRequestSchema: z.ZodObject<{
|
|
1310
1302
|
messageId: z.ZodString;
|
|
1311
1303
|
}, z.core.$strip>;
|
|
@@ -1322,11 +1314,6 @@ type RaftMentionActionOutcome = RaftOutcome<{
|
|
|
1322
1314
|
action: AgentMentionActionKind;
|
|
1323
1315
|
results: AgentMentionActionResult[];
|
|
1324
1316
|
}, "executed">;
|
|
1325
|
-
/** @deprecated The request of the deprecated `mentions.execute`; use `MentionResolutionIdsRequest`. */
|
|
1326
|
-
interface ExecuteMentionActionRequest {
|
|
1327
|
-
action: AgentMentionActionKind;
|
|
1328
|
-
resolutionIds: string[];
|
|
1329
|
-
}
|
|
1330
1317
|
//#endregion
|
|
1331
1318
|
//#region ../shared/src/agentOps/manual.d.ts
|
|
1332
1319
|
interface ManualContext {
|
|
@@ -10110,42 +10097,6 @@ declare const OPERATION_DEFS: readonly [{
|
|
|
10110
10097
|
mayBeLarge: false;
|
|
10111
10098
|
boundBy: never[];
|
|
10112
10099
|
};
|
|
10113
|
-
}, {
|
|
10114
|
-
readonly name: "mentions.execute";
|
|
10115
|
-
readonly description: "Deprecated: use mentions.notify / mentions.add. Removed in the next minor release. Deliver unreached @mentions: notify the mentioned target, or add them to the conversation.";
|
|
10116
|
-
readonly schema: z.ZodObject<{
|
|
10117
|
-
action: z.ZodEnum<{
|
|
10118
|
-
notify: "notify";
|
|
10119
|
-
add: "add";
|
|
10120
|
-
}>;
|
|
10121
|
-
resolutionIds: z.ZodArray<z.ZodString>;
|
|
10122
|
-
}, z.core.$strip>;
|
|
10123
|
-
readonly routes: readonly ["mentionActionsExecute"];
|
|
10124
|
-
readonly consumes: {
|
|
10125
|
-
model: never[];
|
|
10126
|
-
code: never[];
|
|
10127
|
-
};
|
|
10128
|
-
readonly output: {
|
|
10129
|
-
mayBeLarge: false;
|
|
10130
|
-
boundBy: never[];
|
|
10131
|
-
};
|
|
10132
|
-
readonly deprecated: true;
|
|
10133
|
-
}, {
|
|
10134
|
-
readonly name: "mentions.deliveries";
|
|
10135
|
-
readonly description: "Deprecated: use mentions.delivery. Removed in the next minor release. Whether each @mention in a message you sent reached its target.";
|
|
10136
|
-
readonly schema: z.ZodObject<{
|
|
10137
|
-
messageId: z.ZodString;
|
|
10138
|
-
}, z.core.$strip>;
|
|
10139
|
-
readonly routes: readonly ["senderMentionDeliveries"];
|
|
10140
|
-
readonly consumes: {
|
|
10141
|
-
model: never[];
|
|
10142
|
-
code: never[];
|
|
10143
|
-
};
|
|
10144
|
-
readonly output: {
|
|
10145
|
-
mayBeLarge: false;
|
|
10146
|
-
boundBy: never[];
|
|
10147
|
-
};
|
|
10148
|
-
readonly deprecated: true;
|
|
10149
10100
|
}, {
|
|
10150
10101
|
readonly name: "actions.prepare";
|
|
10151
10102
|
readonly description: "Post an action card (create a channel, add members, create an agent, or an integration step) for a human to confirm; the human who clicks it carries it out as themselves. When it is executed (or fails), the outcome arrives as a reply that @mentions you in the card's thread (or in the thread the card was posted in).";
|
|
@@ -10890,12 +10841,6 @@ interface Raft {
|
|
|
10890
10841
|
delivery(request: {
|
|
10891
10842
|
messageId: string;
|
|
10892
10843
|
}): Promise<RaftOutcome<AgentApiSenderMentionDeliveriesResponse, "deliveries" | "empty">>;
|
|
10893
|
-
/** @deprecated Use `mentions.notify` / `mentions.add`; removed in 0.12.0. */
|
|
10894
|
-
execute(request: ExecuteMentionActionRequest): Promise<RaftMentionActionOutcome>;
|
|
10895
|
-
/** @deprecated Use `mentions.delivery`; removed in 0.12.0. */
|
|
10896
|
-
deliveries(request: {
|
|
10897
|
-
messageId: string;
|
|
10898
|
-
}): Promise<RaftOutcome<AgentApiSenderMentionDeliveriesResponse, "deliveries" | "empty">>;
|
|
10899
10844
|
};
|
|
10900
10845
|
actions: {
|
|
10901
10846
|
/**
|
|
@@ -11030,4 +10975,4 @@ export declare const commitInboxRequestSchema: z.ZodObject<{
|
|
|
11030
10975
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11031
10976
|
}, z.core.$strip>;
|
|
11032
10977
|
//#endregion
|
|
11033
|
-
export type { AmendTaskOutcome, AmendTaskRequest, AssignTaskRequest, BootstrapRaftCredentialOptions, CheckInboxOutcome, CheckInboxRequest, ClaimTasksOutcome, ClaimTasksRequest, ConvertMessageToTaskRequest, CreateRaftClientFromStoreOptions, CreateRaftClientOptions, CreateRaftOptions, CreateRaftRoutesOptions, CreateTasksRequest, DrainInboxRequest,
|
|
10978
|
+
export type { AmendTaskOutcome, AmendTaskRequest, AssignTaskRequest, BootstrapRaftCredentialOptions, CheckInboxOutcome, CheckInboxRequest, ClaimTasksOutcome, ClaimTasksRequest, ConvertMessageToTaskRequest, CreateRaftClientFromStoreOptions, CreateRaftClientOptions, CreateRaftOptions, CreateRaftRoutesOptions, CreateTasksRequest, DrainInboxRequest, ListInboxRequest, ListTasksRequest, ManualContext, MentionResolutionIdsRequest, PrepareActionCardRequest, Raft, RaftAckMode, RaftActionPrepareRequest, RaftActionPrepared, RaftApiError, RaftApiResult, RaftAppConfig, RaftAppConfigPatch, RaftAttachmentBytes, RaftAttachmentDownloadUrl, RaftAttachmentUploaded, RaftAvatarUpload, RaftChannelInfo, RaftChannelJoinClient, RaftChannelJoinClientResult, RaftChannelJoinError, RaftChannelJoinFailure, RaftChannelJoinOperation, RaftChannelJoinRequest, RaftChannelJoinResult, RaftChannelJoinSuccess, RaftChannelJoinTransportError, RaftChannelMuteState, RaftChannelRef, RaftClaimResult, RaftClaimRow, RaftClaimRowState, RaftClient, RaftClientError, RaftClientFailure, RaftClientResult, RaftClientSuccess, RaftClientThrottleOptions, RaftClientTransportRequest, RaftConsumption, RaftContextAgent, RaftContextData, RaftContextError, RaftContextResult, RaftContextServer, RaftCredentialErrorCode, RaftCredentialIdentity, RaftCredentialStore, RaftEvent, RaftEventAttachment, RaftEventExternalMessage, RaftEventsReceiveData, RaftEventsReceiveError, RaftEventsReceiveRequest, RaftEventsReceiveResult, RaftFailure, RaftHintStyle, RaftHistoryPage, RaftInboxBatch, RaftInboxCommitResult, RaftInboxConversation, RaftInboxDrainSummary, RaftInboxDrained, RaftInboxListing, RaftInboxNotice, RaftInterrupt, RaftInterruptCancel, RaftInterruptReason, RaftInterruptResume, RaftInterrupted, RaftInvokeCaller, RaftInvokeResult, RaftJsonSchema, RaftJsonSchemaType, RaftLatestReadThread, RaftManageClient, RaftMentionActionOutcome, RaftMessage, RaftMessageAttachment, RaftMessageTask, RaftNextOperation, RaftNextStep, RaftNoticeFlag, RaftNoticeTarget, RaftOpError, RaftOpErrorCode, RaftOperationIdempotency, RaftOperationName, RaftOperationSpec, RaftOperationsDocument, RaftOutcome, RaftPendingMentions, RaftPreparedCard, RaftProfile, RaftProfileUpdate, RaftRouteAnnotations, RaftRouteInfo, RaftRouteKey, RaftRouteMeta, RaftRouteResult, RaftRouteRetryPolicy, RaftRoutes, RaftSdkConfigurationErrorCode, RaftSearchPage, RaftSenderType, RaftSent, RaftServerInfo, RaftServerProfile, RaftServerUpdate, RaftState, RaftStateContinuation, RaftStateSaveErrorHandler, RaftStateStore, RaftTaskBoard, RaftTaskStatus, RaftTasksCreated, RaftUserInfo, RaftUserRef, RaftWebhookStatus, ReactRequest, ReadHistoryRequest, ReadLatestReadThreadOptions, ReplyToRequest, SearchMessagesRequest, SeenAttestation, SeenFrontierSnapshot, SendMessageOutcome, SendMessageRequest, ServerInfoRequest, ServerInfoSection, StoredRaftCredential, TaskRef, UpdateTaskStatusOutcome, UpdateTaskStatusRequest, UploadAttachmentRequest, UserInfoRequest, VerifyNoticeInput, VerifyNoticeRejection, VerifyNoticeResult };
|
package/operations.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "raft-sdk-operations.v1",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24580df5e6c5b3bc",
|
|
4
4
|
"operations": [
|
|
5
5
|
{
|
|
6
6
|
"name": "identity.whoami",
|
|
@@ -837,88 +837,6 @@
|
|
|
837
837
|
"boundBy": []
|
|
838
838
|
}
|
|
839
839
|
},
|
|
840
|
-
{
|
|
841
|
-
"name": "mentions.execute",
|
|
842
|
-
"toolName": "mentions_execute",
|
|
843
|
-
"description": "Deprecated: use mentions.notify / mentions.add. Removed in the next minor release. Deliver unreached @mentions: notify the mentioned target, or add them to the conversation.",
|
|
844
|
-
"inputSchema": {
|
|
845
|
-
"type": "object",
|
|
846
|
-
"properties": {
|
|
847
|
-
"action": {
|
|
848
|
-
"type": "string",
|
|
849
|
-
"description": "notify: tell the mentioned target about the message; add: add them to the conversation.",
|
|
850
|
-
"enum": [
|
|
851
|
-
"notify",
|
|
852
|
-
"add"
|
|
853
|
-
]
|
|
854
|
-
},
|
|
855
|
-
"resolutionIds": {
|
|
856
|
-
"type": "array",
|
|
857
|
-
"description": "resolutionId values from mentions.pending.",
|
|
858
|
-
"items": {
|
|
859
|
-
"type": "string"
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
"required": [
|
|
864
|
-
"action",
|
|
865
|
-
"resolutionIds"
|
|
866
|
-
]
|
|
867
|
-
},
|
|
868
|
-
"sideEffect": "write",
|
|
869
|
-
"idempotency": {
|
|
870
|
-
"kind": "none"
|
|
871
|
-
},
|
|
872
|
-
"capability": [
|
|
873
|
-
"mentions"
|
|
874
|
-
],
|
|
875
|
-
"modelOnly": false,
|
|
876
|
-
"mayInterrupt": false,
|
|
877
|
-
"consumes": {
|
|
878
|
-
"model": [],
|
|
879
|
-
"code": []
|
|
880
|
-
},
|
|
881
|
-
"output": {
|
|
882
|
-
"mayBeLarge": false,
|
|
883
|
-
"boundBy": []
|
|
884
|
-
},
|
|
885
|
-
"deprecated": true
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
"name": "mentions.deliveries",
|
|
889
|
-
"toolName": "mentions_deliveries",
|
|
890
|
-
"description": "Deprecated: use mentions.delivery. Removed in the next minor release. Whether each @mention in a message you sent reached its target.",
|
|
891
|
-
"inputSchema": {
|
|
892
|
-
"type": "object",
|
|
893
|
-
"properties": {
|
|
894
|
-
"messageId": {
|
|
895
|
-
"type": "string",
|
|
896
|
-
"description": "Id of a message you sent."
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
"required": [
|
|
900
|
-
"messageId"
|
|
901
|
-
]
|
|
902
|
-
},
|
|
903
|
-
"sideEffect": "read",
|
|
904
|
-
"idempotency": {
|
|
905
|
-
"kind": "natural"
|
|
906
|
-
},
|
|
907
|
-
"capability": [
|
|
908
|
-
"mentions"
|
|
909
|
-
],
|
|
910
|
-
"modelOnly": false,
|
|
911
|
-
"mayInterrupt": false,
|
|
912
|
-
"consumes": {
|
|
913
|
-
"model": [],
|
|
914
|
-
"code": []
|
|
915
|
-
},
|
|
916
|
-
"output": {
|
|
917
|
-
"mayBeLarge": false,
|
|
918
|
-
"boundBy": []
|
|
919
|
-
},
|
|
920
|
-
"deprecated": true
|
|
921
|
-
},
|
|
922
840
|
{
|
|
923
841
|
"name": "actions.prepare",
|
|
924
842
|
"toolName": "actions_prepare",
|