Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

CHANGELOG.md

463 lines12.5 KB

@tanstack/ai-isolate-quickjs

0.3.2

Patch Changes

  • Updated dependencies [80ae825]:
    • @tanstack/ai-code-mode@0.5.0

0.3.1

Patch Changes

  • Updated dependencies [0fb8263]:
    • @tanstack/ai-code-mode@0.4.0

0.3.0

Minor Changes

  • #1099 44a3848 - Add a wasmLocation driver option for loading the QuickJS WASM binary from a custom URL or path, such as a public directory or CDN.

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.11

0.2.1

Patch Changes

  • #1071 ea9c077 - fix: publish internal dependency ranges as ^x.y.z instead of exact pins

    Internal dependencies on other TanStack AI packages used workspace:* in dependencies and peerDependencies. pnpm rewrites that to an exact version at publish time, so a released package asked for e.g. @tanstack/ai-utils@0.4.0 rather than ^0.4.0.

    Two consequences for consumers:

    • Duplicate copies. An exact pin cannot dedupe. Installing a newer @tanstack/ai alongside a package pinned to the previous patch produced two copies in the tree, which breaks instanceof checks and module-level state, and inflates bundles.
    • Unsatisfiable peers. An exactly pinned peerDependency conflicts the moment the internal package ships its next patch, forcing consumers into overrides or --legacy-peer-deps.

    These fields now use workspace:^, which publishes as ^x.y.z. Every package here is still 0.x, so ^0.43.1 resolves to 0.43.x only — patches dedupe cleanly and no breaking minor is ever pulled in.

    devDependencies deliberately keep workspace:*: they are never published, and * correctly means "always build against the local copy".

  • Updated dependencies [b2b82e4, ea9c077]:

    • @tanstack/ai-code-mode@0.3.11

0.2.0

Minor Changes

  • #948 7299b38 - Replace asyncify-suspended host functions with promise-based bridging in the QuickJS isolate driver. Sequential awaits of the same async tool binding previously corrupted QuickJS refcounts and could abort the WASM module (https://github.com/justjake/quickjs-emscripten/issues/258) — the passing tests relied on an incidental heap-layout effect of the injected console global. Tool bindings now return QuickJS promises resolved from the host, which never suspend the WASM stack, and the driver uses the plain (non-asyncify) QuickJS build. Concurrent tool calls via Promise.all in sandboxed code are now supported, and execution timeouts are enforced with a host-side deadline in addition to the QuickJS interrupt handler.

    Migration notes:

    • WASM variant changed. The driver now loads the sync QuickJS build. If you bundle or self-host the wasm binary, ship @jitl/quickjs-wasmfile-release-sync/wasm instead of @jitl/quickjs-wasmfile-release-asyncify/wasm — the sync glue cannot instantiate the asyncify binary.
    • Timeouts are now terminal for the context. After a TimeoutError (previously surfaced as InternalError: interrupted), outstanding tool calls are cancelled with a timeout error inside the sandbox, the context is disposed, and subsequent execute() calls return DisposedError — the timed-out program's interrupted jobs stay queued in the VM and must not run inside a later execution. Create a new context after a timeout; @tanstack/ai-code-mode already creates a context per execution, so typical Code Mode usage is unaffected.

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.10

0.1.48

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.9

0.1.47

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.8

0.1.46

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.7

0.1.45

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.6

0.1.44

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.5

0.1.43

Patch Changes

  • Updated dependencies [8f8be19]:
    • @tanstack/ai-code-mode@0.3.4

0.1.42

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.3

0.1.41

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.3.2

0.1.40

