@tickernelz/paperclip-pro-server 2026.1012.0 → 2026.1012.1
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/__tests__/helpers/runner-api-server.d.ts +1 -0
- package/dist/__tests__/helpers/runner-api-server.d.ts.map +1 -1
- package/dist/build-info.json +1 -1
- package/dist/routes/attention.d.ts.map +1 -1
- package/dist/routes/attention.js +12 -1
- package/dist/routes/attention.js.map +1 -1
- package/dist/routes/issues.d.ts.map +1 -1
- package/dist/routes/issues.js +106 -1
- package/dist/routes/issues.js.map +1 -1
- package/dist/routes/openapi.d.ts.map +1 -1
- package/dist/routes/openapi.js +30 -1
- package/dist/routes/openapi.js.map +1 -1
- package/dist/services/agents.d.ts +10 -10
- package/dist/services/chat-completion-delivery.d.ts +5 -0
- package/dist/services/chat-completion-delivery.d.ts.map +1 -1
- package/dist/services/chat-completion-delivery.js +16 -6
- package/dist/services/chat-completion-delivery.js.map +1 -1
- package/dist/services/connectors/slack.d.ts +13 -13
- package/dist/services/issue-thread-interaction-resolution.d.ts.map +1 -1
- package/dist/services/issue-thread-interaction-resolution.js +3 -0
- package/dist/services/issue-thread-interaction-resolution.js.map +1 -1
- package/dist/services/issue-thread-interactions.d.ts +1 -0
- package/dist/services/issue-thread-interactions.d.ts.map +1 -1
- package/dist/services/native-runtime/automatic-completion-reviews.d.ts +1 -0
- package/dist/services/native-runtime/automatic-completion-reviews.d.ts.map +1 -1
- package/dist/services/openwa/admission.d.ts.map +1 -1
- package/dist/services/openwa/admission.js +24 -5
- package/dist/services/openwa/admission.js.map +1 -1
- package/dist/services/openwa/approvals.d.ts +12 -0
- package/dist/services/openwa/approvals.d.ts.map +1 -1
- package/dist/services/openwa/approvals.js +35 -7
- package/dist/services/openwa/approvals.js.map +1 -1
- package/dist/services/openwa/authority.d.ts.map +1 -1
- package/dist/services/openwa/authority.js +1 -0
- package/dist/services/openwa/authority.js.map +1 -1
- package/dist/services/openwa/catalog.d.ts +1 -0
- package/dist/services/openwa/catalog.d.ts.map +1 -1
- package/dist/services/openwa/config-tool.d.ts.map +1 -1
- package/dist/services/openwa/config-tool.js +22 -3
- package/dist/services/openwa/config-tool.js.map +1 -1
- package/dist/services/openwa/guidance.d.ts +2 -0
- package/dist/services/openwa/guidance.d.ts.map +1 -1
- package/dist/services/openwa/guidance.js +27 -5
- package/dist/services/openwa/guidance.js.map +1 -1
- package/dist/services/openwa/owner-report.d.ts +24 -0
- package/dist/services/openwa/owner-report.d.ts.map +1 -0
- package/dist/services/openwa/owner-report.js +97 -0
- package/dist/services/openwa/owner-report.js.map +1 -0
- package/dist/services/openwa/owners.d.ts.map +1 -1
- package/dist/services/openwa/owners.js +4 -0
- package/dist/services/openwa/owners.js.map +1 -1
- package/dist/services/openwa/policy.d.ts +2 -0
- package/dist/services/openwa/policy.d.ts.map +1 -1
- package/dist/services/openwa/policy.js +11 -2
- package/dist/services/openwa/policy.js.map +1 -1
- package/dist/services/openwa/tools.d.ts +1 -0
- package/dist/services/openwa/tools.d.ts.map +1 -1
- package/dist/services/openwa/tools.js +21 -4
- package/dist/services/openwa/tools.js.map +1 -1
- package/dist/services/owner-decision-relay.d.ts +62 -0
- package/dist/services/owner-decision-relay.d.ts.map +1 -0
- package/dist/services/owner-decision-relay.js +433 -0
- package/dist/services/owner-decision-relay.js.map +1 -0
- package/package.json +21 -21
- package/skills/openwa/SKILL.md +51 -3
- package/skills/paperclip/SKILL.md +1 -1
- package/ui-dist/assets/{AgentAvatar-B47RVwPt.js → AgentAvatar-DySHTTwq.js} +1 -1
- package/ui-dist/assets/{Agents.production-CaL_roCY.js → Agents.production-CF5r1j38.js} +2 -2
- package/ui-dist/assets/{BreadcrumbContext-BRKP7-bF.js → BreadcrumbContext-C-JqFdLZ.js} +1 -1
- package/ui-dist/assets/{CompanyActivity.production-B5ko3U6C.js → CompanyActivity.production-BxAfcJub.js} +1 -1
- package/ui-dist/assets/{CompanyExport-D_8Cdnps.js → CompanyExport-CEeoEcyJ.js} +1 -1
- package/ui-dist/assets/{CompanySkills.production-DKpb4vb9.js → CompanySkills.production-DHEEarUk.js} +1 -1
- package/ui-dist/assets/{EmptyState-iwTwakaR.js → EmptyState-fxPFhH-R.js} +1 -1
- package/ui-dist/assets/{MarkdownBody-CbLdPc8E.js → MarkdownBody-CEcIElD-.js} +1 -1
- package/ui-dist/assets/{MarkdownEditor-98mZdmRX.js → MarkdownEditor-B6kwxxZP.js} +1 -1
- package/ui-dist/assets/{OrgChart.production-CpVPwEak.js → OrgChart.production-R4TqTezh.js} +1 -1
- package/ui-dist/assets/{PageSkeleton-Dl_gWB8z.js → PageSkeleton-iVZWoLsF.js} +1 -1
- package/ui-dist/assets/{RoutineDetail.production-CmUbfGto.js → RoutineDetail.production-RCCl99aO.js} +1 -1
- package/ui-dist/assets/{RoutineRunVariablesDialog-DrqOVV5i.js → RoutineRunVariablesDialog-BfaOkOdj.js} +1 -1
- package/ui-dist/assets/{Routines.production-C3-E_ij7.js → Routines.production-i7GS-uxC.js} +1 -1
- package/ui-dist/assets/{StatusIcon-Co-elrfc.js → StatusIcon-DxxLvme9.js} +1 -1
- package/ui-dist/assets/{ToastContext-CYUmn7f8.js → ToastContext-BbzJdb2r.js} +1 -1
- package/ui-dist/assets/{agent-avatar-url-B91C7fqh.js → agent-avatar-url-eBzFMwFS.js} +27 -27
- package/ui-dist/assets/{alert-dialog-CfwPsmAH.js → alert-dialog-Ctnjtpv6.js} +1 -1
- package/ui-dist/assets/{arrow-right-DW0tfmbi.js → arrow-right-DyKWA_SL.js} +1 -1
- package/ui-dist/assets/{badge-B4XIQ7B_.js → badge-CUe24HAP.js} +1 -1
- package/ui-dist/assets/{bot-zBrbL-yH.js → bot-wKcWfYKX.js} +1 -1
- package/ui-dist/assets/{card-79GDCTP3.js → card-GbQ9sLu8.js} +1 -1
- package/ui-dist/assets/{check-x_elx0uL.js → check-VcfFMsHr.js} +1 -1
- package/ui-dist/assets/{checkbox-3gl2Un2H.js → checkbox-Cm-PyDSt.js} +1 -1
- package/ui-dist/assets/{clipboard-_seTAJiP.js → clipboard-CYFyFXxJ.js} +1 -1
- package/ui-dist/assets/{company-members-BXmr5rWO.js → company-members-CSVvQnvh.js} +1 -1
- package/ui-dist/assets/{definition-I91EV37G.js → definition-urW_HpEG.js} +1 -1
- package/ui-dist/assets/{dist-G74v2gk6.js → dist-CfR2_c4p.js} +1 -1
- package/ui-dist/assets/{dist-Bgy8AcEI.js → dist-Dz68ZFqX.js} +1 -1
- package/ui-dist/assets/{dist-D4yyXwCK.js → dist-Z45aKkJm.js} +1 -1
- package/ui-dist/assets/{environments-x0bu3agB.js → environments-Cc8orNVy.js} +1 -1
- package/ui-dist/assets/{external-link-DZQH1MR8.js → external-link-CAutrcht.js} +1 -1
- package/ui-dist/assets/{file-text-DnkFEoqC.js → file-text-Dik8gyob.js} +1 -1
- package/ui-dist/assets/{health-DIsZUg4d.js → health-D_DTw2-J.js} +1 -1
- package/ui-dist/assets/{heartbeats-hynzhqu3.js → heartbeats-BgAe0g2m.js} +1 -1
- package/ui-dist/assets/{index-SsNrNOjw.js → index-st-IN4Gf.js} +139 -139
- package/ui-dist/assets/{input-DW5WzZI0.js → input-BARyUoy0.js} +1 -1
- package/ui-dist/assets/{label-BnuPQCxV.js → label-D4Q0SI3t.js} +1 -1
- package/ui-dist/assets/{mention-chips-DtMro9HO.js → mention-chips-BEoxPZei.js} +1 -1
- package/ui-dist/assets/{rotate-ccw-wat5PoA5.js → rotate-ccw-BT1r8zDE.js} +1 -1
- package/ui-dist/assets/{select-CtJdi3BB.js → select-yD0r8C3i.js} +1 -1
- package/ui-dist/assets/{sheet-5L45GZhN.js → sheet-CAjfRCp9.js} +1 -1
- package/ui-dist/assets/{skeleton-Cea_xEjg.js → skeleton-BFMc3stE.js} +1 -1
- package/ui-dist/assets/{tabs-CVzr4EnB.js → tabs-C1f963Rn.js} +1 -1
- package/ui-dist/assets/{use-adapter-capabilities-BzuoLi4n.js → use-adapter-capabilities-CsKGmy5W.js} +1 -1
- package/ui-dist/assets/{use-copy-action-D1yLO8Yp.js → use-copy-action-B-Azftuv.js} +1 -1
- package/ui-dist/assets/{useHiddenSettings-DuLvvhZD.js → useHiddenSettings-Uo-rfexH.js} +1 -1
- package/ui-dist/index.html +39 -39
- package/ui-dist/sw.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/routes/openapi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/routes/openapi.ts"],"names":[],"mappings":"AAgkaA,wBAAgB,oBAAoB,IAAI,GAAG,CAY1C;AAED,eAAO,MAAM,gBAAgB,6BAAuB,CAAC;AAErD,wBAAgB,aAAa,+CAM5B"}
|
package/dist/routes/openapi.js
CHANGED
|
@@ -42,7 +42,7 @@ skillSourceDiscoverySchema, skillSourcePreviewSchema, skillSourceCreateSchema, s
|
|
|
42
42
|
// Issue tree
|
|
43
43
|
createIssueTreeHoldSchema, previewIssueTreeControlSchema, releaseIssueTreeHoldSchema,
|
|
44
44
|
// Issue interactions
|
|
45
|
-
createIssueThreadInteractionSchema, createChildIssueSchema, acceptIssueThreadInteractionSchema, resolveConfirmationFromCommentSchema, rejectIssueThreadInteractionSchema, respondIssueThreadInteractionSchema, skipIssueThreadInteractionSchema, submitIssueThreadInteractionVerdictsSchema, withdrawIssueThreadInteractionSchema,
|
|
45
|
+
createIssueThreadInteractionSchema, createChildIssueSchema, acceptIssueThreadInteractionSchema, resolveConfirmationFromCommentSchema, rejectIssueThreadInteractionSchema, respondIssueThreadInteractionSchema, answerDecisionForOwnerSchema, skipIssueThreadInteractionSchema, submitIssueThreadInteractionVerdictsSchema, withdrawIssueThreadInteractionSchema,
|
|
46
46
|
// Auth / profile
|
|
47
47
|
updateCurrentUserProfileSchema,
|
|
48
48
|
// Company portability (legacy routes)
|
|
@@ -5938,6 +5938,15 @@ registry.registerPath({
|
|
|
5938
5938
|
},
|
|
5939
5939
|
responses: { 200: r.ok(), 401: r.unauthorized, 403: r.forbidden },
|
|
5940
5940
|
});
|
|
5941
|
+
registry.registerPath({
|
|
5942
|
+
method: "get",
|
|
5943
|
+
path: "/api/companies/{companyId}/pending-decisions",
|
|
5944
|
+
tags: ["inbox"],
|
|
5945
|
+
summary: "List decisions waiting on a human",
|
|
5946
|
+
description: "The Decisions-desk cards, board approvals and agent decisions still waiting for a person, limited to issues the caller can read. Each item has its issue, card kind, prompt, options or questions, requester, link, and whether an agent may relay the owner's answer with paperclipAnswerDecisionForOwner (relayBlockedReason says why not).",
|
|
5947
|
+
request: { params: z.object({ companyId: z.string() }) },
|
|
5948
|
+
responses: { 200: r.ok(), 401: r.unauthorized, 403: r.forbidden },
|
|
5949
|
+
});
|
|
5941
5950
|
// ─── Decisions ──────────────────────────────────────────────────────────────
|
|
5942
5951
|
// Decision queues and triage
|
|
5943
5952
|
const decisionQueueSeedRuleSchema = z
|
|
@@ -7772,6 +7781,26 @@ registry.registerPath({
|
|
|
7772
7781
|
422: { description: "Invalid answer, or a note sent by a non-user actor" },
|
|
7773
7782
|
},
|
|
7774
7783
|
});
|
|
7784
|
+
registry.registerPath({
|
|
7785
|
+
method: "post",
|
|
7786
|
+
path: "/api/issues/{id}/interactions/{interactionId}/answer-for-owner",
|
|
7787
|
+
tags: ["issues"],
|
|
7788
|
+
summary: "Relay a board user's own answer to a card",
|
|
7789
|
+
description: "Agent runs only. Submits the answer a board user gave in their own message (an owner WhatsApp message, or their board comment) that started this run, through the same answer route the board UI uses, recorded as that user's answer and relayed by this agent. ownerMessageRef must be that message's id. One message answers one card unless it names each card. Use only when the owner's words explicitly decide this card; human-only cards included.",
|
|
7790
|
+
request: {
|
|
7791
|
+
params: z.object({ id: z.string(), interactionId: z.string() }),
|
|
7792
|
+
body: jsonBody(answerDecisionForOwnerSchema),
|
|
7793
|
+
},
|
|
7794
|
+
responses: {
|
|
7795
|
+
200: r.ok(),
|
|
7796
|
+
400: r.badRequest,
|
|
7797
|
+
401: r.unauthorized,
|
|
7798
|
+
403: { description: "owner_confirmation_required: the run was not started by the owner's own message, the owner is not linked, or the message was already used" },
|
|
7799
|
+
404: r.notFound,
|
|
7800
|
+
409: { description: "The card is already resolved or expired" },
|
|
7801
|
+
422: { description: "The answer does not fit the card, or the card is a governed action that must be decided in Paperclip" },
|
|
7802
|
+
},
|
|
7803
|
+
});
|
|
7775
7804
|
registry.registerPath({
|
|
7776
7805
|
method: "post",
|
|
7777
7806
|
path: "/api/issues/{id}/interactions/{interactionId}/verdicts",
|