@ancha-labs/cli 0.4.19 → 0.4.21
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 +40666 -38749
- package/lib/assets/docs/apps.md +1 -1
- package/lib/assets/docs/run.md +4 -2
- package/lib/assets/docs/scenes.md +24 -0
- package/lib/assets/docs/setup.md +1 -1
- package/lib/assets/harbor/companion.mjs +6895 -5775
- package/lib/assets/templates/starter/scene.yaml +1 -1
- package/lib/assets/ui/app.js +4 -4
- package/lib/assets/ui/style.css +6 -1
- package/lib/mcp-entry.mjs +121 -5
- package/lib/worker.mjs +78715 -76950
- package/lib/world-server.mjs +6847 -5727
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ world: static
|
|
|
4
4
|
twins: [slack, github, datadog, pagerduty]
|
|
5
5
|
start_time: 2026-10-21T14:00:00Z
|
|
6
6
|
time_scale: 1
|
|
7
|
-
timeout:
|
|
7
|
+
timeout: 60s
|
|
8
8
|
task: |
|
|
9
9
|
Discover the available resources through each declared service's native API.
|
|
10
10
|
Slack: list conversations. GitHub: read acme/starter. Datadog: list dashboards.
|
package/lib/assets/ui/app.js
CHANGED
|
@@ -2069,9 +2069,9 @@ var viewWorldsEmpty = (boot2) => viewBanner(boot2, /* @__PURE__ */ new Date(), "
|
|
|
2069
2069
|
|
|
2070
2070
|
// frontend/src/generated/tool-catalog.ts
|
|
2071
2071
|
var TOOL_CATALOG = [
|
|
2072
|
-
{ "name": "slack", "title": "Slack", "category": "Team chat", "description": "Channels, messages and threads", "version": "Web API", "env": ["SLACK_API_URL", "SLACK_BOT_TOKEN"], "endpoints": [["POST", "/api/apps.connections.open"], ["POST", "/api/auth.test"], ["POST", "/api/chat.delete"], ["POST", "/api/chat.getPermalink"], ["POST", "/api/chat.postMessage"], ["POST", "/api/chat.update"], ["POST", "/api/conversations.create"], ["POST", "/api/conversations.history"], ["POST", "/api/conversations.info"], ["POST", "/api/conversations.join"], ["POST", "/api/conversations.list"], ["POST", "/api/conversations.members"], ["POST", "/api/conversations.open"], ["POST", "/api/conversations.replies"], ["POST", "/api/reactions.add"], ["POST", "/api/reactions.get"], ["POST", "/api/reactions.remove"], ["POST", "/api/search.messages"], ["POST", "/api/users.conversations"], ["POST", "/api/users.info"], ["POST", "/api/users.list"], ["POST", "/api/users.lookupByEmail"]] },
|
|
2072
|
+
{ "name": "slack", "title": "Slack", "category": "Team chat", "description": "Channels, messages and threads", "version": "Web API", "env": ["SLACK_API_URL", "SLACK_BOT_TOKEN"], "endpoints": [["POST", "/api/apps.connections.open"], ["POST", "/api/auth.test"], ["POST", "/api/canvases.create"], ["POST", "/api/canvases.getContent"], ["POST", "/api/chat.delete"], ["POST", "/api/chat.getPermalink"], ["POST", "/api/chat.postMessage"], ["POST", "/api/chat.update"], ["POST", "/api/conversations.create"], ["POST", "/api/conversations.history"], ["POST", "/api/conversations.info"], ["POST", "/api/conversations.join"], ["POST", "/api/conversations.list"], ["POST", "/api/conversations.members"], ["POST", "/api/conversations.open"], ["POST", "/api/conversations.replies"], ["POST", "/api/files.info"], ["POST", "/api/files.list"], ["POST", "/api/reactions.add"], ["POST", "/api/reactions.get"], ["POST", "/api/reactions.remove"], ["POST", "/api/search.messages"], ["POST", "/api/users.conversations"], ["POST", "/api/users.info"], ["POST", "/api/users.list"], ["POST", "/api/users.lookupByEmail"], ["POST", "/api/views.publish"]] },
|
|
2073
2073
|
{ "name": "discord", "title": "Discord", "category": "Community chat", "description": "A community server as its bot sees it: channels, messages, threads and reactions", "version": "REST API v10", "env": ["DISCORD_API_URL", "DISCORD_BOT_TOKEN"], "endpoints": [["GET", "/api/v10/channels/{channel_id}"], ["GET", "/api/v10/channels/{channel_id}/messages"], ["POST", "/api/v10/channels/{channel_id}/messages"], ["GET", "/api/v10/channels/{channel_id}/messages/{message_id}"], ["PATCH", "/api/v10/channels/{channel_id}/messages/{message_id}"], ["DELETE", "/api/v10/channels/{channel_id}/messages/{message_id}"], ["GET", "/api/v10/channels/{channel_id}/messages/{message_id}/reactions/{emoji}"], ["PUT", "/api/v10/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me"], ["DELETE", "/api/v10/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me"], ["POST", "/api/v10/channels/{channel_id}/messages/{message_id}/threads"], ["GET", "/api/v10/channels/{channel_id}/pins"], ["PUT", "/api/v10/channels/{channel_id}/pins/{message_id}"], ["DELETE", "/api/v10/channels/{channel_id}/pins/{message_id}"], ["POST", "/api/v10/channels/{channel_id}/threads"], ["POST", "/api/v10/channels/{channel_id}/typing"], ["GET", "/api/v10/guilds/{guild_id}"], ["GET", "/api/v10/guilds/{guild_id}/channels"], ["GET", "/api/v10/guilds/{guild_id}/members"], ["GET", "/api/v10/guilds/{guild_id}/members/{user_id}"], ["GET", "/api/v10/guilds/{guild_id}/roles"], ["GET", "/api/v10/guilds/{guild_id}/threads/active"], ["GET", "/api/v10/users/{user_id}"], ["GET", "/api/v10/users/@me"], ["POST", "/api/v10/users/@me/channels"], ["GET", "/api/v10/users/@me/guilds"]] },
|
|
2074
|
-
{ "name": "github", "title": "GitHub", "category": "Code", "description": "Repositories, pull requests and deployments", "version": "REST", "env": ["GITHUB_API_URL", "GITHUB_TOKEN"], "endpoints": [["GET", "/repos/:owner/:repo/actions/runs"], ["GET", "/repos/:owner/:repo/actions/runs/:id"], ["POST", "/repos/:owner/:repo/actions/runs/:id/rerun"], ["GET", "/repos/:owner/:repo/actions/workflows/:workflow/runs"], ["GET", "/repos/:owner/:repo/branches"], ["GET", "/repos/:owner/:repo/branches/:branch"], ["GET", "/repos/:owner/:repo/check-runs/:id"], ["GET", "/repos/:owner/:repo/collaborators"], ["GET", "/repos/:owner/:repo/collaborators/:username"], ["PUT", "/repos/:owner/:repo/collaborators/:username"], ["DELETE", "/repos/:owner/:repo/collaborators/:username"], ["GET", "/repos/:owner/:repo/collaborators/:username/permission"], ["GET", "/repos/:owner/:repo/commits"], ["GET", "/repos/:owner/:repo/commits/:ref"], ["GET", "/repos/:owner/:repo/commits/:ref/check-runs"], ["GET", "/repos/:owner/:repo/compare/:base...:head"], ["PUT", "/repos/:owner/:repo/contents/:path"], ["GET", "/repos/:owner/:repo/contents/:path?"], ["GET", "/repos/:owner/:repo/deployments"], ["POST", "/repos/:owner/:repo/deployments"], ["GET", "/repos/:owner/:repo/deployments/:id"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses"], ["POST", "/repos/:owner/:repo/deployments/:id/statuses"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses/:statusId"], ["POST", "/repos/:owner/:repo/git/blobs"], ["GET", "/repos/:owner/:repo/git/blobs/:sha"], ["POST", "/repos/:owner/:repo/git/commits"], ["GET", "/repos/:owner/:repo/git/commits/:sha"], ["GET", "/repos/:owner/:repo/git/matching-refs/:ref?"], ["GET", "/repos/:owner/:repo/git/ref/:ref"], ["POST", "/repos/:owner/:repo/git/refs"], ["PATCH", "/repos/:owner/:repo/git/refs/:ref"], ["DELETE", "/repos/:owner/:repo/git/refs/:ref"], ["POST", "/repos/:owner/:repo/git/trees"], ["GET", "/repos/:owner/:repo/git/trees/:sha"], ["GET", "/repos/:owner/:repo/issues"], ["POST", "/repos/:owner/:repo/issues"], ["GET", "/repos/:owner/:repo/issues/:number"], ["PATCH", "/repos/:owner/:repo/issues/:number"], ["GET", "/repos/:owner/:repo/issues/:number/comments"], ["POST", "/repos/:owner/:repo/issues/:number/comments"], ["GET", "/repos/:owner/:repo/issues/:number/labels"], ["POST", "/repos/:owner/:repo/issues/:number/labels"], ["PUT", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels/:name"], ["GET", "/repos/:owner/:repo/issues/comments"], ["GET", "/repos/:owner/:repo/issues/comments/:id"], ["PATCH", "/repos/:owner/:repo/issues/comments/:id"], ["DELETE", "/repos/:owner/:repo/issues/comments/:id"], ["GET", "/repos/:owner/:repo/labels"], ["POST", "/repos/:owner/:repo/labels"], ["GET", "/repos/:owner/:repo/labels/:name"], ["PATCH", "/repos/:owner/:repo/labels/:name"], ["DELETE", "/repos/:owner/:repo/labels/:name"], ["GET", "/orgs/:org/members"], ["GET", "/orgs/:org/members/:username"], ["DELETE", "/orgs/:org/members/:username"], ["GET", "/orgs/:org/memberships/:username"], ["DELETE", "/orgs/:org/memberships/:username"], ["GET", "/orgs/:org/repos"], ["GET", "/repos/:owner/:repo/pulls"], ["POST", "/repos/:owner/:repo/pulls"], ["GET", "/repos/:owner/:repo/pulls/:number"], ["PATCH", "/repos/:owner/:repo/pulls/:number"], ["GET", "/repos/:owner/:repo/pulls/:number/comments"], ["POST", "/repos/:owner/:repo/pulls/:number/comments"], ["GET", "/repos/:owner/:repo/pulls/:number/commits"], ["GET", "/repos/:owner/:repo/pulls/:number/files"], ["GET", "/repos/:owner/:repo/pulls/:number/merge"], ["PUT", "/repos/:owner/:repo/pulls/:number/merge"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews"], ["POST", "/repos/:owner/:repo/pulls/:number/reviews"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews/:id"], ["GET", "/repos/:owner/:repo/pulls/comments"], ["GET", "/repos/:owner/:repo/pulls/comments/:id"], ["PATCH", "/repos/:owner/:repo/pulls/comments/:id"], ["DELETE", "/repos/:owner/:repo/pulls/comments/:id"], ["GET", "/repos/:owner/:repo"], ["GET", "/user"], ["GET", "/user/repos"]] },
|
|
2074
|
+
{ "name": "github", "title": "GitHub", "category": "Code", "description": "Repositories, pull requests and deployments", "version": "REST", "env": ["GITHUB_API_URL", "GITHUB_TOKEN"], "endpoints": [["GET", "/repos/:owner/:repo/actions/runs"], ["GET", "/repos/:owner/:repo/actions/runs/:id"], ["POST", "/repos/:owner/:repo/actions/runs/:id/rerun"], ["GET", "/repos/:owner/:repo/actions/workflows/:workflow/runs"], ["GET", "/repos/:owner/:repo/branches"], ["GET", "/repos/:owner/:repo/branches/:branch"], ["GET", "/repos/:owner/:repo/check-runs/:id"], ["GET", "/repos/:owner/:repo/collaborators"], ["GET", "/repos/:owner/:repo/collaborators/:username"], ["PUT", "/repos/:owner/:repo/collaborators/:username"], ["DELETE", "/repos/:owner/:repo/collaborators/:username"], ["GET", "/repos/:owner/:repo/collaborators/:username/permission"], ["GET", "/repos/:owner/:repo/commits"], ["GET", "/repos/:owner/:repo/commits/:ref"], ["GET", "/repos/:owner/:repo/commits/:ref/check-runs"], ["GET", "/repos/:owner/:repo/compare/:base...:head"], ["PUT", "/repos/:owner/:repo/contents/:path"], ["GET", "/repos/:owner/:repo/contents/:path?"], ["GET", "/repos/:owner/:repo/deployments"], ["POST", "/repos/:owner/:repo/deployments"], ["GET", "/repos/:owner/:repo/deployments/:id"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses"], ["POST", "/repos/:owner/:repo/deployments/:id/statuses"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses/:statusId"], ["POST", "/repos/:owner/:repo/git/blobs"], ["GET", "/repos/:owner/:repo/git/blobs/:sha"], ["POST", "/repos/:owner/:repo/git/commits"], ["GET", "/repos/:owner/:repo/git/commits/:sha"], ["GET", "/repos/:owner/:repo/git/matching-refs/:ref?"], ["GET", "/repos/:owner/:repo/git/ref/:ref"], ["POST", "/repos/:owner/:repo/git/refs"], ["PATCH", "/repos/:owner/:repo/git/refs/:ref"], ["DELETE", "/repos/:owner/:repo/git/refs/:ref"], ["POST", "/repos/:owner/:repo/git/trees"], ["GET", "/repos/:owner/:repo/git/trees/:sha"], ["POST", "/graphql"], ["GET", "/repos/:owner/:repo/issues"], ["POST", "/repos/:owner/:repo/issues"], ["GET", "/repos/:owner/:repo/issues/:number"], ["PATCH", "/repos/:owner/:repo/issues/:number"], ["GET", "/repos/:owner/:repo/issues/:number/comments"], ["POST", "/repos/:owner/:repo/issues/:number/comments"], ["GET", "/repos/:owner/:repo/issues/:number/labels"], ["POST", "/repos/:owner/:repo/issues/:number/labels"], ["PUT", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels/:name"], ["GET", "/repos/:owner/:repo/issues/comments"], ["GET", "/repos/:owner/:repo/issues/comments/:id"], ["PATCH", "/repos/:owner/:repo/issues/comments/:id"], ["DELETE", "/repos/:owner/:repo/issues/comments/:id"], ["GET", "/repos/:owner/:repo/labels"], ["POST", "/repos/:owner/:repo/labels"], ["GET", "/repos/:owner/:repo/labels/:name"], ["PATCH", "/repos/:owner/:repo/labels/:name"], ["DELETE", "/repos/:owner/:repo/labels/:name"], ["GET", "/orgs/:org/members"], ["GET", "/orgs/:org/members/:username"], ["DELETE", "/orgs/:org/members/:username"], ["GET", "/orgs/:org/memberships/:username"], ["DELETE", "/orgs/:org/memberships/:username"], ["GET", "/orgs/:org/repos"], ["GET", "/repos/:owner/:repo/pulls"], ["POST", "/repos/:owner/:repo/pulls"], ["GET", "/repos/:owner/:repo/pulls/:number"], ["PATCH", "/repos/:owner/:repo/pulls/:number"], ["GET", "/repos/:owner/:repo/pulls/:number/comments"], ["POST", "/repos/:owner/:repo/pulls/:number/comments"], ["GET", "/repos/:owner/:repo/pulls/:number/commits"], ["GET", "/repos/:owner/:repo/pulls/:number/files"], ["GET", "/repos/:owner/:repo/pulls/:number/merge"], ["PUT", "/repos/:owner/:repo/pulls/:number/merge"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews"], ["POST", "/repos/:owner/:repo/pulls/:number/reviews"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews/:id"], ["GET", "/repos/:owner/:repo/pulls/comments"], ["GET", "/repos/:owner/:repo/pulls/comments/:id"], ["PATCH", "/repos/:owner/:repo/pulls/comments/:id"], ["DELETE", "/repos/:owner/:repo/pulls/comments/:id"], ["GET", "/repos/:owner/:repo"], ["GET", "/user"], ["GET", "/user/repos"]] },
|
|
2075
2075
|
{ "name": "linear", "title": "Linear", "category": "Issues", "description": "Issues, projects and team workflows", "version": "GraphQL", "env": ["LINEAR_API_URL", "LINEAR_API_KEY"], "endpoints": [["QUERY", "comment"], ["MUTATION", "commentCreate"], ["MUTATION", "commentDelete"], ["QUERY", "comments"], ["MUTATION", "commentUpdate"], ["QUERY", "issue"], ["MUTATION", "issueAddLabel"], ["MUTATION", "issueArchive"], ["MUTATION", "issueCreate"], ["MUTATION", "issueDelete"], ["QUERY", "issueLabel"], ["MUTATION", "issueLabelCreate"], ["QUERY", "issueLabels"], ["MUTATION", "issueRemoveLabel"], ["QUERY", "issues"], ["MUTATION", "issueUpdate"], ["QUERY", "organization"], ["QUERY", "project"], ["QUERY", "projects"], ["QUERY", "searchIssues"], ["QUERY", "team"], ["QUERY", "teams"], ["QUERY", "user"], ["QUERY", "users"], ["QUERY", "viewer"], ["QUERY", "workflowState"], ["QUERY", "workflowStates"]] },
|
|
2076
2076
|
{ "name": "jira", "title": "Jira", "category": "Issues", "description": "Issues, JQL search, comments, transitions and sprints", "version": "REST v3/v2 and agile 1.0", "env": ["JIRA_BASE_URL", "JIRA_EMAIL", "JIRA_API_TOKEN"], "endpoints": [["POST", "/rest/agile/1.0/backlog/issue"], ["GET", "/rest/agile/1.0/board"], ["GET", "/rest/agile/1.0/board/:id"], ["GET", "/rest/agile/1.0/board/:id/backlog"], ["GET", "/rest/agile/1.0/board/:id/issue"], ["GET", "/rest/agile/1.0/board/:id/sprint"], ["POST", "/rest/agile/1.0/sprint"], ["GET", "/rest/agile/1.0/sprint/:id"], ["POST", "/rest/agile/1.0/sprint/:id"], ["GET", "/rest/agile/1.0/sprint/:id/issue"], ["POST", "/rest/agile/1.0/sprint/:id/issue"], ["GET", "/rest/api/3/field"], ["POST", "/rest/api/3/issue"], ["GET", "/rest/api/3/issue/:key"], ["PUT", "/rest/api/3/issue/:key"], ["DELETE", "/rest/api/3/issue/:key"], ["PUT", "/rest/api/3/issue/:key/assignee"], ["GET", "/rest/api/3/issue/:key/changelog"], ["GET", "/rest/api/3/issue/:key/comment"], ["POST", "/rest/api/3/issue/:key/comment"], ["GET", "/rest/api/3/issue/:key/comment/:id"], ["PUT", "/rest/api/3/issue/:key/comment/:id"], ["DELETE", "/rest/api/3/issue/:key/comment/:id"], ["GET", "/rest/api/3/issue/:key/transitions"], ["POST", "/rest/api/3/issue/:key/transitions"], ["GET", "/rest/api/3/issue/:key/watchers"], ["POST", "/rest/api/3/issue/:key/watchers"], ["DELETE", "/rest/api/3/issue/:key/watchers"], ["POST", "/rest/api/3/issue/bulk"], ["GET", "/rest/api/3/issue/createmeta/:key/issuetypes"], ["GET", "/rest/api/3/issue/createmeta/:key/issuetypes/:type"], ["POST", "/rest/api/3/issueLink"], ["GET", "/rest/api/3/issueLink/:id"], ["DELETE", "/rest/api/3/issueLink/:id"], ["GET", "/rest/api/3/issueLinkType"], ["GET", "/rest/api/3/issuetype"], ["GET", "/rest/api/3/label"], ["GET", "/rest/api/3/myself"], ["GET", "/rest/api/3/priority"], ["GET", "/rest/api/3/project"], ["GET", "/rest/api/3/project/:key"], ["GET", "/rest/api/3/project/:key/components"], ["GET", "/rest/api/3/project/:key/statuses"], ["GET", "/rest/api/3/project/:key/versions"], ["GET", "/rest/api/3/project/search"], ["GET", "/rest/api/3/resolution"], ["GET", "/rest/api/3/search"], ["POST", "/rest/api/3/search"], ["POST", "/rest/api/3/search/approximate-count"], ["GET", "/rest/api/3/search/jql"], ["POST", "/rest/api/3/search/jql"], ["GET", "/rest/api/3/serverInfo"], ["GET", "/rest/api/3/status"], ["GET", "/rest/api/3/statuscategory"], ["GET", "/rest/api/3/user"], ["GET", "/rest/api/3/user/assignable/search"], ["GET", "/rest/api/3/user/search"]] },
|
|
2077
2077
|
{ "name": "asana", "title": "Asana", "category": "Projects", "description": "Projects, sections, tasks, subtasks and comments", "version": "REST API 1.0", "env": ["ASANA_API_URL", "ASANA_ACCESS_TOKEN"], "endpoints": [["GET", "/api/1.0/projects"], ["GET", "/api/1.0/projects/{project_gid}"], ["GET", "/api/1.0/projects/{project_gid}/sections"], ["POST", "/api/1.0/projects/{project_gid}/sections"], ["GET", "/api/1.0/projects/{project_gid}/tasks"], ["POST", "/api/1.0/sections/{section_gid}/addTask"], ["GET", "/api/1.0/sections/{section_gid}/tasks"], ["GET", "/api/1.0/tasks"], ["POST", "/api/1.0/tasks"], ["GET", "/api/1.0/tasks/{task_gid}"], ["PUT", "/api/1.0/tasks/{task_gid}"], ["DELETE", "/api/1.0/tasks/{task_gid}"], ["POST", "/api/1.0/tasks/{task_gid}/addProject"], ["POST", "/api/1.0/tasks/{task_gid}/removeProject"], ["GET", "/api/1.0/tasks/{task_gid}/stories"], ["POST", "/api/1.0/tasks/{task_gid}/stories"], ["GET", "/api/1.0/tasks/{task_gid}/subtasks"], ["POST", "/api/1.0/tasks/{task_gid}/subtasks"], ["GET", "/api/1.0/users"], ["GET", "/api/1.0/users/{user_gid}"], ["GET", "/api/1.0/workspaces"], ["GET", "/api/1.0/workspaces/{workspace_gid}"], ["GET", "/api/1.0/workspaces/{workspace_gid}/tasks/search"]] },
|
|
@@ -2092,7 +2092,7 @@ var TOOL_CATALOG = [
|
|
|
2092
2092
|
{ "name": "okta", "title": "Okta", "category": "Identity", "description": "People, groups, app assignments and the System Log", "version": "Management API v1", "env": ["OKTA_ORG_URL", "OKTA_API_TOKEN"], "endpoints": [["GET", "/api/v1/apps"], ["GET", "/api/v1/apps/{appId}"], ["GET", "/api/v1/apps/{appId}/groups"], ["PUT", "/api/v1/apps/{appId}/groups/{groupId}"], ["DELETE", "/api/v1/apps/{appId}/groups/{groupId}"], ["GET", "/api/v1/apps/{appId}/users"], ["POST", "/api/v1/apps/{appId}/users"], ["DELETE", "/api/v1/apps/{appId}/users/{userId}"], ["GET", "/api/v1/groups"], ["POST", "/api/v1/groups"], ["GET", "/api/v1/groups/{groupId}"], ["PUT", "/api/v1/groups/{groupId}"], ["DELETE", "/api/v1/groups/{groupId}"], ["GET", "/api/v1/groups/{groupId}/users"], ["PUT", "/api/v1/groups/{groupId}/users/{userId}"], ["DELETE", "/api/v1/groups/{groupId}/users/{userId}"], ["GET", "/api/v1/logs"], ["GET", "/api/v1/users"], ["POST", "/api/v1/users"], ["GET", "/api/v1/users/{id}"], ["POST", "/api/v1/users/{id}"], ["DELETE", "/api/v1/users/{id}"], ["GET", "/api/v1/users/{id}/appLinks"], ["GET", "/api/v1/users/{id}/groups"], ["POST", "/api/v1/users/{id}/lifecycle/activate"], ["POST", "/api/v1/users/{id}/lifecycle/deactivate"], ["POST", "/api/v1/users/{id}/lifecycle/reset_password"], ["POST", "/api/v1/users/{id}/lifecycle/suspend"], ["POST", "/api/v1/users/{id}/lifecycle/unlock"], ["POST", "/api/v1/users/{id}/lifecycle/unsuspend"], ["DELETE", "/api/v1/users/{id}/sessions"]] },
|
|
2093
2093
|
{ "name": "clerk", "title": "Clerk", "category": "Identity", "description": "Users, organizations, invitations and sessions", "version": "Backend API v1", "env": ["CLERK_API_URL", "CLERK_SECRET_KEY"], "endpoints": [["GET", "/v1/invitations"], ["POST", "/v1/invitations"], ["POST", "/v1/invitations/{invitation_id}/revoke"], ["GET", "/v1/organizations"], ["POST", "/v1/organizations"], ["GET", "/v1/organizations/{organization_id}"], ["PATCH", "/v1/organizations/{organization_id}"], ["DELETE", "/v1/organizations/{organization_id}"], ["GET", "/v1/organizations/{organization_id}/invitations"], ["POST", "/v1/organizations/{organization_id}/invitations"], ["GET", "/v1/organizations/{organization_id}/invitations/{invitation_id}"], ["POST", "/v1/organizations/{organization_id}/invitations/{invitation_id}/revoke"], ["GET", "/v1/organizations/{organization_id}/memberships"], ["POST", "/v1/organizations/{organization_id}/memberships"], ["PATCH", "/v1/organizations/{organization_id}/memberships/{user_id}"], ["DELETE", "/v1/organizations/{organization_id}/memberships/{user_id}"], ["PATCH", "/v1/organizations/{organization_id}/metadata"], ["GET", "/v1/sessions"], ["GET", "/v1/sessions/{session_id}"], ["POST", "/v1/sessions/{session_id}/revoke"], ["GET", "/v1/users"], ["POST", "/v1/users"], ["GET", "/v1/users/{user_id}"], ["PATCH", "/v1/users/{user_id}"], ["DELETE", "/v1/users/{user_id}"], ["POST", "/v1/users/{user_id}/ban"], ["POST", "/v1/users/{user_id}/lock"], ["PATCH", "/v1/users/{user_id}/metadata"], ["GET", "/v1/users/{user_id}/organization_memberships"], ["POST", "/v1/users/{user_id}/unban"], ["POST", "/v1/users/{user_id}/unlock"], ["GET", "/v1/users/count"]] },
|
|
2094
2094
|
{ "name": "stripe", "title": "Stripe", "category": "Payments", "description": "Customers, subscriptions, invoices and payments", "version": "API 2026-10-28.endive", "env": ["STRIPE_API_URL", "STRIPE_SECRET_KEY"], "endpoints": [["GET", "/v1/balance"], ["GET", "/v1/charges"], ["GET", "/v1/charges/:id"], ["GET", "/v1/customers"], ["POST", "/v1/customers"], ["GET", "/v1/customers/:id"], ["POST", "/v1/customers/:id"], ["DELETE", "/v1/customers/:id"], ["GET", "/v1/customers/search"], ["GET", "/v1/invoiceitems"], ["POST", "/v1/invoiceitems"], ["GET", "/v1/invoices"], ["POST", "/v1/invoices"], ["GET", "/v1/invoices/:id"], ["POST", "/v1/invoices/:id"], ["POST", "/v1/invoices/:id/finalize"], ["POST", "/v1/invoices/:id/pay"], ["POST", "/v1/invoices/:id/void"], ["GET", "/v1/payment_intents"], ["POST", "/v1/payment_intents"], ["GET", "/v1/payment_intents/:id"], ["POST", "/v1/payment_intents/:id/cancel"], ["POST", "/v1/payment_intents/:id/confirm"], ["GET", "/v1/prices"], ["GET", "/v1/prices/:id"], ["GET", "/v1/products"], ["GET", "/v1/products/:id"], ["GET", "/v1/refunds"], ["POST", "/v1/refunds"], ["GET", "/v1/refunds/:id"], ["GET", "/v1/subscriptions"], ["GET", "/v1/subscriptions/:id"], ["POST", "/v1/subscriptions/:id"], ["DELETE", "/v1/subscriptions/:id"]] },
|
|
2095
|
-
{ "name": "paypal", "title": "PayPal", "category": "Payments", "description": "
|
|
2095
|
+
{ "name": "paypal", "title": "PayPal", "category": "Payments", "description": "Invoices, checkout orders, payments, refunds, subscriptions and transaction reports", "version": "REST", "env": ["PAYPAL_API_URL", "PAYPAL_CLIENT_ID", "PAYPAL_CLIENT_SECRET"], "endpoints": [["GET", "/v1/billing/plans"], ["POST", "/v1/billing/plans"], ["GET", "/v1/billing/plans/:id"], ["POST", "/v1/billing/plans/:id/activate"], ["POST", "/v1/billing/plans/:id/deactivate"], ["GET", "/v1/billing/subscriptions"], ["POST", "/v1/billing/subscriptions"], ["GET", "/v1/billing/subscriptions/:id"], ["PATCH", "/v1/billing/subscriptions/:id"], ["POST", "/v1/billing/subscriptions/:id/activate"], ["POST", "/v1/billing/subscriptions/:id/cancel"], ["POST", "/v1/billing/subscriptions/:id/capture"], ["POST", "/v1/billing/subscriptions/:id/revise"], ["POST", "/v1/billing/subscriptions/:id/suspend"], ["GET", "/v1/billing/subscriptions/:id/transactions"], ["GET", "/v1/catalogs/products"], ["GET", "/v1/catalogs/products/:id"], ["POST", "/v2/checkout/orders"], ["GET", "/v2/checkout/orders/:id"], ["PATCH", "/v2/checkout/orders/:id"], ["POST", "/v2/checkout/orders/:id/authorize"], ["POST", "/v2/checkout/orders/:id/capture"], ["POST", "/v2/checkout/orders/:id/confirm-payment-source"], ["POST", "/v2/checkout/orders/:id/track"], ["PATCH", "/v2/checkout/orders/:id/trackers/:tracker"], ["GET", "/v2/invoicing/invoices"], ["POST", "/v2/invoicing/invoices"], ["GET", "/v2/invoicing/invoices/:id"], ["POST", "/v2/invoicing/invoices/:id/send"], ["POST", "/v1/oauth2/token"], ["GET", "/v2/payments/authorizations/:id"], ["POST", "/v2/payments/authorizations/:id/capture"], ["POST", "/v2/payments/authorizations/:id/reauthorize"], ["POST", "/v2/payments/authorizations/:id/void"], ["GET", "/v2/payments/captures/:id"], ["POST", "/v2/payments/captures/:id/refund"], ["GET", "/v2/payments/refunds/:id"], ["GET", "/v1/reporting/balances"], ["GET", "/v1/reporting/transactions"]] },
|
|
2096
2096
|
{ "name": "shopify", "title": "Shopify", "category": "Commerce", "description": "Orders, products, inventory, customers, fulfillments and refunds", "version": "Admin GraphQL 2026-10", "env": ["SHOPIFY_API_URL", "SHOPIFY_ACCESS_TOKEN", "SHOPIFY_API_VERSION"], "endpoints": [["QUERY", "customer"], ["MUTATION", "customerCreate"], ["QUERY", "customers"], ["MUTATION", "customerUpdate"], ["MUTATION", "fulfillmentCreate"], ["QUERY", "fulfillmentOrder"], ["MUTATION", "fulfillmentTrackingInfoUpdate"], ["MUTATION", "inventoryAdjustQuantities"], ["QUERY", "inventoryItem"], ["MUTATION", "inventorySetQuantities"], ["QUERY", "job"], ["QUERY", "location"], ["QUERY", "locations"], ["QUERY", "node"], ["QUERY", "nodes"], ["QUERY", "order"], ["MUTATION", "orderCancel"], ["MUTATION", "orderClose"], ["MUTATION", "orderMarkAsPaid"], ["MUTATION", "orderOpen"], ["QUERY", "orders"], ["MUTATION", "orderUpdate"], ["QUERY", "product"], ["QUERY", "products"], ["MUTATION", "productUpdate"], ["QUERY", "productVariant"], ["QUERY", "productVariants"], ["MUTATION", "productVariantsBulkUpdate"], ["MUTATION", "refundCreate"], ["QUERY", "shop"], ["MUTATION", "tagsAdd"], ["MUTATION", "tagsRemove"]] },
|
|
2097
2097
|
{ "name": "kalshi", "title": "Kalshi", "category": "Markets", "description": "Event contracts: markets, order books, orders, positions and settlements", "version": "Trade API v2", "env": ["KALSHI_API_URL", "KALSHI_API_KEY_ID", "KALSHI_PRIVATE_KEY"], "endpoints": [["GET", "/trade-api/v2/events"], ["GET", "/trade-api/v2/events/{event_ticker}"], ["GET", "/trade-api/v2/exchange/schedule"], ["GET", "/trade-api/v2/exchange/status"], ["GET", "/trade-api/v2/markets"], ["GET", "/trade-api/v2/markets/{ticker}"], ["GET", "/trade-api/v2/markets/{ticker}/orderbook"], ["GET", "/trade-api/v2/markets/trades"], ["GET", "/trade-api/v2/portfolio/balance"], ["POST", "/trade-api/v2/portfolio/events/orders"], ["DELETE", "/trade-api/v2/portfolio/events/orders"], ["DELETE", "/trade-api/v2/portfolio/events/orders/{order_id}"], ["POST", "/trade-api/v2/portfolio/events/orders/{order_id}/amend"], ["POST", "/trade-api/v2/portfolio/events/orders/{order_id}/decrease"], ["POST", "/trade-api/v2/portfolio/events/orders/batched"], ["DELETE", "/trade-api/v2/portfolio/events/orders/batched"], ["GET", "/trade-api/v2/portfolio/fills"], ["GET", "/trade-api/v2/portfolio/orders"], ["POST", "/trade-api/v2/portfolio/orders"], ["GET", "/trade-api/v2/portfolio/orders/{order_id}"], ["DELETE", "/trade-api/v2/portfolio/orders/{order_id}"], ["GET", "/trade-api/v2/portfolio/positions"], ["GET", "/trade-api/v2/portfolio/settlements"], ["GET", "/trade-api/v2/series"], ["GET", "/trade-api/v2/series/{series_ticker}"]] },
|
|
2098
2098
|
{ "name": "datadog", "title": "Datadog", "category": "Monitoring", "description": "Monitors, metrics and logs", "version": "v1 / v2", "env": ["DATADOG_API_URL", "DD_API_KEY", "DD_APP_KEY"], "endpoints": [["GET", "/api/v1/dashboard"], ["GET", "/api/v1/dashboard/:id"], ["GET", "/api/v1/downtime"], ["POST", "/api/v1/downtime"], ["GET", "/api/v1/downtime/:id"], ["PUT", "/api/v1/downtime/:id"], ["DELETE", "/api/v1/downtime/:id"], ["GET", "/api/v2/downtime"], ["POST", "/api/v2/downtime"], ["GET", "/api/v2/downtime/:id"], ["PATCH", "/api/v2/downtime/:id"], ["DELETE", "/api/v2/downtime/:id"], ["GET", "/api/v1/events"], ["POST", "/api/v1/events"], ["GET", "/api/v2/incidents"], ["POST", "/api/v2/incidents"], ["GET", "/api/v2/incidents/:id"], ["PATCH", "/api/v2/incidents/:id"], ["POST", "/api/v2/logs/events/search"], ["GET", "/api/v1/monitor"], ["GET", "/api/v1/monitor/:id"], ["POST", "/api/v1/monitor/:id/mute"], ["POST", "/api/v1/monitor/:id/unmute"], ["GET", "/api/v1/monitor/:monitor_id/downtimes"], ["GET", "/api/v2/monitor/:monitor_id/downtime_matches"], ["GET", "/api/v1/query"]] },
|
|
@@ -2821,7 +2821,7 @@ function settingsPage(boot2) {
|
|
|
2821
2821
|
const hosted = boot2.hosted, items = [];
|
|
2822
2822
|
if (hosted.tier) {
|
|
2823
2823
|
const free = hosted.execution === false, value = free ? "Free" : "Hosted runs";
|
|
2824
|
-
items.push({ label: "This workspace", value, html: `${value} \xB7 <a href="/account#hosted">${free ? "
|
|
2824
|
+
items.push({ label: "This workspace", value, html: `${value} \xB7 <a href="/account#hosted">${free ? "Cloud runs and limits" : "Machine time"}</a>` });
|
|
2825
2825
|
}
|
|
2826
2826
|
if (hosted.console) items.push({ label: "Console", value: String(hosted.console), html: `<a href="${h(hosted.console)}">${h(hosted.console)}</a>` });
|
|
2827
2827
|
if (hosted.worldServer) items.push({ label: "World server", value: String(hosted.worldServer), mono: true, html: `${h(hosted.worldServer)}${copyButton(String(hosted.worldServer), "Copy world server")}` });
|
package/lib/assets/ui/style.css
CHANGED
|
@@ -506,7 +506,7 @@ body.navigating main{opacity:.55;transition:opacity .15s .25s;cursor:progress}
|
|
|
506
506
|
.view-banner{display:flex;align-items:center;gap:16px;margin:0 0 24px;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--raised,#fafaf8)}.view-banner>div{flex:1;min-width:0}.view-banner strong{display:block;font-weight:600}.view-banner p{margin:4px 0 0;color:var(--muted);font-size:13px}.view-banner button{flex:none}.view-note{color:var(--muted);font-size:13px}
|
|
507
507
|
@media (max-width:560px){.view-banner{flex-direction:column;align-items:flex-start}}
|
|
508
508
|
/* A world's starting data before any run (SPEC-027) */
|
|
509
|
-
.world-data-note{margin:-12px 0 20px;color:var(--muted);font-size:13px}.world-data-tabs{display:flex;flex-wrap:wrap;gap:4px 22px}.world-data-tabs a{gap:8px;align-items:center}.world-data-logo{display:inline-flex;width:16px;height:16px}.
|
|
509
|
+
.world-data-note{margin:-12px 0 20px;color:var(--muted);font-size:13px}.world-data-tabs{display:flex;flex-wrap:wrap;gap:4px 22px}.world-data-tabs a{gap:8px;align-items:center}.world-data-logo{display:inline-flex;width:16px;height:16px}.folder-scenes{margin-top:36px}.folder-scenes .world-catalog-item p{overflow-wrap:anywhere;font-size:12px}.ww-world-actions .button-link{color:var(--ink)}
|
|
510
510
|
|
|
511
511
|
/* A run title can be one long id: it wraps instead of widening the page. Skipped checks are neither pass nor fail. */
|
|
512
512
|
.aw-header h1,.ww-header h1,.page-head h1{overflow-wrap:anywhere}
|
|
@@ -864,6 +864,11 @@ input,textarea,select{border-color:var(--input-line);border-radius:8px}
|
|
|
864
864
|
.runs-filters.k-filters{align-items:center}.runs-filters select.k-filter{min-width:0}
|
|
865
865
|
.s060-task>.s060-task-text{font-size:15px;min-width:0;overflow-wrap:anywhere}.s060-task>.c-copy{flex:none;align-self:flex-start;margin-left:auto}
|
|
866
866
|
|
|
867
|
+
/* s060 cli-fix: world data tabs keep image, SVG and letter icons inside the same slot. */
|
|
868
|
+
.world-data-logo{flex:none}
|
|
869
|
+
.world-data-logo>*{width:16px;height:16px;flex:none}
|
|
870
|
+
.world-data-logo span.catalog-letter{font-size:10px;border-radius:4px}
|
|
871
|
+
|
|
867
872
|
/* Ancha's component kit (SPEC-058, Jay's design canvas "Ancha app: IA and core screens"). One file for both renderers:
|
|
868
873
|
frontend/scripts/build.mjs appends it to the console's style.css, and app.ancha.io's own pages link the same file as
|
|
869
874
|
cloud/gateway/static/kit.css (a test keeps the two equal). Classes only: the console's CSP allows no inline styles.
|
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(),
|
|
@@ -66853,7 +66955,14 @@ var GitHubSeedSchema = external_exports.strictObject({
|
|
|
66853
66955
|
user: refUse3.optional().describe("Author; defaults to the GitHub bot"),
|
|
66854
66956
|
labels: external_exports.array(external_exports.string()).optional(),
|
|
66855
66957
|
at: duration6("Creation offset from start_time; must be <= 0; defaults to start_time").optional(),
|
|
66856
|
-
|
|
66958
|
+
edits: external_exports.array(GitHubContentEditSeed).optional().describe("Body edit history with absolute timestamps; editor defaults to the bot"),
|
|
66959
|
+
timeline: external_exports.array(GitHubTimelineSeed).optional().describe("Issue events with absolute timestamps; actor defaults to the bot"),
|
|
66960
|
+
comments: external_exports.array(external_exports.strictObject({
|
|
66961
|
+
user: refUse3.optional(),
|
|
66962
|
+
body: external_exports.string(),
|
|
66963
|
+
at: duration6("Creation offset from start_time; must be <= 0").optional(),
|
|
66964
|
+
edits: external_exports.array(GitHubContentEditSeed).optional()
|
|
66965
|
+
})).optional()
|
|
66857
66966
|
})).optional(),
|
|
66858
66967
|
production: refUse3.optional(),
|
|
66859
66968
|
check_runs: external_exports.array(external_exports.strictObject({
|
|
@@ -66862,7 +66971,7 @@ var GitHubSeedSchema = external_exports.strictObject({
|
|
|
66862
66971
|
status: external_exports.enum(["queued", "in_progress", "completed"]),
|
|
66863
66972
|
conclusion: external_exports.enum(["success", "failure", "neutral", "cancelled", "skipped", "timed_out", "action_required"]).optional()
|
|
66864
66973
|
})).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")
|
|
66974
|
+
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
66975
|
}))
|
|
66867
66976
|
});
|
|
66868
66977
|
var PipelineRuleSchema = external_exports.strictObject({
|
|
@@ -66878,7 +66987,7 @@ var FileEqualsSchema = external_exports.strictObject({ "github.file_at": fileAt2
|
|
|
66878
66987
|
var GitHubFileCheckSchema = external_exports.union([FileContainsSchema, FileEqualsSchema]);
|
|
66879
66988
|
var GitHubPermissionCheckSchema = external_exports.strictObject({
|
|
66880
66989
|
"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")
|
|
66990
|
+
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
66991
|
});
|
|
66883
66992
|
var OktaUserCheckSchema = external_exports.strictObject({
|
|
66884
66993
|
"okta.user": external_exports.string().describe("A seeded Okta user: $ref of one that declares ref, or its login"),
|
|
@@ -66888,7 +66997,14 @@ var OktaUserCheckSchema = external_exports.strictObject({
|
|
|
66888
66997
|
}).refine((check3) => check3.status === void 0 || check3.status_in === void 0, "give status or status_in, not both");
|
|
66889
66998
|
var StateCheckSchema = external_exports.union([
|
|
66890
66999
|
...WorldStateCheckSchemas,
|
|
67000
|
+
external_exports.strictObject({ "jira.issue": JiraIssueCheckSchema }),
|
|
67001
|
+
external_exports.strictObject({ "jira.comment": JiraCommentCheckSchema }),
|
|
67002
|
+
external_exports.strictObject({ "jira.transition": JiraTransitionCheckSchema }),
|
|
67003
|
+
external_exports.strictObject({ "paypal.invoice": PayPalInvoiceCheckSchema }),
|
|
67004
|
+
external_exports.strictObject({ "paypal.order": PayPalOrderCheckSchema }),
|
|
67005
|
+
external_exports.strictObject({ "paypal.payment": PayPalPaymentCheckSchema }),
|
|
66891
67006
|
external_exports.strictObject({ "slack.message": SlackMessageCheckSchema }),
|
|
67007
|
+
external_exports.strictObject({ "slack.canvas": SlackCanvasCheckSchema }),
|
|
66892
67008
|
FileContainsSchema,
|
|
66893
67009
|
FileEqualsSchema,
|
|
66894
67010
|
external_exports.strictObject({ "github.production": external_exports.strictObject({ repo: refUse3, commit: refUse3 }) }),
|
|
@@ -67593,7 +67709,7 @@ var TOOL_DESCRIPTORS = [
|
|
|
67593
67709
|
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
67710
|
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
67711
|
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", "
|
|
67712
|
+
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
67713
|
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
67714
|
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
67715
|
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."]),
|