Patch Changes

  • #844 a6cceba - Republish all packages with their compiled dist/ output.

    Releases 0.33.0–0.36.0 were published without a dist/ directory: the release workflow relied on an Nx-cached build whose outputs were not materialized to disk before changeset publish packed the tarballs, and files: ["dist"] silently includes nothing when dist/ is absent. The published packages therefore contained only src/, so every export (./dist/esm/*.js) resolved to a missing file and the packages were uninstallable.

    The publish step now runs a fresh, cache-bypassing build of all packages immediately before publishing, guaranteeing compiled artifacts are present in every tarball.

  • Updated dependencies [a6cceba]:

    • @tanstack/ai-code-mode@0.3.1

0.1.39

Patch Changes

  • Updated dependencies [fbd3762]:
    • @tanstack/ai-code-mode@0.3.0

0.1.38

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.13

0.1.37

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.12

0.1.36

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.11

0.1.35

Patch Changes

  • Updated dependencies [81e3aee, 3bf0dbf]:
    • @tanstack/ai-code-mode@0.2.10

0.1.34

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.9

0.1.33

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.8

0.1.32

Patch Changes

  • #769 1d1bb52 - Add repository metadata (homepage, bugs, funding), fix repository.directory to point at each package, and include an MIT LICENSE file in every published package.

  • Updated dependencies [1d1bb52]:

    • @tanstack/ai-code-mode@0.2.7

0.1.31

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.6

0.1.30

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.5

0.1.29

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.4

0.1.28

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.3

0.1.27

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.2

0.1.26

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.1

0.1.25

Patch Changes

  • Updated dependencies [8036b50]:
    • @tanstack/ai-code-mode@0.2.0

0.1.24

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.24

0.1.23

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.23

0.1.22

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.22

0.1.21

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.21

0.1.20

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.20

0.1.19

Patch Changes

  • Refresh package README content and npm metadata for better discoverability. (#626)

  • Updated dependencies [ebeb22e]:

    • @tanstack/ai-code-mode@0.1.19

0.1.18

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.18

0.1.17

Patch Changes

  • Updated dependencies [ec1393d]:
    • @tanstack/ai-code-mode@0.1.17

0.1.16

Patch Changes

  • Tighten TypeScript safety: enable noImplicitOverride, (#579) noFallthroughCasesInSwitch, and useDefineForClassFields in the root tsconfig.json; add a typed-ESLint block scoped to packages/*/src/** that turns on no-floating-promises, no-misused-promises, await-thenable, switch-exhaustiveness-check, consistent-type-exports, prefer-readonly, and no-non-null-assertion (errors), plus no-explicit-any (warning). @ts-ignore and @ts-nocheck are disallowed in library source via @typescript-eslint/ban-ts-comment, and as unknown as <T> double-casts are blocked by a no-restricted-syntax rule (escape hatches available with an inline reason). Two flags from the original five-flag set — noPropertyAccessFromIndexSignature and exactOptionalPropertyTypes — were tried and rolled back: they produced ~500 lines of bracket- access and conditional-spread churn without catching any real bugs, and exactOptionalPropertyTypes would have forced consumers using it themselves to deal with our internals' style preferences.

    User-visible API surface is unchanged; this is a hardening pass to keep streaming/agent-loop correctness and discriminated-union exhaustiveness honest going forward. See issue #564.

  • Updated dependencies [2ad137b]:

    • @tanstack/ai-code-mode@0.1.16

0.1.15

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.15

0.1.14

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.14

0.1.13

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.13

0.1.12

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.12

0.1.11

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.11

0.1.10

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.10

0.1.9

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.9

0.1.8

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.8

0.1.7

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.7

0.1.6

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.6

0.1.5

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.5

0.1.4

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.4

0.1.3

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.3

0.1.2

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.1.2

0.1.1

Patch Changes

  • Updated dependencies [1d1c58f]:
    • @tanstack/ai-code-mode@0.1.1

0.1.0

Minor Changes

  • Add code mode and isolate packages for secure AI code execution (#362)

    Also includes fixes for Ollama tool call argument streaming and usage reporting, OpenAI realtime adapter handling of missing call_id/item_id, realtime client guards for missing toolCallId, and new DevtoolsChatMiddleware type export from ai-event-client.

Patch Changes

  • Updated dependencies [54abae0]:
    • @tanstack/ai-code-mode@0.1.0