@deliverd/sdk 0.11.0 → 0.11.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/LICENSE +21 -21
- package/README.md +654 -654
- package/dist/released.d.ts +1 -1
- package/dist/released.d.ts.map +1 -1
- package/dist/released.js +533 -0
- package/package.json +59 -59
- package/src/adapters/ai-sdk.ts +59 -59
- package/src/adapters/claude-agent-sdk.ts +90 -90
- package/src/adapters/index.ts +23 -23
- package/src/adapters/langgraph.ts +202 -202
- package/src/adapters/openai-agents.ts +112 -112
- package/src/adapters/shared.ts +179 -179
- package/src/approvals.ts +342 -342
- package/src/collections.ts +247 -247
- package/src/dev.ts +868 -868
- package/src/duration.ts +21 -21
- package/src/errors.ts +62 -62
- package/src/flows.ts +222 -222
- package/src/gates.ts +366 -366
- package/src/http.ts +217 -217
- package/src/index.ts +444 -444
- package/src/messages.ts +209 -209
- package/src/paging.ts +64 -64
- package/src/released.ts +4049 -3516
- package/src/reports.ts +490 -490
- package/src/reviews.ts +236 -236
- package/src/types.ts +1107 -1107
- package/src/webhooks.ts +117 -117
package/dist/released.d.ts
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
* **Add the version here when you publish it, not before.** An entry is a
|
|
44
44
|
* claim that `npm install @deliverd/sdk@x` works today.
|
|
45
45
|
*/
|
|
46
|
-
export declare const PUBLISHED_TO_NPM: readonly ["0.1.0", "0.2.0", "0.3.0", "0.4.0", "0.5.0", "0.6.0", "0.6.1", "0.6.2", "0.7.0", "0.7.1", "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0"];
|
|
46
|
+
export declare const PUBLISHED_TO_NPM: readonly ["0.1.0", "0.2.0", "0.3.0", "0.4.0", "0.5.0", "0.6.0", "0.6.1", "0.6.2", "0.7.0", "0.7.1", "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.11.0"];
|
|
47
47
|
/**
|
|
48
48
|
* A fingerprint of what each *published* version recorded.
|
|
49
49
|
*
|
package/dist/released.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"released.d.ts","sourceRoot":"","sources":["../src/released.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"released.d.ts","sourceRoot":"","sources":["../src/released.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,6JAiBnB,CAAC;AAEX;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwCzC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAo1HtD,CAAC"}
|
package/dist/released.js
CHANGED
|
@@ -59,6 +59,7 @@ export const PUBLISHED_TO_NPM = [
|
|
|
59
59
|
"0.8.2",
|
|
60
60
|
"0.9.0",
|
|
61
61
|
"0.10.0",
|
|
62
|
+
"0.11.0",
|
|
62
63
|
];
|
|
63
64
|
/**
|
|
64
65
|
* A fingerprint of what each *published* version recorded.
|
|
@@ -111,6 +112,12 @@ export const FROZEN = {
|
|
|
111
112
|
* registry and by a fresh install carrying `concerns` in its types.
|
|
112
113
|
*/
|
|
113
114
|
"0.10.0": "4e092fb6a92e3a93bb929584d34f44efa405e0f8d56cfb262b06d75e4ce817d9",
|
|
115
|
+
/*
|
|
116
|
+
* Agent governance: canExecute, the gate's scope, receipts, cancel, release
|
|
117
|
+
* and evidence, 520 items. Published from c77a501 by the Publish npm
|
|
118
|
+
* SDK workflow (dispatched on main) and confirmed on the registry as latest.
|
|
119
|
+
*/
|
|
120
|
+
"0.11.0": "71dcd224d3f7676646b5a2cd0764cfab6b3eb2823e80dc296d15e40167cadf34",
|
|
114
121
|
};
|
|
115
122
|
export const RELEASED = {
|
|
116
123
|
/*
|
|
@@ -3508,4 +3515,530 @@ export const RELEASED = {
|
|
|
3508
3515
|
"event:gate.rejected",
|
|
3509
3516
|
"event:gate.revoked",
|
|
3510
3517
|
],
|
|
3518
|
+
/*
|
|
3519
|
+
* The open slot after 0.11.0 went to npm. Same surface; anything added
|
|
3520
|
+
* here makes it a minor.
|
|
3521
|
+
*/
|
|
3522
|
+
"0.11.1": [
|
|
3523
|
+
"ApprovalData.concerns",
|
|
3524
|
+
"GateData.concerns",
|
|
3525
|
+
"adapters:ClaudeToolApprovalOptions",
|
|
3526
|
+
"adapters:GraphApprovalRecord",
|
|
3527
|
+
"ApprovalData.approvedInput",
|
|
3528
|
+
"ApprovalData.changes",
|
|
3529
|
+
"ApprovalData.editableFields",
|
|
3530
|
+
"ApprovalData.input",
|
|
3531
|
+
"CreateApprovalInput.editableFields",
|
|
3532
|
+
"CreateApprovalInput.input",
|
|
3533
|
+
"Decision.changes",
|
|
3534
|
+
"Decision.input",
|
|
3535
|
+
"FieldChange.field",
|
|
3536
|
+
"FieldChange.from",
|
|
3537
|
+
"FieldChange.to",
|
|
3538
|
+
"GateData.changes",
|
|
3539
|
+
"GateDecision.changes",
|
|
3540
|
+
"adapters:AiSdkApprovalCall",
|
|
3541
|
+
"adapters:AiSdkApprovalStatus",
|
|
3542
|
+
"adapters:Approver",
|
|
3543
|
+
"adapters:CallDescription",
|
|
3544
|
+
"adapters:CallOutcome",
|
|
3545
|
+
"adapters:ClaudeCanUseTool",
|
|
3546
|
+
"adapters:ClaudeCanUseToolContext",
|
|
3547
|
+
"adapters:ClaudePermissionResult",
|
|
3548
|
+
"adapters:DEFAULT_TOOL_EXPIRY",
|
|
3549
|
+
"adapters:DeliverdInterruptValue",
|
|
3550
|
+
"adapters:GraphApprover",
|
|
3551
|
+
"adapters:GraphDecision",
|
|
3552
|
+
"adapters:OpenAiApprovalItem",
|
|
3553
|
+
"adapters:OpenAiInterruptedResult",
|
|
3554
|
+
"adapters:ToolApprovalOptions",
|
|
3555
|
+
"adapters:approveInGraph",
|
|
3556
|
+
"adapters:defaultDescription",
|
|
3557
|
+
"adapters:deliverdCanUseTool",
|
|
3558
|
+
"adapters:deliverdToolApproval",
|
|
3559
|
+
"adapters:resolveInterruptions",
|
|
3560
|
+
"adapters:resumeFromCallback",
|
|
3561
|
+
"adapters:runWithDeliverdApprovals",
|
|
3562
|
+
"Approval",
|
|
3563
|
+
"ApprovalData.approvalsSoFar",
|
|
3564
|
+
"ApprovalData.approvers",
|
|
3565
|
+
"ApprovalData.createdAt",
|
|
3566
|
+
"ApprovalData.decidedAt",
|
|
3567
|
+
"ApprovalData.decidedBy",
|
|
3568
|
+
"ApprovalData.decidedById",
|
|
3569
|
+
"ApprovalData.description",
|
|
3570
|
+
"ApprovalData.expiresAt",
|
|
3571
|
+
"ApprovalData.externalId",
|
|
3572
|
+
"ApprovalData.factors",
|
|
3573
|
+
"ApprovalData.id",
|
|
3574
|
+
"ApprovalData.links",
|
|
3575
|
+
"ApprovalData.metadata",
|
|
3576
|
+
"ApprovalData.note",
|
|
3577
|
+
"ApprovalData.questions",
|
|
3578
|
+
"ApprovalData.reportId",
|
|
3579
|
+
"ApprovalData.requestedBy",
|
|
3580
|
+
"ApprovalData.requiredApprovals",
|
|
3581
|
+
"ApprovalData.risk",
|
|
3582
|
+
"ApprovalData.status",
|
|
3583
|
+
"ApprovalData.title",
|
|
3584
|
+
"ApprovalData.url",
|
|
3585
|
+
"ApprovalFactor.detail",
|
|
3586
|
+
"ApprovalFactor.label",
|
|
3587
|
+
"ApprovalFactor.status",
|
|
3588
|
+
"ApprovalLink.label",
|
|
3589
|
+
"ApprovalLink.url",
|
|
3590
|
+
"ApprovalQuestion.answer",
|
|
3591
|
+
"ApprovalQuestion.answeredAt",
|
|
3592
|
+
"ApprovalQuestion.askedAt",
|
|
3593
|
+
"ApprovalQuestion.id",
|
|
3594
|
+
"ApprovalQuestion.question",
|
|
3595
|
+
"Approvals",
|
|
3596
|
+
"ApproveOptions",
|
|
3597
|
+
"CallbackEnvelope.data",
|
|
3598
|
+
"CallbackEnvelope.event",
|
|
3599
|
+
"CallbackEnvelope.requestId",
|
|
3600
|
+
"CallbackEnvelope.requestType",
|
|
3601
|
+
"CallbackEnvelope.sentAt",
|
|
3602
|
+
"ClientOptions",
|
|
3603
|
+
"CollectOptions",
|
|
3604
|
+
"CollectWaitOptions",
|
|
3605
|
+
"CollectedAnswers.answers",
|
|
3606
|
+
"CollectedAnswers.collection",
|
|
3607
|
+
"CollectedAnswers.complete",
|
|
3608
|
+
"CollectedAnswers.id",
|
|
3609
|
+
"CollectedAnswers.responses",
|
|
3610
|
+
"CollectedAnswers.status",
|
|
3611
|
+
"CollectedAnswers.url",
|
|
3612
|
+
"Collection",
|
|
3613
|
+
"CollectionData.askedCount",
|
|
3614
|
+
"CollectionData.createdAt",
|
|
3615
|
+
"CollectionData.dueAt",
|
|
3616
|
+
"CollectionData.expiresAt",
|
|
3617
|
+
"CollectionData.externalId",
|
|
3618
|
+
"CollectionData.id",
|
|
3619
|
+
"CollectionData.instructions",
|
|
3620
|
+
"CollectionData.metadata",
|
|
3621
|
+
"CollectionData.questions",
|
|
3622
|
+
"CollectionData.reportId",
|
|
3623
|
+
"CollectionData.requestedBy",
|
|
3624
|
+
"CollectionData.requiredResponses",
|
|
3625
|
+
"CollectionData.responses",
|
|
3626
|
+
"CollectionData.settledAt",
|
|
3627
|
+
"CollectionData.status",
|
|
3628
|
+
"CollectionData.submittedCount",
|
|
3629
|
+
"CollectionData.title",
|
|
3630
|
+
"CollectionData.url",
|
|
3631
|
+
"CollectionQuestion.help",
|
|
3632
|
+
"CollectionQuestion.id",
|
|
3633
|
+
"CollectionQuestion.kind",
|
|
3634
|
+
"CollectionQuestion.options",
|
|
3635
|
+
"CollectionQuestion.prompt",
|
|
3636
|
+
"CollectionQuestion.required",
|
|
3637
|
+
"CollectionReply.answers",
|
|
3638
|
+
"CollectionReply.respondent",
|
|
3639
|
+
"CollectionReply.status",
|
|
3640
|
+
"CollectionReply.submittedAt",
|
|
3641
|
+
"Collections",
|
|
3642
|
+
"CommentThread.messages",
|
|
3643
|
+
"CommentThread.quote",
|
|
3644
|
+
"CommentThread.status",
|
|
3645
|
+
"CommentThread.threadId",
|
|
3646
|
+
"Comments",
|
|
3647
|
+
"CreateApprovalInput.approvers",
|
|
3648
|
+
"CreateApprovalInput.callbackUrl",
|
|
3649
|
+
"CreateApprovalInput.description",
|
|
3650
|
+
"CreateApprovalInput.expiresAt",
|
|
3651
|
+
"CreateApprovalInput.externalId",
|
|
3652
|
+
"CreateApprovalInput.factors",
|
|
3653
|
+
"CreateApprovalInput.flowId",
|
|
3654
|
+
"CreateApprovalInput.links",
|
|
3655
|
+
"CreateApprovalInput.metadata",
|
|
3656
|
+
"CreateApprovalInput.reportId",
|
|
3657
|
+
"CreateApprovalInput.risk",
|
|
3658
|
+
"CreateApprovalInput.title",
|
|
3659
|
+
"CreateCollectionInput.callbackUrl",
|
|
3660
|
+
"CreateCollectionInput.dueAt",
|
|
3661
|
+
"CreateCollectionInput.expiresAt",
|
|
3662
|
+
"CreateCollectionInput.externalId",
|
|
3663
|
+
"CreateCollectionInput.flowId",
|
|
3664
|
+
"CreateCollectionInput.instructions",
|
|
3665
|
+
"CreateCollectionInput.metadata",
|
|
3666
|
+
"CreateCollectionInput.questions",
|
|
3667
|
+
"CreateCollectionInput.reportId",
|
|
3668
|
+
"CreateCollectionInput.requiredResponses",
|
|
3669
|
+
"CreateCollectionInput.respondents",
|
|
3670
|
+
"CreateCollectionInput.title",
|
|
3671
|
+
"CreateFlowInput.description",
|
|
3672
|
+
"CreateFlowInput.externalId",
|
|
3673
|
+
"CreateFlowInput.metadata",
|
|
3674
|
+
"CreateFlowInput.title",
|
|
3675
|
+
"CreateFlowInput.workspaceId",
|
|
3676
|
+
"CreateGateInput.actionId",
|
|
3677
|
+
"CreateGateInput.environment",
|
|
3678
|
+
"CreateGateInput.externalId",
|
|
3679
|
+
"CreateGateInput.flowId",
|
|
3680
|
+
"CreateGateInput.input",
|
|
3681
|
+
"CreateGateInput.reason",
|
|
3682
|
+
"CreateReviewInput.callbackUrl",
|
|
3683
|
+
"CreateReviewInput.expiresAt",
|
|
3684
|
+
"CreateReviewInput.externalId",
|
|
3685
|
+
"CreateReviewInput.flowId",
|
|
3686
|
+
"CreateReviewInput.instructions",
|
|
3687
|
+
"CreateReviewInput.metadata",
|
|
3688
|
+
"CreateReviewInput.reportId",
|
|
3689
|
+
"CreateReviewInput.requiredApprovals",
|
|
3690
|
+
"CreateReviewInput.reviewers",
|
|
3691
|
+
"CreateReviewInput.title",
|
|
3692
|
+
"CreateReviewInput.versionId",
|
|
3693
|
+
"DEFAULT_BASE_URL",
|
|
3694
|
+
"DEFAULT_EXPIRY",
|
|
3695
|
+
"DELIVERY_HEADER",
|
|
3696
|
+
"Decision.approval",
|
|
3697
|
+
"Decision.approved",
|
|
3698
|
+
"Decision.decidedAt",
|
|
3699
|
+
"Decision.decidedBy",
|
|
3700
|
+
"Decision.decidedById",
|
|
3701
|
+
"Decision.id",
|
|
3702
|
+
"Decision.note",
|
|
3703
|
+
"Decision.status",
|
|
3704
|
+
"Decision.url",
|
|
3705
|
+
"Deliverd",
|
|
3706
|
+
"DeliverdError",
|
|
3707
|
+
"DeliverdOptions",
|
|
3708
|
+
"DeliverdTimeoutError",
|
|
3709
|
+
"Duration",
|
|
3710
|
+
"EVENT_HEADER",
|
|
3711
|
+
"EvidenceEvent.actor",
|
|
3712
|
+
"EvidenceEvent.actorType",
|
|
3713
|
+
"EvidenceEvent.at",
|
|
3714
|
+
"EvidenceEvent.event",
|
|
3715
|
+
"EvidenceEvent.metadata",
|
|
3716
|
+
"EvidenceEvent.step",
|
|
3717
|
+
"EvidenceOutcome.at",
|
|
3718
|
+
"EvidenceOutcome.note",
|
|
3719
|
+
"EvidenceOutcome.said",
|
|
3720
|
+
"EvidenceOutcome.who",
|
|
3721
|
+
"EvidencePack.generatedAt",
|
|
3722
|
+
"EvidencePack.generatedBy",
|
|
3723
|
+
"EvidencePack.integrity",
|
|
3724
|
+
"EvidencePack.organisation",
|
|
3725
|
+
"EvidencePack.packVersion",
|
|
3726
|
+
"EvidencePack.steps",
|
|
3727
|
+
"EvidencePack.subject",
|
|
3728
|
+
"EvidencePack.summary",
|
|
3729
|
+
"EvidencePack.timeline",
|
|
3730
|
+
"EvidenceStep.asked",
|
|
3731
|
+
"EvidenceStep.createdAt",
|
|
3732
|
+
"EvidenceStep.detail",
|
|
3733
|
+
"EvidenceStep.id",
|
|
3734
|
+
"EvidenceStep.kind",
|
|
3735
|
+
"EvidenceStep.outcomes",
|
|
3736
|
+
"EvidenceStep.requestedBy",
|
|
3737
|
+
"EvidenceStep.requestedByAgent",
|
|
3738
|
+
"EvidenceStep.settledAt",
|
|
3739
|
+
"EvidenceStep.status",
|
|
3740
|
+
"EvidenceStep.title",
|
|
3741
|
+
"EvidenceStep.url",
|
|
3742
|
+
"Flow",
|
|
3743
|
+
"FlowData.allSettled",
|
|
3744
|
+
"FlowData.createdAt",
|
|
3745
|
+
"FlowData.description",
|
|
3746
|
+
"FlowData.externalId",
|
|
3747
|
+
"FlowData.id",
|
|
3748
|
+
"FlowData.memberCount",
|
|
3749
|
+
"FlowData.members",
|
|
3750
|
+
"FlowData.metadata",
|
|
3751
|
+
"FlowData.openCount",
|
|
3752
|
+
"FlowData.settledAt",
|
|
3753
|
+
"FlowData.startedBy",
|
|
3754
|
+
"FlowData.status",
|
|
3755
|
+
"FlowData.timeline",
|
|
3756
|
+
"FlowData.title",
|
|
3757
|
+
"FlowData.url",
|
|
3758
|
+
"FlowEvent.actor",
|
|
3759
|
+
"FlowEvent.actorType",
|
|
3760
|
+
"FlowEvent.at",
|
|
3761
|
+
"FlowEvent.event",
|
|
3762
|
+
"FlowEvent.resourceId",
|
|
3763
|
+
"FlowEvent.resourceType",
|
|
3764
|
+
"FlowMember.createdAt",
|
|
3765
|
+
"FlowMember.id",
|
|
3766
|
+
"FlowMember.kind",
|
|
3767
|
+
"FlowMember.open",
|
|
3768
|
+
"FlowMember.status",
|
|
3769
|
+
"FlowMember.title",
|
|
3770
|
+
"FlowPrimitives",
|
|
3771
|
+
"Flows",
|
|
3772
|
+
"Gate",
|
|
3773
|
+
"GateData.allowed",
|
|
3774
|
+
"GateData.approvalId",
|
|
3775
|
+
"GateData.approvalUrl",
|
|
3776
|
+
"GateData.basis",
|
|
3777
|
+
"GateData.id",
|
|
3778
|
+
"GateData.input",
|
|
3779
|
+
"GateData.outcome",
|
|
3780
|
+
"GateData.policyVersionId",
|
|
3781
|
+
"GateData.reason",
|
|
3782
|
+
"GateData.reused",
|
|
3783
|
+
"GateData.rule",
|
|
3784
|
+
"GateData.settledAt",
|
|
3785
|
+
"GateData.status",
|
|
3786
|
+
"GateDecision.allowed",
|
|
3787
|
+
"GateDecision.approvalUrl",
|
|
3788
|
+
"GateDecision.gate",
|
|
3789
|
+
"GateDecision.id",
|
|
3790
|
+
"GateDecision.input",
|
|
3791
|
+
"GateDecision.reason",
|
|
3792
|
+
"GateDecision.rule",
|
|
3793
|
+
"GateDecision.status",
|
|
3794
|
+
"GateOptions",
|
|
3795
|
+
"GateWaitOptions",
|
|
3796
|
+
"Gates",
|
|
3797
|
+
"InlineFile.content",
|
|
3798
|
+
"InlineFile.encoding",
|
|
3799
|
+
"InlineFile.path",
|
|
3800
|
+
"ListApprovalsInput.cursor",
|
|
3801
|
+
"ListApprovalsInput.externalId",
|
|
3802
|
+
"ListApprovalsInput.limit",
|
|
3803
|
+
"ListApprovalsInput.status",
|
|
3804
|
+
"ListCollectionsInput.cursor",
|
|
3805
|
+
"ListCollectionsInput.externalId",
|
|
3806
|
+
"ListCollectionsInput.limit",
|
|
3807
|
+
"ListCollectionsInput.status",
|
|
3808
|
+
"ListFlowsInput.cursor",
|
|
3809
|
+
"ListFlowsInput.externalId",
|
|
3810
|
+
"ListFlowsInput.limit",
|
|
3811
|
+
"ListFlowsInput.status",
|
|
3812
|
+
"ListReviewsInput.cursor",
|
|
3813
|
+
"ListReviewsInput.externalId",
|
|
3814
|
+
"ListReviewsInput.limit",
|
|
3815
|
+
"ListReviewsInput.reportId",
|
|
3816
|
+
"ListReviewsInput.status",
|
|
3817
|
+
"OpenThread.author",
|
|
3818
|
+
"OpenThread.authorType",
|
|
3819
|
+
"OpenThread.lastActivityAt",
|
|
3820
|
+
"OpenThread.messages",
|
|
3821
|
+
"OpenThread.quote",
|
|
3822
|
+
"OpenThread.reportId",
|
|
3823
|
+
"OpenThread.reportOwnerId",
|
|
3824
|
+
"OpenThread.reportSlug",
|
|
3825
|
+
"OpenThread.reportTitle",
|
|
3826
|
+
"OpenThread.threadId",
|
|
3827
|
+
"OrgAnalytics.activeReports",
|
|
3828
|
+
"OrgAnalytics.days",
|
|
3829
|
+
"OrgAnalytics.externallySharedReports",
|
|
3830
|
+
"OrgAnalytics.inactiveReports",
|
|
3831
|
+
"OrgAnalytics.publicReports",
|
|
3832
|
+
"OrgAnalytics.publishesInPeriod",
|
|
3833
|
+
"OrgAnalytics.topReports",
|
|
3834
|
+
"OrgAnalytics.totalViews",
|
|
3835
|
+
"OrgAnalytics.uniqueViewers",
|
|
3836
|
+
"POLL_SCHEDULE",
|
|
3837
|
+
"PublishReportInput.audience",
|
|
3838
|
+
"PublishReportInput.changeSummary",
|
|
3839
|
+
"PublishReportInput.classification",
|
|
3840
|
+
"PublishReportInput.content",
|
|
3841
|
+
"PublishReportInput.description",
|
|
3842
|
+
"PublishReportInput.expectedVersion",
|
|
3843
|
+
"PublishReportInput.files",
|
|
3844
|
+
"PublishReportInput.living",
|
|
3845
|
+
"PublishReportInput.slug",
|
|
3846
|
+
"PublishReportInput.sourceModel",
|
|
3847
|
+
"PublishReportInput.sourceTool",
|
|
3848
|
+
"PublishReportInput.title",
|
|
3849
|
+
"PublishReportInput.uploadId",
|
|
3850
|
+
"PublishReportInput.workspaceId",
|
|
3851
|
+
"PublishResult.approval",
|
|
3852
|
+
"PublishResult.report",
|
|
3853
|
+
"PublishResult.status",
|
|
3854
|
+
"PublishResult.version",
|
|
3855
|
+
"PublishResult.warnings",
|
|
3856
|
+
"QuestionInput.help",
|
|
3857
|
+
"QuestionInput.kind",
|
|
3858
|
+
"QuestionInput.options",
|
|
3859
|
+
"QuestionInput.prompt",
|
|
3860
|
+
"QuestionInput.required",
|
|
3861
|
+
"ReportAnalytics.byDay",
|
|
3862
|
+
"ReportAnalytics.byVersion",
|
|
3863
|
+
"ReportAnalytics.externalViewers",
|
|
3864
|
+
"ReportAnalytics.firstViewedAt",
|
|
3865
|
+
"ReportAnalytics.internalViewers",
|
|
3866
|
+
"ReportAnalytics.lastViewedAt",
|
|
3867
|
+
"ReportAnalytics.recentViewers",
|
|
3868
|
+
"ReportAnalytics.reportId",
|
|
3869
|
+
"ReportAnalytics.title",
|
|
3870
|
+
"ReportAnalytics.totalViews",
|
|
3871
|
+
"ReportAnalytics.uniqueViewers",
|
|
3872
|
+
"ReportData.currentVersion",
|
|
3873
|
+
"ReportData.id",
|
|
3874
|
+
"ReportData.slug",
|
|
3875
|
+
"ReportData.status",
|
|
3876
|
+
"ReportData.title",
|
|
3877
|
+
"ReportData.url",
|
|
3878
|
+
"Reports",
|
|
3879
|
+
"Review",
|
|
3880
|
+
"ReviewData.createdAt",
|
|
3881
|
+
"ReviewData.expiresAt",
|
|
3882
|
+
"ReviewData.externalId",
|
|
3883
|
+
"ReviewData.id",
|
|
3884
|
+
"ReviewData.instructions",
|
|
3885
|
+
"ReviewData.metadata",
|
|
3886
|
+
"ReviewData.reportId",
|
|
3887
|
+
"ReviewData.requestedBy",
|
|
3888
|
+
"ReviewData.requiredApprovals",
|
|
3889
|
+
"ReviewData.reviewers",
|
|
3890
|
+
"ReviewData.settledAt",
|
|
3891
|
+
"ReviewData.status",
|
|
3892
|
+
"ReviewData.threadCount",
|
|
3893
|
+
"ReviewData.title",
|
|
3894
|
+
"ReviewData.url",
|
|
3895
|
+
"ReviewData.verdicts",
|
|
3896
|
+
"ReviewData.versionId",
|
|
3897
|
+
"ReviewOptions",
|
|
3898
|
+
"ReviewOutcome.approved",
|
|
3899
|
+
"ReviewOutcome.id",
|
|
3900
|
+
"ReviewOutcome.review",
|
|
3901
|
+
"ReviewOutcome.status",
|
|
3902
|
+
"ReviewOutcome.threadCount",
|
|
3903
|
+
"ReviewOutcome.url",
|
|
3904
|
+
"ReviewOutcome.verdicts",
|
|
3905
|
+
"ReviewVerdict.at",
|
|
3906
|
+
"ReviewVerdict.by",
|
|
3907
|
+
"ReviewVerdict.note",
|
|
3908
|
+
"ReviewVerdict.verdict",
|
|
3909
|
+
"ReviewWaitOptions",
|
|
3910
|
+
"ReviewerRef.id",
|
|
3911
|
+
"ReviewerRef.kind",
|
|
3912
|
+
"ReviewerRef.label",
|
|
3913
|
+
"Reviews",
|
|
3914
|
+
"SIGNATURE_HEADER",
|
|
3915
|
+
"ScheduleSummary.agentId",
|
|
3916
|
+
"ScheduleSummary.agentName",
|
|
3917
|
+
"ScheduleSummary.currentVersion",
|
|
3918
|
+
"ScheduleSummary.due",
|
|
3919
|
+
"ScheduleSummary.dueSince",
|
|
3920
|
+
"ScheduleSummary.enabled",
|
|
3921
|
+
"ScheduleSummary.id",
|
|
3922
|
+
"ScheduleSummary.lastRunAt",
|
|
3923
|
+
"ScheduleSummary.nextRunAt",
|
|
3924
|
+
"ScheduleSummary.recurrence",
|
|
3925
|
+
"ScheduleSummary.reportId",
|
|
3926
|
+
"ScheduleSummary.reportSlug",
|
|
3927
|
+
"ScheduleSummary.reportTitle",
|
|
3928
|
+
"ScheduleSummary.reportUrl",
|
|
3929
|
+
"Schedules",
|
|
3930
|
+
"SendResult.alreadyHadAccess",
|
|
3931
|
+
"SendResult.sent",
|
|
3932
|
+
"TOLERANCE_SECONDS",
|
|
3933
|
+
"WaitOptions",
|
|
3934
|
+
"WebhookEvent.data",
|
|
3935
|
+
"WebhookEvent.event",
|
|
3936
|
+
"WebhookEvent.sentAt",
|
|
3937
|
+
"WebhookEvent.test",
|
|
3938
|
+
"Webhooks",
|
|
3939
|
+
"constructCallback",
|
|
3940
|
+
"constructEvent",
|
|
3941
|
+
"deliverd",
|
|
3942
|
+
"durationMs",
|
|
3943
|
+
"event:access.requested",
|
|
3944
|
+
"event:approval.answered",
|
|
3945
|
+
"event:approval.approved",
|
|
3946
|
+
"event:approval.escalated",
|
|
3947
|
+
"event:approval.expired",
|
|
3948
|
+
"event:approval.question",
|
|
3949
|
+
"event:approval.rejected",
|
|
3950
|
+
"event:approval.requested",
|
|
3951
|
+
"event:collection.completed",
|
|
3952
|
+
"event:collection.requested",
|
|
3953
|
+
"event:comment.created",
|
|
3954
|
+
"event:flow.completed",
|
|
3955
|
+
"event:gate.denied",
|
|
3956
|
+
"event:publish.held",
|
|
3957
|
+
"event:report.published",
|
|
3958
|
+
"event:report.shared",
|
|
3959
|
+
"event:report.updated",
|
|
3960
|
+
"event:report.viewed",
|
|
3961
|
+
"event:review.approved",
|
|
3962
|
+
"event:review.changes_requested",
|
|
3963
|
+
"event:review.requested",
|
|
3964
|
+
"event:schedule.due",
|
|
3965
|
+
"verifySignature",
|
|
3966
|
+
"CreateGateInput.agent",
|
|
3967
|
+
"CreateGateInput.artifact",
|
|
3968
|
+
"CreateGateInput.callbackUrl",
|
|
3969
|
+
"CreateGateInput.classification",
|
|
3970
|
+
"CreateGateInput.description",
|
|
3971
|
+
"CreateGateInput.destination",
|
|
3972
|
+
"CreateGateInput.execution",
|
|
3973
|
+
"CreateGateInput.metadata",
|
|
3974
|
+
"CreateGateInput.risk",
|
|
3975
|
+
"CreateGateInput.supersedesGateId",
|
|
3976
|
+
"Destination.id",
|
|
3977
|
+
"Destination.label",
|
|
3978
|
+
"Destination.type",
|
|
3979
|
+
"ExecutionReceipt.artifactSha256",
|
|
3980
|
+
"ExecutionReceipt.claimId",
|
|
3981
|
+
"ExecutionReceipt.createdAt",
|
|
3982
|
+
"ExecutionReceipt.destination",
|
|
3983
|
+
"ExecutionReceipt.detail",
|
|
3984
|
+
"ExecutionReceipt.executedAt",
|
|
3985
|
+
"ExecutionReceipt.gateId",
|
|
3986
|
+
"ExecutionReceipt.id",
|
|
3987
|
+
"ExecutionReceipt.phase",
|
|
3988
|
+
"ExecutionReceipt.reportedBy",
|
|
3989
|
+
"ExecutionReceipt.result",
|
|
3990
|
+
"ExecutionReceipt.verification",
|
|
3991
|
+
"GateAgentRef.externalId",
|
|
3992
|
+
"GateAgentRef.id",
|
|
3993
|
+
"GateAgentRef.name",
|
|
3994
|
+
"GateAgentRef.provider",
|
|
3995
|
+
"GateArtifactRef.mimeType",
|
|
3996
|
+
"GateArtifactRef.name",
|
|
3997
|
+
"GateArtifactRef.reportId",
|
|
3998
|
+
"GateArtifactRef.sha256",
|
|
3999
|
+
"GateArtifactRef.size",
|
|
4000
|
+
"GateArtifactRef.uri",
|
|
4001
|
+
"GateArtifactRef.versionId",
|
|
4002
|
+
"GateData.actionId",
|
|
4003
|
+
"GateData.agentId",
|
|
4004
|
+
"GateData.authorisation",
|
|
4005
|
+
"GateData.blockedBecause",
|
|
4006
|
+
"GateData.callbackSecret",
|
|
4007
|
+
"GateData.canExecute",
|
|
4008
|
+
"GateData.createdAt",
|
|
4009
|
+
"GateData.decision",
|
|
4010
|
+
"GateData.description",
|
|
4011
|
+
"GateData.executions",
|
|
4012
|
+
"GateData.flowId",
|
|
4013
|
+
"GateData.requestedBy",
|
|
4014
|
+
"GateData.scope",
|
|
4015
|
+
"GateData.supersedesGateId",
|
|
4016
|
+
"GateExecutionRef.objective",
|
|
4017
|
+
"GateExecutionRef.parentFlowId",
|
|
4018
|
+
"GateExecutionRef.providerExecutionId",
|
|
4019
|
+
"GateExecutionRef.title",
|
|
4020
|
+
"GateScope.artifact",
|
|
4021
|
+
"GateScope.classification",
|
|
4022
|
+
"GateScope.destination",
|
|
4023
|
+
"GateScope.digest",
|
|
4024
|
+
"GateScope.recipientScope",
|
|
4025
|
+
"GateScope.risk",
|
|
4026
|
+
"RecordExecutionInput.agent",
|
|
4027
|
+
"RecordExecutionInput.artifactSha256",
|
|
4028
|
+
"RecordExecutionInput.claimId",
|
|
4029
|
+
"RecordExecutionInput.destination",
|
|
4030
|
+
"RecordExecutionInput.detail",
|
|
4031
|
+
"RecordExecutionInput.executedAt",
|
|
4032
|
+
"RecordExecutionInput.phase",
|
|
4033
|
+
"RecordExecutionInput.result",
|
|
4034
|
+
"event:approval.changes_requested",
|
|
4035
|
+
"event:gate.approved",
|
|
4036
|
+
"event:gate.cancelled",
|
|
4037
|
+
"event:gate.changes_requested",
|
|
4038
|
+
"event:gate.created",
|
|
4039
|
+
"event:gate.executed",
|
|
4040
|
+
"event:gate.expired",
|
|
4041
|
+
"event:gate.rejected",
|
|
4042
|
+
"event:gate.revoked",
|
|
4043
|
+
],
|
|
3511
4044
|
};
|
package/package.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@deliverd/sdk",
|
|
3
|
-
"version": "0.11.
|
|
4
|
-
"description": "Add human approval to any AI agent. Ask a person, wait for the answer, act on it.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"default": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./adapters": {
|
|
14
|
-
"types": "./dist/adapters/index.d.ts",
|
|
15
|
-
"default": "./dist/adapters/index.js"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"dist",
|
|
20
|
-
"src",
|
|
21
|
-
"!src/**/*.test.ts",
|
|
22
|
-
"README.md",
|
|
23
|
-
"LICENSE"
|
|
24
|
-
],
|
|
25
|
-
"publishConfig": {
|
|
26
|
-
"access": "public"
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsc",
|
|
30
|
-
"typecheck": "tsc --noEmit",
|
|
31
|
-
"prepublishOnly": "npm run build"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/node": "^20",
|
|
35
|
-
"typescript": "^5",
|
|
36
|
-
"vitest": "^4.1.11"
|
|
37
|
-
},
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">=20"
|
|
40
|
-
},
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"keywords": [
|
|
43
|
-
"ai",
|
|
44
|
-
"agent",
|
|
45
|
-
"approval",
|
|
46
|
-
"human-in-the-loop",
|
|
47
|
-
"mcp",
|
|
48
|
-
"deliverd"
|
|
49
|
-
],
|
|
50
|
-
"homepage": "https://deliverd.dev/developers",
|
|
51
|
-
"repository": {
|
|
52
|
-
"type": "git",
|
|
53
|
-
"url": "git+https://github.com/davidpreid/deliverd.git",
|
|
54
|
-
"directory": "packages/sdk"
|
|
55
|
-
},
|
|
56
|
-
"bugs": {
|
|
57
|
-
"url": "https://github.com/davidpreid/deliverd/issues"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@deliverd/sdk",
|
|
3
|
+
"version": "0.11.1",
|
|
4
|
+
"description": "Add human approval to any AI agent. Ask a person, wait for the answer, act on it.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./adapters": {
|
|
14
|
+
"types": "./dist/adapters/index.d.ts",
|
|
15
|
+
"default": "./dist/adapters/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"src",
|
|
21
|
+
"!src/**/*.test.ts",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc",
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"prepublishOnly": "npm run build"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^20",
|
|
35
|
+
"typescript": "^5",
|
|
36
|
+
"vitest": "^4.1.11"
|
|
37
|
+
},
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=20"
|
|
40
|
+
},
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"keywords": [
|
|
43
|
+
"ai",
|
|
44
|
+
"agent",
|
|
45
|
+
"approval",
|
|
46
|
+
"human-in-the-loop",
|
|
47
|
+
"mcp",
|
|
48
|
+
"deliverd"
|
|
49
|
+
],
|
|
50
|
+
"homepage": "https://deliverd.dev/developers",
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "git+https://github.com/davidpreid/deliverd.git",
|
|
54
|
+
"directory": "packages/sdk"
|
|
55
|
+
},
|
|
56
|
+
"bugs": {
|
|
57
|
+
"url": "https://github.com/davidpreid/deliverd/issues"
|
|
58
|
+
}
|
|
59
|
+
}
|