@ancha-labs/cli 0.4.20 → 0.4.22
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/bin/ancha.mjs +15 -1
- package/lib/ancha.mjs +37468 -34887
- package/lib/assets/docs/apps.md +1 -1
- package/lib/assets/docs/compare.md +2 -0
- package/lib/assets/docs/explain.md +3 -0
- package/lib/assets/docs/run.md +3 -1
- package/lib/assets/docs/scenes.md +39 -0
- package/lib/assets/docs/setup.md +1 -1
- package/lib/assets/docs/tools.md +44 -0
- package/lib/assets/harbor/companion.mjs +9574 -8019
- package/lib/assets/templates/starter/scene.yaml +1 -1
- package/lib/assets/ui/app.js +84 -55
- package/lib/mcp-entry.mjs +127 -6
- package/lib/worker.mjs +37887 -35628
- package/lib/world-server.mjs +9508 -7953
- package/package.json +1 -1
package/lib/mcp-entry.mjs
CHANGED
|
@@ -62082,6 +62082,18 @@ function lobStarterSeed() {
|
|
|
62082
62082
|
});
|
|
62083
62083
|
}
|
|
62084
62084
|
|
|
62085
|
+
// packages/core/src/tools/state-check.ts
|
|
62086
|
+
var recordCountFields = {
|
|
62087
|
+
exists: external_exports.boolean().optional(),
|
|
62088
|
+
count_eq: external_exports.number().int().nonnegative().optional(),
|
|
62089
|
+
count_gte: external_exports.number().int().nonnegative().optional(),
|
|
62090
|
+
after_start: external_exports.boolean().optional()
|
|
62091
|
+
};
|
|
62092
|
+
var validRecordCount = (c) => (c.count_eq === void 0 || c.count_gte === void 0) && (c.exists === void 0 || c.count_eq === void 0 && c.count_gte === void 0);
|
|
62093
|
+
var recordCountMessage = "use exists, count_eq, or count_gte, not more than one";
|
|
62094
|
+
var checkText = external_exports.union([external_exports.string().min(1), external_exports.array(external_exports.string().min(1)).min(1)]);
|
|
62095
|
+
var nativeOrRef = (kind) => external_exports.string().min(1).refine((s) => !s.startsWith("$") || new RegExp(`^\\$(?:${kind}\\.)?[A-Za-z0-9_-]{1,80}$`).test(s), `expected a native id or $${kind}.ref`);
|
|
62096
|
+
|
|
62085
62097
|
// packages/core/src/tools/paypal.ts
|
|
62086
62098
|
var EMAIL8 = /^[^\s<>@",;:()[\]\\]+@[^\s<>@",;:()[\]\\]+\.[^\s<>@",;:()[\]\\]+$/;
|
|
62087
62099
|
var ref14 = external_exports.string().regex(/^[A-Za-z0-9_-]{1,80}$/);
|
|
@@ -62275,6 +62287,48 @@ var paypalStarterSeed = {
|
|
|
62275
62287
|
}
|
|
62276
62288
|
]
|
|
62277
62289
|
};
|
|
62290
|
+
var checkItem = external_exports.strictObject({
|
|
62291
|
+
name: external_exports.string().min(1),
|
|
62292
|
+
quantity: external_exports.string().regex(/^\d+(\.\d{1,2})?$/).optional(),
|
|
62293
|
+
unit_amount: money4.optional(),
|
|
62294
|
+
tax: money4.optional(),
|
|
62295
|
+
tax_percent: external_exports.string().regex(/^\d+(\.\d{1,2})?$/).optional()
|
|
62296
|
+
});
|
|
62297
|
+
var PayPalInvoiceCheckSchema = external_exports.strictObject({
|
|
62298
|
+
id: external_exports.string().min(1).refine((s) => !s.startsWith("$"), "use a native invoice id").optional(),
|
|
62299
|
+
status: external_exports.enum(["DRAFT", "SENT", "SCHEDULED", "PAID", "MARKED_AS_PAID", "CANCELLED", "REFUNDED", "PARTIALLY_PAID", "PARTIALLY_REFUNDED", "MARKED_AS_REFUNDED", "UNPAID", "PAYMENT_PENDING"]).optional(),
|
|
62300
|
+
recipient: external_exports.string().regex(EMAIL8).optional(),
|
|
62301
|
+
currency: external_exports.string().regex(/^[A-Z]{3}$/).optional(),
|
|
62302
|
+
total: money4.optional(),
|
|
62303
|
+
tax: money4.optional(),
|
|
62304
|
+
sent: external_exports.boolean().optional(),
|
|
62305
|
+
items: external_exports.array(checkItem).min(1).optional(),
|
|
62306
|
+
...recordCountFields
|
|
62307
|
+
}).refine(validRecordCount, recordCountMessage);
|
|
62308
|
+
var PayPalOrderCheckSchema = external_exports.strictObject({
|
|
62309
|
+
id: nativeOrRef("order").optional(),
|
|
62310
|
+
status: external_exports.enum(["CREATED", "SAVED", "APPROVED", "VOIDED", "COMPLETED", "PAYER_ACTION_REQUIRED"]).optional(),
|
|
62311
|
+
intent: external_exports.enum(["CAPTURE", "AUTHORIZE"]).optional(),
|
|
62312
|
+
payer_email: external_exports.string().regex(EMAIL8).optional(),
|
|
62313
|
+
description_contains: checkText.optional(),
|
|
62314
|
+
invoice_id: external_exports.string().min(1).optional(),
|
|
62315
|
+
currency: external_exports.string().regex(/^[A-Z]{3}$/).optional(),
|
|
62316
|
+
total: money4.optional(),
|
|
62317
|
+
tax: money4.optional(),
|
|
62318
|
+
items: external_exports.array(checkItem.omit({ tax_percent: true, tax: true })).min(1).optional(),
|
|
62319
|
+
...recordCountFields
|
|
62320
|
+
}).refine(validRecordCount, recordCountMessage);
|
|
62321
|
+
var PayPalPaymentCheckSchema = external_exports.strictObject({
|
|
62322
|
+
id: external_exports.string().min(1).refine((s) => !s.startsWith("$"), "use a native payment id").optional(),
|
|
62323
|
+
order: nativeOrRef("order").optional(),
|
|
62324
|
+
status: external_exports.enum(["COMPLETED", "DECLINED", "PARTIALLY_REFUNDED", "PENDING", "REFUNDED", "FAILED"]).optional(),
|
|
62325
|
+
payer_email: external_exports.string().regex(EMAIL8).optional(),
|
|
62326
|
+
currency: external_exports.string().regex(/^[A-Z]{3}$/).optional(),
|
|
62327
|
+
amount: money4.optional(),
|
|
62328
|
+
refunded: money4.optional(),
|
|
62329
|
+
invoice_id: external_exports.string().min(1).optional(),
|
|
62330
|
+
...recordCountFields
|
|
62331
|
+
}).refine(validRecordCount, recordCountMessage);
|
|
62278
62332
|
|
|
62279
62333
|
// packages/core/src/tools/jira.ts
|
|
62280
62334
|
var JIRA_STATUSES = ["To Do", "In Progress", "In Review", "Done"];
|
|
@@ -62548,6 +62602,31 @@ var jiraStarterSeed = {
|
|
|
62548
62602
|
],
|
|
62549
62603
|
links: [{ type: "Relates", outward: "sup_ridgeway", inward: "ops_loadtest" }, { type: "Blocks", outward: "ops_slow", inward: "ops_alert" }]
|
|
62550
62604
|
};
|
|
62605
|
+
var JiraIssueCheckSchema = external_exports.strictObject({
|
|
62606
|
+
project: projectKey,
|
|
62607
|
+
issue: nativeOrRef("issue").optional(),
|
|
62608
|
+
type: external_exports.enum(JIRA_ISSUE_TYPES).optional(),
|
|
62609
|
+
summary_contains: checkText.optional(),
|
|
62610
|
+
description_contains: checkText.optional(),
|
|
62611
|
+
labels: external_exports.array(external_exports.string().min(1)).optional(),
|
|
62612
|
+
assignee: nativeOrRef("user").nullable().optional(),
|
|
62613
|
+
status: external_exports.enum(JIRA_STATUSES).optional(),
|
|
62614
|
+
parent: nativeOrRef("issue").nullable().optional(),
|
|
62615
|
+
...recordCountFields
|
|
62616
|
+
}).refine(validRecordCount, recordCountMessage);
|
|
62617
|
+
var JiraCommentCheckSchema = external_exports.strictObject({
|
|
62618
|
+
issue: nativeOrRef("issue"),
|
|
62619
|
+
author: nativeOrRef("user").optional(),
|
|
62620
|
+
text_contains: checkText.optional(),
|
|
62621
|
+
...recordCountFields
|
|
62622
|
+
}).refine(validRecordCount, recordCountMessage);
|
|
62623
|
+
var JiraTransitionCheckSchema = external_exports.strictObject({
|
|
62624
|
+
issue: nativeOrRef("issue"),
|
|
62625
|
+
from: external_exports.enum(JIRA_STATUSES).optional(),
|
|
62626
|
+
to: external_exports.enum(JIRA_STATUSES),
|
|
62627
|
+
author: nativeOrRef("user").optional(),
|
|
62628
|
+
...recordCountFields
|
|
62629
|
+
}).refine(validRecordCount, recordCountMessage);
|
|
62551
62630
|
|
|
62552
62631
|
// packages/core/src/tools/kalshi.ts
|
|
62553
62632
|
var KALSHI_TIME_IN_FORCE = ["fill_or_kill", "good_till_canceled", "immediate_or_cancel"];
|
|
@@ -66796,7 +66875,12 @@ var SlackSeedSchema = external_exports.strictObject({
|
|
|
66796
66875
|
bot: refUse3.optional(),
|
|
66797
66876
|
users: external_exports.array(SlackUserSeed),
|
|
66798
66877
|
channels: external_exports.array(SlackChannelSeed),
|
|
66799
|
-
messages: external_exports.array(SlackMessageSeed).optional()
|
|
66878
|
+
messages: external_exports.array(SlackMessageSeed).optional(),
|
|
66879
|
+
canvases: external_exports.array(external_exports.strictObject({
|
|
66880
|
+
title: external_exports.string(),
|
|
66881
|
+
markdown: external_exports.string().max(1048576),
|
|
66882
|
+
channel: refUse3.optional()
|
|
66883
|
+
})).optional()
|
|
66800
66884
|
});
|
|
66801
66885
|
var SlackMessageCheckSchema = external_exports.strictObject({
|
|
66802
66886
|
channel: refUse3,
|
|
@@ -66805,6 +66889,24 @@ var SlackMessageCheckSchema = external_exports.strictObject({
|
|
|
66805
66889
|
text_contains: external_exports.string().optional(),
|
|
66806
66890
|
in_thread_of: refUse3.optional()
|
|
66807
66891
|
});
|
|
66892
|
+
var SlackCanvasCheckSchema = external_exports.strictObject({
|
|
66893
|
+
title: external_exports.string(),
|
|
66894
|
+
markdown_contains: external_exports.string().optional(),
|
|
66895
|
+
channel: refUse3.optional(),
|
|
66896
|
+
count_gte: external_exports.number().int().positive().default(1)
|
|
66897
|
+
});
|
|
66898
|
+
var GitHubContentEditSeed = external_exports.strictObject({
|
|
66899
|
+
editor: refUse3.optional(),
|
|
66900
|
+
at: external_exports.iso.datetime({ offset: true })
|
|
66901
|
+
});
|
|
66902
|
+
var GitHubTimelineBase = external_exports.strictObject({ actor: refUse3.optional(), at: external_exports.iso.datetime({ offset: true }) });
|
|
66903
|
+
var GitHubTimelineSeed = external_exports.discriminatedUnion("type", [
|
|
66904
|
+
GitHubTimelineBase.extend({ type: external_exports.literal("LabeledEvent"), label: external_exports.string().min(1) }),
|
|
66905
|
+
GitHubTimelineBase.extend({ type: external_exports.literal("UnlabeledEvent"), label: external_exports.string().min(1) }),
|
|
66906
|
+
GitHubTimelineBase.extend({ type: external_exports.literal("RenamedTitleEvent"), previousTitle: external_exports.string(), currentTitle: external_exports.string() }),
|
|
66907
|
+
GitHubTimelineBase.extend({ type: external_exports.literal("ReopenedEvent") }),
|
|
66908
|
+
GitHubTimelineBase.extend({ type: external_exports.literal("ClosedEvent") })
|
|
66909
|
+
]);
|
|
66808
66910
|
var GitHubSeedSchema = external_exports.strictObject({
|
|
66809
66911
|
users: external_exports.array(external_exports.strictObject({ ref: refName3, login: external_exports.string(), name: external_exports.string().optional(), email: external_exports.string().optional() })).optional(),
|
|
66810
66912
|
bot: refUse3.optional(),
|
|
@@ -66842,6 +66944,7 @@ var GitHubSeedSchema = external_exports.strictObject({
|
|
|
66842
66944
|
draft: external_exports.boolean().optional(),
|
|
66843
66945
|
user: refUse3.optional().describe("Author; defaults to the GitHub bot"),
|
|
66844
66946
|
labels: external_exports.array(external_exports.string()).optional(),
|
|
66947
|
+
assignees: external_exports.array(refUse3).optional().describe("Assigned GitHub users"),
|
|
66845
66948
|
at: duration6("Creation offset from start_time; must be <= 0; defaults to start_time").optional()
|
|
66846
66949
|
})).optional(),
|
|
66847
66950
|
issues: external_exports.array(external_exports.strictObject({
|
|
@@ -66852,8 +66955,16 @@ var GitHubSeedSchema = external_exports.strictObject({
|
|
|
66852
66955
|
state: external_exports.enum(["open", "closed"]).optional(),
|
|
66853
66956
|
user: refUse3.optional().describe("Author; defaults to the GitHub bot"),
|
|
66854
66957
|
labels: external_exports.array(external_exports.string()).optional(),
|
|
66958
|
+
assignees: external_exports.array(refUse3).optional().describe("Assigned GitHub users"),
|
|
66855
66959
|
at: duration6("Creation offset from start_time; must be <= 0; defaults to start_time").optional(),
|
|
66856
|
-
|
|
66960
|
+
edits: external_exports.array(GitHubContentEditSeed).optional().describe("Body edit history with absolute timestamps; editor defaults to the bot"),
|
|
66961
|
+
timeline: external_exports.array(GitHubTimelineSeed).optional().describe("Issue events with absolute timestamps; actor defaults to the bot"),
|
|
66962
|
+
comments: external_exports.array(external_exports.strictObject({
|
|
66963
|
+
user: refUse3.optional(),
|
|
66964
|
+
body: external_exports.string(),
|
|
66965
|
+
at: duration6("Creation offset from start_time; must be <= 0").optional(),
|
|
66966
|
+
edits: external_exports.array(GitHubContentEditSeed).optional()
|
|
66967
|
+
})).optional()
|
|
66857
66968
|
})).optional(),
|
|
66858
66969
|
production: refUse3.optional(),
|
|
66859
66970
|
check_runs: external_exports.array(external_exports.strictObject({
|
|
@@ -66862,7 +66973,7 @@ var GitHubSeedSchema = external_exports.strictObject({
|
|
|
66862
66973
|
status: external_exports.enum(["queued", "in_progress", "completed"]),
|
|
66863
66974
|
conclusion: external_exports.enum(["success", "failure", "neutral", "cancelled", "skipped", "timed_out", "action_required"]).optional()
|
|
66864
66975
|
})).optional(),
|
|
66865
|
-
collaborators: external_exports.array(external_exports.strictObject({ user: refUse3, permission: external_exports.enum(["read", "write", "admin"]).default("write") })).optional().describe("Direct collaborators and their permission; organization members have read access without being listed")
|
|
66976
|
+
collaborators: external_exports.array(external_exports.strictObject({ user: refUse3, permission: external_exports.enum(["read", "triage", "write", "maintain", "admin"]).default("write") })).optional().describe("Direct collaborators and their permission; organization members have read access without being listed")
|
|
66866
66977
|
}))
|
|
66867
66978
|
});
|
|
66868
66979
|
var PipelineRuleSchema = external_exports.strictObject({
|
|
@@ -66878,7 +66989,7 @@ var FileEqualsSchema = external_exports.strictObject({ "github.file_at": fileAt2
|
|
|
66878
66989
|
var GitHubFileCheckSchema = external_exports.union([FileContainsSchema, FileEqualsSchema]);
|
|
66879
66990
|
var GitHubPermissionCheckSchema = external_exports.strictObject({
|
|
66880
66991
|
"github.permission": external_exports.strictObject({ repo: refUse3, user: refUse3 }),
|
|
66881
|
-
is: external_exports.enum(["none", "read", "write", "admin"]).describe("Effective access: a direct collaborator's permission, else read for a member of the owning organization, else none")
|
|
66992
|
+
is: external_exports.enum(["none", "read", "triage", "write", "maintain", "admin"]).describe("Effective access: a direct collaborator's permission, else read for a member of the owning organization, else none")
|
|
66882
66993
|
});
|
|
66883
66994
|
var OktaUserCheckSchema = external_exports.strictObject({
|
|
66884
66995
|
"okta.user": external_exports.string().describe("A seeded Okta user: $ref of one that declares ref, or its login"),
|
|
@@ -66888,7 +66999,14 @@ var OktaUserCheckSchema = external_exports.strictObject({
|
|
|
66888
66999
|
}).refine((check3) => check3.status === void 0 || check3.status_in === void 0, "give status or status_in, not both");
|
|
66889
67000
|
var StateCheckSchema = external_exports.union([
|
|
66890
67001
|
...WorldStateCheckSchemas,
|
|
67002
|
+
external_exports.strictObject({ "jira.issue": JiraIssueCheckSchema }),
|
|
67003
|
+
external_exports.strictObject({ "jira.comment": JiraCommentCheckSchema }),
|
|
67004
|
+
external_exports.strictObject({ "jira.transition": JiraTransitionCheckSchema }),
|
|
67005
|
+
external_exports.strictObject({ "paypal.invoice": PayPalInvoiceCheckSchema }),
|
|
67006
|
+
external_exports.strictObject({ "paypal.order": PayPalOrderCheckSchema }),
|
|
67007
|
+
external_exports.strictObject({ "paypal.payment": PayPalPaymentCheckSchema }),
|
|
66891
67008
|
external_exports.strictObject({ "slack.message": SlackMessageCheckSchema }),
|
|
67009
|
+
external_exports.strictObject({ "slack.canvas": SlackCanvasCheckSchema }),
|
|
66892
67010
|
FileContainsSchema,
|
|
66893
67011
|
FileEqualsSchema,
|
|
66894
67012
|
external_exports.strictObject({ "github.production": external_exports.strictObject({ repo: refUse3, commit: refUse3 }) }),
|
|
@@ -67407,6 +67525,7 @@ var githubStarterSeed = {
|
|
|
67407
67525
|
name: "acme/orders",
|
|
67408
67526
|
default_branch: "main",
|
|
67409
67527
|
private: true,
|
|
67528
|
+
collaborators: [{ user: "$github_bot", permission: "write" }],
|
|
67410
67529
|
commits: [
|
|
67411
67530
|
{ ref: "github_pagination", message: "Paginate GET /orders", author: "$github_greg", at: "-50h", files: { "src/orders/list.ts": "export const defaultPageSize = 50;\nexport const maxPageSize = 200;\n" } },
|
|
67412
67531
|
{ ref: "github_node24", message: "Upgrade the runtime to Node 24", author: "$github_ben", at: "-30h", parents: ["$github_pagination"], files: { ".nvmrc": "24\n" } },
|
|
@@ -67427,7 +67546,7 @@ var githubStarterSeed = {
|
|
|
67427
67546
|
{ ref: "github_rate_limit_pr", number: 11, title: "Rate-limit order creation per API key", body: "120 orders per minute per key; returns 429 with Retry-After.", head: "$github_rate_limit", base: "main" }
|
|
67428
67547
|
],
|
|
67429
67548
|
issues: [
|
|
67430
|
-
{ ref: "github_export_issue", number: 13, title: "Explain delayed CSV exports", body: "Add a note that exports may take two minutes to appear.", state: "open", comments: [{ user: "$github_ben", body: "Support reported this during the Ridgeway pilot." }] },
|
|
67549
|
+
{ ref: "github_export_issue", number: 13, assignees: ["$github_ben"], title: "Explain delayed CSV exports", body: "Add a note that exports may take two minutes to appear.", state: "open", comments: [{ user: "$github_ben", body: "Support reported this during the Ridgeway pilot." }] },
|
|
67431
67550
|
{ ref: "github_cents_issue", number: 1, title: "Order totals off by one cent for multi-currency carts", body: "Rounding happens per line instead of per order.", state: "closed", comments: [{ user: "$github_greg", body: "Fixed by rounding once at the order level." }] },
|
|
67432
67551
|
{ ref: "github_page_issue", number: 2, title: "GET /orders is slow for large accounts", body: "Accounts with more than 50k orders time out after 30 seconds.", state: "closed" },
|
|
67433
67552
|
{ ref: "github_timeout_issue", number: 4, title: "Fulfillment webhooks time out after 10 seconds", body: "Warehouse partners sometimes take 15 seconds to acknowledge.", state: "closed", comments: [{ user: "$github_rachel", body: "Retries with backoff in #10." }] },
|
|
@@ -67446,6 +67565,7 @@ var githubStarterSeed = {
|
|
|
67446
67565
|
name: "acme/web",
|
|
67447
67566
|
default_branch: "main",
|
|
67448
67567
|
private: true,
|
|
67568
|
+
collaborators: [{ user: "$github_bot", permission: "write" }],
|
|
67449
67569
|
commits: [
|
|
67450
67570
|
{ ref: "github_web_main", message: "Release 2026.10.29", author: "$github_greg", at: "-30h", files: { "README.md": "# Acme web\n\nThe dashboard app.\n", "src/config.ts": "export const pollIntervalSeconds = 30;\n" } },
|
|
67451
67571
|
{ ref: "github_web_schedule", message: "Add the report schedule page", author: "$github_greg", at: "-3h", parents: ["$github_web_main"], files: { "src/config.ts": "export const pollIntervalSeconds = 30;\nexport const maxSchedulesPerUser = 10;\n" } }
|
|
@@ -67463,6 +67583,7 @@ var githubStarterSeed = {
|
|
|
67463
67583
|
name: "acme/warehouse-sync",
|
|
67464
67584
|
default_branch: "main",
|
|
67465
67585
|
private: true,
|
|
67586
|
+
collaborators: [{ user: "$github_bot", permission: "write" }],
|
|
67466
67587
|
commits: [{ ref: "github_sync_main", message: "Stream large tables in batches", author: "$github_victor", at: "-10h", files: { "README.md": "# Warehouse sync\n\nCopies customer warehouse tables into Acme.\n", "config/sync.ts": "export const batchSize = 5000;\nexport const syncIntervalMinutes = 15;\n" } }],
|
|
67467
67588
|
branches: [{ name: "main", head: "$github_sync_main" }],
|
|
67468
67589
|
production: "$github_sync_main",
|
|
@@ -67593,7 +67714,7 @@ var TOOL_DESCRIPTORS = [
|
|
|
67593
67714
|
descriptor("microsoft-word", "Microsoft Word", "Word documents in OneDrive through Microsoft Graph", ["Documents", "Folders", "Versions", "Sharing links", "Invitations"], "Graph v1.0 drive items", ["One OneDrive; Word files are real .docx packages built from paragraphs, with PDF conversion.", "The Graph client signs only https Graph hosts and deletes an Authorization header sent elsewhere: set baseUrl to MICROSOFT_GRAPH_API_URL plus / and pass the token as a lower-case authorization header in fetchOptions.headers. Its api() only takes https URLs: follow @odata.nextLink with the part after /v1.0.", "Invitations and sharing are recorded."]),
|
|
67594
67715
|
descriptor("shopify", "Shopify", "Orders, products, inventory, customers, fulfillments and refunds", ["Orders", "Products", "Inventory", "Customers", "Fulfillments", "Refunds", "Locations"], "Admin GraphQL 2026-10", ["The endpoint is ${SHOPIFY_API_URL}/admin/api/2026-10/graphql.json with the X-Shopify-Access-Token header. @shopify/admin-api-client always calls https://<store>.myshopify.com: give it a customFetchApi that swaps that origin for SHOPIFY_API_URL."]),
|
|
67595
67716
|
descriptor("lob", "Lob", "Letters, postcards and checks by mail, with US address verification", ["Addresses", "Letters", "Postcards", "Checks", "Bank accounts", "Templates", "US verifications"], "Print & Mail API v1", ["USPS tracking follows the scene clock, and mail to an address the postal directory does not know, or a vacant one, comes back.", "Pass LOB_API_URL (it ends in /v1) as the SDK Configuration basePath and LOB_API_KEY as its username. Proof links name https://lob-assets.com as Lob\u2019s do (the SDK rejects any other host); fetch them under LOB_ASSETS_URL instead.", "US verification consults the world\u2019s postal directory. File URLs are recorded."]),
|
|
67596
|
-
descriptor("paypal", "PayPal", "
|
|
67717
|
+
descriptor("paypal", "PayPal", "Invoices, checkout orders, payments, refunds, subscriptions and transaction reports", ["Invoices", "Orders", "Authorizations", "Captures", "Refunds", "Plans", "Subscriptions", "Transactions", "Balances"], "REST", ["Exchange PAYPAL_CLIENT_ID and PAYPAL_CLIENT_SECRET at ${PAYPAL_API_URL}/v1/oauth2/token. The server SDK only knows PayPal\u2019s own hosts: call PAYPAL_API_URL over HTTP, or give the SDK an axios adapter (unstable_httpClientOptions) that swaps https://api-m.sandbox.paypal.com for it.", "Payers approve orders and subscriptions in their browser: new ones wait for approval, seeded approved orders can be captured."]),
|
|
67597
67718
|
descriptor("jira", "Jira", "Issues, JQL search, comments, transitions and sprints", ["Projects", "Issues", "Comments", "Transitions", "Search", "Users", "Boards", "Sprints"], "REST v3/v2 and agile 1.0", ["Atlassian publishes no official JavaScript client: call ${JIRA_BASE_URL}/rest/api/3/... with HTTP Basic (JIRA_EMAIL and JIRA_API_TOKEN). /rest/api/3/search is gone, as on live Jira; /search/jql returns only issue ids unless fields are requested.", "Team-managed projects with the simplified workflow (To Do, In Progress, In Review, Done)."]),
|
|
67598
67719
|
descriptor("kalshi", "Kalshi", "Event contracts: markets, order books, orders, positions and settlements", ["Series", "Events", "Markets", "Order books", "Orders", "Fills", "Positions", "Settlements"], "Trade API v2", ["Pass KALSHI_API_URL (it ends in /trade-api/v2) as the SDK basePath, KALSHI_API_KEY_ID as apiKey and KALSHI_PRIVATE_KEY as privateKeyPem: requests are signed with RSA-PSS as on Kalshi.", "Orders trade against other traders\u2019 resting bids seeded with the scene, at the resting price, with Kalshi\u2019s fee; nobody else trades unless the scene says so, and no money moves.", "Primary subaccount."]),
|
|
67599
67720
|
descriptor("intercom", "Intercom", "Inbox conversations, contacts, companies, tags, notes and help center articles", ["Conversations", "Contacts", "Companies", "Tags", "Notes", "Admins", "Teams", "Articles"], "API 2.14", ["Point the official intercom-client at INTERCOM_API_URL with its baseUrl option. Gaps answer 400 in Intercom\u2019s error shape (marked as gaps), since the client retries every 5xx."]),
|