@tickernelz/paperclip-pro-server 2026.1012.0 → 2026.1012.2
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 +189 -1
- package/dist/routes/issues.js.map +1 -1
- package/dist/routes/openapi.d.ts.map +1 -1
- package/dist/routes/openapi.js +50 -1
- package/dist/routes/openapi.js.map +1 -1
- package/dist/services/agents.d.ts +10 -10
- package/dist/services/chat-channels.d.ts.map +1 -1
- package/dist/services/chat-channels.js +9 -1
- package/dist/services/chat-channels.js.map +1 -1
- 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/execution-continuation.d.ts +1 -0
- package/dist/services/execution-continuation.d.ts.map +1 -1
- package/dist/services/execution-continuation.js +10 -6
- package/dist/services/execution-continuation.js.map +1 -1
- package/dist/services/execution-recovery-resolution.js +2 -2
- package/dist/services/execution-recovery-resolution.js.map +1 -1
- package/dist/services/explicit-native-continuation.d.ts +9 -0
- package/dist/services/explicit-native-continuation.d.ts.map +1 -1
- package/dist/services/explicit-native-continuation.js +3 -2
- package/dist/services/explicit-native-continuation.js.map +1 -1
- package/dist/services/heartbeat/queue.d.ts.map +1 -1
- package/dist/services/heartbeat/queue.js +2 -0
- package/dist/services/heartbeat/queue.js.map +1 -1
- package/dist/services/heartbeat/run-completion.d.ts.map +1 -1
- package/dist/services/heartbeat/run-completion.js +29 -18
- package/dist/services/heartbeat/run-completion.js.map +1 -1
- package/dist/services/heartbeat/run-completion.test.js +12 -0
- package/dist/services/heartbeat/run-completion.test.js.map +1 -1
- package/dist/services/heartbeat/run-preparation.d.ts +2 -0
- package/dist/services/heartbeat/run-preparation.d.ts.map +1 -1
- package/dist/services/heartbeat/run-preparation.js.map +1 -1
- 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/legacy-controller-lease.d.ts +6 -0
- package/dist/services/legacy-controller-lease.d.ts.map +1 -1
- package/dist/services/legacy-controller-lease.js +66 -16
- package/dist/services/legacy-controller-lease.js.map +1 -1
- package/dist/services/legacy-controller-lease.test.js +50 -1
- package/dist/services/legacy-controller-lease.test.js.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/steering.d.ts.map +1 -1
- package/dist/services/openwa/steering.js +2 -0
- package/dist/services/openwa/steering.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 +69 -0
- package/dist/services/owner-decision-relay.d.ts.map +1 -0
- package/dist/services/owner-decision-relay.js +482 -0
- package/dist/services/owner-decision-relay.js.map +1 -0
- package/package.json +21 -21
- package/skills/openwa/SKILL.md +62 -3
- package/skills/paperclip/SKILL.md +1 -1
- package/ui-dist/assets/{AgentAvatar-B47RVwPt.js → AgentAvatar-J8HJgoSh.js} +1 -1
- package/ui-dist/assets/{Agents.production-CaL_roCY.js → Agents.production-DAJCv0eK.js} +2 -2
- package/ui-dist/assets/{BreadcrumbContext-BRKP7-bF.js → BreadcrumbContext-k4_HOBKt.js} +1 -1
- package/ui-dist/assets/{CompanyActivity.production-B5ko3U6C.js → CompanyActivity.production-CZB7KrHi.js} +1 -1
- package/ui-dist/assets/{CompanyExport-D_8Cdnps.js → CompanyExport-iv3X0jAx.js} +1 -1
- package/ui-dist/assets/{CompanySkills.production-DKpb4vb9.js → CompanySkills.production-UvZX9-OD.js} +1 -1
- package/ui-dist/assets/{EmptyState-iwTwakaR.js → EmptyState-NmkkuFFc.js} +1 -1
- package/ui-dist/assets/{MarkdownBody-CbLdPc8E.js → MarkdownBody-DZY1Poyt.js} +1 -1
- package/ui-dist/assets/{MarkdownEditor-98mZdmRX.js → MarkdownEditor-BlZgaClg.js} +1 -1
- package/ui-dist/assets/{OrgChart.production-CpVPwEak.js → OrgChart.production-DDqTdnbp.js} +1 -1
- package/ui-dist/assets/{PageSkeleton-Dl_gWB8z.js → PageSkeleton-Bk-YktL6.js} +1 -1
- package/ui-dist/assets/{RoutineDetail.production-CmUbfGto.js → RoutineDetail.production-BxoK_LvU.js} +1 -1
- package/ui-dist/assets/{RoutineRunVariablesDialog-DrqOVV5i.js → RoutineRunVariablesDialog-CMNeR6VZ.js} +1 -1
- package/ui-dist/assets/{Routines.production-C3-E_ij7.js → Routines.production-B7J67w8g.js} +1 -1
- package/ui-dist/assets/{StatusIcon-Co-elrfc.js → StatusIcon-fJLmzCDW.js} +1 -1
- package/ui-dist/assets/{ToastContext-CYUmn7f8.js → ToastContext-CIri5s-I.js} +1 -1
- package/ui-dist/assets/{agent-avatar-url-B91C7fqh.js → agent-avatar-url-CVV7dJ4l.js} +27 -27
- package/ui-dist/assets/{alert-dialog-CfwPsmAH.js → alert-dialog-DKXtvS0x.js} +1 -1
- package/ui-dist/assets/{arrow-right-DW0tfmbi.js → arrow-right-ELUE1rER.js} +1 -1
- package/ui-dist/assets/{badge-B4XIQ7B_.js → badge-Kf867ezN.js} +1 -1
- package/ui-dist/assets/{bot-zBrbL-yH.js → bot-CaRghtif.js} +1 -1
- package/ui-dist/assets/{card-79GDCTP3.js → card-BA46vwjn.js} +1 -1
- package/ui-dist/assets/{check-x_elx0uL.js → check-CGphZTSp.js} +1 -1
- package/ui-dist/assets/{checkbox-3gl2Un2H.js → checkbox-DekJl2RJ.js} +1 -1
- package/ui-dist/assets/{clipboard-_seTAJiP.js → clipboard-BftXMlFg.js} +1 -1
- package/ui-dist/assets/{company-members-BXmr5rWO.js → company-members-BmKruwkU.js} +1 -1
- package/ui-dist/assets/{definition-I91EV37G.js → definition-sTUQ_O4Y.js} +1 -1
- package/ui-dist/assets/{dist-Bgy8AcEI.js → dist-3gGO9NXy.js} +1 -1
- package/ui-dist/assets/{dist-D4yyXwCK.js → dist-BLP096hU.js} +1 -1
- package/ui-dist/assets/{dist-G74v2gk6.js → dist-C-3WyhwF.js} +1 -1
- package/ui-dist/assets/{environments-x0bu3agB.js → environments-B0xY4RYs.js} +1 -1
- package/ui-dist/assets/{external-link-DZQH1MR8.js → external-link-CRVf_Q8M.js} +1 -1
- package/ui-dist/assets/{file-text-DnkFEoqC.js → file-text-BKI87XaT.js} +1 -1
- package/ui-dist/assets/{health-DIsZUg4d.js → health-2HA6WpUS.js} +1 -1
- package/ui-dist/assets/{heartbeats-hynzhqu3.js → heartbeats-D8FQfEVO.js} +1 -1
- package/ui-dist/assets/{index-SsNrNOjw.js → index-gz2G0uzR.js} +139 -139
- package/ui-dist/assets/{input-DW5WzZI0.js → input-BXe2NHXn.js} +1 -1
- package/ui-dist/assets/{label-BnuPQCxV.js → label-DQF_gQPD.js} +1 -1
- package/ui-dist/assets/{mention-chips-DtMro9HO.js → mention-chips-DvkvqPRN.js} +1 -1
- package/ui-dist/assets/{rotate-ccw-wat5PoA5.js → rotate-ccw-ChQUphBj.js} +1 -1
- package/ui-dist/assets/{select-CtJdi3BB.js → select-D6aktlIu.js} +1 -1
- package/ui-dist/assets/{sheet-5L45GZhN.js → sheet-C7Sbfc1a.js} +1 -1
- package/ui-dist/assets/{skeleton-Cea_xEjg.js → skeleton-C4VrwCAM.js} +1 -1
- package/ui-dist/assets/{tabs-CVzr4EnB.js → tabs-CFRGyc3-.js} +1 -1
- package/ui-dist/assets/{use-adapter-capabilities-BzuoLi4n.js → use-adapter-capabilities-1OSpmnRd.js} +1 -1
- package/ui-dist/assets/{use-copy-action-D1yLO8Yp.js → use-copy-action-C4qGxoRm.js} +1 -1
- package/ui-dist/assets/{useHiddenSettings-DuLvvhZD.js → useHiddenSettings-gzjlybPM.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":"AAslaA,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, continueIssueForOwnerSchema, 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,46 @@ 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
|
+
});
|
|
7804
|
+
registry.registerPath({
|
|
7805
|
+
method: "post",
|
|
7806
|
+
path: "/api/issues/{id}/continue-for-owner",
|
|
7807
|
+
tags: ["issues"],
|
|
7808
|
+
summary: "Relay a board user's own request to continue a recovery-held issue",
|
|
7809
|
+
description: "Agent runs only. When an issue shows 'Recovery needed' (execution stopped and automatic recovery is held), posts the owner's own message that started this run (an owner WhatsApp message, or their board comment) as that owner's comment, relayed by this agent. A board user's own message is the explicit continuation request: the hold is resolved and the message starts a new run; actions with unverified outcomes are not repeated. ownerMessageRef must be that message's id, sent after the run stopped. One message continues one held issue.",
|
|
7810
|
+
request: {
|
|
7811
|
+
params: z.object({ id: z.string() }),
|
|
7812
|
+
body: jsonBody(continueIssueForOwnerSchema),
|
|
7813
|
+
},
|
|
7814
|
+
responses: {
|
|
7815
|
+
201: { description: "The owner's comment was posted; the held issue continues with it" },
|
|
7816
|
+
400: r.badRequest,
|
|
7817
|
+
401: r.unauthorized,
|
|
7818
|
+
403: { description: "owner_confirmation_required: the run was not started by the owner's own message, the message predates the stop, names other issues, or was already used" },
|
|
7819
|
+
404: r.notFound,
|
|
7820
|
+
409: { description: "execution_recovery_not_held: the issue is not held by execution recovery" },
|
|
7821
|
+
422: { description: "The owner's message has no text" },
|
|
7822
|
+
},
|
|
7823
|
+
});
|
|
7775
7824
|
registry.registerPath({
|
|
7776
7825
|
method: "post",
|
|
7777
7826
|
path: "/api/issues/{id}/interactions/{interactionId}/verdicts",
|