Repository navigation
chore(release): merge main into dev - #78
Merged
Merged
Conversation
* feat(workers): export owned D1 and R2 data safely * fix(skill): clarify explicit recovery after lost export starts * fix(workers): keep large exports streaming and clarify download recovery * test(workers): keep export throughput sink portable on Linux
…51) * fix(cli): restore Node 26 requests and report uncertain Worker writes Pair default HTTP fetch with the pinned undici dispatcher across requests, uploads, downloads and SSE while preserving injected fetchers. Preserve transport causes and codes with read-only recovery guidance after uncertain Worker lifecycle or deletion writes; never replay writes or obscure definite HTTP failures. Add real loopback HTTP regression coverage and clarify bundled lifecycle recovery instructions. Verified Node 22.22.3 and 26.8.1 HTTP and object-upload scenarios, all 1282 tests, typecheck, build and package dry-run. * fix(skill): clarify paused Queue configuration activates on resume Explain CONFIGURED/ON_RESUME paused receipts, latest desired configuration on explicit resume, and DISABLED receipts without implying a running consumer or automatic resume. Cover command receipt passthrough and AFTER_CODE acceptance without changing backend or Cron behavior. * fix(cli): preserve fetch overrides installed by preloads Recognize only the Node built-in undici loader when choosing the matched fetch/Agent pair. Resolve other global fetch implementations at call time, including pre-import wrappers and proxies, without trusting their own toString methods. Add actual Node --import regressions for reads, uploads, downloads, SSE, explicit injection, late overrides and restoration of the native transport. Verified Node 22.22.3 and 26.8.1 loopback tests plus the full 1286-test suite, typecheck, build and package dry-run. * fix(cli): support native fetch delegates without incompatible dispatchers Bind the private dispatcher only to the exact matched undici fetch. Preserve preload wrappers, proxies and explicit fetch injection, using AbortSignal for foreign fetch deadlines. Default socket-progress upload deadlines and response idle timers remain unchanged; foreign uploads use a bounded total deadline. Verify real local HTTP request, multipart upload, SSE, download, cancellation and no replay on Node 22.22.3 and 26.8.1, including transparent preload wrappers and proxies. * fix(cli): preserve idle deadlines for delegated uploads Track backpressured request body consumption and response chunks with standard streams for foreign fetch implementations. Preserve multipart boundaries and headers, bound stalls and cancellation, and leave the matched socket-progress transport and explicit total deadlines unchanged. Verify slow multipart uploads beyond the idle window with native Node 22/26 delegates and Bun, without write replay. Cover stalled producers, empty chunks, cancellation, response idle and definite HTTP errors. * fix(cli): keep upload idle timeouts responsive to empty chunks * fix(skill): distinguish owner pause from financial retention * fix(workers): remove manual pause and keep explicit funding recovery * fix(workers): preserve native proxy and unknown write diagnostics * fix(cli): honor Node config proxy and retention recovery guidance * fix(cli): preserve proxy routing for Node option aliases * fix(cli): respect Node proxy config precedence * fix(cli): preserve native routing and ambiguous write recovery * fix(cli): preserve native fetch for dotenv startup options * fix(cli): honor fetch overrides in artifact control sessions
Fix native Vite asset configuration import and generated-directory handling. Add config-based first-project linking and environment-specific Secret setup guidance while preserving ownership, credential checks, and existing deployment semantics. Validation: 1,407 local tests, required CLI checks, Skill validation, and isolated test-service workflow checks passed.
* fix(actions): avoid collection routes when looking up schemas * fix(skill): align Decisions HTTP2 and Aptos provider workflows
* chore(main): release 0.3.0 * docs(release): explain 0.3.0 migration and bundled workflows --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GlacierLuo <1090490148@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Document draft setup, owned xAPI task references, asynchronous results, usage reconciliation and the backend deployment prerequisite. No CLI runtime or package version changes. Kanby-Task: KANBY-108
…rules Document the production service catalogue, tags, billing validation, and Swagger import behavior for provider agents.
Add a read-only provider timeline command with paging for review decisions and lifecycle events.
The platform no longer records new agent events. Mark `provider events` as deprecated in CLI help and point agents to `provider metrics` and `usage wait` instead. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- call: a top-level success:false keeps the redacted envelope on stdout and exits 1; stderr carries structured detail (status, code, message, validation details, retry_after_ms, outcome). Nested data.success:false is not treated as an Action failure. Unknown outcomes (timeouts, lost responses) say to check before retrying a write. Error bodies are no longer cut to 300 characters, and secrets are redacted. - agent / chat templates: POST /chat requires Authorization: Bearer APP_TOKEN (503 when unset, 401 when wrong) before any model call; preview daily budget defaults to $0.25; TEMPLATE.md walks through create, secrets, plan and push with npx xapi-to. - skills document the new failure contract and responseContract. Merge after the backend change exposing responseContract is in production. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
balance (and the oauth commands) exchanged the API key for a JWT on every run, so a few quick balance checks in a row failed with HTTP 429 from the auth throttle. A key stored in ~/.xapi/config.json now keeps its session in ~/.xapi/session.json (0600, written atomically, never containing the key) until a minute before the JWT expires. A different key, an expired token or a 401 from /auth/me logs in again; balance retries once after a 401. Keys from XAPI_KEY / XAPI_API_KEY were kept off disk on purpose, so nothing derived from them is written; those runs log in as before. Verified: 8 consecutive balance calls against production all succeed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
list and search tables now show, per action: service name ("built-in"
for capabilities), method, category, list price and billing type, and the
service's 30-day P50, upstream success rate and call count. The stats
columns stay empty until the backend returns them; empty means no data,
not zero. JSON output is unchanged and passes the new fields through.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… cost - guides/choosing.md: prefer a built-in capability; otherwise compare 30-day upstream success, then price (per-call, per-token models, capability route variants), then P50; stats are 30-day service history, not live health; few calls is too little data, null is no data; an explicit user choice wins. Explains the billing envelope and usage receipts. - The root skill keeps a short pointer (still under its 400-line limit). - The Twitter guide lists the marketplace's other X data services and what each is for, without hard-coding prices that change, and notes that twitter.graphql_* belongs to the third-party Twitter API service. - usage help names billing.request_ids as the source of request IDs. Describes backend fields; merge after the backend release that returns them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tput sandbox run and create take --max-lifetime and --max-total-usd, sent as policy.maxLifetimeSeconds / maxTotalUsd for the gateway to enforce. run sets a lifetime by default (twice the wait and command timeouts plus 10 minutes; none with --keep), so a killed CLI no longer leaves the instance billing. run prints the offering's name instead of the whole offering; --verbose brings it back. Needs the gateway with policy limits deployed first: older gateways reject the new policy fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rtest path in the skill workers plan --local builds a new, unlinked project and prints its plan without an API key or any remote read, so an agent can check the build before it has credentials. init now reports the daily budgets it wrote and lists each template Secret's `secrets set` after `create`, which is where the Worker ID comes from. The xapi-workers skill opens with the eight-step path from templates to promote, each with its success signal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Accept single-document YAML imports while preserving JSON configuration and credential inputs. Require deliberate prices for unpriced operations and document SANDBOX creation behavior. Co-Authored-By: Claude Code <noreply@anthropic.com>
Guide OAuth recovery through the endpoint contract and account status. Clarify Twitter filter and cursor routing, and avoid prescribing personal OAuth binding for normalized read failures. Co-Authored-By: Claude Code <noreply@anthropic.com>
Expose known termination reasons in instance and run tables and early wait failures. Explain asynchronous termination, idempotent limit retries, budget precision and hold rounding. Co-Authored-By: Claude Code <noreply@anthropic.com>
Document direct SANDBOX creation, explicit import pricing, provider-authored agent notes and authoritative platform tags. Explain reserved tag write validation and conditional OAuth recovery. Co-Authored-By: Claude Code <noreply@anthropic.com>
Add --output-json to reserve a new private file before a single action execution and print a short receipt. Preserve complete JSON success and error envelopes, fail on action errors, clean incomplete files and keep default stdout and raw output behavior unchanged. Co-Authored-By: Claude Code <noreply@anthropic.com>
Report uncertain execution after incomplete JSON responses without replaying the request. Describe optional review and rate-limit metadata and the supporting backend's quality ranking contract. Co-Authored-By: Claude Code <noreply@anthropic.com>
Check the reserved file's device and inode before cleanup and success receipts. Preserve replacement files and symlinks, and retain HTTP 200 JSON failures with structured messages. Align review metadata with record_updated_at and describe the supported rate-limit error locations. Verify default discovery JSON preserves review fields and accepts old and new ranking versions. Co-Authored-By: Claude Code <noreply@anthropic.com>
xapi-backend#729 no longer rejects provider "twitter" with structured filters or pins filtered/cursor searches to x. Document the current behavior: filters apply only on x, a transient x failure may fall back to twitter without them (visible in data.provider), pass provider "x" when they must hold, and keep cursors with their provider. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-20261112 feat(cli): validate discovery and provider onboarding in staging
…ope-staging-20261119 feat(cli): promote execution envelopes to staging
…ew-docs-20261116 docs(provider): promote readiness and review guidance to staging
feat(cli): improve service discovery, call output, and provider onboarding
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Bring the 0.3.2 release and the other main-only commits back into dev so feature branches cut from main merge into dev without conflicts. Conflicts: sandbox help keeps both the --max-lifetime note (main) and the provider alias note (dev); provider keeps both flag guards (--forward-caller-identity from dev, --logo-file from main). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Merge
main(0.3.2 release, #73 and the other main-only commits) back intodev.devwas 42 commits behindmain, so every feature branch cut frommainconflicted withdevinsrc/commands/provider.tsandsrc/commands/sandbox.tseven when it never touched them.origin/dev3d3db1a andorigin/main5349530.main's commits outsidedev's history and the conflicts would come back.Conflict resolutions (both sides kept)
src/commands/sandbox.ts(help text)--max-lifetimenotesrc/commands/provider.ts--forward-caller-identityguard--logo-fileguardNo other file needed manual changes.
Validation
bun install --frozen-lockfile,bun run typecheck,bun run build,bun test(1590 pass, 0 fail),npm pack --dry-run --ignore-scripts(xapi-to-0.3.2, 92 files).feature/sandbox-to-previewandfeature/sandbox-to-preview-docsmerge into this result without conflicts.No release or npm publish is part of this PR.
Kanby-Task: KANBY-141
🤖 Generated with Claude Code